CN108243471B - A kind of network environment switching method and device - Google Patents
A kind of network environment switching method and device Download PDFInfo
- Publication number
- CN108243471B CN108243471B CN201611223921.XA CN201611223921A CN108243471B CN 108243471 B CN108243471 B CN 108243471B CN 201611223921 A CN201611223921 A CN 201611223921A CN 108243471 B CN108243471 B CN 108243471B
- Authority
- CN
- China
- Prior art keywords
- wireless network
- target application
- operator
- mobile terminal
- terminal device
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72406—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/14—Reselecting a network or an air interface
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/16—Performing reselection for specific purposes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/18—Selecting a network or a communication service
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Environmental & Geological Engineering (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例提供了一种网络环境切换方法及装置,当运行移动终端设备上的目标应用程序时,所述目标应用程序确定所述移动终端设备所在的移动通信网络的运营商;所述目标应用程序实时监测是否存在所述运营商提供的无线网络;当存在所述运营商提供的无线网络时,所述目标应用程序通过预设的运营商接口程序,将所述移动终端设备连接至所述无线网络,以实现从移动通信网络到无线网络的网络环境切换;从而使得在移动终端设备上运行该目标应用程序时不再通过移动通信网络产生流量资费,提高了用户体验,增加了该目标应用程序对用户的粘性,同时,充分利用了运营商所提供的无线网络,避免了资源浪费,提高了资源利用率。
Embodiments of the present invention provide a network environment switching method and device. When running a target application on a mobile terminal device, the target application determines the operator of the mobile communication network where the mobile terminal device is located; the target application The application program monitors in real time whether there is a wireless network provided by the operator; when there is a wireless network provided by the operator, the target application program connects the mobile terminal device to the wireless network through the preset operator interface program. The wireless network is used to realize the switching of the network environment from the mobile communication network to the wireless network; thus, when the target application is run on the mobile terminal device, no traffic charges are generated through the mobile communication network, the user experience is improved, and the target application is increased. The application is sticky to users, and at the same time, it makes full use of the wireless network provided by the operator, avoiding resource waste and improving resource utilization.
Description
技术领域technical field
本发明涉及移动通信技术领域,特别是涉及一种网络环境切换方法及装置。The present invention relates to the technical field of mobile communications, and in particular, to a network environment switching method and device.
背景技术Background technique
近些年来,移动通信网络得到了快速的发展,从最初的2G发展到了3G,又从3G发展到了4G,网络数据传输速度越来越快,数据传输质量越来越高。各大主流运营商在快速发展移动通信网络的同时,也大力发展了无线网络技术,一些运营商在很多地方通过通信基站都已经实现了覆盖较大范围的公共的无线网络的覆盖,在一些国家,甚至实现了全城无线网络的覆盖,地铁、公交等等交通工具上也覆盖有无线网络。In recent years, the mobile communication network has developed rapidly, from the initial 2G to 3G, and then from 3G to 4G. The network data transmission speed is getting faster and faster, and the data transmission quality is getting higher and higher. While the major mainstream operators are rapidly developing mobile communication networks, they have also vigorously developed wireless network technology. Some operators have already achieved public wireless network coverage covering a wide range through communication base stations in many places. In some countries , and even achieved the coverage of the wireless network in the whole city, and the subway, bus and other means of transportation are also covered with wireless network.
与此同时,各种移动终端设备不断出现,例如手机、平板电脑,谷歌眼镜等等。这些移动终端设备的功能日益强大,很多设备都可以同时支持无线网络和移动数据网络。人们的日常生活越来越离不开各种移动终端设备,每天都会有各种各样功能的应用程序被开发出来,人们通过这些应用程序连接至移动互联网进行娱乐、工作以及学习。At the same time, various mobile terminal devices continue to appear, such as mobile phones, tablet computers, Google glasses and so on. These mobile terminal devices have increasingly powerful functions, and many devices can support both wireless networks and mobile data networks. People's daily life is increasingly inseparable from various mobile terminal devices, and applications with various functions are developed every day, and people connect to the mobile Internet through these applications for entertainment, work and study.
现有技术中,各种移动终端设备上的应用程序一般只能通过移动通信网络的流量或者是普通宽带或光纤通过无线路由所产生的无线网络,连接至移动互联网。而大部分时候由于移动终端设备使用的场所不固定,所以只能通过移动通信网络的流量连接至移动互联网。导致用户在使用应用程序时,会产生较大的流量资费,较低了用户使用应用程序进行娱乐、工作以及学习时的用户体验。同时,运营商通过通信基站所提供的大范围覆盖的无线网络没有得到充分的利用,造成了资源的浪费。In the prior art, applications on various mobile terminal devices can generally only be connected to the mobile Internet through the traffic of the mobile communication network or the wireless network generated by ordinary broadband or optical fiber through wireless routing. However, most of the time, the mobile terminal device can only be connected to the mobile Internet through the traffic of the mobile communication network because the place where the mobile terminal device is used is not fixed. As a result, when the user uses the application, a larger traffic fee will be generated, which lowers the user experience when the user uses the application for entertainment, work and study. At the same time, the wireless network with wide coverage provided by the operator through the communication base station is not fully utilized, resulting in a waste of resources.
发明内容SUMMARY OF THE INVENTION
本发明实施例的目的在于提供一种网络环境切换方法及装置,以实现用户在使用移动终端上的目标应用程序时,连接至运营商所提供的无线网络,从而避免产生较大的流量资费,提高了用户体验,同时充分利用运营商所提供的无线网络,较少了资源浪费。具体技术方案如下:The purpose of the embodiments of the present invention is to provide a network environment switching method and device, so as to enable a user to connect to a wireless network provided by an operator when using a target application program on a mobile terminal, so as to avoid generating large traffic charges, The user experience is improved, and the wireless network provided by the operator is fully utilized, thereby reducing the waste of resources. The specific technical solutions are as follows:
本发明实施例公开了一种网络环境切换方法,包括:The embodiment of the present invention discloses a network environment switching method, including:
当运行移动终端设备上的目标应用程序时,所述目标应用程序确定所述移动终端设备所在的移动通信网络的运营商,所述目标应用程序为所述运营商提供免流量服务的应用程序;When running the target application program on the mobile terminal device, the target application program determines the operator of the mobile communication network where the mobile terminal device is located, and the target application program is an application program that provides the operator with free traffic services;
所述目标应用程序实时监测是否存在所述运营商提供的无线网络;The target application program monitors in real time whether there is a wireless network provided by the operator;
当存在所述运营商提供的无线网络时,所述目标应用程序通过预设的运营商接口程序,将所述移动终端设备连接至所述无线网络,以实现从移动通信网络到无线网络的网络环境切换,所述运营商接口程序用于使所述移动终端设备与所述无线网络建立连接。When there is a wireless network provided by the operator, the target application program connects the mobile terminal device to the wireless network through a preset operator interface program, so as to realize the network from the mobile communication network to the wireless network Environment switching, the operator interface program is used for establishing a connection between the mobile terminal device and the wireless network.
可选的,所述目标应用程序确定所述移动终端设备所在的移动通信网络的运营商,包括:Optionally, the target application program determines the operator of the mobile communication network where the mobile terminal device is located, including:
当所述移动终端设备处于多个移动通信网络时,所述目标应用程序确定所述移动终端设备所在的多个移动通信网络的多个运营商;When the mobile terminal device is located in multiple mobile communication networks, the target application program determines multiple operators of the multiple mobile communication networks where the mobile terminal device is located;
相应的,所述目标应用程序实时监测是否存在所述运营商提供的无线网络,包括:Correspondingly, the target application monitors in real time whether there is a wireless network provided by the operator, including:
所述目标应用程序实时监测是否存在所述多个运营商提供的无线网络;The target application program monitors in real time whether there are wireless networks provided by the multiple operators;
相应的,所述当存在所述运营商提供的无线网络时,所述目标应用程序通过预设的运营商接口程序,将所述移动终端设备连接至所述无线网络,以实现从移动通信网络到无线网络的网络环境切换,包括:Correspondingly, when there is a wireless network provided by the operator, the target application program connects the mobile terminal device to the wireless network through a preset operator interface program, so as to realize the connection from the mobile communication network. Network environment switching to a wireless network, including:
当存在所述多个运营商中的任意一个运营商提供的无线网络时,所述目标应用程序通过预设的针对所述任意一个运营商的运营商接口程序,将所述移动终端设备连接至所述任意一个运营商提供的无线网络,以实现从移动通信网络到无线网络的网络环境切换。When there is a wireless network provided by any one of the multiple operators, the target application program connects the mobile terminal device to a preset operator interface program for the any one operator The wireless network provided by any one of the operators is used to switch the network environment from the mobile communication network to the wireless network.
可选的,在所述目标应用程序确定所述移动终端设备所在的移动通信网络的运营商之后,所述方法还包括:Optionally, after the target application determines the operator of the mobile communication network where the mobile terminal device is located, the method further includes:
所述目标应用程序根据所述运营商,初始化所述目标应用程序中的针对所述运营商的运营商接口程序。The target application initializes an operator interface program for the operator in the target application according to the operator.
可选的,所述目标应用程序确定所述移动终端设备所在的移动通信网络的运营商,包括:Optionally, the target application program determines the operator of the mobile communication network where the mobile terminal device is located, including:
所述目标应用程序监测所述移动终端设备所在的移动通信网络的通信频率;The target application program monitors the communication frequency of the mobile communication network where the mobile terminal device is located;
所述目标应用程序通过所述通信频率确定所述移动通信网络的运营商。The target application determines the operator of the mobile communication network through the communication frequency.
可选的,在所述目标应用程序实时监测是否存在所述运营商提供的无线网络之前,所述方法还包括:Optionally, before the target application monitors in real time whether there is a wireless network provided by the operator, the method further includes:
所述目标应用程序监测所述移动终端设备所在的移动通信网络的数据传输速度或所述通信频率;The target application program monitors the data transmission speed or the communication frequency of the mobile communication network where the mobile terminal device is located;
所述目标应用程序通过所述数据传输速度或所述通信频率确定所述移动终端设备所在移动通信网络的类型,所述移动通信网络的类型包括:5G、4G、3G、2G和E网;The target application determines the type of the mobile communication network where the mobile terminal device is located by using the data transmission speed or the communication frequency, and the types of the mobile communication network include: 5G, 4G, 3G, 2G and E-network;
所述目标应用程序根据所述移动终端设备所在移动通信网络的类型,向使用所述移动终端设备的用户显示提示信息,所述提示信息用于告知所述用户目前移动终端所处于的移动通信网络的类型。The target application program displays prompt information to the user using the mobile terminal device according to the type of the mobile communication network where the mobile terminal device is located, and the prompt information is used to inform the user of the mobile communication network where the mobile terminal is currently located. type.
可选的,所述目标应用程序实时监测是否存在所述运营商提供的无线网络,包括:Optionally, the target application program monitors in real time whether there is a wireless network provided by the operator, including:
所述目标应用程序检测所述移动终端设备是否已经连接至现有无线网络,所述现有无线网络为包括所述运营商提供的无线网络在内的任何无线网络;The target application program detects whether the mobile terminal device has been connected to an existing wireless network, and the existing wireless network is any wireless network including the wireless network provided by the operator;
当所述移动终端设备没有连接至所述现有无线网络时,实时监测是否存在所述运营商提供的无线网络。When the mobile terminal device is not connected to the existing wireless network, it is monitored in real time whether there is a wireless network provided by the operator.
可选的,所述目标应用程序实时监测是否存在所述运营商提供的无线网络,包括:Optionally, the target application program monitors in real time whether there is a wireless network provided by the operator, including:
所述目标应用程序获取预设配置,所述预设配置包括:对所述运营商提供的无线网络的实时监测开启或关闭;The target application acquires a preset configuration, and the preset configuration includes: enabling or disabling real-time monitoring of the wireless network provided by the operator;
在所述预设配置为对所述运营商提供的无线网络的实时监测开启时,所述目标应用程序实时监测是否存在所述运营商提供的无线网络。When the preset configuration is to enable real-time monitoring of the wireless network provided by the operator, the target application monitors in real time whether there is a wireless network provided by the operator.
可选的,所述预设的运营商接口程序包括应用编程接口或软件开发工具包;Optionally, the preset operator interface program includes an application programming interface or a software development kit;
相应的,所述目标应用程序通过预设的运营商接口程序,将所述移动终端设备连接至所述无线网络,以实现从移动通信网络到无线网络的网络环境切换,包括:Correspondingly, the target application program connects the mobile terminal device to the wireless network through a preset operator interface program, so as to realize the switching of the network environment from the mobile communication network to the wireless network, including:
所述目标应用程序通过所述应用编程接口或软件开发工具包,将所述移动终端设备连接至所述无线网络,以实现从移动通信网络到无线网络的网络环境切换。The target application connects the mobile terminal device to the wireless network through the application programming interface or software development kit, so as to realize switching of the network environment from the mobile communication network to the wireless network.
可选的,当存在所述运营商提供的无线网络时,所述目标应用程序通过预设的运营商接口程序,将所述移动终端设备连接至所述无线网络,以实现从移动通信网络到无线网络的网络环境切换,包括:Optionally, when there is a wireless network provided by the operator, the target application program connects the mobile terminal device to the wireless network through a preset operator interface program, so as to realize the transfer from the mobile communication network to the wireless network. Network environment switching of wireless networks, including:
当存在所述运营商提供的无线网络时,所述目标应用程序向提供所述无线网络的基站发送登录请求,所述登录请求中含有所述目标应用程序识别信息,以使所述基站根据所述目标应用程序识别信息向所述目标应用程序发送登录信息;When there is a wireless network provided by the operator, the target application sends a login request to the base station that provides the wireless network, and the login request contains the identification information of the target application, so that the base station can use the The target application identification information sends login information to the target application;
所述目标应用程序根据所述登录信息,通过所述预设的运营商接口程序,将所述移动终端设备连接至所述无线网络,以实现网络环境的切换。The target application program connects the mobile terminal device to the wireless network through the preset operator interface program according to the login information, so as to realize switching of the network environment.
可选的,在当存在所述运营商提供的无线网络时,所述目标应用程序通过预设的运营商接口程序,将所述移动终端设备连接至所述无线网络,以实现从移动通信网络到无线网络的网络环境切换之后,所述方法还包括:Optionally, when there is a wireless network provided by the operator, the target application program connects the mobile terminal device to the wireless network through a preset operator interface program, so as to realize the connection from the mobile communication network. After switching to the network environment of the wireless network, the method further includes:
当所述目标应用程序在所述移动终端设备上停止运行或转入后台运行时,断开与所述无线网络的连接。When the target application program stops running on the mobile terminal device or transfers to the background to run, the connection with the wireless network is disconnected.
本发明实施例公开了一种网络环境切换装置,包括:The embodiment of the present invention discloses a network environment switching device, comprising:
识别模块,用于当运行移动终端设备上的目标应用程序时,所述目标应用程序确定所述移动终端设备所在的移动通信网络的运营商,所述目标应用程序为所述运营商提供免流量服务的应用程序;An identification module, used for when running a target application on a mobile terminal device, the target application determines the operator of the mobile communication network where the mobile terminal device is located, and the target application provides free traffic for the operator the application of the service;
监测模块,用于所述目标应用程序实时监测是否存在所述运营商提供的无线网络;a monitoring module, used for the target application to monitor in real time whether there is a wireless network provided by the operator;
切换模块,用于当存在所述运营商提供的无线网络时,所述目标应用程序通过预设的运营商接口程序,将所述移动终端设备连接至所述无线网络,以实现从移动通信网络到无线网络的网络环境切换,所述运营商接口程序用于使所述移动终端设备与所述无线网络建立连接。A switching module, configured to connect the mobile terminal device to the wireless network through the preset operator interface program by the target application when there is a wireless network provided by the operator, so as to realize switching from the mobile communication network The network environment is switched to the wireless network, and the operator interface program is used to make the mobile terminal device establish a connection with the wireless network.
可选的,所述识别模块,具体用于:Optionally, the identification module is specifically used for:
当所述移动终端设备处于多个移动通信网络时,所述目标应用程序确定所述移动终端设备所在的多个移动通信网络的多个运营商;When the mobile terminal device is located in multiple mobile communication networks, the target application program determines multiple operators of the multiple mobile communication networks where the mobile terminal device is located;
相应的,所述监测模块,具体用于:Correspondingly, the monitoring module is specifically used for:
实时监测是否存在所述多个运营商提供的无线网络;Monitoring in real time whether there are wireless networks provided by the multiple operators;
相应的,所述切换模块,具体用于:Correspondingly, the switching module is specifically used for:
当存在所述多个运营商中的任意一个运营商提供的无线网络时,所述目标应用程序通过预设的针对所述任意一个运营商的运营商接口程序,将所述移动终端设备连接至所述任意一个运营商提供的无线网络,以实现从移动通信网络到无线网络的网络环境切换。When there is a wireless network provided by any one of the multiple operators, the target application program connects the mobile terminal device to a preset operator interface program for the any one operator The wireless network provided by any one of the operators is used to switch the network environment from the mobile communication network to the wireless network.
可选的,所述装置还包括:Optionally, the device further includes:
调用模块,用于所述目标应用程序根据所述运营商,初始化所述目标应用程序中的针对所述运营商的运营商接口程序。The calling module is used for the target application to initialize the operator interface program for the operator in the target application according to the operator.
可选的,所述监测模块,具体用于:Optionally, the monitoring module is specifically used for:
监测所述移动终端设备所在的移动通信网络的通信频率;monitoring the communication frequency of the mobile communication network where the mobile terminal device is located;
通过所述通信频率确定所述移动通信网络的运营商。The operator of the mobile communication network is determined by the communication frequency.
可选的,所述装置还包括:Optionally, the device further includes:
网络类型识别模块,用于监测所述移动终端设备所在的移动通信网络的数据传输速度或所述通信频率;a network type identification module for monitoring the data transmission speed or the communication frequency of the mobile communication network where the mobile terminal device is located;
所述网络类型识别模块,还用于通过所述数据传输速度或所述通信频率确定所述移动终端设备所在移动通信网络的类型,所述移动通信网络的类型包括:5G、4G、3G、2G和E网;The network type identification module is further configured to determine the type of the mobile communication network where the mobile terminal device is located by using the data transmission speed or the communication frequency, and the types of the mobile communication network include: 5G, 4G, 3G, 2G and E-net;
所述网络类型识别模块,还用于根据所述移动终端设备所在移动通信网络的类型,向使用所述移动终端设备的用户显示提示信息,所述提示信息用于告知所述用户目前移动终端所处于的移动通信网络的类型。The network type identification module is further configured to display prompt information to the user using the mobile terminal device according to the type of the mobile communication network where the mobile terminal device is located, where the prompt information is used to inform the user of the current location of the mobile terminal. The type of mobile communication network on which it is located.
可选的,所述监测模块,具体用于:Optionally, the monitoring module is specifically used for:
检测所述移动终端设备是否已经连接至现有无线网络,所述现有无线网络为包括所述运营商提供的无线网络在内的任何无线网络;Detecting whether the mobile terminal device has been connected to an existing wireless network, and the existing wireless network is any wireless network including the wireless network provided by the operator;
当所述移动终端设备没有连接至所述现有无线网络时,实时监测是否存在所述运营商提供的无线网络。When the mobile terminal device is not connected to the existing wireless network, it is monitored in real time whether there is a wireless network provided by the operator.
可选的,所述监测模块,包括:Optionally, the monitoring module includes:
配置单元,用于所述目标应用程序获取预设配置,所述预设配置包括:对所述运营商提供的无线网络的实时监测开启或关闭;a configuration unit, used for the target application to obtain a preset configuration, where the preset configuration includes: enabling or disabling real-time monitoring of the wireless network provided by the operator;
所述配置单元,还用于在所述预设配置为对所述运营商提供的无线网络的实时监测开启时,目标应用程序实时监测是否存在所述运营商提供的无线网络。The configuration unit is further configured to monitor, in real time, whether there is a wireless network provided by the operator in the target application when the preset configuration is enabled for real-time monitoring of the wireless network provided by the operator.
可选的,所述切换模块中预设的运营商接口程序包括应用编程接口或软件开发工具包;Optionally, the preset operator interface program in the switching module includes an application programming interface or a software development kit;
相应的,所述切换模块,具体用于通过所述应用编程接口或软件开发工具包,将所述移动终端设备连接至所述无线网络,以实现从移动通信网络到无线网络的网络环境切换。Correspondingly, the switching module is specifically configured to connect the mobile terminal device to the wireless network through the application programming interface or the software development kit, so as to switch the network environment from the mobile communication network to the wireless network.
可选的,所述切换模块,包括:Optionally, the switching module includes:
发送单元,用于当存在所述运营商提供的无线网络时,所述目标应用程序向提供所述无线网络的基站发送登录请求,所述登录请求中含有所述目标应用程序识别信息,以使所述基站根据所述目标应用程序识别信息向所述目标应用程序发送登录信息;The sending unit is configured to, when there is a wireless network provided by the operator, the target application program sends a login request to the base station providing the wireless network, where the login request contains the identification information of the target application program, so that The base station sends login information to the target application according to the target application identification information;
切换单元,用于所述目标应用程序根据所述登录信息,通过所述预设的运营商接口程序,将所述移动终端设备连接至所述无线网络,以实现网络环境的切换。The switching unit is used for the target application program to connect the mobile terminal device to the wireless network through the preset operator interface program according to the login information, so as to realize the switching of the network environment.
可选的,所述装置还包括:Optionally, the device further includes:
中断模块,用于当所述目标应用程序在所述移动终端设备上停止运行或转入后台运行时,断开与所述无线网络的连接。The interruption module is used for disconnecting the connection with the wireless network when the target application stops running on the mobile terminal device or transfers to the background to run.
本发明实施例提供的一种网络环境切换方法及装置,用户可以在使用移动终端上的目标应用程序时,运营商针对该目标应用程序提供免流量服务,从而该目标应用程序可以连接至运营商所提供的无线网络,使得该目标应用程序在使用时不再产生流量资费,进而提高了用户体验,增加了该目标应用程序对用户的粘性。同时,充分利用了运营商所提供的无线网络,避免了资源浪费,提高了资源利用率。当然,实施本发明的任一产品或方法必不一定需要同时达到以上所述的所有优点。According to the method and device for switching a network environment provided by the embodiments of the present invention, when a user uses a target application program on a mobile terminal, the operator provides a traffic-free service for the target application program, so that the target application program can be connected to the operator The provided wireless network makes the target application no longer generate traffic charges during use, thereby improving user experience and increasing the stickiness of the target application to users. At the same time, the wireless network provided by the operator is fully utilized, which avoids the waste of resources and improves the utilization rate of resources. Of course, it is not necessary for any product or method to implement the present invention to simultaneously achieve all of the advantages described above.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1为本发明实施例提供的网络环境切换方法的一种流程图;1 is a flowchart of a method for switching a network environment provided by an embodiment of the present invention;
图2为本发明实施例提供的网络环境切换方法的另一种流程图;2 is another flowchart of a network environment switching method provided by an embodiment of the present invention;
图3为本发明实施例提供的网络环境切换装置的结构图。FIG. 3 is a structural diagram of a network environment switching apparatus provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
参见图1,图1为本发明实施例提供的网络环境切换方法的一种流程图,包括:Referring to FIG. 1, FIG. 1 is a flowchart of a network environment switching method provided by an embodiment of the present invention, including:
步骤101,当运行移动终端设备上的目标应用程序时,目标应用程序确定移动终端设备所在的移动通信网络的运营商,目标应用程序为运营商提供免流量服务的应用程序。
移动终端设备可以是多种移动终端,比如智能手机、平板电脑等等。凡是可以连接移动通信网络并且也可以连接无线网络的移动设备都可以应用本发明实施例提供的方法,并且都属于本发明实施例的保护范围。The mobile terminal device may be various mobile terminals, such as a smart phone, a tablet computer, and the like. Any mobile device that can be connected to a mobile communication network and can also be connected to a wireless network can apply the method provided by the embodiment of the present invention, and all belong to the protection scope of the embodiment of the present invention.
应用程序是指在各种移动终端设备上可以运行的程序,比如各种手机观看视频所使用的客户端,手机游戏客户端,通信社交类客户端等等。这些应用程序安装在移动终端设备上,通过移动通信网络的数据流量或者无线网络连接至移动互联网,为用户提供各种资讯或者服务,满足用户的各种需求。An application program refers to a program that can be run on various mobile terminal devices, such as a client used by various mobile phones to watch videos, a mobile game client, a communication and social client, and so on. These application programs are installed on mobile terminal devices, and are connected to the mobile Internet through the data traffic of the mobile communication network or the wireless network to provide users with various information or services to meet the various needs of users.
移动通信网络的运营商是指提供通信数据传输服务的运营商,例如,中国移动、中国联通和中国电信等。这些运营商各自具有不同的通信频段,为用户提供数据传输的网络。Operators of mobile communication networks refer to operators that provide communication data transmission services, such as China Mobile, China Unicom, and China Telecom. These operators each have different communication frequency bands and provide users with networks for data transmission.
目前主流的运营商不仅可以提供移动通信网络,例如目前现有的3G通信网络和4G通信网络等等。还可以提供覆盖较大范围的公共的无线网络,用户可以通过这样由运营商提供的公共的无线网络,将移动终端设备连接至移动互联网,从而在用户使用移动终端设备时,不需要再使用移动通信网络中的数据流量。The current mainstream operators can not only provide mobile communication networks, such as the existing 3G communication network and 4G communication network and so on. It can also provide a public wireless network covering a wide range. Users can connect the mobile terminal device to the mobile Internet through the public wireless network provided by the operator, so that when the user uses the mobile terminal device, there is no need to use the mobile terminal. Data traffic in a communication network.
当然,这样的覆盖较大范围的公共的无线网络需要用户进行付费后,才可以登录。然而由于这种公共的无线网络目前还需要用户主动付费并登录,并且没有大面积覆盖和普及,所以目前使用率并不是很高,造成了资源浪费。Of course, such a public wireless network that covers a large area requires users to pay before they can log in. However, because this public wireless network still requires users to pay and log in actively, and there is no large-area coverage and popularization, the current utilization rate is not very high, resulting in a waste of resources.
随着移动通信网络的运营商和应用程序的开发或管理机构之间业务合作的多样化,对于一些目标应用程序,运营商可以和目标应用程序的开发或管理机构之间签订免流量协议或其他类型的免流量合作方式,从而当用户使用这些目标应用程序时,运营商为该目标应用程序提供免流量的服务。例如,目标应用程序可以是,手机游戏客户端或手机视频观看客户端,在使用这些目标应用程序时,运营商可以通过各种技术手段为其提供免流量的服务。其中,本发明实施例在移动终端设备上运行目标应用程序时,目标应用程序与运营商提供的覆盖较大范围的公共的无线网络建立连接,实现网络环境的切换,从而为目标应用程序提供了免流量服务。With the diversification of business cooperation between mobile communication network operators and application development or management agencies, for some target applications, operators can sign free-flow agreements or other Type of data-free cooperation, so that when users use these target applications, the operator provides data-free services for the target application. For example, the target application may be a mobile game client or a mobile video viewing client. When using these target applications, the operator can provide them with traffic-free services through various technical means. Wherein, when the target application program is run on the mobile terminal device in the embodiment of the present invention, the target application program establishes a connection with the public wireless network covering a wide range provided by the operator to realize the switching of the network environment, thereby providing the target application program with a connection. Free data service.
为了实现以上目的,当移动终端设备上运行目标应用程序时,目标应用程序首先需要确定移动终端设备所在的移动通信网络的运营商,移动终端设备所在的移动通信网络可能具有不同的运营商,例如,可以是中国移动,也可以是中国联通等等。In order to achieve the above purpose, when running the target application on the mobile terminal device, the target application first needs to determine the operator of the mobile communication network where the mobile terminal device is located. The mobile communication network where the mobile terminal device is located may have different operators, such as , it can be China Mobile, it can be China Unicom and so on.
一般情况下,移动终端设备处于某个运营商的移动通信网络,则不能连接至其他运营商所提供的无线网络。所以,目标应用程序首先需要确定移动终端设备所在的移动通信网络的运营商,从而为后面连接至该运营商所提供的无线网络奠定基础。Generally, a mobile terminal device located in a mobile communication network of a certain operator cannot connect to a wireless network provided by another operator. Therefore, the target application program first needs to determine the operator of the mobile communication network where the mobile terminal device is located, so as to lay a foundation for the subsequent connection to the wireless network provided by the operator.
当然,目标应用程序的开发或管理机构不一定和所有的运营商之间都存在免流量的合作,所以当目标应用程序确定移动终端设备所在的移动通信网络的运营商,没有与目标应用程序的开发或管理机构存在免流量合作时,则不再进行后面的步骤。Of course, the development or management organization of the target application does not necessarily have traffic-free cooperation with all operators, so when the target application determines the operator of the mobile communication network where the mobile terminal device is located, there is no cooperation with the target application. When the development or management organization has free-flow cooperation, the subsequent steps are not carried out.
具体的,目标应用程序确定移动终端设备所在的移动通信网络的运营商,有多种方法,例如,通过不同运营商所在的频率进行判断,或者从移动终端设备的网络配置信息中进行读取,或者对于手机等可以插入SIM卡的移动终端设备,可以读取本移动终端设备SIM卡的号段来确定运营商,例如读取手机的手机号来进行判断。Specifically, there are various methods for the target application to determine the operator of the mobile communication network where the mobile terminal device is located. Or for a mobile terminal device that can insert a SIM card, such as a mobile phone, the operator can be determined by reading the number segment of the SIM card of the mobile terminal device, for example, by reading the mobile phone number of the mobile phone.
步骤102,目标应用程序实时监测是否存在运营商提供的无线网络。
当确定了移动终端设备所在的移动通信网络的运营商后,目标应用程序就可以实时的监测目前移动终端设备所在的位置,有没有覆盖有运营商提供的无线网络。实时的监测可以通过目标应用程序来实现,也可以通过移动终端设备来实现,例如:移动终端设备为手机时,当打开手机无线网络连接的功能开关时,手机就会自动搜索附近所有的无线网络,并将搜索到的结果形成无线网络列表。目标应用程序只需要实时的读取该列表,就可以实时的进行监测是否存在运营商提供的无线网络。After the operator of the mobile communication network where the mobile terminal device is located is determined, the target application can monitor the current location of the mobile terminal device in real time and whether the wireless network provided by the operator is covered. Real-time monitoring can be achieved through the target application program, or through the mobile terminal device. For example: when the mobile terminal device is a mobile phone, when the function switch of the mobile phone wireless network connection is turned on, the mobile phone will automatically search for all nearby wireless networks. , and form the search results into a wireless network list. The target application only needs to read the list in real time, and can monitor in real time whether there is a wireless network provided by the operator.
运营商提供的无线网络是指覆盖较大范围的公共的无线网络,而不是普通的宽带或光纤通过无线路由所建立的无线网络。一般运营商提供的无线网络通过运营商的通信基站所建立,能够覆盖较大的范围。例如:覆盖的范围可以从几平方公里到几十平方公里,也可以在其他区域内建立无线网络,例如在公交车上,地铁上,以及高铁火车等等。The wireless network provided by the operator refers to a public wireless network covering a wide range, rather than a wireless network established by ordinary broadband or optical fiber through wireless routing. Generally, the wireless network provided by the operator is established through the communication base station of the operator and can cover a large area. For example, the coverage can range from a few square kilometers to dozens of square kilometers, and wireless networks can also be established in other areas, such as on buses, subways, and high-speed trains.
移动终端设备使用场所并不固定,所以当在移动终端设备上运行目标应用程序时,该目标应用程序会进行实时的监测,搜索是否有可连接的运营商提供的无线网络。The use place of the mobile terminal device is not fixed, so when the target application program is run on the mobile terminal device, the target application program will perform real-time monitoring to search for a wireless network provided by an operator that can be connected.
实时的监测可以保证移动终端设备从一个区域移动至另一个区域时,可以及时的监测是否存在运营商提供的无线网络,当存在运营商提供的无线网络,及时连接至无线网络,从而提高了服务质量,进而当用户使用该目标应用程序时,提高了用户体验。Real-time monitoring can ensure that when mobile terminal equipment moves from one area to another, it can monitor whether there is a wireless network provided by the operator in time. When there is a wireless network provided by the operator, it can connect to the wireless network in time, thereby improving service. quality, which in turn improves the user experience when the user uses the target application.
步骤103,当存在运营商提供的无线网络时,目标应用程序通过预设的运营商接口程序,将移动终端设备连接至无线网络,以实现从移动通信网络到无线网络的网络环境切换。Step 103, when there is a wireless network provided by an operator, the target application program connects the mobile terminal device to the wireless network through a preset operator interface program, so as to switch the network environment from the mobile communication network to the wireless network.
本发明实施例中的网络环境是指移动终端设备在接入移动互联网时,所处于的网络环境。一般情况下,移动终端设备在接入移动互联网时,所处于的网络环境主要有两种,一种为使用移动通信网络的数据流量接入移动互联网,另一种为通过无线网络接入移动互联网。The network environment in the embodiment of the present invention refers to the network environment in which the mobile terminal device is located when accessing the mobile Internet. In general, when a mobile terminal device accesses the mobile Internet, there are mainly two network environments. One is to use the data traffic of the mobile communication network to access the mobile Internet, and the other is to access the mobile Internet through a wireless network. .
当检测到移动终端设备所处的位置存在或覆盖有运营商提供的无线网络时,目标应用程序就可以连接至该无线网络,从而将移动终端设备从原来的使用移动通信网络的数据流量接入移动互联网的网络环境,切换至使用无线网络接入移动互联网的网络环境。When it is detected that the location where the mobile terminal device is located exists or is covered by the wireless network provided by the operator, the target application can connect to the wireless network, so that the mobile terminal device can access the data traffic from the original mobile communication network. The network environment of the mobile Internet is switched to the network environment that uses the wireless network to access the mobile Internet.
具体的,目标应用程序与无线网络可以通过在目标应用程序中预设的运营商接口程序来建立连接。Specifically, a connection between the target application and the wireless network can be established through an operator interface program preset in the target application.
当一个目标应用程序的开发或管理机构与运营商建立起了针对该目标应用程序的免流量服务后,就可以在该目标应用程序中预设运营商接口程序,预设运营商接口程序可以是API(Application Programming Interface,应用编程接口),或者是SDK(SoftwareDevelopment Kit,软件开发工具包),也可以是目标应用程序的开发或管理机构,或者是运营商所开发的接口程序,用于目标应用程序连接至运营商提供的无线网络。After the development or management organization of a target application and the operator establish a free-traffic service for the target application, the operator interface program can be preset in the target application, and the preset operator interface program can be API (Application Programming Interface, application programming interface), or SDK (Software Development Kit, software development kit), or the development or management organization of the target application, or the interface program developed by the operator for the target application The program connects to the wireless network provided by the operator.
在运营商接口程序中,可以配置有运营商所提供的无线网络的登录账号和登录密码。当存在运营商提供的无线网络时,目标应用程序中的运营商接口程序可以通过该登录账号和登录密码,可以实现与无线网络基站的交互,从而连接至运营商所提供的无线网络。其中,登录账号和登录密码为运营商预先设置在运营商接口程序中。并且可以通过加密手段进行保存,从而不会使得该登录账号和登录密码泄露,造成不良后果。In the operator interface program, the login account and login password of the wireless network provided by the operator can be configured. When there is a wireless network provided by the operator, the operator interface program in the target application can interact with the wireless network base station through the login account and login password, thereby connecting to the wireless network provided by the operator. The login account and login password are preset by the operator in the operator interface program. And it can be saved by means of encryption, so that the login account and login password will not be leaked, resulting in adverse consequences.
运营商接口程序,可以由多种编程语言根据实际需要以多种形式实现,具体的编程方法,属于现有技术,本领域技术人员都可以按实际需要进行编程,在此不再赘述。The operator interface program can be implemented in various forms by various programming languages according to actual needs. The specific programming method belongs to the prior art, and those skilled in the art can perform programming according to actual needs, and will not be repeated here.
在本发明实施例中,目标应用程序通过识别运营商,实时监测是否存在该运营商提供的无线网络,当存在该运营商提供的无线网络,连接至无线网络,实现了将移动终端设备从原来的使用移动通信网络的数据流量接入移动互联网的网络环境,切换至使用无线网络接入移动互联网的网络环境,从而使得在移动终端设备上运行该目标应用程序时不再通过移动通信网络产生流量资费,并且由于将移动终端设备连接至无线网络,提高了数据传输速率,进而提高了用户体验,增加了该目标应用程序对用户的粘性。同时,充分利用了运营商所提供的无线网络,避免了资源浪费,提高了资源利用率。In the embodiment of the present invention, the target application program identifies the operator, and monitors in real time whether there is a wireless network provided by the operator. The network environment that uses the data traffic of the mobile communication network to access the mobile Internet, and switches to the network environment that uses the wireless network to access the mobile Internet, so that when the target application is running on the mobile terminal device, no traffic is generated through the mobile communication network. tariff, and because the mobile terminal device is connected to the wireless network, the data transmission rate is increased, thereby improving the user experience and increasing the stickiness of the target application to the user. At the same time, the wireless network provided by the operator is fully utilized, which avoids the waste of resources and improves the utilization rate of resources.
可选的,本发明实施例所提供的网络环境切换方法中,目标应用程序确定所述移动终端设备所在的移动通信网络的运营商,包括:Optionally, in the network environment switching method provided by the embodiment of the present invention, the target application program determines the operator of the mobile communication network where the mobile terminal device is located, including:
当所述移动终端设备处于多个移动通信网络时,所述目标应用程序确定所述移动终端设备所在的多个移动通信网络的多个运营商。When the mobile terminal device is located in multiple mobile communication networks, the target application determines multiple operators of the multiple mobile communication networks where the mobile terminal device is located.
目前一些移动终端设备中,可以同时处于一个或多个移动通信网络,例如:很多手机都可以实现双卡双待,当两张SIM(Subscriber Identity Module,用户识别模块)卡为不同运营商的SIM卡时,就可以同时处于两个移动通信网络。At present, some mobile terminal devices can be in one or more mobile communication networks at the same time. For example, many mobile phones can realize dual-card dual-standby. When two SIM (Subscriber Identity Module, user identification module) cards are SIMs of different operators When the card is installed, it can be in two mobile communication networks at the same time.
所以,当移动终端设备处于多个移动通信网络时,需要确定出移动终端设备所在的多个移动通信网络的多个运营商,例如:移动终端设备为双卡手机时,需要确定出两个运营商。Therefore, when the mobile terminal device is in multiple mobile communication networks, it is necessary to determine the multiple operators of the multiple mobile communication networks where the mobile terminal device is located. For example, when the mobile terminal device is a dual-card mobile phone, it is necessary to determine two operators business.
相应的,目标应用程序实时监测是否存在运营商提供的无线网络,包括:Accordingly, the target application monitors in real time whether there is a wireless network provided by the operator, including:
所述目标应用程序实时监测是否存在多个运营商提供的无线网络。The target application program monitors in real time whether there are wireless networks provided by multiple operators.
由于移动终端设备同时处于多个移动通信网络,移动终端设备可以连接至多个运营商中的任意一个运营商提供的无线网络,所以需要同时进行监测,是否存在多个运营商提供的无线网络。Since the mobile terminal device is in multiple mobile communication networks at the same time, the mobile terminal device can be connected to the wireless network provided by any one of the multiple operators, so it is necessary to simultaneously monitor whether there are wireless networks provided by multiple operators.
相应的,当存在所述运营商提供的无线网络时,目标应用程序通过预设的运营商接口程序,将移动终端设备连接至所述无线网络,以实现从移动通信网络到无线网络的网络环境切换,包括:Correspondingly, when there is a wireless network provided by the operator, the target application program connects the mobile terminal device to the wireless network through the preset operator interface program, so as to realize the network environment from the mobile communication network to the wireless network. Toggles, including:
当存在多个运营商中的任意一个运营商提供的无线网络时,所述目标应用程序通过预设的针对该任意一个运营商的运营商接口程序,将移动终端设备连接至任意一个运营商提供的无线网络,以实现从移动通信网络到无线网络的网络环境切换。When there is a wireless network provided by any operator among multiple operators, the target application program connects the mobile terminal device to the operator interface program provided by any operator through a preset operator interface program for the operator. The wireless network to realize the switching of the network environment from the mobile communication network to the wireless network.
在移动终端设备中,预设有多个运营商接口程序,分别用于连接不同的运营商所提供的无线网络。当存在任意一个,与该目标应用程序的开发或管理机构存在免流量合作的运营商提供的无线网络时,该目标应用程序通过针对该运营商的运营商接口程序与该无线网络建立连接,以实现从移动通信网络到无线网络的网络环境切换。In the mobile terminal device, a plurality of operator interface programs are preset, which are respectively used to connect wireless networks provided by different operators. When there is any wireless network provided by an operator that cooperates with the development or management organization of the target application without traffic, the target application establishes a connection with the wireless network through the operator interface program for the operator to Realize the switching of the network environment from the mobile communication network to the wireless network.
本发明实施例中,在移动终端设备处于多个移动通信网络时,能够同时确定出多个运营商,进而在后面的步骤中,可以同时监测是否存在多个运营商提供的无线网络并进行连接,使得进一步提升了本发明实施例的应用范围,进一步提高了用户在使用目标应用程序时的用户体验。In the embodiment of the present invention, when the mobile terminal device is in multiple mobile communication networks, multiple operators can be determined at the same time, and in the following steps, whether there are wireless networks provided by multiple operators can be simultaneously monitored and connected. , so that the application scope of the embodiment of the present invention is further improved, and the user experience of the user when using the target application program is further improved.
可选的,本发明实施例所提供的网络环境切换方法中,在目标应用程序确定移动终端设备所在的移动通信网络的运营商之后,该方法还包括:Optionally, in the network environment switching method provided by the embodiment of the present invention, after the target application program determines the operator of the mobile communication network where the mobile terminal device is located, the method further includes:
目标应用程序根据运营商,初始化目标应用程序中的针对所述运营商的运营商接口程序,所述运营商接口程序用于目标应用程序连接至运营商提供的无线网络。According to the operator, the target application initializes an operator interface program for the operator in the target application, where the operator interface program is used for the target application to connect to the wireless network provided by the operator.
当目标应用程序的开发或管理机构与多个运营商存在免流量合作时,该目标应用程序中需要预设针对多个运营商的运营商接口程序,针对不同的运营商,由于通信频率等存在差异,所以运营商接口程序也可能互不相同。所以,当确定出运营商之后,需要初始化针对该运营商的运营商接口程序。When the development or management organization of the target application has free-flow cooperation with multiple operators, the target application needs to preset the operator interface program for multiple operators. For different operators, due to the existence of communication frequency, etc. differences, so the operator interface procedures may also be different from each other. Therefore, after the operator is determined, the operator interface program for the operator needs to be initialized.
初始化的过程相当于调用运营商接口程序的过程,即从多个运营商接口程序中,选择出需要使用的运营商接口程序,并开始运行该运营商接口程序。The initialization process is equivalent to the process of invoking the operator interface program, that is, selecting the operator interface program to be used from multiple operator interface programs, and starting to run the operator interface program.
容易理解的是,当目标应用程序确定出的运营商为多个时,则同时初始化多个运营商接口程序。It is easy to understand that when there are multiple operators determined by the target application, multiple operator interface programs are initialized at the same time.
在本发明实施例中,当目标应用程序具有多个运营商接口程序时,根据目标应用程序确定出的运营商,初始化针对该运营商的目标应用程序。使得目标应用程序在只运行个别的运营商接口程序,不需要运行全部的运营商接口程序,节约了运行目标应用程序所使用的内存等系统资源,提高了运行效率。In the embodiment of the present invention, when the target application program has multiple operator interface programs, the target application program for the operator is initialized according to the operator determined by the target application program. The target application program only runs individual operator interface programs, and does not need to run all the operator interface programs, which saves system resources such as memory used for running the target application program, and improves the operation efficiency.
可选的,本发明实施例所提供的网络环境切换方法中,目标应用程序确定移动终端设备所在的移动通信网络的运营商,包括:Optionally, in the network environment switching method provided by the embodiment of the present invention, the target application program determines the operator of the mobile communication network where the mobile terminal device is located, including:
目标应用程序监测移动终端设备所在的移动通信网络的通信频率。The target application monitors the communication frequency of the mobile communication network where the mobile terminal device is located.
目标应用程序通过通信频率确定移动通信网络的运营商。The target application determines the operator of the mobile communication network by the communication frequency.
当在移动终端设备上运行目标应用程序时,目标应用程序可以实时的监测移动终端设备所在的移动通信网络的通信频率。通信频率可以包括上行频率、下行频率、频宽等。When running the target application program on the mobile terminal device, the target application program can monitor the communication frequency of the mobile communication network where the mobile terminal device is located in real time. The communication frequency may include uplink frequency, downlink frequency, bandwidth, and the like.
不同的运营商都有各自不同的通信频率,参见表1,表1为各大运营商的通信频率表。在表1中记录了目前主流的运营商各自的通信频率。Different operators have their own different communication frequencies, see Table 1, Table 1 is the communication frequency table of major operators. In Table 1, the respective communication frequencies of the current mainstream operators are recorded.
在目标应用程序可以将监测到的通信频率,通过表1进行比对,从而判断出移动终端设备所在的移动通信网络的运营商。The target application can compare the monitored communication frequencies with Table 1, thereby judging the operator of the mobile communication network where the mobile terminal device is located.
其中,具体的目标应用程序对移动终端设备通信频率的监测方法,属于现有技术,此处不再赘述。Wherein, the specific method for monitoring the communication frequency of the mobile terminal device by the target application belongs to the prior art and will not be repeated here.
在本发明实施例中,目标应用程序通过监测移动终端设备的通信频率,确定出移动终端设备所在的移动通信网络的运营商。监测通信频率,在现有技术中有很多可以实现的方法,可靠度较高,并且识别的较为准确。相比与其他确定运营商的方法,不需要从移动终端设备中获取其他信息,例如手机号码,或者移动终端设备的网络配置信息等。可以更好的保护使用该移动终端设备的用户的隐私。In the embodiment of the present invention, the target application program determines the operator of the mobile communication network where the mobile terminal device is located by monitoring the communication frequency of the mobile terminal device. For monitoring the communication frequency, there are many methods that can be implemented in the prior art, with high reliability and accurate identification. Compared with other methods of determining an operator, other information, such as a mobile phone number, or network configuration information of the mobile terminal device, does not need to be obtained from the mobile terminal device. The privacy of the user who uses the mobile terminal device can be better protected.
表1Table 1
可选的,本发明实施例所提供的网络环境切换方法中,在目标应用程序实时监测是否存在运营商提供的无线网络之前,方法还包括:Optionally, in the network environment switching method provided by the embodiment of the present invention, before the target application program monitors in real time whether there is a wireless network provided by the operator, the method further includes:
目标应用程序监测移动终端设备所在的移动通信网络的数据传输速度或通信频率。The target application monitors the data transmission speed or communication frequency of the mobile communication network where the mobile terminal device is located.
目标应用程序可以对移动终端设备通信频率和数据传输速度进行监测,并获得移动终端设备所在的移动通信网络的通信频率和数据传输速度。The target application can monitor the communication frequency and data transmission speed of the mobile terminal device, and obtain the communication frequency and data transmission speed of the mobile communication network where the mobile terminal device is located.
通过数据传输速度或通信频率确定移动终端设备所在移动通信网络的类型,移动通信网络的类型包括:5G、4G、3G、2G和E网。The type of mobile communication network where the mobile terminal device is located is determined by the data transmission speed or communication frequency. The types of mobile communication networks include: 5G, 4G, 3G, 2G and E-network.
利用通信频率确定移动通信网络的类型时,可以根据上述表1进行判断,但有可能存在两种类型的移动通信网络存在通信频率重叠的情况。所以还需要根据数据传输速度进行判断,从而可以准确的判断出移动终端设备所在移动通信网络的类型。When using the communication frequency to determine the type of the mobile communication network, the judgment can be made according to the above Table 1, but there may be a situation where the communication frequencies of the two types of mobile communication networks overlap. Therefore, it is also necessary to judge according to the data transmission speed, so that the type of the mobile communication network where the mobile terminal device is located can be accurately judged.
目标应用程序根据移动终端设备所在移动通信网络的类型,向使用移动终端设备的用户显示提示信息,提示信息用于告知用户目前移动终端所处于的移动通信网络的类型。The target application program displays prompt information to the user using the mobile terminal device according to the type of the mobile communication network where the mobile terminal device is located.
目标应用程序判断出移动终端设备所在的移动通信网络的类型后,目标应用程序根据目前移动终端设备所在移动通信网络的类型向用户发出提示信息,提示信息中可以包括目前网络类型的信息,例如告知用户目前处于3G网络。After the target application program determines the type of the mobile communication network where the mobile terminal device is located, the target application program sends prompt information to the user according to the type of the mobile communication network where the mobile terminal device is currently located. The user is currently on a 3G network.
同时,在提示信息中还可以根据需要,显示各种不同的信息,可以根据不同的移动通信网络的类型,为用户提供操作建议。例如,当目前移动通信网络的类型为2G时,可以提示用户:如果不能连接至无线网络,不建议在2G环境下运行目标应用程序。或者当目前移动通信网络的类型为4G时,可以提示用户:如果不能连接至无线网络,也可以使用目标应用程序,但会产生流量资费等等。At the same time, various kinds of information can also be displayed in the prompt information according to needs, and operation suggestions can be provided to the user according to the types of different mobile communication networks. For example, when the type of the current mobile communication network is 2G, the user may be prompted: if the wireless network cannot be connected, it is not recommended to run the target application in the 2G environment. Or when the type of the current mobile communication network is 4G, the user can be prompted: if the wireless network cannot be connected, the target application can also be used, but traffic charges and the like will be incurred.
在本发明实施例中,目标应用程序根据目前移动终端设备所在移动通信网络的类型向用户发出提示信息,可以使用户根据不同的动通信网络的类型对目标应用程序进行不同的操作,从而提高了用户体验。In the embodiment of the present invention, the target application program sends out prompt information to the user according to the type of the mobile communication network where the mobile terminal device is currently located, so that the user can perform different operations on the target application program according to the type of different mobile communication networks, thereby improving the performance of the user. user experience.
可选的,本发明实施例所提供的网络环境切换方法中,目标应用程序实时监测是否存在运营商提供的无线网络,包括:Optionally, in the network environment switching method provided by the embodiment of the present invention, the target application monitors in real time whether there is a wireless network provided by an operator, including:
目标应用程序检测移动终端设备是否已经连接至现有无线网络,现有无线网络为除运营商提供的无线网络以外的无线网络。The target application program detects whether the mobile terminal device has been connected to an existing wireless network, and the existing wireless network is a wireless network other than the wireless network provided by the operator.
当移动终端设备没有连接至现有无线网络时,目标应用程序实时监测是否存在运营商提供的无线网络。When the mobile terminal device is not connected to the existing wireless network, the target application monitors whether there is a wireless network provided by the operator in real time.
本发明实施例中,运营商所提供的无线网络是指覆盖较大范围的公共的无线网络。然而在实际中,还存在有许多常用的其他无线网络,例如普通的个人宽带或光纤通过无线路由所建立的无线网络,以及高校或其他场所提供的免费无线网络等。In this embodiment of the present invention, the wireless network provided by the operator refers to a public wireless network covering a relatively large range. However, in practice, there are many other commonly used wireless networks, such as the wireless network established by ordinary personal broadband or optical fiber through wireless routing, and the free wireless network provided by universities or other places.
所以,当在移动终端设备上运行目标应用程序时,目标应用程序可以先检测移动终端设备是否已经连接至现有的无线网络。如果移动终端设备已经连接至某个无线网络时,则不需要再进行实时的监测,以确定是否存在运营商提供的无线网络。目的应用程序此时已经不需要使用移动通信网络的数据流量,不需要必须连接运营商提供的无线网络,进行网络环境的切换。Therefore, when running the target application on the mobile terminal device, the target application can first detect whether the mobile terminal device has been connected to the existing wireless network. If the mobile terminal device is already connected to a certain wireless network, there is no need to perform real-time monitoring to determine whether there is a wireless network provided by the operator. At this time, the destination application does not need to use the data traffic of the mobile communication network, and does not need to connect to the wireless network provided by the operator to switch the network environment.
然而,当移动终端设备没有连接至现有无线网络时,则需要进行实时监测,以确定是否存在运营商提供的无线网络,并且当存在运营商提供的无线网络时,连接至运营商提供的无线网络,实现网络环境的切换。However, when the mobile terminal device is not connected to the existing wireless network, it needs to perform real-time monitoring to determine whether there is a wireless network provided by the operator, and when there is a wireless network provided by the operator, connect to the wireless network provided by the operator. Network, realize the switching of network environment.
可以在目标应用程序中建立连锁机制,该连锁机制用于当检测移动终端设备已经连接至任意现有无线网络时,则不再进行实时监测是否存在运营商提供的无线网络;当检测移动终端设备没有连接至任意的现有无线网络时,进行实时监测,以确定是否存在运营商提供的无线网络。其中,连锁机制可以通过编程实现,本领域技术人员可以通过多种方式进行实现,具体不再赘述。An interlocking mechanism can be established in the target application. The interlocking mechanism is used to detect whether the mobile terminal device has been connected to any existing wireless network without real-time monitoring whether there is a wireless network provided by the operator; when detecting the mobile terminal device When not connected to any existing wireless network, perform real-time monitoring to determine whether there is a wireless network provided by the operator. Wherein, the chain mechanism can be implemented by programming, and those skilled in the art can implement it in various ways, and details are not repeated here.
本发明实施例中,在目标应用程序实时监测是否存在运营商提供的无线网络前,首先判断移动终端设备是否已经连接至无线网络。如果已经连接至无线网络,则不需要再进行实时的监测,从而降低了目标应用程序的运行成本。In the embodiment of the present invention, before the target application program monitors in real time whether there is a wireless network provided by an operator, it first determines whether the mobile terminal device has been connected to the wireless network. If already connected to a wireless network, no real-time monitoring is required, thereby reducing the running cost of the target application.
可选的,本发明实施例所提供的网络环境切换方法中,目标应用程序实时监测是否存在运营商提供的无线网络,包括:Optionally, in the network environment switching method provided by the embodiment of the present invention, the target application monitors in real time whether there is a wireless network provided by an operator, including:
目标应用程序获取预设配置,其中,预设配置包括:对运营商提供的无线网络的实时监测开启或关闭。The target application obtains a preset configuration, wherein the preset configuration includes: enabling or disabling the real-time monitoring of the wireless network provided by the operator.
目标应用程序可以获取预设配置,预设配置可以是用户对目标应用程序进行的配置,预设配置用于开启或关闭对运营商提供的无线网络的实时监测。The target application may obtain a preset configuration, and the preset configuration may be a configuration performed by the user on the target application, and the preset configuration is used to enable or disable the real-time monitoring of the wireless network provided by the operator.
具体的,可以通过对目标应用程序设置权限,使目标应用程序开启或关闭对可连接到的无线网络的监测。Specifically, the target application can be enabled or disabled to monitor the wireless network that can be connected by setting permissions on the target application.
在预设配置为对运营商提供的无线网络的实时监测开启时,目标应用程序实时监测是否存在运营商提供的无线网络。When the preset configuration is to enable real-time monitoring of the wireless network provided by the operator, the target application monitors in real time whether there is a wireless network provided by the operator.
只有当用户的预设配置,允许目标应用程序实时监测是否存在运营商提供的无线网络时,目标应用程序才会对运营商提供的无线网络进行实时的监测。Only when the user's preset configuration allows the target application to monitor in real time whether there is a wireless network provided by the operator, the target application will perform real-time monitoring on the wireless network provided by the operator.
在本发明实施例中,通过预设配置,来限制目标应用程序的权限,使目标应用程序对运营商提供的无线网络的实时监测,处于用户的控制之下,满足了不同用户的不同需求,从另一个方面提高了用户使用目标应用程序时的用户体验。In the embodiment of the present invention, the authority of the target application is limited by the preset configuration, so that the real-time monitoring of the wireless network provided by the operator by the target application is under the control of the user, which satisfies the different needs of different users. From another aspect, the user experience when the user uses the target application is improved.
可选的,本发明实施例所提供的网络环境切换方法中,预设的运营商接口程序包括应用编程接口或软件开发工具包。Optionally, in the network environment switching method provided by the embodiment of the present invention, the preset operator interface program includes an application programming interface or a software development toolkit.
API(Application Programming Interface,应用编程接口)是一些预先定义的函数,目的是提供应用程序与开发人员基于某软件或硬件得以访问一组例程的能力,而又无需访问源码,或理解内部工作机制的细节。应用编程接口本身是抽象的,它仅定义了一个接口,而不涉及应用程序在实际实现过程中的具体操作。APIs (Application Programming Interfaces) are predefined functions designed to provide applications and developers with the ability to access a set of routines based on a piece of software or hardware without having to access the source code or understand the inner workings details. The application programming interface itself is abstract, it only defines an interface, and does not involve the specific operation of the application in the actual implementation process.
SDK(Software Development Kit,软件开发工具包)是可以用于为软件包、软件框架、硬件平台、操作系统等创建应用程序的开发工具的集合。它可以简单的为某个程序设计语言提供应用编程接口API的一些文件,但也可能包括能与某种嵌入式系统通讯的复杂的硬件。SDK (Software Development Kit, software development kit) is a collection of development tools that can be used to create application programs for software packages, software frameworks, hardware platforms, operating systems, and the like. It can simply provide some files for an application programming interface API for a programming language, but it may also include complex hardware that can communicate with an embedded system.
在目标应用程序中,可以预先针对一个或多个运营商,设定一个或多个应用编程接口或软件开发工具包,通过调用应用编程接口或软件开发工具包,可以使得移动终端设备连接至运营商所提供的无线网络。In the target application, one or more application programming interfaces or software development kits can be preset for one or more operators. By calling the application programming interfaces or software development kits, the mobile terminal device can be connected to the operator The wireless network provided by the business.
相应的,目标应用程序通过预设的运营商接口程序,将移动终端设备连接至无线网络,以实现从移动通信网络到无线网络的网络环境切换,包括:Correspondingly, the target application program connects the mobile terminal device to the wireless network through the preset operator interface program, so as to realize the switching of the network environment from the mobile communication network to the wireless network, including:
目标应用程序通过应用编程接口或软件开发工具包,将移动终端设备连接至无线网络,以实现从移动通信网络到无线网络的网络环境切换。The target application connects the mobile terminal device to the wireless network through the application programming interface or the software development kit, so as to realize the switching of the network environment from the mobile communication network to the wireless network.
应用编程接口或软件开发工具包是一种成熟的,十分可靠的技术,应用编程接口或软件开发工具包可以不需要调整目标应用程序自身的一些特征,就可以实现通过应用编程接口或软件开发工具包,将移动终端设备连接至无线网络。从而大大提高了运营商接口程序的通用性,针对不同的目标应用程序,只需要进行较小的调整,就可以将应用编程接口或软件开发工具包作为运营商接口程序,设置在目标应用程序中,使得运行该目标应用程序时,能够通过应用编程接口或软件开发工具包,将移动终端设备连接至无线网络,以实现从移动通信网络到无线网络的网络环境切换,减少了运营商接口程序开发的难度。Application programming interface or software development kit is a mature and very reliable technology. Application programming interface or software development kit can be implemented through application programming interface or software development tool without adjusting some features of the target application itself. package to connect the mobile terminal device to the wireless network. Therefore, the versatility of the operator interface program is greatly improved. For different target applications, only minor adjustments are required, and the application programming interface or software development kit can be set as the operator interface program in the target application program. , so that when running the target application, the mobile terminal device can be connected to the wireless network through the application programming interface or software development kit, so as to realize the switching of the network environment from the mobile communication network to the wireless network, reducing the development of the operator interface program difficulty.
可选的,本发明实施例所提供的网络环境切换方法中,当存在运营商提供的无线网络时,目标应用程序通过预设的运营商接口程序,将移动终端设备连接至无线网络,以实现从移动通信网络到无线网络的网络环境切换,包括:Optionally, in the network environment switching method provided by the embodiment of the present invention, when there is a wireless network provided by an operator, the target application program connects the mobile terminal device to the wireless network through a preset operator interface program to achieve Network environment switching from mobile communication network to wireless network, including:
第一步,当存在运营商提供的无线网络时,目标应用程序向提供无线网络的基站发送登录请求,登录请求中含有目标应用程序识别信息,以使基站根据目标应用程序识别信息向目标应用程序发送登录信息。In the first step, when there is a wireless network provided by the operator, the target application sends a login request to the base station that provides the wireless network, and the login request contains the identification information of the target application, so that the base station can send the target application to the target application according to the identification information of the target application. Send login information.
运营商一般通过通信基站来提供的无线网络,通信基站产生的无线网络可以覆盖较大的范围。当目标应用程序监测到存在运营商提供的无线网络时,目标应用程序可以与产生该无线网络的通信基站进行交互,交互主要用于验证目标应用程序是否有资格或权限,通过运营商接口程序,将移动终端设备连接至无线网络。A wireless network is generally provided by an operator through a communication base station, and the wireless network generated by the communication base station can cover a large area. When the target application detects the existence of the wireless network provided by the operator, the target application can interact with the communication base station that generates the wireless network. The interaction is mainly used to verify whether the target application is qualified or authorized. Through the operator interface program, Connect the mobile terminal device to the wireless network.
目标应用程序可以通过运营商接口程序向通信基站发送登录请求,登录请求中可以包含有目标应用程序识别信息,具体的,目标应用程序识别信息可以包括运营商预先设置在运营商接口程序中的登录账号和登录密码,以及目标应用程序本身的识别标识,识别标识可以是目标应用程序的名称或者特征值。The target application may send a login request to the communication base station through the operator interface program, and the login request may contain the identification information of the target application. Specifically, the identification information of the target application may include the login information preset by the operator in the operator interface program. Account and login password, as well as the identification of the target application itself, the identification may be the name or characteristic value of the target application.
运营商的通信基站中可以保存有所有与该运营商存在免流量合作的各个目标应用程序的名称或者特征值。The operator's communication base station may store the names or characteristic values of all target applications that have free-flow cooperation with the operator.
当通信基站接收到目标应用程序所发送的登录请求后,可以首先验证登录请求中所包含的登录账号和登录密码是否正确,如果登录账号和登录密码不正确,则直接丢弃该登录请求或向目标应用程序返回拒绝登录的信息。When the communication base station receives the login request sent by the target application, it can first verify whether the login account and login password contained in the login request are correct. The application returns a login denied message.
如果登录账号和登录密码均为正确的登录账号和登录密码,则可以根据登录请求中目标应用程序本身的识别标识,与通信基站中保存有所有与该运营商存在免流量合作的各个目标应用程序的名称或者特征值进行匹配,当匹配成功时,则表示发送登录请求的目标应用程序具有资格或权限,通过运营商接口程序,将移动终端设备连接至无线网络。If the login account and login password are both correct login account and login password, according to the identification of the target application itself in the login request, all the target applications that have free traffic cooperation with the operator can be stored in the communication base station. If the matching is successful, it means that the target application that sends the login request has the qualification or authority to connect the mobile terminal device to the wireless network through the operator interface program.
当通信基站判定目标应用程序具有资格或权限,通过运营商接口程序,将移动终端设备连接至无线网络时,通信基站向目标应用程序发送登录信息。When the communication base station determines that the target application has the qualification or authority and connects the mobile terminal device to the wireless network through the operator interface program, the communication base station sends the login information to the target application.
第二步,目标应用程序根据登录信息,通过预设的运营商接口程序,将移动终端设备连接至无线网络,以实现网络环境的切换。In the second step, the target application program connects the mobile terminal device to the wireless network through the preset operator interface program according to the login information, so as to realize the switching of the network environment.
登录信息是通信基站发出的允许登录的指令,目标应用程序接收到登录信息后,就可以通过预设的运营商接口程序,将移动终端设备连接至无线网络,以实现从移动通信网络到无线网络的网络环境切换。The login information is an instruction issued by the communication base station to allow login. After the target application receives the login information, it can connect the mobile terminal device to the wireless network through the preset operator interface program, so as to realize the transition from the mobile communication network to the wireless network. network environment switch.
具体的,登录请求和登录信息中的数据包结构及内容,可以由目标应用程序的开发或管理机构和运营商之间进行沟通后,按实际需求,通过现有技术中的很多方法得以实现,具体不再进行赘述。Specifically, the structure and content of the data packets in the login request and the login information can be realized by many methods in the prior art according to actual needs after communication between the development or management organization of the target application and the operator. The details are not repeated here.
本发明实施例中,当目标应用程序监测到存在运营商提供的无线网络时,目标应用程序通过与产生该无线网络的通信基站进行交互,验证目标应用程序是否有资格或权限,通过运营商接口程序,将移动终端设备连接至无线网络。从而通过多重的验证保证了运营商所提供的无线网络的安全性,避免其他没有运行目标应用程序的移动终端设备连接至无线网络。In this embodiment of the present invention, when the target application detects the existence of a wireless network provided by the operator, the target application interacts with the communication base station that generates the wireless network to verify whether the target application has qualifications or authority, and the operator interface program to connect the mobile terminal device to the wireless network. Therefore, the security of the wireless network provided by the operator is ensured through multiple verifications, and other mobile terminal devices that do not run the target application program are prevented from connecting to the wireless network.
可选的,本发明实施例所提供的网络环境切换方法中,在当存在运营商提供的无线网络时,所述目标应用程序通过预设的运营商接口程序,将移动终端设备连接至无线网络,以实现从移动通信网络到无线网络的网络环境切换之后,方法还包括:Optionally, in the network environment switching method provided by the embodiment of the present invention, when there is a wireless network provided by an operator, the target application program connects the mobile terminal device to the wireless network through a preset operator interface program. , so that after switching the network environment from the mobile communication network to the wireless network, the method further includes:
当目标应用程序在移动终端设备上停止运行或转入后台运行时,断开与该无线网络的连接。When the target application program stops running on the mobile terminal device or turns to run in the background, the connection with the wireless network is disconnected.
一般情况下,运行目标应用程序的移动终端设备上会存在有多个应用程序。本发明实施例针对的是与运营商存在免流量合作的目标应用程序在移动终端设备上运行时,且移动终端设备处于运营商所提供的无线网络的范围内时,该目标应用程序,通过预设的运营商接口程序,将移动终端设备连接至所述无线网络,从而实现针对该目标应用程序的免流量服务。Generally, there are multiple applications on the mobile terminal device running the target application. The embodiments of the present invention are directed to when a target application program that has free-flow cooperation with an operator runs on a mobile terminal device, and when the mobile terminal device is within the range of the wireless network provided by the operator, the target application program can be pre- The provided operator interface program connects the mobile terminal device to the wireless network, so as to realize the traffic-free service for the target application.
所以,当目标应用程序在移动终端设备上停止运行时,则可以立即切断移动终端设备与无线网络的连接。Therefore, when the target application program stops running on the mobile terminal device, the connection between the mobile terminal device and the wireless network can be cut off immediately.
目前,很多的移动终端设备,都可以支持应用程序在后台运行,即应用程序在移动终端设备中处于运行状态,但并不处于可以操作的状态。例如,手机上运行的各种APP,都可以转入手机后台,在用户不进行操作的情况下继续运行。At present, many mobile terminal devices can support application programs to run in the background, that is, the application programs are in a running state in the mobile terminal device, but are not in an operable state. For example, various APPs running on the mobile phone can be transferred to the background of the mobile phone and continue to run without the user performing any operations.
从而,在移动终端设备上将目标应用程序转入后台运行后,移动终端设备还可以与运营商提供的无线网络进行连接,则会使得个别用户利用目标应用程序,使移动终端设备连接至无线网络后就不再使用移动终端设备,而运行其他应用程序,从而损害了提供无线网络的运营商的利益。Therefore, after the target application program is transferred to the background on the mobile terminal device, the mobile terminal device can also be connected to the wireless network provided by the operator, so that individual users can use the target application program to connect the mobile terminal device to the wireless network. After that, the mobile terminal equipment is no longer used, and other applications are run, thereby harming the interests of the operators that provide the wireless network.
针对这种情况,在移动终端设备上,目标应用程序转入后台运行时,也可以切断移动终端设备与无线网络的连接。In view of this situation, on the mobile terminal device, when the target application is transferred to the background to run, the connection between the mobile terminal device and the wireless network can also be cut off.
具体的,当目标应用程序在移动终端设备上停止运行或转入后台运行时,断开与该无线网络的连接,可以通过预设的运营商接口程序来实现。Specifically, when the target application stops running on the mobile terminal device or transfers to the background to run, disconnecting the connection with the wireless network can be achieved through a preset operator interface program.
当移动终端设备通过运营商接口程序连接至无线网络后,运营商接口程序就可以对目标应用程序的运行进行实时的监测,当运营商接口程序监测到目标应用程序在移动终端设备上停止运行或转入后台运行时,则立即断开移动终端设备与该无线网络的连接。When the mobile terminal device is connected to the wireless network through the operator interface program, the operator interface program can monitor the running of the target application program in real time. When the operator interface program detects that the target application program stops running on the mobile terminal device or When transferring to the background operation, the connection between the mobile terminal device and the wireless network is immediately disconnected.
在本发明实施例中,通过运营商接口程序就可以对目标应用程序的运行进行实时的监测,当运营商接口程序监测到目标应用程序在移动终端设备上停止运行或转入后台运行时,立即断开移动终端设备与该无线网络的连接。从而使得避免了个别用户,利用目标应用程序将移动终端设备连接至无线网络后并不使用目标应用程序,而造成的运营商利益损失,进而可以更加顺利的进行免流量服务。In the embodiment of the present invention, the operation of the target application can be monitored in real time through the operator interface program. Disconnect the mobile terminal device from the wireless network. This avoids the loss of the operator's interests caused by individual users who use the target application to connect the mobile terminal device to the wireless network and does not use the target application, so that the traffic-free service can be performed more smoothly.
参见图2,图2为本发明实施例提供的网络环境切换方法的另一种流程图,包括:Referring to FIG. 2, FIG. 2 is another flowchart of a network environment switching method provided by an embodiment of the present invention, including:
步骤201,当运行移动终端设备上的目标应用程序时,目标应用程序确定移动终端设备所在的一个或多个移动通信网络的一个或多个运营商。Step 201, when running the target application on the mobile terminal device, the target application determines one or more operators of one or more mobile communication networks where the mobile terminal device is located.
当移动终端设备可以同时处于一个或多个移动通信网络时,目标应用程序需要确定移动终端设备所在的一个或多个移动通信网络的一个或多个运营商。其中,运营商是指与目标应用程序存在免流量合作的运营商。When the mobile terminal device can be in one or more mobile communication networks at the same time, the target application needs to determine one or more operators of the one or more mobile communication networks where the mobile terminal device is located. Among them, the operator refers to the operator that has a data-free cooperation with the target application.
具体的,目标应用程序可以通过监测移动终端设备所在的移动通信网络的通信频率,通过通信频率确定移动通信网络的运营商。Specifically, the target application can determine the operator of the mobile communication network by monitoring the communication frequency of the mobile communication network where the mobile terminal device is located.
例如,当移动终端设备为手机,目标应用程序为手机上的游戏客户端,该游戏客户端和中国移动和中国联通之间都建立了免流量合作。当在手机上运行该游戏客户端时,该游戏客户端监测手机所在的移动通信网络的通信频率,通过通信频率确定出该手机所处的移动通信网络的运营商为中国移动。For example, when the mobile terminal device is a mobile phone and the target application is a game client on the mobile phone, the game client and China Mobile and China Unicom have established free-flow cooperation. When running the game client on the mobile phone, the game client monitors the communication frequency of the mobile communication network where the mobile phone is located, and determines that the operator of the mobile communication network where the mobile phone is located is China Mobile through the communication frequency.
步骤202,目标应用程序根据一个或多个运营商,初始化目标应用程序中的针对一个或多个运营商的运营商接口程序。
初始化的过程相当于调用运营商接口程序的过程,即从一个或多个运营商接口程序中,选择出需要使用的一个或多个运营商接口程序,并开始运行该一个或多个运营商接口程序。The initialization process is equivalent to the process of calling the operator interface program, that is, from one or more operator interface programs, select one or more operator interface programs to be used, and start running the one or more operator interface programs program.
例如,游戏客户端中预设有针对中国移动和中国联通两个运营商的两个运营商接口程序。游戏客户端调用并运行针对中国移动的运营商接口程序。该运营商接口程序为应用编程接口或软件开发工具包。For example, two operator interface programs for the two operators of China Mobile and China Unicom are preset in the game client. The game client calls and runs the operator interface program for China Mobile. The operator interface program is an application programming interface or software development kit.
步骤203,目标应用程序通过数据传输速度或通信频率确定移动终端设备所在移动通信网络的类型,并根据移动终端设备所在移动通信网络的类型,向使用移动终端设备的用户显示提示信息。In
目标应用程序可以对移动终端设备通信频率和数据传输速度进行监测,并获得移动终端设备所在的移动通信网络的通信频率和数据传输速度。通过数据传输速度或通信频率确定移动终端设备所在移动通信网络的类型。目标应用程序判断出移动终端设备所在的移动通信网络的类型后,目标应用程序根据目前移动终端设备所在移动通信网络的类型向用户发出提示信息,提示信息中可以包括目前网络类型的信息,还包括用户的操作提示信息,例如提示用户:是否要在2G环境下运行目标应用程序等等。The target application can monitor the communication frequency and data transmission speed of the mobile terminal device, and obtain the communication frequency and data transmission speed of the mobile communication network where the mobile terminal device is located. The type of mobile communication network in which the mobile terminal device is located is determined by the data transmission speed or the communication frequency. After the target application program determines the type of the mobile communication network where the mobile terminal device is located, the target application program sends prompt information to the user according to the type of the mobile communication network where the mobile terminal device is currently located. The user's operation prompt information, such as prompting the user: whether to run the target application in the 2G environment, and so on.
例如,游戏客户端监测出目前手机处于4G网络,向该手机用户提示目前的网络状态属于4G,即使无法连接至无线网络,也可以流畅运行该游戏。For example, the game client detects that the mobile phone is currently on a 4G network, and prompts the mobile phone user that the current network status belongs to 4G, and the game can run smoothly even if it cannot connect to the wireless network.
步骤204,目标应用程序检测移动终端设备是否已经连接至现有无线网络,当移动终端设备没有连接至所述现有无线网络时,实时监测是否存在一个或多个运营商提供的无线网络。
目标应用程序通过连锁机制,当检测移动终端设备已经连接至任意现有无线网络时,则不再进行实时监测是否存在运营商提供的无线网络;当检测移动终端设备没有连接至任意的现有无线网络时,进行实时监测,以确定是否存在运营商提供的无线网络。Through the chain mechanism, when the target application detects that the mobile terminal device has been connected to any existing wireless network, it will no longer monitor whether there is a wireless network provided by the operator in real time; when it detects that the mobile terminal device is not connected to any existing wireless network When the network is connected, real-time monitoring is performed to determine whether there is a wireless network provided by the operator.
例如,游戏客户端监测出目前手机没有连接至任何无线网络,所以游戏客户端开始实时监测确定是否存在中国移动提供的无线网络。For example, the game client detects that the mobile phone is not currently connected to any wireless network, so the game client starts to monitor in real time to determine whether there is a wireless network provided by China Mobile.
步骤205,当存在运营商提供的无线网络时,目标应用程序向提供无线网络的基站发送登录请求,以使基站根据登录请求向目标应用程序发送登录信息,目标应用程序根据登录信息,通过预设的运营商接口程序,将移动终端设备连接至无线网络,实现网络环境的切换。
当目标应用程序监测到存在运营商提供的无线网络时,目标应用程序通过发送登录请求和接收登录信息与产生该无线网络的通信基站进行交互,验证目标应用程序是否有资格或权限,通过运营商接口程序将移动终端设备连接至无线网络。When the target application detects the existence of the wireless network provided by the operator, the target application interacts with the communication base station that generates the wireless network by sending a login request and receiving login information, and verifies whether the target application is qualified or authorized. The interface program connects the mobile terminal device to the wireless network.
例如,当游戏客户端监测到中国移动所提供的无线网络时,通过预设的针对中国移动的运营商接口程序,比如应用编程接口或软件开发工具包,向中国移动的通信基站发送含有预设的登录账号和登录密码,以及游戏客户端标识的登录请求。通信基站进行验证后发出登录信息,游戏客户端收到登录信息后,通过应用编程接口或软件开发工具包,将手机连接至中国移动所提供的无线网络。For example, when the game client detects the wireless network provided by China Mobile, it sends a preset interface program for China Mobile, such as an application programming interface or a software development kit, to the communication base station of China Mobile. The login account and login password, and the login request of the game client ID. The communication base station sends out login information after verification, and after the game client receives the login information, it connects the mobile phone to the wireless network provided by China Mobile through the application programming interface or software development kit.
步骤206,当目标应用程序在移动终端设备上停止运行或转入后台运行时,断开与无线网络的连接。
通过运营商接口程序就可以对目标应用程序的运行进行实时的监测,当运营商接口程序监测到目标应用程序在移动终端设备上停止运行或转入后台运行时,立即断开移动终端设备与该无线网络的连接。The operation of the target application can be monitored in real time through the operator interface program. When the operator interface program detects that the target application stops running on the mobile terminal device or is transferred to the background, it immediately disconnects the mobile terminal device from the Wi-Fi connection.
例如,当手机用户关闭或者将游戏客户端转入后台运行时,应用编程接口或软件开发工具包监测到手机客户端运行状态的变化,从而中断该手机与中国移动所提供的无线网络的连接。For example, when the mobile phone user closes or transfers the game client to the background, the application programming interface or software development kit monitors the change of the running state of the mobile client, thereby interrupting the connection between the mobile phone and the wireless network provided by China Mobile.
参见图3,图3为本发明实施例提供的网络环境切换装置的结构图,包括:Referring to FIG. 3, FIG. 3 is a structural diagram of a network environment switching apparatus provided by an embodiment of the present invention, including:
识别模块301,用于当运行移动终端设备上的目标应用程序时,所述目标应用程序确定所述移动终端设备所在的移动通信网络的运营商,所述目标应用程序为所述运营商提供免流量服务的应用程序;The
监测模块302,用于所述目标应用程序实时监测是否存在所述运营商提供的无线网络;A
切换模块303,用于当存在所述运营商提供的无线网络时,所述目标应用程序通过预设的运营商接口程序,将所述移动终端设备连接至所述无线网络,以实现从移动通信网络到无线网络的网络环境切换,所述运营商接口程序用于使所述移动终端设备与所述无线网络建立连接。The
在本发明实施例中,目标应用程序通过识别运营商,实时监测是否存在该运营商提供的无线网络,当存在该运营商提供的无线网络,连接至无线网络,实现了将移动终端设备从原来的使用移动通信网络的数据流量接入移动互联网的网络环境,切换至使用无线网络接入移动互联网的网络环境,从而使得在移动终端设备上运行该目标应用程序时不再通过移动通信网络产生流量资费,并且由于连接至无线网络,提高了数据传输速率,进而提高了用户体验,增加了该目标应用程序对用户的粘性。同时,充分利用了运营商所提供的无线网络,避免了资源浪费,提高了资源利用率。In the embodiment of the present invention, the target application program identifies the operator, and monitors in real time whether there is a wireless network provided by the operator. The network environment that uses the data traffic of the mobile communication network to access the mobile Internet, and switches to the network environment that uses the wireless network to access the mobile Internet, so that when the target application is running on the mobile terminal device, no traffic is generated through the mobile communication network. The data transmission rate is increased due to the connection to the wireless network, thereby improving the user experience and increasing the stickiness of the target application to the user. At the same time, the wireless network provided by the operator is fully utilized, which avoids the waste of resources and improves the utilization rate of resources.
本发明实施例的装置是应用上述网络环境切换方法的装置,则上述网络环境切换方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。The device of the embodiment of the present invention is a device applying the above-mentioned network environment switching method, and all the embodiments of the above-mentioned network environment switching method are applicable to the device, and can achieve the same or similar beneficial effects.
可选的,本发明实施例所提供的网络环境切换装置中,所述识别模块301,具体用于:Optionally, in the network environment switching device provided by the embodiment of the present invention, the
当所述移动终端设备处于多个移动通信网络时,所述目标应用程序确定所述移动终端设备所在的多个移动通信网络的多个运营商;When the mobile terminal device is located in multiple mobile communication networks, the target application program determines multiple operators of the multiple mobile communication networks where the mobile terminal device is located;
相应的,所述监测模块302,具体用于:Correspondingly, the
实时监测是否存在所述多个运营商提供的无线网络;Monitoring in real time whether there are wireless networks provided by the multiple operators;
相应的,所述切换模块303,具体用于:Correspondingly, the
当存在所述多个运营商中的任意一个运营商提供的无线网络时,所述目标应用程序通过预设的针对所述任意一个运营商的运营商接口程序,将所述移动终端设备连接至所述任意一个运营商提供的无线网络,以实现从移动通信网络到无线网络的网络环境切换。When there is a wireless network provided by any one of the multiple operators, the target application program connects the mobile terminal device to a preset operator interface program for the any one operator The wireless network provided by any one of the operators is used to switch the network environment from the mobile communication network to the wireless network.
可选的,本发明实施例所提供的网络环境切换装置中,所述装置还包括:Optionally, in the network environment switching device provided by the embodiment of the present invention, the device further includes:
调用模块,用于所述目标应用程序根据所述运营商,初始化所述目标应用程序中的针对所述运营商的运营商接口程序。The calling module is used for the target application to initialize the operator interface program for the operator in the target application according to the operator.
可选的,本发明实施例所提供的网络环境切换装置中,所述监测模块302,具体用于:Optionally, in the network environment switching device provided by the embodiment of the present invention, the
监测所述移动终端设备所在的移动通信网络的通信频率;monitoring the communication frequency of the mobile communication network where the mobile terminal device is located;
通过所述通信频率确定所述移动通信网络的运营商。The operator of the mobile communication network is determined by the communication frequency.
可选的,本发明实施例所提供的网络环境切换装置中,所述装置还包括:Optionally, in the network environment switching device provided by the embodiment of the present invention, the device further includes:
网络类型识别模块,用于监测所述移动终端设备所在的移动通信网络的数据传输速度或所述通信频率;a network type identification module for monitoring the data transmission speed or the communication frequency of the mobile communication network where the mobile terminal device is located;
所述网络类型识别模块,还用于通过所述数据传输速度或所述通信频率确定所述移动终端设备所在移动通信网络的类型,所述移动通信网络的类型包括:5G、4G、3G、2G和E网;The network type identification module is further configured to determine the type of the mobile communication network where the mobile terminal device is located by using the data transmission speed or the communication frequency, and the types of the mobile communication network include: 5G, 4G, 3G, 2G and E-net;
所述网络类型识别模块,还用于根据所述移动终端设备所在移动通信网络的类型,向使用所述移动终端设备的用户显示提示信息,所述提示信息用于告知所述用户目前移动终端所处于的移动通信网络的类型。The network type identification module is further configured to display prompt information to the user using the mobile terminal device according to the type of the mobile communication network where the mobile terminal device is located, where the prompt information is used to inform the user of the current location of the mobile terminal. The type of mobile communication network on which it is located.
可选的,本发明实施例所提供的网络环境切换装置中,所述监测模块302,具体用于:Optionally, in the network environment switching device provided by the embodiment of the present invention, the
检测所述移动终端设备是否已经连接至现有无线网络,所述现有无线网络为包括所述运营商提供的无线网络在内的任何无线网络;Detecting whether the mobile terminal device has been connected to an existing wireless network, and the existing wireless network is any wireless network including the wireless network provided by the operator;
当所述移动终端设备没有连接至所述现有无线网络时,实时监测是否存在所述运营商提供的无线网络。When the mobile terminal device is not connected to the existing wireless network, it is monitored in real time whether there is a wireless network provided by the operator.
可选的,本发明实施例所提供的网络环境切换装置中,所述监测模块302,包括:Optionally, in the network environment switching device provided by the embodiment of the present invention, the
配置单元,用于所述目标应用程序获取预设配置,所述预设配置包括:对所述运营商提供的无线网络的实时监测开启或关闭;a configuration unit, used for the target application to obtain a preset configuration, where the preset configuration includes: enabling or disabling real-time monitoring of the wireless network provided by the operator;
所述配置单元,还用于在所述预设配置为对所述运营商提供的无线网络的实时监测开启时,目标应用程序实时监测是否存在所述运营商提供的无线网络。The configuration unit is further configured to monitor, in real time, whether there is a wireless network provided by the operator in the target application when the preset configuration is enabled for real-time monitoring of the wireless network provided by the operator.
可选的,本发明实施例所提供的网络环境切换装置中,所述切换模块303中预设的运营商接口程序包括应用编程接口或软件开发工具包;Optionally, in the network environment switching device provided by the embodiment of the present invention, the operator interface program preset in the
相应的,所述切换模块303,具体用于通过所述应用编程接口或软件开发工具包,将所述移动终端设备连接至所述无线网络,以实现从移动通信网络到无线网络的网络环境切换。Correspondingly, the
可选的,本发明实施例所提供的网络环境切换装置中,所述切换模块303,包括:Optionally, in the network environment switching device provided by the embodiment of the present invention, the
发送单元,用于当存在所述运营商提供的无线网络时,所述目标应用程序向提供所述无线网络的基站发送登录请求,所述登录请求中含有所述目标应用程序识别信息,以使所述基站根据所述目标应用程序识别信息向所述目标应用程序发送登录信息;The sending unit is configured to, when there is a wireless network provided by the operator, the target application program sends a login request to the base station providing the wireless network, where the login request contains the identification information of the target application program, so that The base station sends login information to the target application according to the target application identification information;
切换单元,用于所述目标应用程序根据所述登录信息,通过所述预设的运营商接口程序,将所述移动终端设备连接至所述无线网络,以实现网络环境的切换。The switching unit is used for the target application program to connect the mobile terminal device to the wireless network through the preset operator interface program according to the login information, so as to realize the switching of the network environment.
可选的,本发明实施例所提供的网络环境切换装置中,所述装置还包括:Optionally, in the network environment switching device provided by the embodiment of the present invention, the device further includes:
中断模块,用于当所述目标应用程序在所述移动终端设备上停止运行或转入后台运行时,断开与所述无线网络的连接。The interruption module is used for disconnecting the connection with the wireless network when the target application stops running on the mobile terminal device or transfers to the background to run.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any relationship between these entities or operations. any such actual relationship or sequence exists. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion such that a process, method, article or device comprising a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a related manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for related parts, please refer to the partial descriptions of the method embodiments.
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611223921.XA CN108243471B (en) | 2016-12-27 | 2016-12-27 | A kind of network environment switching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611223921.XA CN108243471B (en) | 2016-12-27 | 2016-12-27 | A kind of network environment switching method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108243471A CN108243471A (en) | 2018-07-03 |
CN108243471B true CN108243471B (en) | 2020-12-18 |
Family
ID=62702246
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611223921.XA Active CN108243471B (en) | 2016-12-27 | 2016-12-27 | A kind of network environment switching method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108243471B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110751761B (en) * | 2019-10-25 | 2022-04-29 | 联永智能科技(上海)有限公司 | Unlocking method, device and equipment of Bluetooth lockset and storage medium |
CN114079890B (en) * | 2020-08-18 | 2024-06-28 | 深圳市万普拉斯科技有限公司 | Method, device, computer equipment and storage medium for application program accessing network |
CN114650283A (en) * | 2020-12-21 | 2022-06-21 | 京东科技控股股份有限公司 | Method and device for dynamically switching cloud storage service, electronic equipment and storage medium |
CN112770415B (en) * | 2020-12-31 | 2023-07-14 | 上海连尚网络科技有限公司 | Information processing method and device for wireless hotspot |
CN112732356A (en) * | 2021-01-11 | 2021-04-30 | 江西中瑞防雷技术有限公司 | Data monitoring management system of intelligent platform system |
CN112822742A (en) * | 2021-02-01 | 2021-05-18 | 联想(北京)有限公司 | Processing method and device |
CN115314966A (en) * | 2021-05-06 | 2022-11-08 | Oppo广东移动通信有限公司 | Wireless network switching method, device, electronic device and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102057716A (en) * | 2008-04-09 | 2011-05-11 | Ubiquisys有限公司 | Access point |
CN104468813A (en) * | 2014-12-18 | 2015-03-25 | 广州爱九游信息技术有限公司 | Application program recommending method, device and system |
CN104539686A (en) * | 2014-12-23 | 2015-04-22 | 华为软件技术有限公司 | Traffic-free application downloading method, terminals and server side |
CN104902452A (en) * | 2015-06-30 | 2015-09-09 | 北京奇虎科技有限公司 | Mobile terminal and network access method thereof |
CN104967624A (en) * | 2015-06-30 | 2015-10-07 | 北京奇虎科技有限公司 | Method, mobile terminal and system for accessing network based on traffic-free platform |
CN104967688A (en) * | 2015-06-30 | 2015-10-07 | 北京奇虎科技有限公司 | Method, mobile terminal and system for accessing network by using traffic-free platform |
CN104967976A (en) * | 2015-06-30 | 2015-10-07 | 北京奇虎科技有限公司 | Communication method, proxy server and system for mobile terminal |
CN104994230A (en) * | 2015-06-30 | 2015-10-21 | 北京奇虎科技有限公司 | Communication method for mobile terminal, mobile terminal and system |
CN105142123A (en) * | 2015-06-30 | 2015-12-09 | 北京奇虎科技有限公司 | Method for carrying out network access based on wireless network card, distribution server and system |
CN105634849A (en) * | 2014-11-05 | 2016-06-01 | 中国移动通信集团公司 | Dial measuring method and apparatus for data traffic unified payment services |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7092999B2 (en) * | 2002-06-10 | 2006-08-15 | Gutman Levitan | Data broadcast network for congestion-free internet access |
EP3100511B1 (en) * | 2014-01-31 | 2021-09-29 | Telefonaktiebolaget LM Ericsson (publ) | Interworking between networks operating according to different radio access technologies |
-
2016
- 2016-12-27 CN CN201611223921.XA patent/CN108243471B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102057716A (en) * | 2008-04-09 | 2011-05-11 | Ubiquisys有限公司 | Access point |
CN105634849A (en) * | 2014-11-05 | 2016-06-01 | 中国移动通信集团公司 | Dial measuring method and apparatus for data traffic unified payment services |
CN104468813A (en) * | 2014-12-18 | 2015-03-25 | 广州爱九游信息技术有限公司 | Application program recommending method, device and system |
CN104539686A (en) * | 2014-12-23 | 2015-04-22 | 华为软件技术有限公司 | Traffic-free application downloading method, terminals and server side |
CN104902452A (en) * | 2015-06-30 | 2015-09-09 | 北京奇虎科技有限公司 | Mobile terminal and network access method thereof |
CN104967624A (en) * | 2015-06-30 | 2015-10-07 | 北京奇虎科技有限公司 | Method, mobile terminal and system for accessing network based on traffic-free platform |
CN104967688A (en) * | 2015-06-30 | 2015-10-07 | 北京奇虎科技有限公司 | Method, mobile terminal and system for accessing network by using traffic-free platform |
CN104967976A (en) * | 2015-06-30 | 2015-10-07 | 北京奇虎科技有限公司 | Communication method, proxy server and system for mobile terminal |
CN104994230A (en) * | 2015-06-30 | 2015-10-21 | 北京奇虎科技有限公司 | Communication method for mobile terminal, mobile terminal and system |
CN105142123A (en) * | 2015-06-30 | 2015-12-09 | 北京奇虎科技有限公司 | Method for carrying out network access based on wireless network card, distribution server and system |
Non-Patent Citations (2)
Title |
---|
免流量又成行业热词 如何看懂哪些免流量APP;李文瑶;《https://tech.huanqiu.com/article/9CaKrnJFv6q》;20140901;第1-2页 * |
免费流量:长期趋势还是昙花一现?;陈志刚;《中国电信业》;20140308;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN108243471A (en) | 2018-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108243471B (en) | A kind of network environment switching method and device | |
EP4187951B1 (en) | Virtual card downloading method and terminal | |
CN102457514B (en) | Mobile terminal-oriented short message authentication method of wireless network | |
CN112422758B (en) | LTE cellular mobile network communication method | |
US9198223B2 (en) | Telecommunication network | |
CN103987025A (en) | Roaming communication method based on mobile two-channel virtual card number authentication and roaming communication equipment based on mobile two-channel virtual card number authentication | |
KR20010096543A (en) | System and method for provisioning or updating a mobile station using over-the-air transfer of interpreted byte-code program | |
CN104202308A (en) | Implementation method of safe batch configuration of Wi-Fi Internet of Things system | |
CN102833712A (en) | Method, device, server and system for preventing information leakage and equipment | |
US10069738B2 (en) | One cellular radio to support multiple phone lines and data at a location | |
CN105847223A (en) | Authentication method and device of terminal device | |
TW202013945A (en) | Group establishment method and system for multi-login authentication user and switching device, electronic device and storage medium thereof | |
CN105530612A (en) | WIFI authentication method using mobile terminal to access outdoor device and system | |
CN107659935B (en) | Authentication method, authentication server, network management system and authentication system | |
KR20120098215A (en) | Method for providing virtualized information | |
CN105451161A (en) | Method and system for realizing file sharing based on built-in base station way of android phone | |
US20190364425A1 (en) | Updating policy for a video flow during transitions | |
CN103281693A (en) | Wireless communication authentication method, network translation equipment and terminal | |
CN115175118B (en) | Communication service complementary system and method based on cooperative WiFi | |
CN106488470B (en) | Method, device and terminal for realizing Miracast and wireless hotspot coexistence | |
US20170318412A1 (en) | Method for transmitting data between two subscribers | |
WO2016090578A1 (en) | Authentication processing method, apparatus and terminal | |
US8019991B1 (en) | System and method for secure provisioning of a mobile station from a provisioning server using IP address translation at the BTS/BSC | |
CN111010694A (en) | Mobile communication method and electronic equipment | |
CN105101338A (en) | A method and device for accessing a network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |