[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2019144598A1 - Method for carrying out access network management and mobile device - Google Patents

Method for carrying out access network management and mobile device Download PDF

Info

Publication number
WO2019144598A1
WO2019144598A1 PCT/CN2018/099626 CN2018099626W WO2019144598A1 WO 2019144598 A1 WO2019144598 A1 WO 2019144598A1 CN 2018099626 W CN2018099626 W CN 2018099626W WO 2019144598 A1 WO2019144598 A1 WO 2019144598A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
application
mobile device
target
priority
Prior art date
Application number
PCT/CN2018/099626
Other languages
French (fr)
Chinese (zh)
Inventor
冯质干
胡聪
李加将
Original Assignee
青岛海信移动通信技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 青岛海信移动通信技术股份有限公司 filed Critical 青岛海信移动通信技术股份有限公司
Publication of WO2019144598A1 publication Critical patent/WO2019144598A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections

Definitions

  • the present disclosure relates to the field of wireless communication technologies, and in particular, to a method and a mobile device for performing access network management.
  • the existing wireless access network technologies mainly include: cellular mobile networks, short-distance access systems, Bluetooth, WIMAX (Worldwide Interoperability for Microwave Access), satellite communications, and broadcasting systems.
  • the present disclosure provides a method and mobile device for performing access network management.
  • An embodiment of the present disclosure provides a method for performing access network management, where the method includes:
  • the target application is accessed to the network by using a target network corresponding to the target application.
  • Embodiments of the present disclosure provide a mobile device, characterized in that the mobile device includes a memory and a processor, wherein the memory stores computer instructions that are implemented when executed by the processor:
  • the application has different priorities; the target network corresponding to the target application is selected from the currently connected network connection of the mobile device according to the determined network; and the target application is accessed by using the target network corresponding to the target application.
  • Embodiments of the present disclosure provide a computer storable medium having stored thereon a computer program, the program being executed by a processor to implement the steps of the method for accessing network management in the embodiment of the present invention.
  • FIG. 1 is a method for performing access network management according to an embodiment of the present disclosure
  • 2 is a display interface of multiple applications according to an embodiment of the present disclosure
  • FIG. 3 is an interface of a user manually adjusting a network priority according to an embodiment of the present disclosure
  • FIG. 5 is a complete flowchart of a method for performing access network management according to an embodiment of the present disclosure
  • FIG. 6 is a complete flowchart of another method for performing access network management according to an embodiment of the present disclosure.
  • FIG. 7 is a mobile device according to an embodiment of the present disclosure.
  • FIG. 8 is a mobile device for performing access network management according to an embodiment of the present disclosure.
  • the mobile device selects the network with the highest priority among the currently connected networks for data transmission according to a preset priority.
  • a home heterogeneous network system includes an LTE (Long Term Evolution) network, a WIFI (Wireless-Fidelity) network, and a D2D (Device-to-Device) communication network, wherein the WIFI network takes precedence. The highest level, followed by the D2D communication network, and finally the LTE network.
  • LTE Long Term Evolution
  • WIFI Wireless-Fidelity
  • D2D Device-to-Device
  • the WIFI network is selected for data transmission; if the currently connected network does not have a WIFI network, but has a D2D communication network, then select The D2D communication network performs data transmission; if the currently connected network does not have a WIFI network and does not have a D2D communication network, but has an LTE network, the LTE network is selected for data transmission.
  • an embodiment of the present disclosure provides a method for performing access network management, which can be implemented on a mobile device such as a smart phone or a tablet, and the method includes:
  • Step 100 Determine, according to a correspondence between an application and a network on the mobile device, a network corresponding to an application having network connection capability that is started on the mobile device, where the one application has the capability of accessing multiple networks, and each network Have different priorities for this one application;
  • Step 101 Select, according to the determined network, a target network corresponding to the target application from a network connection currently connected to the mobile device;
  • Step 102 Access the target application to the network by using a target network corresponding to the target application.
  • each network has different priorities.
  • the network of the application with the network connection capability and the corresponding priority are determined according to the corresponding relationship between the application and the network. Selecting, according to the determined network, a target network corresponding to the target application from the currently connected network connection of the mobile device, and using the target network corresponding to the target application to access the target application to the network.
  • Embodiments of the present disclosure no longer select a communication network for data transmission according to a preset network priority, but each application corresponds to a network priority, and each application may have a targeted selection according to the currently connected network.
  • a suitable network for access makes the way of selecting a communication network for data transmission more flexible and more targeted.
  • the currently connected network can be determined from the ConnectivityService.
  • the embodiments of the present disclosure respectively configure network priorities for each application, and network priorities of different applications may be the same or different.
  • the network priority of the application is updated during use.
  • FIG. 2 it is a display interface of multiple App (Application);
  • the user can click on an application that needs to set the network priority, such as the duration when the user presses and holds the application icon exceeds the first threshold or the user presses the application to be greater than the set second threshold.
  • An interface as shown in Figure 3 can appear.
  • WIFI represents a wireless broadband network
  • Cellular represents cellular mobile data
  • Bluetooth represents Bluetooth
  • Ethernet represents Ethernet
  • the user can manually drag and adjust the priority between the networks of the application.
  • the network priority setting option can be turned on in the setting options or the network priority setting option can be turned on in other ways.
  • the record application priority setting information is stored in a database manner, as shown in FIG. 4;
  • _id represents the primary key value in the database, which has no practical meaning
  • the uid is a user identifier of each application in the system, and is used to uniquely identify an application.
  • Package indicates the application package name
  • Networks preserves the priority of each network type
  • 1 stands for WIFI
  • 2 stands for cellular mobile data
  • 3 stands for Ethernet. If the configuration priority is Ethernet>WIFI>Mobile, the value of networks should be “3, 1, 2”.
  • the network connection capable application that has been activated in the embodiment of the present disclosure is an application that needs to be connected to the network just started, and an application that needs to connect to the network that has been started and transferred to the background.
  • the network that the mobile device is currently connected to is changed, according to the correspondence between the application and the network, at least one network corresponding to the application having the network connection capability that has been started on the mobile device is updated, and corresponding Priority.
  • At least one of the activated network connection capable applications herein may be all applications that have been started to connect to the network;
  • At least one launched network connection capable application is all applications that have been started to connect to the network, and the launched network connection capable applications include WeChat, Taobao, and Weibo.
  • the mobile device is originally connected to the WIFI network, and the mobile device is also connected to the cellular mobile data. After leaving the WIFI coverage, the network priorities of WeChat, Taobao, and Weibo need to be determined, and the target networks corresponding to the three applications are determined.
  • the network that the mobile device is currently connected to changes, according to the corresponding relationship between the application and the network, updating the priority of each network in the network connection capable application that has been started on the mobile device The priority of the changed application.
  • applications that have been launched with network connectivity include WeChat, Taobao, and Weibo.
  • the user adjusts the network priority of WeChat and Taobao by manual dragging or option setting;
  • the network connection capable application that has been started has an application that is not connected to the network (such as a newly started application that needs to connect to the network, an application that disconnects the network and reconnects to the network, etc.). It is necessary to re-determine the network priority corresponding to the application of the network connection capable application that is not connected to the network.
  • the application corresponding to the unconnected network in the application with the network connection capability that has been started on the mobile device is updated. Priority.
  • applications having network connection capabilities in the mobile device include WeChat, Taobao, and Weibo, and the user triggers initiation of WeChat.
  • the user triggers the launch of Taobao.
  • the network with the highest priority among the networks corresponding to the target application is selected from the currently connected network of the mobile device as the target network of the target application.
  • the network in the present disclosure there are many ways for the network in the present disclosure to select the network with the highest network priority corresponding to the application as the target network corresponding to the application from the currently connected network.
  • the disclosure provides two methods:
  • the target network determines the mode. In the case that the network to which the mobile device is currently connected is the network with the highest priority among the networks corresponding to the target application, the network with the highest priority is selected as the target network corresponding to the application.
  • the network corresponding to WeChat is WIFI, cellular mobile data and Bluetooth in order of priority;
  • WIFI is the first priority network of WeChat
  • cellular mobile data is used as the second priority network of WeChat
  • Bluetooth is the third priority network of WeChat
  • the network to which the mobile device is currently connected includes cellular mobile data and Bluetooth, the cellular mobile data is used as the target network corresponding to WeChat.
  • the network to which the mobile device is currently connected is the network with the highest priority among the networks corresponding to the target application
  • the network with the highest priority is selected as the target network corresponding to the application.
  • WeChat's network priority is WIFI, cellular mobile data and Bluetooth;
  • WIFI is the first priority network of WeChat
  • cellular mobile data is used as the second priority network of WeChat
  • Bluetooth is the third priority network of WeChat
  • the target network of WeChat is WIFI.
  • the network that the mobile device is currently connected to is not the highest priority network in the network corresponding to the target application
  • the priority of the network corresponding to the target application is from high to high.
  • the connection is sequentially performed in a low order, and in the process of sequentially connecting with the unconnected network, if the connection success information is received, the network connection is stopped, and the network corresponding to the target application is selected from the currently connected network.
  • the network with the highest priority is the target network of the target application.
  • WeChat's network priority is WIFI, cellular mobile data and Bluetooth;
  • If the network to which the mobile device is currently connected is Bluetooth
  • the WIFI is taken as the first priority
  • the cellular mobile data is taken as the second priority
  • the Bluetooth is taken as the third priority
  • the WIFI is used as the target network corresponding to the WeChat, and stops trying to access the network through the cellular mobile data;
  • the mobile device can access the network through the cellular mobile data, if possible, the cellular mobile data is used as the target network corresponding to WeChat, otherwise Bluetooth is used as the target network corresponding to WeChat.
  • the embodiment of the present disclosure may sequentially search for the network by using the network priority of the WeChat from high to low.
  • the application can send a network request to the ConnectivityService when the application needs to connect to the network, and the ConnectivityService is based on the network priority of the application and the current mobile device.
  • the connected network determines which type of network access the application needs to access.
  • a mobile device is connected to a WIFI, and the network priority of WeChat is cellular mobile data, Ethernet, WIFI, and Bluetooth;
  • the WeChat sends a network request to the ConnectivityService, the ConnectivityService determines that the mobile device is currently only connected to the WIFI, and does not access the cellular mobile data, then the ConnectivityService sends the network request to the cellular mobile data network factory, the cellular mobile data. After receiving the network request, the network factory triggers the establishment of a cellular mobile data network.
  • the place that triggers the establishment of the network data link required by the application may be a network factory, which is a management object specifically responsible for establishing the network.
  • the WIFI network request is sent to the WIFI network factory
  • the ConnectivityService sends a network request for cellular mobile data
  • the network request for cellular mobile data is sent to the network factory of the cellular mobile data
  • the ConnectivityService sends an Ethernet network request, and the Ethernet network request is sent to the Ethernet network factory;
  • the ConnectivityService sends a Bluetooth network request, then the Bluetooth network request is sent to the Bluetooth network factory;
  • Network requests for other types of networks are also sent to the network factory of the corresponding network.
  • the network corresponding to the target application is sequentially connected according to the priority from high to low;
  • the network priority of WeChat is Bluetooth and cellular mobile data, and the mobile device is currently connected to WIFI;
  • Bluetooth is the first priority and the cellular mobile data is used as the second priority.
  • Bluetooth As the first priority accesses the network. Obviously, in this example, Bluetooth does not access the network; then, it is determined whether the cellular mobile data as the second priority is connected to the network, obviously, the cellular mobile in this example The data is also not connected to the network, so there is no currently connected network among the network priorities corresponding to the application.
  • the connection will be attempted through Bluetooth first. If the Bluetooth connection is successful, the Bluetooth is used as the target network corresponding to WeChat, and the connection is stopped through the cellular mobile data;
  • the Bluetooth connection fails, continue to try to move the data connection through the cellular, if the cellular mobile data connection is successful, the cellular mobile data is used as the target network corresponding to WeChat;
  • the specific network is a network that is not used by an application with network connection capability that has been started.
  • the mobile device is currently connected to WIFI, cellular mobile data, and Bluetooth, and the applications currently launched by the mobile device are WeChat and Weibo.
  • the network priority of WeChat is WIFI and cellular mobile data; the network priority of Weibo is cellular mobile data and WIFI.
  • WeChat is accessed through WIFI
  • Weibo is accessed through cellular mobile data.
  • Bluetooth is not used by any application, so Bluetooth is the specific network mentioned above, and the mobile device will disconnect the link with Bluetooth.
  • the application is a payment application
  • the network with the highest priority among the corresponding network of the payment application is a mobile network.
  • an application that can bind a bank card for payment, transfer, and the like.
  • the mobile network here may be a network provided by a mobile operator, such as a 5G, 4G network, or the like.
  • the application includes a first type of application that requires a traffic that is greater than a threshold, and a network with a highest priority among the networks corresponding to the first type of applications is a wireless network.
  • the thresholds here can be set by the user.
  • the wireless network here can be a wireless local area network, such as WIFI.
  • the following describes the access network management in the embodiment of the present disclosure by taking the target network determining manner as an example.
  • an embodiment of the present disclosure provides a complete flowchart of a method for performing access network management:
  • Step 500 The mobile device selects an application that needs to determine a network priority from all activated applications with network connectivity capabilities;
  • Step 501 The mobile device determines, according to the correspondence between the application and the network priority, the network priority corresponding to the selected application.
  • Step 502 The mobile device determines whether there is a network in the network priority corresponding to the application in the currently connected network, if yes, step 503 is performed; otherwise, step 504 is performed;
  • Step 503 The mobile device selects the network with the highest network priority corresponding to the application from the currently connected network as the target network corresponding to the application, and performs step 509;
  • Step 504 The mobile device selects, from the network priority corresponding to the application, the network with the highest priority that is not attempted to connect;
  • Step 505 the mobile device determines whether the connection can be made through the selected network, and if so, step 506 is performed; otherwise, step 507 is performed;
  • Step 506 the mobile device uses the selected network as the target network corresponding to the application, and performs step 509;
  • Step 507 The mobile device determines whether the network priority corresponding to the application has a network that is not attempted to connect, and if yes, returns to step 504, otherwise, step 508 is performed;
  • Step 508 the mobile device determines that there is currently no network suitable for the application, and performs step 510;
  • Step 509 The mobile device accesses the network by using the target network corresponding to the application, and performs step 510;
  • Step 510 The mobile device determines whether there is an application that needs to determine the network priority, and if yes, returns to step 500; otherwise, the process ends.
  • the following describes the access network management in the embodiment of the present disclosure by taking the target network determination mode 2 as an example.
  • the embodiment of the present disclosure provides a complete flowchart of a method for performing access network management:
  • Step 600 The mobile device selects an application that needs to determine a network priority from all activated applications with network connectivity capabilities;
  • Step 601 The mobile device determines, according to the correspondence between the application and the network priority, the network priority corresponding to the selected application.
  • Step 602 The mobile device determines whether there is a network with the highest network priority among the network priorities corresponding to the application in the currently connected network, if yes, step 603 is performed; otherwise, step 604 is performed;
  • Step 603 the mobile device selects the network with the highest network priority corresponding to the application as the target network corresponding to the application from the currently connected network, and performs step 608;
  • Step 604 The mobile device determines, from all networks corresponding to the network priority, the network with the highest priority that is not currently connected, and does not attempt to connect;
  • Step 605 the mobile device determines whether the connection can be made through the selected network, and if so, step 606 is performed; otherwise, step 607 is performed;
  • Step 606 the mobile device uses the selected network as the target network corresponding to the application, and performs step 608;
  • Step 607 the mobile device determines whether there is an unselected network in the network priority, if yes, returns to step 604; otherwise, step 609;
  • Step 608 The mobile device accesses the application to the network by using the target network corresponding to the application.
  • Step 609 the mobile device determines that there is currently no network suitable for the application, and performs step 610;
  • Step 610 The mobile device determines whether there is an application that needs to determine the network priority, and if yes, returns to step 600; otherwise, the process ends.
  • Embodiments of the present disclosure provide a computer storable medium having stored thereon a computer program, the program being executed by a processor to implement the steps of the method for accessing network management in the above-described embodiments of the present disclosure.
  • a mobile device that performs access network management is also provided in the embodiment of the present disclosure.
  • the principle of the mobile device is similar to that of the embodiment of the present disclosure. Therefore, the implementation of the mobile device may refer to the method. The implementation, repetitions will not be repeated.
  • an embodiment of the present disclosure provides a mobile device, where the mobile device includes:
  • the application has different priorities; the target network corresponding to the target application is selected from the currently connected network connection of the mobile device according to the determined network; and the target application is accessed by using the target network corresponding to the target application.
  • processor 700 is further configured to:
  • the network that the mobile device is currently connected to is changed, according to the correspondence between the application and the network, the network corresponding to the at least one application with the network connection capability that has been started on the mobile device is updated, and the corresponding priority is updated.
  • processor 700 is further configured to:
  • the application whose priority has changed in each network in the application with network connection capability that has been started on the mobile device is updated. Corresponding priority.
  • processor 700 is further configured to:
  • the priority corresponding to the application that is not connected to the network in the network connection capable application that has been started on the mobile device is updated.
  • processor 700 is specifically configured to:
  • processor 700 is specifically configured to:
  • the network that the mobile device is currently connected to is the network with the highest priority among the networks corresponding to the target application
  • the network with the highest priority is selected as the target network corresponding to the application.
  • processor 700 is specifically configured to:
  • the network that the mobile device is currently connected to is not the highest priority network in the network corresponding to the target application
  • the priority of the network corresponding to the target application is from high to high.
  • the connection is sequentially performed in a low order, and in the process of sequentially connecting with the unconnected network, if the connection success information is received, the network connection is stopped, and the network corresponding to the target application is selected from the currently connected network.
  • the network with the highest priority is the target network of the target application.
  • processor 700 is further configured to:
  • the network corresponding to the target application is sequentially connected in descending order of priority
  • processor 700 is further configured to:
  • the specific network is a network that is not used in an activated network connection capable application.
  • the application is a payment application
  • the network with the highest priority among the corresponding network of the payment application is a mobile network.
  • the application includes a first type of application that requires a traffic that is greater than a threshold, and a network with a highest priority among the networks corresponding to the first type of applications is a wireless network.
  • an embodiment of the present disclosure provides a mobile device that performs access network management, and the mobile device includes:
  • the network priority determining module 800 is configured to determine, according to a correspondence between an application and a network on the mobile device, a network corresponding to an application having a network connection capability that is started on the mobile device, where the one application has multiple accesses. The ability of the network, each network has a different priority for one application;
  • the target network selection module 801 is configured to select, according to the determined network, a target network corresponding to the target application from a network connection currently connected by the mobile device;
  • the access network module 802 is configured to access the target application to the network by using a target network corresponding to the target application.
  • the network priority determining module 800 is further configured to:
  • the network that the mobile device is currently connected to is changed, according to the correspondence between the application and the network, the network corresponding to the at least one application with the network connection capability that has been started on the mobile device is updated, and the corresponding priority is updated.
  • the network priority determining module 800 is further configured to:
  • the application whose priority has changed in each network in the application with network connection capability that has been started on the mobile device is updated. Corresponding priority.
  • the network priority determining module 800 is further configured to:
  • the priority corresponding to the application that is not connected to the network in the network connection capable application that has been started on the mobile device is updated.
  • the target network selection module 801 is specifically configured to:
  • the target network selection module 801 is specifically configured to:
  • the network that the mobile device is currently connected to is the network with the highest priority among the networks corresponding to the target application
  • the network with the highest priority is selected as the target network corresponding to the application.
  • the target network selection module 801 is specifically configured to:
  • the network that the mobile device is currently connected to is not the highest priority network in the network corresponding to the target application
  • the priority of the network corresponding to the target application is from high to high.
  • the connection is sequentially performed in a low order, and in the process of sequentially connecting with the unconnected network, if the connection success information is received, the network connection is stopped, and the network corresponding to the target application is selected from the currently connected network.
  • the network with the highest priority is the target network of the target application.
  • the access network module 802 is further configured to:
  • the network corresponding to the target application is sequentially connected in descending order of priority
  • the access network module 802 is further configured to:
  • the specific network is a network that is not used in an activated network connection capable application.
  • the application is a payment application
  • the network with the highest priority among the corresponding network of the payment application is a mobile network.
  • the application includes a first type of application that requires a traffic that is greater than a threshold, and a network with a highest priority among the networks corresponding to the first type of applications is a wireless network.
  • the application can also be implemented in hardware and/or software (including firmware, resident software, microcode, etc.). Still further, the application can take the form of a computer program product on a computer usable or computer readable storage medium having computer usable or computer readable program code embodied in a medium for use by an instruction execution system or Used in conjunction with the instruction execution system.
  • a computer usable or computer readable medium can be any medium that can contain, store, communicate, communicate, or transport a program for use by an instruction execution system, apparatus or device, or in conjunction with an instruction execution system, Used by the device or device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed by the present disclosure are a method for carrying out access network management and a mobile device. In an embodiment of the present disclosure, a network priority corresponding to a started application that needs to connect to a network is first determined according to a correspondence between applications and network priorities. For one application, a target network corresponding to the application is selected from among connected networks according to the determined network priority corresponding to the application. Finally, the target network corresponding to the application is used for network access by the application. With said embodiment of the present disclosure, a communication network for data transmission is no longer selected according to a preset network priority, but rather each application corresponds to a network priority, and appropriate network access may be targetedly selected for each application according to currently connected networks, so that the mode of selecting a communication network for data transmission is more flexible and more targeted.

Description

一种进行接入网络管理的方法及移动设备Method for performing access network management and mobile device
本申请要求在2018年1月25日提交中国专利局、申请号为201810073881.8、申请名称为“一种进行接入网络管理的方法及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201810073881.8, filed on Jan. 25, 2018, and entitled "A Method and Terminal for Access Network Management", the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本公开涉及无线通信技术领域,特别涉及一种进行接入网络管理的方法及移动设备。The present disclosure relates to the field of wireless communication technologies, and in particular, to a method and a mobile device for performing access network management.
背景技术Background technique
随着电信产业的全球化和互联网的迅速发展,网络结构日趋复杂,逐渐形成有多种无线接入网络形成的异构网络。现有的无线接入网络技术主要有:蜂窝移动网络、短距离接入系统、蓝牙、WIMAX(Worldwide Interoperability for Microwave Access,全球微波互联接入)、卫星通信、广播系统等。With the globalization of the telecommunications industry and the rapid development of the Internet, the network structure is becoming more and more complex, and a heterogeneous network formed by multiple wireless access networks is gradually formed. The existing wireless access network technologies mainly include: cellular mobile networks, short-distance access systems, Bluetooth, WIMAX (Worldwide Interoperability for Microwave Access), satellite communications, and broadcasting systems.
发明内容Summary of the invention
本公开提供一种进行接入网络管理的方法及移动设备。The present disclosure provides a method and mobile device for performing access network management.
本公开实施例提供一种进行接入网络管理的方法,该方法包括:An embodiment of the present disclosure provides a method for performing access network management, where the method includes:
根据移动设备上的应用和网络的对应关系,确定已经在所述移动设备上启动的具有网络连接能力的应用对应的网络,所述一个应用具有接入多种网络的能力,各网络对该一个应用而言具有不同的优先级;Determining, according to the correspondence between the application and the network on the mobile device, a network corresponding to the application having the network connection capability that is started on the mobile device, where the one application has the capability of accessing multiple networks, and each network has the same Applications have different priorities;
根据确定出的网络从所述移动设备当前已连接的网络连接中选择目标应用对应的目标网络;Selecting, according to the determined network, a target network corresponding to the target application from a network connection currently connected to the mobile device;
利用所述目标应用对应的目标网络将所述目标应用接入网络。The target application is accessed to the network by using a target network corresponding to the target application.
本公开实施例提供一种移动设备,其特征在于,所述移动设备包括存储器和处理器,其中,所述存储器存储有计算机指令,所述计算机指令被所述 处理器执行时实现:Embodiments of the present disclosure provide a mobile device, characterized in that the mobile device includes a memory and a processor, wherein the memory stores computer instructions that are implemented when executed by the processor:
根据移动设备上的应用和网络的对应关系,确定已经在所述移动设备上启动的具有网络连接能力的应用对应的网络,所述一个应用具有接入多种网络的能力,各网络对该一个应用而言具有不同的优先级;根据确定出的网络从所述移动设备当前已连接的网络连接中选择目标应用对应的目标网络;利用所述目标应用对应的目标网络将所述目标应用接入网络。Determining, according to the correspondence between the application and the network on the mobile device, a network corresponding to the application having the network connection capability that is started on the mobile device, where the one application has the capability of accessing multiple networks, and each network has the same The application has different priorities; the target network corresponding to the target application is selected from the currently connected network connection of the mobile device according to the determined network; and the target application is accessed by using the target network corresponding to the target application. The internet.
本公开实施例提供一种计算机可存储介质,其上存储有计算机程序,该程序被处理器执行时实现本发明实施例进行接入网络管理的方法的步骤。Embodiments of the present disclosure provide a computer storable medium having stored thereon a computer program, the program being executed by a processor to implement the steps of the method for accessing network management in the embodiment of the present invention.
附图说明DRAWINGS
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following drawings will be briefly described in the description of the embodiments, and the accompanying drawings in the following description are only Those skilled in the art can also obtain other drawings based on these drawings without paying for inventive labor.
图1为本公开实施例一种进行接入网络管理的方法;FIG. 1 is a method for performing access network management according to an embodiment of the present disclosure;
图2为本公开实施例多个应用程序的显示界面;2 is a display interface of multiple applications according to an embodiment of the present disclosure;
图3为本公开实施例用户手动调整网络优先级的界面;FIG. 3 is an interface of a user manually adjusting a network priority according to an embodiment of the present disclosure;
图4为本公开实施例记录应用优先级设置信息的数据库;4 is a database for recording application priority setting information according to an embodiment of the present disclosure;
图5为本公开实施例一种进行接入网络管理的方法的完整流程图;FIG. 5 is a complete flowchart of a method for performing access network management according to an embodiment of the present disclosure;
图6为本公开实施例另一种进行接入网络管理的方法的完整流程图;FIG. 6 is a complete flowchart of another method for performing access network management according to an embodiment of the present disclosure;
图7为本公开实施例一种移动设备;FIG. 7 is a mobile device according to an embodiment of the present disclosure;
图8为本公开实施例一种进行接入网络管理的移动设备。FIG. 8 is a mobile device for performing access network management according to an embodiment of the present disclosure.
具体实施方式Detailed ways
移动设备根据预先设定的优先级选择当前连接的网络中优先级最好的网络进行数据传输。例如,家庭异构网络系统中有LTE(Long Term Evolution,长期演进)网络、WIFI(Wireless-Fidelity,无线宽带)网络以及D2D (Device-to-Device,设备到设备)通信网络,其中WIFI网络优先级最高,其次为D2D通信网络,最后为LTE网络,若移动设备当前连接的网络有WIFI网络,则选择WIFI网络进行数据传输;如果当前连接的网络没有WIFI网络,但是有D2D通信网络,则选择D2D通信网络进行数据传输;如果当前连接的网络没有WIFI网络,也没有D2D通信网络,但是有LTE网络,则选择LTE网络进行数据传输。The mobile device selects the network with the highest priority among the currently connected networks for data transmission according to a preset priority. For example, a home heterogeneous network system includes an LTE (Long Term Evolution) network, a WIFI (Wireless-Fidelity) network, and a D2D (Device-to-Device) communication network, wherein the WIFI network takes precedence. The highest level, followed by the D2D communication network, and finally the LTE network. If the network currently connected to the mobile device has a WIFI network, the WIFI network is selected for data transmission; if the currently connected network does not have a WIFI network, but has a D2D communication network, then select The D2D communication network performs data transmission; if the currently connected network does not have a WIFI network and does not have a D2D communication network, but has an LTE network, the LTE network is selected for data transmission.
但是目前的方式大多数根据预先设定的优先级的顺序确定进行数据传输的网络,当与移动设备进行数据传输的通信网络不能很好的满足移动设备进行数据传输的需求时,移动设备也不能切换到其它的通信网络进行数据传输。However, most of the current methods determine the network for data transmission according to the preset priority order. When the communication network for data transmission with the mobile device cannot satisfactorily meet the data transmission requirements of the mobile device, the mobile device cannot Switch to other communication networks for data transmission.
因此,需要使得移动设备选择进行数据传输的通信网络的方式比较灵活的方案。Therefore, there is a need for a more flexible solution for a mobile device to select a communication network for data transmission.
为了使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开作进一步地详细描述,显然,所描述的实施例仅仅是本公开一部份实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本公开保护的范围。The present disclosure will be further described in detail with reference to the accompanying drawings, in which FIG. . All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without departing from the inventive scope are the scope of the disclosure.
如图1所示,本公开实施例提供一种进行接入网络管理的方法,该方法能够在诸如智能手机、平板电脑之类的移动设备上实施,该方法包括:As shown in FIG. 1 , an embodiment of the present disclosure provides a method for performing access network management, which can be implemented on a mobile device such as a smart phone or a tablet, and the method includes:
步骤100、根据移动设备上的应用和网络的对应关系,确定已经在所述移动设备上启动的具有网络连接能力的应用对应的网络,所述一个应用具有接入多种网络的能力,各网络对该一个应用而言具有不同的优先级;Step 100: Determine, according to a correspondence between an application and a network on the mobile device, a network corresponding to an application having network connection capability that is started on the mobile device, where the one application has the capability of accessing multiple networks, and each network Have different priorities for this one application;
步骤101、根据确定出的网络从所述移动设备当前已连接的网络连接中选择目标应用对应的目标网络;Step 101: Select, according to the determined network, a target network corresponding to the target application from a network connection currently connected to the mobile device;
步骤102、利用所述目标应用对应的目标网络将所述目标应用接入网络。Step 102: Access the target application to the network by using a target network corresponding to the target application.
对于一个应用而言,能够支持多个网络,每个网络具有不同的优先级,本公开实施例根据应用和网络的对应关系,确定已启动的具有网络连接能力的应用的网络以及对应的优先级;根据确定出的网络从所述移动设备当前已 连接的网络连接中选择目标应用对应的目标网络利用所述目标应用对应的目标网络将所述目标应用接入网络。本公开实施例不再根据预先设定的网络优先级选择进行数据传输的通信网络,而是每个应用都对应一个网络优先级,根据当前已连接的网络可以为每个应用有针对性的选择适合的网络进行接入,使得选择进行数据传输的通信网络的方式更加灵活,更有针对性。For an application, multiple networks can be supported, and each network has different priorities. According to the corresponding relationship between the application and the network, the network of the application with the network connection capability and the corresponding priority are determined according to the corresponding relationship between the application and the network. Selecting, according to the determined network, a target network corresponding to the target application from the currently connected network connection of the mobile device, and using the target network corresponding to the target application to access the target application to the network. Embodiments of the present disclosure no longer select a communication network for data transmission according to a preset network priority, but each application corresponds to a network priority, and each application may have a targeted selection according to the currently connected network. A suitable network for access makes the way of selecting a communication network for data transmission more flexible and more targeted.
其中,当前已连接的网络都包括哪些网络,具体的信息可以存储到ConnectivityService(连接服务)中;Which networks are currently included in the connected network, and specific information can be stored in the Connectivity Service;
相应的,在需要查询移动设备当前已连接的网络时,可以从ConnectivityService中确定当前已连接的网络。Correspondingly, when it is required to query the network that the mobile device is currently connected to, the currently connected network can be determined from the ConnectivityService.
本公开实施例为每个应用分别配置网络优先级,不同的应用的网络优先级可以相同,也可以不同。The embodiments of the present disclosure respectively configure network priorities for each application, and network priorities of different applications may be the same or different.
在实施中,可以由用户根据需要手动设置,并在使用过程中对应用的网络优先级进行更新。In the implementation, it can be manually set by the user as needed, and the network priority of the application is updated during use.
如图2所示,为多个App(Application,应用程序)的显示界面;As shown in FIG. 2, it is a display interface of multiple App (Application);
为了对某个应用设置网络优先级,用户可以点击某个需要设置网络优先级的应用,比如用户按住应用图标的时长超过第一阈值或用户按住应用的力度大于设定的第二阈值,可以出现如图3所示的界面。In order to set the network priority for an application, the user can click on an application that needs to set the network priority, such as the duration when the user presses and holds the application icon exceeds the first threshold or the user presses the application to be greater than the set second threshold. An interface as shown in Figure 3 can appear.
在图3中,WIFI表示无线宽带网,Cellular表示蜂窝移动数据,Bluetooth表示蓝牙,Ethernet表示以太网,图中从上至下网络优先级依次降低;In FIG. 3, WIFI represents a wireless broadband network, Cellular represents cellular mobile data, Bluetooth represents Bluetooth, and Ethernet represents Ethernet, and the priority of the network from top to bottom in the figure decreases in turn;
在具体实施中,用户可以手动拖动调整该应用的各网络之间的优先级。In a specific implementation, the user can manually drag and adjust the priority between the networks of the application.
除了上面给出的长按或通过力度按压方式,在设置选项里开启网络优先级设置选项或其他方式开启网络优先级设置选项也同样可以实现网络优先级的设置。In addition to the long press or force press method given above, the network priority setting option can be turned on in the setting options or the network priority setting option can be turned on in other ways.
具体的,记录应用优先级设置信息采用数据库存储的方式,如图4所示;Specifically, the record application priority setting information is stored in a database manner, as shown in FIG. 4;
图4中,_id表示数据库中的主键值,无实际意义;In Figure 4, _id represents the primary key value in the database, which has no practical meaning;
uid为各应用在系统中的用户标识,用来唯一标识一个应用;The uid is a user identifier of each application in the system, and is used to uniquely identify an application.
package表示应用包名;Package indicates the application package name;
networks保存的是各网络类型的优先级;Networks preserves the priority of each network type;
例如1代表WIFI,2代表蜂窝移动数据,3代表以太网,如果配置优先级为Ethernet>WIFI>Mobile,此时networks的值应该是“3,1,2”。For example, 1 stands for WIFI, 2 stands for cellular mobile data, and 3 stands for Ethernet. If the configuration priority is Ethernet>WIFI>Mobile, the value of networks should be “3, 1, 2”.
本公开实施例已启动的具有网络连接能力的应用为刚启动的需要连接网络的应用以及已经启动并转到后台的需要连接网络的应用。The network connection capable application that has been activated in the embodiment of the present disclosure is an application that needs to be connected to the network just started, and an application that needs to connect to the network that has been started and transferred to the background.
本公开实施例触发确定已启动的具有网络连接能力的应用对应的网络优先级的方式有很多,不同的方式针对的应用也有区别,下面列举几个例子:There are many ways for the embodiment of the present disclosure to trigger the determination of the network priority corresponding to the launched network connection capable application, and the application is different for different applications. Several examples are as follows:
1、如果当前已连接的网络发生变化,需要重新确定对已启动的具有网络连接能力的应用对应的网络优先级。1. If the currently connected network changes, you need to re-determine the network priority corresponding to the launched network-capable application.
具体的,在所述移动设备当前已连接的网络发生变化的情况下,根据应用和网络的对应关系,更新至少一个已经在所述移动设备上启动的具有网络连接能力的应用对应的网络以及对应的优先级。Specifically, in a case that the network that the mobile device is currently connected to is changed, according to the correspondence between the application and the network, at least one network corresponding to the application having the network connection capability that has been started on the mobile device is updated, and corresponding Priority.
这里的至少一个已启动的具有网络连接能力的应用可以是已启动的需要连接网络的所有应用;At least one of the activated network connection capable applications herein may be all applications that have been started to connect to the network;
也可以是已启动的具有网络连接能力的应用中通过发生变化的网络接入的应用。It can also be an application that has changed network access through an enabled network connection capable application.
假设至少一个已启动的具有网络连接能力的应用是已启动的需要连接网络的所有应用,已启动的具有网络连接能力的应用包括微信、淘宝和微博。It is assumed that at least one launched network connection capable application is all applications that have been started to connect to the network, and the launched network connection capable applications include WeChat, Taobao, and Weibo.
移动设备原本连接在WIFI网络下,并且移动设备还连接蜂窝移动数据,在离开WIFI覆盖后,需要确定微信、淘宝和微博的网络优先级,并确定这三个应用各自对应的目标网络。The mobile device is originally connected to the WIFI network, and the mobile device is also connected to the cellular mobile data. After leaving the WIFI coverage, the network priorities of WeChat, Taobao, and Weibo need to be determined, and the target networks corresponding to the three applications are determined.
2、如果已启动的具有网络连接能力的应用的网络优先级发生变化,需要重新确定发生变化的已启动的具有网络连接能力的应用对应的网络优先级。2. If the network priority of the started network connection capable application changes, it is necessary to re-determine the network priority corresponding to the changed enabled network connection capable application.
具体的,在所述移动设备当前已连接的网络发生变化的情况下,根据应用和网络的对应关系,更新已经在所述移动设备上启动的具有网络连接能力的应用中各网络的优先级发生变化的应用对应的优先级。Specifically, in the case that the network that the mobile device is currently connected to changes, according to the corresponding relationship between the application and the network, updating the priority of each network in the network connection capable application that has been started on the mobile device The priority of the changed application.
例如,已启动的具有网络连接能力的应用包括微信、淘宝和微博。For example, applications that have been launched with network connectivity include WeChat, Taobao, and Weibo.
用户通过手动拖动或者选项设置等方式调整微信和淘宝的网络优先级;The user adjusts the network priority of WeChat and Taobao by manual dragging or option setting;
此时需要确定微信和淘宝的网络优先级,并确定这两个应用各自对应的目标网络。At this point, you need to determine the network priority of WeChat and Taobao, and determine the target network corresponding to each of the two applications.
3、如果已启动的具有网络连接能力的应用中有未连接网络的应用(比如新启动的需要连接网络的应用、断开网络并重新连接网络的应用等)。需要重新确定对已启动的具有网络连接能力的应用中未连接网络的应用对应的网络优先级。3. If the network connection capable application that has been started has an application that is not connected to the network (such as a newly started application that needs to connect to the network, an application that disconnects the network and reconnects to the network, etc.). It is necessary to re-determine the network priority corresponding to the application of the network connection capable application that is not connected to the network.
具体的,在所述移动设备当前已连接的网络发生变化的情况下,根据应用和网络的对应关系,更新已经在所述移动设备上启动的具有网络连接能力的应用中未连接网络的应用对应的优先级。Specifically, in the case that the network that the mobile device is currently connected to is changed, according to the corresponding relationship between the application and the network, the application corresponding to the unconnected network in the application with the network connection capability that has been started on the mobile device is updated. Priority.
例如,在所述移动设备中具有网络连接能力的应用包括微信、淘宝和微博,用户触发启动微信。For example, applications having network connection capabilities in the mobile device include WeChat, Taobao, and Weibo, and the user triggers initiation of WeChat.
此时需要确定微信的网络优先级,并确定微信对应的目标网络。At this point, you need to determine the network priority of WeChat and determine the target network corresponding to WeChat.
用户又触发启动淘宝。The user triggers the launch of Taobao.
此时需要确定淘宝的网络优先级,并确定淘宝对应的目标网络。At this point, you need to determine the network priority of Taobao and determine the target network corresponding to Taobao.
可选的,从所述移动设备当前已连接的网络中选择目标应用对应的网络中优先级最高的网络作为所述目标应用的目标网络。Optionally, the network with the highest priority among the networks corresponding to the target application is selected from the currently connected network of the mobile device as the target network of the target application.
在实施中,本公开实施例从当前已连接的网络中选择所述应用对应的网络优先级最高的网络作为所述应用对应的目标网络的方式有很多,本公开给出两种方式:In an implementation, there are many ways for the network in the present disclosure to select the network with the highest network priority corresponding to the application as the target network corresponding to the application from the currently connected network. The disclosure provides two methods:
目标网络确定方式一、在所述移动设备当前已连接的网络是所述目标应用对应的网络中优先级最高的网络的情况下,则选择优先级最高的网络作为所述应用对应的目标网络。The target network determines the mode. In the case that the network to which the mobile device is currently connected is the network with the highest priority among the networks corresponding to the target application, the network with the highest priority is selected as the target network corresponding to the application.
比如微信对应的网络按照优先级排序依次为WIFI、蜂窝移动数据和蓝牙;For example, the network corresponding to WeChat is WIFI, cellular mobile data and Bluetooth in order of priority;
那么,WIFI作为微信的第一优先级网络,蜂窝移动数据作为微信的第二优先级网络,蓝牙作为微信的第三优先级网络;Then, WIFI is the first priority network of WeChat, cellular mobile data is used as the second priority network of WeChat, and Bluetooth is the third priority network of WeChat;
如果移动设备当前连接的网络包括蜂窝移动数据和蓝牙,则将蜂窝移动 数据作为微信对应的目标网络。If the network to which the mobile device is currently connected includes cellular mobile data and Bluetooth, the cellular mobile data is used as the target network corresponding to WeChat.
目标网络确定方式二、在所述移动设备当前已连接的网络是所述目标应用对应的网络中优先级最高的网络的情况下,则选择优先级最高的网络作为所述应用对应的目标网络。In the case that the network to which the mobile device is currently connected is the network with the highest priority among the networks corresponding to the target application, the network with the highest priority is selected as the target network corresponding to the application.
比如微信的网络优先级为WIFI、蜂窝移动数据和蓝牙;For example, WeChat's network priority is WIFI, cellular mobile data and Bluetooth;
那么,WIFI作为微信的第一优先级网络,蜂窝移动数据作为微信的第二优先级网络,蓝牙作为微信的第三优先级网络;Then, WIFI is the first priority network of WeChat, cellular mobile data is used as the second priority network of WeChat, and Bluetooth is the third priority network of WeChat;
如果移动设备当前连接的网络包括WIFI,那么,微信的目标网络就是WIFI。If the network currently connected to the mobile device includes WIFI, then the target network of WeChat is WIFI.
在所述移动设备当前已连接的网络不是所述目标应用对应的网络中优先级最高的网络的情况下,则在未连接的网络中,按照所述目标应用对应的网络的优先级从高到低的顺序依次进行连接,在依次与所述未连接的网络进行连接过程中,若接收到连接成功信息,则停止网络连接,并从当前已连接的网络中选择所述目标应用对应的网络中优先级最高的网络作为所述目标应用的目标网络。In the case that the network that the mobile device is currently connected to is not the highest priority network in the network corresponding to the target application, in the unconnected network, the priority of the network corresponding to the target application is from high to high. The connection is sequentially performed in a low order, and in the process of sequentially connecting with the unconnected network, if the connection success information is received, the network connection is stopped, and the network corresponding to the target application is selected from the currently connected network. The network with the highest priority is the target network of the target application.
比如微信的网络优先级为WIFI、蜂窝移动数据和蓝牙;For example, WeChat's network priority is WIFI, cellular mobile data and Bluetooth;
如果移动设备当前连接的网络是蓝牙;If the network to which the mobile device is currently connected is Bluetooth;
那么微信启动后,WIFI作为第一优先级;将蜂窝移动数据作为第二优先级,将蓝牙作为第三优先级;Then, after the WeChat is started, the WIFI is taken as the first priority; the cellular mobile data is taken as the second priority, and the Bluetooth is taken as the third priority;
首先判断移动设备是否能够通过WIFI接入网络,如果可以,则将WIFI作为微信对应的目标网络,并停止尝试通过蜂窝移动数据接入网络;First, it is determined whether the mobile device can access the network through the WIFI, and if possible, the WIFI is used as the target network corresponding to the WeChat, and stops trying to access the network through the cellular mobile data;
如果不行,则判断移动设备是否能够通过蜂窝移动数据接入网络,如果可以,则将蜂窝移动数据作为微信对应的目标网络,否则将蓝牙作为微信对应的目标网络。If not, it is judged whether the mobile device can access the network through the cellular mobile data, if possible, the cellular mobile data is used as the target network corresponding to WeChat, otherwise Bluetooth is used as the target network corresponding to WeChat.
上述可见,对于目标网络确定方式二,本公开实施例可以通过微信的网络优先级从高到低的顺序依次搜索网络的。As can be seen from the foregoing, for the second method of determining the target network, the embodiment of the present disclosure may sequentially search for the network by using the network priority of the WeChat from high to low.
在实施中,由于移动设备中的ConnectivityService中保存管理当前移动设 备已连接的网络,所以在有应用需要连接网络时,应用可以向ConnectivityService发送网络请求,由ConnectivityService根据应用的网络优先级以及当前移动设备连接的网络确定该应用需要通过哪个类型的网络接入。In the implementation, since the connection in the mobile device saves and manages the network that the current mobile device is connected to, the application can send a network request to the ConnectivityService when the application needs to connect to the network, and the ConnectivityService is based on the network priority of the application and the current mobile device. The connected network determines which type of network access the application needs to access.
例如,移动设备与WIFI连接,微信的网络优先级是蜂窝移动数据、以太网、WIFI和蓝牙;For example, a mobile device is connected to a WIFI, and the network priority of WeChat is cellular mobile data, Ethernet, WIFI, and Bluetooth;
比如需要确定微信的目标网络,则微信发送网络请求至ConnectivityService,ConnectivityService判断移动设备当前只连接了WIFI,并没有接入蜂窝移动数据,那么ConnectivityService将网络请求发送至蜂窝移动数据网络工厂,蜂窝移动数据网络工厂收到网络请求后,触发建立蜂窝移动数据网络。For example, if the target network of WeChat needs to be determined, the WeChat sends a network request to the ConnectivityService, the ConnectivityService determines that the mobile device is currently only connected to the WIFI, and does not access the cellular mobile data, then the ConnectivityService sends the network request to the cellular mobile data network factory, the cellular mobile data. After receiving the network request, the network factory triggers the establishment of a cellular mobile data network.
触发建立应用需要的网络数据链路的场所可以是网络工厂,网络工厂是具体负责建立网络的管理对象。The place that triggers the establishment of the network data link required by the application may be a network factory, which is a management object specifically responsible for establishing the network.
例如,ConnectivityService发送WIFI的网络请求,那么WIFI的网络请求就会被发送至WIFI的网络工厂;For example, if the ConnectivityService sends a WIFI network request, then the WIFI network request is sent to the WIFI network factory;
ConnectivityService发送蜂窝移动数据的网络请求,那么蜂窝移动数据的网络请求就会被发送至蜂窝移动数据的网络工厂;When the ConnectivityService sends a network request for cellular mobile data, the network request for cellular mobile data is sent to the network factory of the cellular mobile data;
ConnectivityService发送以太网的网络请求,那么以太网的网络请求就会被发送至以太网的网络工厂;The ConnectivityService sends an Ethernet network request, and the Ethernet network request is sent to the Ethernet network factory;
ConnectivityService发送蓝牙的网络请求,那么蓝牙的网络请求就会被发送至蓝牙的网络工厂;The ConnectivityService sends a Bluetooth network request, then the Bluetooth network request is sent to the Bluetooth network factory;
针对其他类型网络的网络请求,也会相应的发送至相应网络的网络工厂。Network requests for other types of networks are also sent to the network factory of the corresponding network.
可选的,在确定所述移动设备当前已连接的网络中不存在目标应用对应的网络的情况下,则从所述目标应用对应的网络中按照优先级从高到低的顺序依次连接;Optionally, in a case that it is determined that the network corresponding to the target application does not exist in the network that the mobile device is currently connected to, the network corresponding to the target application is sequentially connected according to the priority from high to low;
在所述依次连接过程中,若有连接成功的网络,则停止后续网络的连接。In the sequential connection process, if there is a network with a successful connection, the connection of the subsequent network is stopped.
例如,微信的网络优先级为蓝牙和蜂窝移动数据,移动设备当前连接WIFI;For example, the network priority of WeChat is Bluetooth and cellular mobile data, and the mobile device is currently connected to WIFI;
微信启动后,蓝牙作为第一优先级,蜂窝移动数据作为第二优先级。After the WeChat is activated, Bluetooth is the first priority and the cellular mobile data is used as the second priority.
首先判断作为第一优先级的蓝牙是否接入网络,显然,本例中蓝牙并没有接入网络;然后,判断作为第二优先级的蜂窝移动数据是否接入网络,显然,本例中蜂窝移动数据也没有接入网络,所以所述应用对应的所述网络优先级中没有当前已连接的网络。First, it is determined whether the Bluetooth as the first priority accesses the network. Obviously, in this example, Bluetooth does not access the network; then, it is determined whether the cellular mobile data as the second priority is connected to the network, obviously, the cellular mobile in this example The data is also not connected to the network, so there is no currently connected network among the network priorities corresponding to the application.
这时就会先尝试通过蓝牙进行连接,如果蓝牙连接成功,则将蓝牙作为微信对应的目标网络,并停止通过蜂窝移动数据进行连接;At this time, the connection will be attempted through Bluetooth first. If the Bluetooth connection is successful, the Bluetooth is used as the target network corresponding to WeChat, and the connection is stopped through the cellular mobile data;
如果蓝牙连接失败,则继续尝试通过蜂窝移动数据连接,如果蜂窝移动数据连接成功,则将蜂窝移动数据作为微信对应的目标网络;If the Bluetooth connection fails, continue to try to move the data connection through the cellular, if the cellular mobile data connection is successful, the cellular mobile data is used as the target network corresponding to WeChat;
如果蜂窝移动数据连接失败,则确定当前没有微信适合的目标网络。If the cellular mobile data connection fails, it is determined that there is currently no target network suitable for WeChat.
可选的,若当前已连接的网络中有特定网络,则断开与所述特定网络之间的链路;Optionally, if there is a specific network in the currently connected network, disconnect the link with the specific network;
其中,所述特定网络为没有已启动的具有网络连接能力的应用使用的网络。Wherein, the specific network is a network that is not used by an application with network connection capability that has been started.
例如,移动设备当前与WIFI、蜂窝移动数据和蓝牙连接,移动设备当前已启动的应用为微信和微博。For example, the mobile device is currently connected to WIFI, cellular mobile data, and Bluetooth, and the applications currently launched by the mobile device are WeChat and Weibo.
微信的网络优先级为WIFI和蜂窝移动数据;微博的网络优先级为蜂窝移动数据和WIFI。The network priority of WeChat is WIFI and cellular mobile data; the network priority of Weibo is cellular mobile data and WIFI.
当前微信通过WIFI接入,微博通过蜂窝移动数据接入。Currently, WeChat is accessed through WIFI, and Weibo is accessed through cellular mobile data.
而蓝牙没有任何应用使用,所以蓝牙就是上面提到的特定网络,移动设备会断开与蓝牙之间的链路。Bluetooth is not used by any application, so Bluetooth is the specific network mentioned above, and the mobile device will disconnect the link with Bluetooth.
可选的,应用为支付类应用,所述支付类应用对应的网络中优先级最高的网络为移动网络。Optionally, the application is a payment application, and the network with the highest priority among the corresponding network of the payment application is a mobile network.
比如可以绑定银行卡进行付款、转账等功能的应用。For example, an application that can bind a bank card for payment, transfer, and the like.
这里的移动网络可以是由移动运营商提供的网络,比如5G、4G网络等。The mobile network here may be a network provided by a mobile operator, such as a 5G, 4G network, or the like.
可选的,所述应用包括需要的流量大于阈值的第一类应用,所述第一类应用对应的网络中优先级最高的网络为无线网络。Optionally, the application includes a first type of application that requires a traffic that is greater than a threshold, and a network with a highest priority among the networks corresponding to the first type of applications is a wireless network.
比如视频软件等需要大量流量的应用。For example, video software and other applications that require a lot of traffic.
在实施中,这里的阈值可以由用户进行设置。In implementations, the thresholds here can be set by the user.
这里的无线网络可以是无线局域网,比如WIFI等。The wireless network here can be a wireless local area network, such as WIFI.
下面以目标网络确定方式一为例,对本公开实施例的进行接入网络管理进行详细介绍。The following describes the access network management in the embodiment of the present disclosure by taking the target network determining manner as an example.
如图5所示,本公开实施例提供一种进行接入网络管理的方法的完整流程图:As shown in FIG. 5, an embodiment of the present disclosure provides a complete flowchart of a method for performing access network management:
步骤500、移动设备从所有已启动的具有网络连接能力的应用中选择一个需要确定网络优先级的应用;Step 500: The mobile device selects an application that needs to determine a network priority from all activated applications with network connectivity capabilities;
步骤501、移动设备根据应用和网络优先级的对应关系,确定选择的应用对应的网络优先级;Step 501: The mobile device determines, according to the correspondence between the application and the network priority, the network priority corresponding to the selected application.
步骤502、移动设备判断当前已连接的网络中是否有所述应用对应的网络优先级中的网络,如果有,则执行步骤503;否则,执行步骤504;Step 502: The mobile device determines whether there is a network in the network priority corresponding to the application in the currently connected network, if yes, step 503 is performed; otherwise, step 504 is performed;
步骤503、移动设备从当前已连接的网络中选择所述应用对应的网络优先级最高的网络作为所述应用对应的目标网络,并执行步骤509;Step 503: The mobile device selects the network with the highest network priority corresponding to the application from the currently connected network as the target network corresponding to the application, and performs step 509;
步骤504、移动设备从应用对应的网络优先级中选择未尝试连接的优先级最高的网络;Step 504: The mobile device selects, from the network priority corresponding to the application, the network with the highest priority that is not attempted to connect;
步骤505、移动设备判断是否能够通过选择的网络进行连接,如果是,则执行步骤506;否则,执行步骤507; Step 505, the mobile device determines whether the connection can be made through the selected network, and if so, step 506 is performed; otherwise, step 507 is performed;
步骤506、移动设备将选择的网络作为应用对应的目标网络,并执行步骤509; Step 506, the mobile device uses the selected network as the target network corresponding to the application, and performs step 509;
步骤507、移动设备判断应用对应的网络优先级是否有未尝试连接的网络,如果有,则返回步骤504,否则,执行步骤508;Step 507: The mobile device determines whether the network priority corresponding to the application has a network that is not attempted to connect, and if yes, returns to step 504, otherwise, step 508 is performed;
步骤508、移动设备确定当前没有适合该应用的网络,并执行步骤510; Step 508, the mobile device determines that there is currently no network suitable for the application, and performs step 510;
步骤509、移动设备利用所述应用对应的所述目标网络将所述应用接入网络,并执行步骤510;Step 509: The mobile device accesses the network by using the target network corresponding to the application, and performs step 510;
步骤510、移动设备判断是否还有需要确定网络优先级的应用,如果有,则返回步骤500;否则,结束本流程。Step 510: The mobile device determines whether there is an application that needs to determine the network priority, and if yes, returns to step 500; otherwise, the process ends.
下面以目标网络确定方式二为例,对本公开实施例的进行接入网络管理进行详细介绍。The following describes the access network management in the embodiment of the present disclosure by taking the target network determination mode 2 as an example.
如图6所示,本公开实施例提供一种进行接入网络管理的方法的完整流程图:As shown in FIG. 6, the embodiment of the present disclosure provides a complete flowchart of a method for performing access network management:
步骤600、移动设备从所有已启动的具有网络连接能力的应用中选择一个需要确定网络优先级的应用;Step 600: The mobile device selects an application that needs to determine a network priority from all activated applications with network connectivity capabilities;
步骤601、移动设备根据应用和网络优先级的对应关系,确定选择的应用对应的网络优先级;Step 601: The mobile device determines, according to the correspondence between the application and the network priority, the network priority corresponding to the selected application.
步骤602、移动设备判断当前已连接的网络中是否有所述应用对应的网络优先级中网络优先级最高的网络,如果有,则执行步骤603;否则,执行步骤604;Step 602: The mobile device determines whether there is a network with the highest network priority among the network priorities corresponding to the application in the currently connected network, if yes, step 603 is performed; otherwise, step 604 is performed;
步骤603、移动设备从当前已连接的网络中选择所述应用对应的网络优先级最高的网络作为所述应用对应的目标网络,并执行步骤608; Step 603, the mobile device selects the network with the highest network priority corresponding to the application as the target network corresponding to the application from the currently connected network, and performs step 608;
步骤604、移动设备从网络优先级对应的所有网络中确定当前未进行连接,且未尝试连接的优先级最高的网络;Step 604: The mobile device determines, from all networks corresponding to the network priority, the network with the highest priority that is not currently connected, and does not attempt to connect;
步骤605、移动设备判断是否能够通过选择的网络进行连接,如果是,则执行步骤606;否则,执行步骤607; Step 605, the mobile device determines whether the connection can be made through the selected network, and if so, step 606 is performed; otherwise, step 607 is performed;
步骤606、移动设备将选择的网络作为应用对应的目标网络,并执行步骤608; Step 606, the mobile device uses the selected network as the target network corresponding to the application, and performs step 608;
步骤607、移动设备判断网络优先级中是否还有未选择的网络,如果有,则返回步骤604;否则,执行步骤609; Step 607, the mobile device determines whether there is an unselected network in the network priority, if yes, returns to step 604; otherwise, step 609;
步骤608、移动设备利用所述应用对应的所述目标网络将所述应用接入网络;Step 608: The mobile device accesses the application to the network by using the target network corresponding to the application.
步骤609、移动设备确定当前没有适合该应用的网络,并执行步骤610; Step 609, the mobile device determines that there is currently no network suitable for the application, and performs step 610;
步骤610、移动设备判断是否还有需要确定网络优先级的应用,如果有,则返回步骤600;否则,结束本流程。Step 610: The mobile device determines whether there is an application that needs to determine the network priority, and if yes, returns to step 600; otherwise, the process ends.
本公开实施例提供了一种计算机可存储介质,其上存储有计算机程序, 该程序被处理器执行时实现上述本公开实施例进行接入网络管理的方法的步骤。Embodiments of the present disclosure provide a computer storable medium having stored thereon a computer program, the program being executed by a processor to implement the steps of the method for accessing network management in the above-described embodiments of the present disclosure.
基于同一发明构思,本公开实施例中还提供了一种进行接入网络管理的移动设备,由于该移动设备解决问题的原理与本公开实施例的方法相似,因此该移动设备的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, a mobile device that performs access network management is also provided in the embodiment of the present disclosure. The principle of the mobile device is similar to that of the embodiment of the present disclosure. Therefore, the implementation of the mobile device may refer to the method. The implementation, repetitions will not be repeated.
如图7所示,本公开实施例提供一种移动设备,该移动设备包括:As shown in FIG. 7, an embodiment of the present disclosure provides a mobile device, where the mobile device includes:
处理器700和存储器701,其中,所述存储器存储有计算机指令,所述计算机指令被所述处理器执行时实现:The processor 700 and the memory 701, wherein the memory stores computer instructions that are implemented when executed by the processor:
根据移动设备上的应用和网络的对应关系,确定已经在所述移动设备上启动的具有网络连接能力的应用对应的网络,所述一个应用具有接入多种网络的能力,各网络对该一个应用而言具有不同的优先级;根据确定出的网络从所述移动设备当前已连接的网络连接中选择目标应用对应的目标网络;利用所述目标应用对应的目标网络将所述目标应用接入网络。Determining, according to the correspondence between the application and the network on the mobile device, a network corresponding to the application having the network connection capability that is started on the mobile device, where the one application has the capability of accessing multiple networks, and each network has the same The application has different priorities; the target network corresponding to the target application is selected from the currently connected network connection of the mobile device according to the determined network; and the target application is accessed by using the target network corresponding to the target application. The internet.
可选的,所述处理器700还用于:Optionally, the processor 700 is further configured to:
在所述移动设备当前已连接的网络发生变化的情况下,根据应用和网络的对应关系,更新至少一个已经在所述移动设备上启动的具有网络连接能力的应用对应的网络以及对应的优先级。In the case that the network that the mobile device is currently connected to is changed, according to the correspondence between the application and the network, the network corresponding to the at least one application with the network connection capability that has been started on the mobile device is updated, and the corresponding priority is updated. .
可选的,所述处理器700还用于:Optionally, the processor 700 is further configured to:
在所述移动设备当前已连接的网络发生变化的情况下,根据应用和网络的对应关系,更新已经在所述移动设备上启动的具有网络连接能力的应用中各网络的优先级发生变化的应用对应的优先级。In the case that the network that the mobile device is currently connected to is changed, according to the corresponding relationship between the application and the network, the application whose priority has changed in each network in the application with network connection capability that has been started on the mobile device is updated. Corresponding priority.
可选的,所述处理器700还用于:Optionally, the processor 700 is further configured to:
在所述移动设备当前已连接的网络发生变化的情况下,根据应用和网络的对应关系,更新已经在所述移动设备上启动的具有网络连接能力的应用中未连接网络的应用对应的优先级。In the case that the network that the mobile device is currently connected to is changed, according to the corresponding relationship between the application and the network, the priority corresponding to the application that is not connected to the network in the network connection capable application that has been started on the mobile device is updated. .
可选的,所述处理器700具体用于:Optionally, the processor 700 is specifically configured to:
从所述移动设备当前已连接的网络中选择目标应用对应的网络中优先级 最高的网络作为所述目标应用的目标网络。Selecting the network with the highest priority among the networks corresponding to the target application from the currently connected network of the mobile device as the target network of the target application.
可选的,所述处理器700具体用于:Optionally, the processor 700 is specifically configured to:
在所述移动设备当前已连接的网络是所述目标应用对应的网络中优先级最高的网络的情况下,则选择优先级最高的网络作为所述应用对应的目标网络。In a case that the network that the mobile device is currently connected to is the network with the highest priority among the networks corresponding to the target application, the network with the highest priority is selected as the target network corresponding to the application.
可选的,所述处理器700具体用于:Optionally, the processor 700 is specifically configured to:
在所述移动设备当前已连接的网络不是所述目标应用对应的网络中优先级最高的网络的情况下,则在未连接的网络中,按照所述目标应用对应的网络的优先级从高到低的顺序依次进行连接,在依次与所述未连接的网络进行连接过程中,若接收到连接成功信息,则停止网络连接,并从当前已连接的网络中选择所述目标应用对应的网络中优先级最高的网络作为所述目标应用的目标网络。In the case that the network that the mobile device is currently connected to is not the highest priority network in the network corresponding to the target application, in the unconnected network, the priority of the network corresponding to the target application is from high to high. The connection is sequentially performed in a low order, and in the process of sequentially connecting with the unconnected network, if the connection success information is received, the network connection is stopped, and the network corresponding to the target application is selected from the currently connected network. The network with the highest priority is the target network of the target application.
可选的,所述处理器700还用于:Optionally, the processor 700 is further configured to:
在确定所述移动设备当前已连接的网络中不存在目标应用对应的网络的情况下,则从所述目标应用对应的网络中按照优先级从高到低的顺序依次连接;In a case that it is determined that the network corresponding to the target application does not exist in the network that the mobile device is currently connected to, the network corresponding to the target application is sequentially connected in descending order of priority;
在所述依次连接过程中,若有连接成功的网络,则停止后续网络的连接。In the sequential connection process, if there is a network with a successful connection, the connection of the subsequent network is stopped.
可选的,所述处理器700还用于:Optionally, the processor 700 is further configured to:
若当前已连接的网络中有特定网络,则断开与所述特定网络之间的链路;If there is a specific network in the currently connected network, disconnect the link with the specific network;
其中,所述特定网络为已启动的具有网络连接能力的应用中不使用的网络。The specific network is a network that is not used in an activated network connection capable application.
可选的,应用为支付类应用,所述支付类应用对应的网络中优先级最高的网络为移动网络。Optionally, the application is a payment application, and the network with the highest priority among the corresponding network of the payment application is a mobile network.
可选的,所述应用包括需要的流量大于阈值的第一类应用,所述第一类应用对应的网络中优先级最高的网络为无线网络。Optionally, the application includes a first type of application that requires a traffic that is greater than a threshold, and a network with a highest priority among the networks corresponding to the first type of applications is a wireless network.
如图8所示,本公开实施例提供一种进行接入网络管理的移动设备,该移动设备包括:As shown in FIG. 8, an embodiment of the present disclosure provides a mobile device that performs access network management, and the mobile device includes:
网络优先级确定模块800、用于根据移动设备上的应用和网络的对应关系,确定已经在所述移动设备上启动的具有网络连接能力的应用对应的网络,所述一个应用具有接入多种网络的能力,各网络对该一个应用而言具有不同的优先级;The network priority determining module 800 is configured to determine, according to a correspondence between an application and a network on the mobile device, a network corresponding to an application having a network connection capability that is started on the mobile device, where the one application has multiple accesses. The ability of the network, each network has a different priority for one application;
目标网络选择模块801、用于根据确定出的网络从所述移动设备当前已连接的网络连接中选择目标应用对应的目标网络;The target network selection module 801 is configured to select, according to the determined network, a target network corresponding to the target application from a network connection currently connected by the mobile device;
接入网络模块802、用于利用所述目标应用对应的目标网络将所述目标应用接入网络。The access network module 802 is configured to access the target application to the network by using a target network corresponding to the target application.
可选的,所述网络优先级确定模块800还用于:Optionally, the network priority determining module 800 is further configured to:
在所述移动设备当前已连接的网络发生变化的情况下,根据应用和网络的对应关系,更新至少一个已经在所述移动设备上启动的具有网络连接能力的应用对应的网络以及对应的优先级。In the case that the network that the mobile device is currently connected to is changed, according to the correspondence between the application and the network, the network corresponding to the at least one application with the network connection capability that has been started on the mobile device is updated, and the corresponding priority is updated. .
可选的,所述网络优先级确定模块800还用于:Optionally, the network priority determining module 800 is further configured to:
在所述移动设备当前已连接的网络发生变化的情况下,根据应用和网络的对应关系,更新已经在所述移动设备上启动的具有网络连接能力的应用中各网络的优先级发生变化的应用对应的优先级。In the case that the network that the mobile device is currently connected to is changed, according to the corresponding relationship between the application and the network, the application whose priority has changed in each network in the application with network connection capability that has been started on the mobile device is updated. Corresponding priority.
可选的,所述网络优先级确定模块800还用于:Optionally, the network priority determining module 800 is further configured to:
在所述移动设备当前已连接的网络发生变化的情况下,根据应用和网络的对应关系,更新已经在所述移动设备上启动的具有网络连接能力的应用中未连接网络的应用对应的优先级。In the case that the network that the mobile device is currently connected to is changed, according to the corresponding relationship between the application and the network, the priority corresponding to the application that is not connected to the network in the network connection capable application that has been started on the mobile device is updated. .
可选的,目标网络选择模块801具体用于:Optionally, the target network selection module 801 is specifically configured to:
从所述移动设备当前已连接的网络中选择目标应用对应的网络中优先级最高的网络作为所述目标应用的目标网络。Selecting, from the network that the mobile device is currently connected, the network with the highest priority among the networks corresponding to the target application as the target network of the target application.
可选的,目标网络选择模块801具体用于:Optionally, the target network selection module 801 is specifically configured to:
在所述移动设备当前已连接的网络是所述目标应用对应的网络中优先级最高的网络的情况下,则选择优先级最高的网络作为所述应用对应的目标网络。In a case that the network that the mobile device is currently connected to is the network with the highest priority among the networks corresponding to the target application, the network with the highest priority is selected as the target network corresponding to the application.
可选的,目标网络选择模块801具体用于:Optionally, the target network selection module 801 is specifically configured to:
在所述移动设备当前已连接的网络不是所述目标应用对应的网络中优先级最高的网络的情况下,则在未连接的网络中,按照所述目标应用对应的网络的优先级从高到低的顺序依次进行连接,在依次与所述未连接的网络进行连接过程中,若接收到连接成功信息,则停止网络连接,并从当前已连接的网络中选择所述目标应用对应的网络中优先级最高的网络作为所述目标应用的目标网络。In the case that the network that the mobile device is currently connected to is not the highest priority network in the network corresponding to the target application, in the unconnected network, the priority of the network corresponding to the target application is from high to high. The connection is sequentially performed in a low order, and in the process of sequentially connecting with the unconnected network, if the connection success information is received, the network connection is stopped, and the network corresponding to the target application is selected from the currently connected network. The network with the highest priority is the target network of the target application.
可选的,接入网络模块802还用于:Optionally, the access network module 802 is further configured to:
在确定所述移动设备当前已连接的网络中不存在目标应用对应的网络的情况下,则从所述目标应用对应的网络中按照优先级从高到低的顺序依次连接;In a case that it is determined that the network corresponding to the target application does not exist in the network that the mobile device is currently connected to, the network corresponding to the target application is sequentially connected in descending order of priority;
在所述依次连接过程中,若有连接成功的网络,则停止后续网络的连接。In the sequential connection process, if there is a network with a successful connection, the connection of the subsequent network is stopped.
可选的,接入网络模块802还用于:Optionally, the access network module 802 is further configured to:
若当前已连接的网络中有特定网络,则断开与所述特定网络之间的链路;If there is a specific network in the currently connected network, disconnect the link with the specific network;
其中,所述特定网络为已启动的具有网络连接能力的应用中不使用的网络。The specific network is a network that is not used in an activated network connection capable application.
可选的,应用为支付类应用,所述支付类应用对应的网络中优先级最高的网络为移动网络。Optionally, the application is a payment application, and the network with the highest priority among the corresponding network of the payment application is a mobile network.
可选的,所述应用包括需要的流量大于阈值的第一类应用,所述第一类应用对应的网络中优先级最高的网络为无线网络。Optionally, the application includes a first type of application that requires a traffic that is greater than a threshold, and a network with a highest priority among the networks corresponding to the first type of applications is a wireless network.
以上参照示出根据本申请实施例的方法、装置(系统)和/或计算机程序产品的框图和/或流程图描述本申请。应理解,可以通过计算机程序指令来实现框图和/或流程图示图的一个块以及框图和/或流程图示图的块的组合。可以将这些计算机程序指令提供给通用计算机、专用计算机的处理器和/或其它可编程数据处理装置,以产生机器,使得经由计算机处理器和/或其它可编程数据处理装置执行的指令创建用于实现框图和/或流程图块中所指定的功能/动作的方法。The present application has been described above with reference to block diagrams and/or flowchart illustrations of a method, apparatus (system) and/or computer program product according to embodiments of the present application. It will be understood that one block of the block diagrams and/or flowchart illustrations and combinations of blocks of the block diagrams and/or flowchart illustrations can be implemented by computer program instructions. These computer program instructions may be provided to a general purpose computer, a processor of a special purpose computer, and/or other programmable data processing apparatus to produce a machine such that instructions for execution via a computer processor and/or other programmable data processing apparatus are created for A method of implementing the functions/actions specified in the block diagrams and/or flowchart blocks.
相应地,还可以用硬件和/或软件(包括固件、驻留软件、微码等)来实施本申请。更进一步地,本申请可以采取计算机可使用或计算机可读存储介质上的计算机程序产品的形式,其具有在介质中实现的计算机可使用或计算机可读程序代码,以由指令执行系统来使用或结合指令执行系统而使用。在本申请上下文中,计算机可使用或计算机可读介质可以是任意介质,其可以包含、存储、通信、传输、或传送程序,以由指令执行系统、装置或设备使用,或结合指令执行系统、装置或设备使用。Accordingly, the application can also be implemented in hardware and/or software (including firmware, resident software, microcode, etc.). Still further, the application can take the form of a computer program product on a computer usable or computer readable storage medium having computer usable or computer readable program code embodied in a medium for use by an instruction execution system or Used in conjunction with the instruction execution system. In the context of the present application, a computer usable or computer readable medium can be any medium that can contain, store, communicate, communicate, or transport a program for use by an instruction execution system, apparatus or device, or in conjunction with an instruction execution system, Used by the device or device.
显然,本领域的技术人员可以对本公开进行各种改动和变型而不脱离本公开的精神和范围。这样,倘若本公开的这些修改和变型属于本公开权利要求及其等同技术的范围之内,则本公开也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various changes and modifications can be made in the present disclosure without departing from the spirit and scope of the disclosure. Thus, it is intended that the present invention cover the modifications and the modifications

Claims (23)

  1. 一种进行接入网络管理的方法,其特征在于,该方法包括:A method for performing access network management, characterized in that the method comprises:
    根据移动设备上的应用和网络的对应关系,确定已经在所述移动设备上启动的具有网络连接能力的应用对应的网络,所述一个应用具有接入多种网络的能力,各网络对该一个应用而言具有不同的优先级;Determining, according to the correspondence between the application and the network on the mobile device, a network corresponding to the application having the network connection capability that is started on the mobile device, where the one application has the capability of accessing multiple networks, and each network has the same Applications have different priorities;
    根据确定出的网络从所述移动设备当前已连接的网络连接中选择目标应用对应的目标网络;Selecting, according to the determined network, a target network corresponding to the target application from a network connection currently connected to the mobile device;
    利用所述目标应用对应的目标网络将所述目标应用接入网络。The target application is accessed to the network by using a target network corresponding to the target application.
  2. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 wherein the method further comprises:
    在所述移动设备当前已连接的网络发生变化的情况下,根据应用和网络的对应关系,更新至少一个已经在所述移动设备上启动的具有网络连接能力的应用对应的网络以及对应的优先级。In the case that the network that the mobile device is currently connected to is changed, according to the correspondence between the application and the network, the network corresponding to the at least one application with the network connection capability that has been started on the mobile device is updated, and the corresponding priority is updated. .
  3. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 wherein the method further comprises:
    在所述移动设备当前已连接的网络发生变化的情况下,根据应用和网络的对应关系,更新已经在所述移动设备上启动的具有网络连接能力的应用中各网络的优先级发生变化的应用对应的优先级。In the case that the network that the mobile device is currently connected to is changed, according to the corresponding relationship between the application and the network, the application whose priority has changed in each network in the application with network connection capability that has been started on the mobile device is updated. Corresponding priority.
  4. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 wherein the method further comprises:
    在所述移动设备当前已连接的网络发生变化的情况下,根据应用和网络的对应关系,更新已经在所述移动设备上启动的具有网络连接能力的应用中未连接网络的应用对应的优先级。In the case that the network that the mobile device is currently connected to is changed, according to the corresponding relationship between the application and the network, the priority corresponding to the application that is not connected to the network in the network connection capable application that has been started on the mobile device is updated. .
  5. 如权利要求1所述的方法,其特征在于,根据确定出的网络优先级从所述移动设备当前已连接的网络连接中选择目标应用对应的目标网络,包括:The method of claim 1, wherein the target network corresponding to the target application is selected from the currently connected network connections of the mobile device according to the determined network priority, including:
    从所述移动设备当前已连接的网络中选择目标应用对应的网络中优先级最高的网络作为所述目标应用的目标网络。Selecting, from the network that the mobile device is currently connected, the network with the highest priority among the networks corresponding to the target application as the target network of the target application.
  6. 如权利要求5所述的方法,其特征在于,从所述移动设备当前已连接的网络中选择目标应用对应的网络中优先级最高的网络作为所述目标应用的 目标网络,包括:The method of claim 5, wherein the network with the highest priority among the networks corresponding to the target application is selected as the target network of the target application from the network to which the mobile device is currently connected, including:
    在所述移动设备当前已连接的网络是所述目标应用对应的网络中优先级最高的网络的情况下,则选择优先级最高的网络作为所述应用对应的目标网络。In a case that the network that the mobile device is currently connected to is the network with the highest priority among the networks corresponding to the target application, the network with the highest priority is selected as the target network corresponding to the application.
  7. 如权利要求5所述的方法,其特征在于,从所述移动设备当前已连接的网络中选择目标应用对应的网络中优先级最高的网络作为所述目标应用的目标网络,包括:The method of claim 5, wherein the network with the highest priority among the networks corresponding to the target application is selected as the target network of the target application from the network to which the mobile device is currently connected, including:
    在所述移动设备当前已连接的网络不是所述目标应用对应的网络中优先级最高的网络的情况下,则在未连接的网络中,按照所述目标应用对应的网络的优先级从高到低的顺序依次进行连接,在依次与所述未连接的网络进行连接过程中,若接收到连接成功信息,则停止网络连接,并从当前已连接的网络中选择所述目标应用对应的网络中优先级最高的网络作为所述目标应用的目标网络。In the case that the network that the mobile device is currently connected to is not the highest priority network in the network corresponding to the target application, in the unconnected network, the priority of the network corresponding to the target application is from high to high. The connection is sequentially performed in a low order, and in the process of sequentially connecting with the unconnected network, if the connection success information is received, the network connection is stopped, and the network corresponding to the target application is selected from the currently connected network. The network with the highest priority is the target network of the target application.
  8. 如权利要求1~7任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 7, wherein the method further comprises:
    在确定所述移动设备当前已连接的网络中不存在目标应用对应的网络的情况下,则从所述目标应用对应的网络中按照优先级从高到低的顺序依次连接;In a case that it is determined that the network corresponding to the target application does not exist in the network that the mobile device is currently connected to, the network corresponding to the target application is sequentially connected in descending order of priority;
    在所述依次连接过程中,若有连接成功的网络,则停止后续网络的连接。In the sequential connection process, if there is a network with a successful connection, the connection of the subsequent network is stopped.
  9. 如权利要求1~7任一所述的方法,其特征在于,该方法还包括:The method according to any one of claims 1 to 7, wherein the method further comprises:
    若当前已连接的网络中有特定网络,则断开与所述特定网络之间的链路;If there is a specific network in the currently connected network, disconnect the link with the specific network;
    其中,所述特定网络为已启动的具有网络连接能力的应用中不使用的网络。The specific network is a network that is not used in an activated network connection capable application.
  10. 如权利要求5所述的方法,其特征在于,所述应用包括支付类应用,所述支付类应用对应的网络中优先级最高的网络为移动网络。The method according to claim 5, wherein the application comprises a payment application, and the network with the highest priority among the corresponding networks of the payment application is a mobile network.
  11. 如权利要求5所述的方法,其特征在于,所述应用包括需要的流量大于阈值的第一类应用,所述第一类应用对应的网络中优先级最高的网络为无线网络。The method according to claim 5, wherein the application includes a first type of application in which a required traffic is greater than a threshold, and a network with a highest priority among the networks corresponding to the first type of applications is a wireless network.
  12. 一种移动设备,其特征在于,所述移动设备包括存储器和处理器,其中,所述存储器存储有计算机指令,所述计算机指令被所述处理器执行时实现:A mobile device, characterized in that the mobile device comprises a memory and a processor, wherein the memory stores computer instructions that are implemented when executed by the processor:
    根据移动设备上的应用和网络的对应关系,确定已经在所述移动设备上启动的具有网络连接能力的应用对应的网络,所述一个应用具有接入多种网络的能力,各网络对该一个应用而言具有不同的优先级;根据确定出的网络从所述移动设备当前已连接的网络连接中选择目标应用对应的目标网络;利用所述目标应用对应的目标网络将所述目标应用接入网络。Determining, according to the correspondence between the application and the network on the mobile device, a network corresponding to the application having the network connection capability that is started on the mobile device, where the one application has the capability of accessing multiple networks, and each network has the same The application has different priorities; the target network corresponding to the target application is selected from the currently connected network connection of the mobile device according to the determined network; and the target application is accessed by using the target network corresponding to the target application. The internet.
  13. 如权利要求12所述的移动设备,其特征在于,所述处理器还用于:The mobile device of claim 12, wherein the processor is further configured to:
    在所述移动设备当前已连接的网络发生变化的情况下,根据应用和网络的对应关系,更新至少一个已经在所述移动设备上启动的具有网络连接能力的应用对应的网络以及对应的优先级。In the case that the network that the mobile device is currently connected to is changed, according to the correspondence between the application and the network, the network corresponding to the at least one application with the network connection capability that has been started on the mobile device is updated, and the corresponding priority is updated. .
  14. 如权利要求12所述的移动设备,其特征在于,所述处理器还用于:The mobile device of claim 12, wherein the processor is further configured to:
    在所述移动设备当前已连接的网络发生变化的情况下,根据应用和网络的对应关系,更新已经在所述移动设备上启动的具有网络连接能力的应用中各网络的优先级发生变化的应用对应的优先级。In the case that the network that the mobile device is currently connected to is changed, according to the corresponding relationship between the application and the network, the application whose priority has changed in each network in the application with network connection capability that has been started on the mobile device is updated. Corresponding priority.
  15. 如权利要求12所述的移动设备,其特征在于,所述处理器还用于:The mobile device of claim 12, wherein the processor is further configured to:
    在所述移动设备当前已连接的网络发生变化的情况下,根据应用和网络的对应关系,更新已经在所述移动设备上启动的具有网络连接能力的应用中未连接网络的应用对应的优先级。In the case that the network that the mobile device is currently connected to is changed, according to the corresponding relationship between the application and the network, the priority corresponding to the application that is not connected to the network in the network connection capable application that has been started on the mobile device is updated. .
  16. 如权利要求12所述的移动设备,其特征在于,所述处理器具体用于:The mobile device of claim 12, wherein the processor is specifically configured to:
    从所述移动设备当前已连接的网络中选择目标应用对应的网络中优先级最高的网络作为所述目标应用的目标网络。Selecting, from the network that the mobile device is currently connected, the network with the highest priority among the networks corresponding to the target application as the target network of the target application.
  17. 如权利要求16所述的移动设备,其特征在于,所述处理器具体用于:The mobile device of claim 16, wherein the processor is specifically configured to:
    在所述移动设备当前已连接的网络是所述目标应用对应的网络中优先级最高的网络的情况下,则选择优先级最高的网络作为所述应用对应的目标网络。In a case that the network that the mobile device is currently connected to is the network with the highest priority among the networks corresponding to the target application, the network with the highest priority is selected as the target network corresponding to the application.
  18. 如权利要求16所述的移动设备,其特征在于,所述处理器具体用于:The mobile device of claim 16, wherein the processor is specifically configured to:
    在所述移动设备当前已连接的网络不是所述目标应用对应的网络中优先级最高的网络的情况下,则在未连接的网络中,按照所述目标应用对应的网络的优先级从高到低的顺序依次进行连接,在依次与所述未连接的网络进行连接过程中,若接收到连接成功信息,则停止网络连接,并从当前已连接的网络中选择所述目标应用对应的网络中优先级最高的网络作为所述目标应用的目标网络。In the case that the network that the mobile device is currently connected to is not the highest priority network in the network corresponding to the target application, in the unconnected network, the priority of the network corresponding to the target application is from high to high. The connection is sequentially performed in a low order, and in the process of sequentially connecting with the unconnected network, if the connection success information is received, the network connection is stopped, and the network corresponding to the target application is selected from the currently connected network. The network with the highest priority is the target network of the target application.
  19. 如权利要求12~18任一所述的移动设备,其特征在于,所述处理器还用于:The mobile device according to any one of claims 12 to 18, wherein the processor is further configured to:
    在确定所述移动设备当前已连接的网络中不存在目标应用对应的网络的情况下,则从所述目标应用对应的网络中按照优先级从高到低的顺序依次连接;In a case that it is determined that the network corresponding to the target application does not exist in the network that the mobile device is currently connected to, the network corresponding to the target application is sequentially connected in descending order of priority;
    在所述依次连接过程中,若有连接成功的网络,则停止后续网络的连接。In the sequential connection process, if there is a network with a successful connection, the connection of the subsequent network is stopped.
  20. 如权利要求12~18任一所述的移动设备,其特征在于,所述处理器还用于:The mobile device according to any one of claims 12 to 18, wherein the processor is further configured to:
    若当前已连接的网络中有特定网络,则断开与所述特定网络之间的链路;If there is a specific network in the currently connected network, disconnect the link with the specific network;
    其中,所述特定网络为已启动的具有网络连接能力的应用中不使用的网络。The specific network is a network that is not used in an activated network connection capable application.
  21. 如权利要求16所述的移动设备,其特征在于,所述应用包括支付类应用,所述支付类应用对应的网络中优先级最高的网络为移动网络。The mobile device according to claim 16, wherein the application comprises a payment application, and the network with the highest priority among the networks corresponding to the payment application is a mobile network.
  22. 如权利要求16所述的移动设备,其特征在于,所述应用包括需要的流量大于阈值的第一类应用,所述第一类应用对应的网络中优先级最高的网络为无线网络。The mobile device according to claim 16, wherein the application comprises a first type of application in which a required traffic is greater than a threshold, and a network with a highest priority among the networks corresponding to the first type of application is a wireless network.
  23. 一种机器可读的非易失性存储介质,其特征在于,其上存储有计算机指令,所述计算机指令被处理器执行时实现如权利要求1~11任一所述方法的步骤。A machine readable non-volatile storage medium having stored thereon computer instructions that, when executed by a processor, implement the steps of the method of any of claims 1-11.
PCT/CN2018/099626 2018-01-25 2018-08-09 Method for carrying out access network management and mobile device WO2019144598A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810073881.8 2018-01-25
CN201810073881.8A CN108462984A (en) 2018-01-25 2018-01-25 A kind of method and terminal carrying out access network management

Publications (1)

Publication Number Publication Date
WO2019144598A1 true WO2019144598A1 (en) 2019-08-01

Family

ID=63238869

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/099626 WO2019144598A1 (en) 2018-01-25 2018-08-09 Method for carrying out access network management and mobile device

Country Status (2)

Country Link
CN (1) CN108462984A (en)
WO (1) WO2019144598A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242494A (en) * 2022-07-13 2022-10-25 北京天融信网络安全技术有限公司 Method, system, device and medium for controlling equipment access

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110392416B (en) * 2019-08-12 2021-06-29 广州鲁邦通物联网科技有限公司 Network selection method of android system
CN112770251B (en) * 2020-12-30 2022-04-29 山东大学 Self-adaptive human behavior data acquisition and identification system and method based on UWB and LoRa
CN116996497B (en) * 2023-07-12 2024-08-02 荣耀终端有限公司 Internet surfing system, internet surfing method, wearable device, chip system and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1708153A (en) * 2004-06-07 2005-12-14 华为技术有限公司 Method for multimode terminal to select service network
CN101453777A (en) * 2007-11-30 2009-06-10 中国移动通信集团公司 Method and mobile terminal for selecting access network
CN103945411A (en) * 2014-03-31 2014-07-23 华为技术有限公司 Method and device for selecting network access points
CN105813195A (en) * 2016-05-13 2016-07-27 电信科学技术研究院 Method and device for selecting mobility management mechanism for terminal as required
CN105868420A (en) * 2016-06-08 2016-08-17 腾讯科技(深圳)有限公司 Network resource loading mode configuration method and device
US20160370784A1 (en) * 2015-06-16 2016-12-22 Siemens Aktiengesellschaft Interfaces for connected software applications in automation environments

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3008843A1 (en) * 2013-07-16 2015-01-23 Orange SELECTION OF A ACCESS NETWORK CONDITIONED BY CELLULAR ACCESS TECHNOLOGY

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1708153A (en) * 2004-06-07 2005-12-14 华为技术有限公司 Method for multimode terminal to select service network
CN101453777A (en) * 2007-11-30 2009-06-10 中国移动通信集团公司 Method and mobile terminal for selecting access network
CN103945411A (en) * 2014-03-31 2014-07-23 华为技术有限公司 Method and device for selecting network access points
US20160370784A1 (en) * 2015-06-16 2016-12-22 Siemens Aktiengesellschaft Interfaces for connected software applications in automation environments
CN105813195A (en) * 2016-05-13 2016-07-27 电信科学技术研究院 Method and device for selecting mobility management mechanism for terminal as required
CN105868420A (en) * 2016-06-08 2016-08-17 腾讯科技(深圳)有限公司 Network resource loading mode configuration method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242494A (en) * 2022-07-13 2022-10-25 北京天融信网络安全技术有限公司 Method, system, device and medium for controlling equipment access

Also Published As

Publication number Publication date
CN108462984A (en) 2018-08-28

Similar Documents

Publication Publication Date Title
US10848946B2 (en) Network access method, device, and system
JP6161076B2 (en) An extensible framework for wireless network connectivity
US10485034B2 (en) Method, device and system for accessing wireless network
WO2019144598A1 (en) Method for carrying out access network management and mobile device
EP3735045A1 (en) Method, apparatus, and system for accessing network hotspot device by device to be distributed a network
EP2876913B1 (en) Application hosting method and system, mobile terminal and server
US20220377617A1 (en) Processing method of direct communication, processing device of direct communication, relay terminal and remote terminal
WO2015131442A1 (en) Terminal and method for terminal automatically switching data link
US12003969B2 (en) Postponed eSIM delivery to secondary mobile wireless device for cellular wireless service subscription
US11012852B2 (en) Cellular service account transfer error recovery mechanisms
US8515350B2 (en) Resolving an application service change in a system using bluetooth
KR102474437B1 (en) Installation of Profiles in the Embedded Subscriber Identity Module
WO2018107593A1 (en) Method and device for sharing file between different terminals
KR20110107842A (en) Me network parameters configuration by uicc
US10798752B2 (en) Method and device for executing emergency call
US20230164234A1 (en) Service continuity event notification method, and apparatus
EP4192077A1 (en) Session update method, terminal, and network-side device
WO2020052385A1 (en) Configuration information acquisition method, apparatus and device, and storage medium and system
CN111147314A (en) Switch upgrading method, device and storage medium
WO2022112174A1 (en) Service data flow continuity for a ue in a system involving a gateway device
CN111465123B (en) Network connection method, terminal and storage medium
WO2011107021A1 (en) Method and device for processing service command information
WO2017128727A1 (en) Interaction method for edge computing node and device
US20130089028A1 (en) Wireless communication system and method using directional communication
WO2019096155A1 (en) Wireless connection method, and device having storage function

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18902612

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17/11/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18902612

Country of ref document: EP

Kind code of ref document: A1