WO2020094035A1 - Wireless network connection method for terminal - Google Patents

Wireless network connection method for terminal Download PDF

Info

Publication number
WO2020094035A1
WO2020094035A1 PCT/CN2019/115885 CN2019115885W WO2020094035A1 WO 2020094035 A1 WO2020094035 A1 WO 2020094035A1 CN 2019115885 W CN2019115885 W CN 2019115885W WO 2020094035 A1 WO2020094035 A1 WO 2020094035A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
wireless network
information
target wireless
terminal
Prior art date
Application number
PCT/CN2019/115885
Other languages
French (fr)
Chinese (zh)
Inventor
王飞
童小林
Original Assignee
上海连尚网络科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海连尚网络科技有限公司 filed Critical 上海连尚网络科技有限公司
Publication of WO2020094035A1 publication Critical patent/WO2020094035A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Definitions

  • the embodiments of the present application relate to the field of computer technology, and in particular to a wireless network connection method for a terminal.
  • terminals within the wireless local area network can also connect to a wireless network to achieve their Internet access function, thereby reducing the use of data traffic.
  • the embodiment of the present application proposes a wireless network connection method for a terminal.
  • an embodiment of the present application provides a wireless network connection method for a terminal, which includes: in response to the terminal's data network being connected, monitoring the consumption state of data traffic; in response to monitoring the current data traffic When the consumption reaches the preset limit, the network connection application is triggered to obtain the network information of the wifi network near the terminal; based on the obtained network information, the wifi network is selected as the target wireless network and connected to the target wireless network.
  • monitoring the consumption status of data traffic includes: capturing the data packets sent and received by the terminal in real time through a packet capture tool, performing statistical analysis on the captured data packets, and obtaining the total size of the data packets; based on the data The total size of the packets determines the consumption of data traffic from the terminal.
  • monitoring the consumption status of the data traffic includes: monitoring the data traffic consumption of the terminal in real time through the application tool.
  • monitoring the consumption status of the data traffic includes: collecting real-time traffic consumption data of each third-party application installed on the terminal based on the communication protocol, and determining the data traffic consumption of the terminal.
  • monitoring the consumption status of data traffic includes: sending a traffic query request to the operator server and receiving feedback information from the operator server, where the feedback information is used to describe the current traffic consumption status of the terminal; Based on the feedback information, determine the data consumption of the terminal.
  • the network information includes identification information of the wifi network; and selecting the wifi network as the target wireless network from the acquired network information and connecting to the target wireless network, including: receiving user identification information of the acquired wifi network , Select the wifi network indicated by the selection operation as the target wireless network, and send the network information of the target wireless network to the server; and receive the connection key sent by the server and connect to the target wireless network according to the connection key.
  • sending the network information of the target wireless network to the server includes: determining whether the target wireless network is a connected wifi network; if the target wireless network is not a connected wifi network, sending the network of the target wireless network The information is sent to the server.
  • selecting the wifi network as the target wireless network from the acquired network information and connecting to the target wireless network includes: sending the acquired network information to the server and receiving response information from the server, where the response The information includes identification information and connection key of the available wifi network; the wifi network indicated by the identification information in the response information is taken as the target wireless network, and the target wireless network is connected according to the connection key in the response information.
  • the method before triggering the network connection application to obtain the network information of the wifi network near the terminal, the method further includes: determining whether the wifi network switch of the terminal is on; if the wifi network switch is off, turning on the wifi network switch.
  • an embodiment of the present application provides a wireless network connection device for a terminal, including: a monitoring unit configured to monitor the consumption state of data traffic in response to the terminal's data network being in a connected state; an acquisition unit , Is configured to trigger the network connection application to obtain the network information of the wifi network near the terminal in response to monitoring that the current data traffic consumption reaches a preset limit; the connection unit is configured to select a wifi network from the obtained network information Use as the target wireless network and connect to the target wireless network.
  • an embodiment of the present application provides an electronic device, including: one or more processors; a storage device on which one or more programs are stored; when one or more programs are used by one or more processors The execution causes one or more processors to implement the method as described in any one of the embodiments of the first aspect above.
  • an embodiment of the present application proposes a computer-readable medium on which a computer program is stored, where the computer program is executed by a processor to implement the method described in any one of the embodiments of the first aspect above.
  • the wireless network connection method for a terminal can monitor the consumption state of data traffic in real time when the data network of the terminal is in a connected state. And when it is detected that the current data flow consumption reaches a preset amount, the network connection application on it may be triggered. Thus, the network information of the wifi network near the terminal can be obtained. Furthermore, the wifi network can be selected as the target wireless network and connected to the target wireless network. In other words, by monitoring the consumption status of data traffic in real time, the connection status of the wireless network can be adjusted. Thus, the usage control of data flow can be realized. This helps to reduce or avoid excessive use of data traffic, thereby reducing the user's economic expenses. At the same time, by flexibly and quickly switching from the data network to the wifi network, it can also effectively protect the user's networking needs.
  • FIG. 1 is an exemplary system architecture diagram to which an embodiment of the present application can be applied;
  • FIG. 2 is a flowchart of a first embodiment of a wireless network connection method for a terminal according to the present application
  • FIG. 3 is a flowchart of a second embodiment of a wireless network connection method for a terminal according to the present application.
  • FIG. 4 is a flowchart of a third embodiment of a wireless network connection method for a terminal according to the present application.
  • FIG. 5 is a flowchart of a fourth embodiment of a wireless network connection method for a terminal according to the present application.
  • FIG. 6 is a schematic structural diagram of a computer system suitable for implementing an electronic device according to an embodiment of the present application.
  • FIG. 1 shows an exemplary system architecture 100 to which the wireless network connection method for a terminal of the embodiment of the present application can be applied.
  • the system architecture 100 may include terminals 101, 102, 103, networks 104, 105, and a server 106.
  • the network 104 may be used as a medium for providing communication links between the terminals 101, 102, and 103.
  • the network 105 may be used as a medium for providing a communication link between the terminals 101, 102, 103 and the server 106.
  • the networks 104, 105 may include various connection types, such as wired, wireless communication links, or fiber optic cables.
  • terminals 101, 102, and 103 Users can use terminals 101, 102, and 103 to interact through the network 104 to receive or send messages. At the same time, the user can also use the terminals 101, 102, 103 to interact with the server 106 through the network 105 to obtain information and the like.
  • Various client applications may be installed on the terminals 101, 102, and 103, such as network connection applications, traffic management applications, video applications, browsers, and instant messaging tools.
  • the user can use data traffic to use various applications installed on the terminal.
  • the terminals 101, 102, and 103 can monitor the consumption status of data traffic in real time. If the current data traffic consumption reaches the preset limit, the network connection application on it can be triggered to obtain the network information of the nearby wifi network. And you can choose the wifi network as the target wireless network to connect to the target wireless network.
  • the terminals 101, 102, and 103 may be hardware or software.
  • the terminals 101, 102, and 103 can be various electronic devices with network connection functions, including but not limited to smart phones, tablet computers, wearable devices, e-book readers, MP3 players (Moving Pictures Experts Group) Audio Layer III, motion picture expert compression standard audio layer 3), laptops and desktop computers, etc.
  • the terminals 101, 102, and 103 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example to provide distributed services), or as a single software or software module. There is no specific limit here.
  • the server 106 may be a server that provides various services. For example, it may be a background server that supports various applications installed on the terminals 101, 102, and 103.
  • the background server can analyze the wifi network connection requests sent by the terminals 101, 102, and 103. And can send the analysis result (such as the connection key of wifi network) to the terminal. In this way, the terminal can use the connection key to realize the connection of the wifi network, thereby helping to reduce the use of data traffic.
  • the server 106 here may also be hardware or software.
  • the server 106 can be implemented as a distributed server cluster composed of multiple servers, or as a single server.
  • the server 106 is software, it may be implemented as multiple software or software modules (for example, to provide distributed services), or as a single software or software module. There is no specific limit here.
  • the wireless network connection method for a terminal provided by the embodiments of the present application may generally be executed by the terminals 101, 102, and 103.
  • terminals, networks, and servers in FIG. 1 are only schematic. According to the implementation needs, there can be any number of terminals, networks and servers.
  • FIG. 2 shows a flow 200 of the first embodiment of a wireless network connection method for a terminal according to the present application.
  • the wireless network connection method may include the following steps:
  • Step 201 in response to the data network being connected, monitoring the consumption state of data traffic.
  • the data network of the electronic device (for example, the terminals 101, 102, and 103 shown in FIG. 1) is in a connected state, the consumption state of data traffic can be monitored in real time.
  • the data network usually refers to the mobile network.
  • it may include (but not limited to) at least one of the following: 3G (third generation mobile communication system) network, 4G (fourth generation mobile communication system) network, and 5G (fifth generation mobile communication system) network.
  • the wifi network of the electronic device is in a disconnected state.
  • electronic devices need to use data traffic to communicate.
  • the wifi (Wireless) Fidelity network usually refers to a wireless connection network different from the data network.
  • it may include (but not limited to) a wireless local area network based on the IEEE802.11b standard.
  • the data flow included in the communication cards is also different.
  • the communication card can have 1GB of data traffic per month, or 100MB of data traffic per day.
  • the consumption status of data traffic can generally be used to describe the consumption status of data traffic.
  • it may include data traffic consumed by the electronic device within a preset time period (such as a natural month, a day or an hour, etc.) and / or remaining data traffic.
  • the electronic device can monitor the consumption status of data traffic in various ways.
  • the electronic device may use a packet capture tool to capture data packets that it sends and receives in real time. Therefore, statistical analysis can be performed on the captured data packets to obtain the total size of the data packets. Furthermore, according to the total size of data packets, you can determine the consumption of your own data traffic.
  • the packet capture tool and the capture method are not limited in this application.
  • the tcpdump packet capture tool is commonly used on Android systems.
  • an electronic device such as a mobile phone
  • the operator when accesses the Internet through an operator's network, the operator generally forwards data packets for the electronic device.
  • the total size (bytes) of the data message is the data flow used by the electronic device.
  • the data message here may include the upstream and downstream (receive and send) messages of the electronic device. Since data packets are transmitted using the IP (Internet Protocol) protocol, the data flow calculated by the operator is generally the size of the data packet including the IP header.
  • IP Internet Protocol
  • the electronic device can monitor the consumption of data traffic in real time through the application tool. This can meet the needs of different users and help expand the scope of the method.
  • the electronic device may also calculate the real-time traffic consumption data of each third-party application installed on the electronic device based on the communication protocol, thereby determining the consumption of its own data traffic.
  • the Android system generally provides a statistical function of TCP (Transmission Control Protocol) transmission and reception length.
  • TCP Transmission Control Protocol
  • the communication between the general application and the background server is based on the TCP protocol. Therefore, the statistical function can be used to count the data traffic consumed by itself. This can further enrich and improve the way of monitoring the consumption status of data traffic.
  • the statistical function provided by the Android system is often calculated according to the latitude of the application, that is, the data traffic consumed by each application. After acquiring real-time traffic consumption data of each application, the electronic device can determine its own total data traffic consumption.
  • the electronic device can also send a traffic query request to the operator server. And it can receive the feedback information corresponding to the traffic query request sent by the operator server.
  • the feedback information can be used to describe the current traffic consumption state of the electronic device.
  • the feedback information may include at least one of the following: traffic type (such as normal monthly traffic, video targeted free traffic, or paid traffic, etc.), remaining traffic, or traffic purchase records, etc. In this way, the electronic device can determine the consumption of its data traffic according to the feedback information.
  • the above traffic query request may generally include a mobile phone number corresponding to a communication card (such as a SIM card (Subscriber Identity Module, customer identification module)) used by an electronic device.
  • a communication card such as a SIM card (Subscriber Identity Module, customer identification module) used by an electronic device.
  • Step 202 in response to monitoring that the current data traffic consumption reaches a preset amount, trigger a network connection application to obtain network information of a nearby wifi network.
  • the electronic device may trigger the network connection application. Therefore, the network information of the wifi network near it (that is, the current location is within the coverage of the wifi network) can be obtained.
  • the preset amount can be set according to the actual situation.
  • the preset quota may be (but not limited to) at least one of the following: a monthly total traffic quota, 90% of the total traffic quota, or an upper limit quota for daily traffic consumption, and so on.
  • the user can set the preset amount in the system of the electronic device or the above-mentioned application tool.
  • the network connection application may be an application for implementing wifi network connection.
  • it may be a third-party network connection application installed on the electronic device, or an application in the electronic device system (such as a wifi network switch).
  • the network information here can be used to describe relevant information of the wifi network.
  • it may include (but not limited to) at least one of the following: the name of the wifi network, signal strength, whether a connection key is set, a connection key, etc.
  • the reason why the wifi network of the electronic device is in an unconnected state may be that the network connection application of the electronic device is in a closed state. That is, the function of connecting to the wifi network is not turned on. It is also possible that the network connection application of the electronic device is turned on, but the wifi network is not connected, or there is no wifi network available nearby. Therefore, the above trigger operation is not limited in this application.
  • the electronic device may start a network connection application that is not yet running.
  • the electronic device may enable the network connection application running in the background to run on the front end.
  • Step 203 Select the wifi network as the target wireless network from the obtained network information, and connect to the target wireless network.
  • the electronic device may select the wifi network as the target wireless network according to the network information acquired in step 202. And the electronic device can acquire the connection key of the target wireless network, thereby connecting to the target wireless network. This can reduce or prevent electronic devices from continuing to use data traffic. This helps reduce or avoid excessive use of data traffic, thereby reducing the cost of excess data traffic.
  • the selection operation here may be performed by an electronic device, or may be performed by a user or other devices.
  • the connection key may be pre-stored locally in the electronic device, or may be input by the user, or may be obtained by the electronic device from other devices.
  • the electronic device can present the acquired network information of the wifi network to the user. In this way, the user can consult and / or select the wifi network to be connected.
  • the wireless network connection method for a terminal can monitor the consumption state of data traffic in real time when the data network of the terminal is in a connected state. And when it is detected that the current data flow consumption reaches a preset amount, the network connection application on it may be triggered. Thus, the network information of the wifi network near the terminal can be obtained. Furthermore, the wifi network can be selected as the target wireless network and connected to the target wireless network. In other words, by monitoring the consumption status of data traffic in real time, the connection status of the wireless network can be adjusted. Thus, the usage control of data flow can be realized. This helps to reduce or avoid excessive use of data traffic, thereby reducing the user's economic expenses. At the same time, by flexibly and quickly switching from the data network to the wifi network, it can also effectively protect the user's networking needs.
  • FIG. 3 shows a flow 300 of a second embodiment of a wireless network connection method for a terminal according to the present application.
  • the wireless network connection method may include the following steps:
  • Step 301 in response to the data network being connected, monitoring the consumption state of the data traffic.
  • the consumption state of data traffic can be monitored in real time.
  • the data network of the electronic device for example, the terminals 101, 102, and 103 shown in FIG. 1
  • the consumption state of data traffic can be monitored in real time.
  • Step 302 in response to monitoring that the current data traffic consumption reaches a preset limit, trigger a network connection application to obtain network information of a nearby wifi network.
  • a network connection application in response to monitoring that the current data traffic consumption reaches a preset limit, trigger a network connection application to obtain network information of a nearby wifi network.
  • the network connection application may include a third-party network connection application. That is to say, in the case where the third-party network connection application is installed on the electronic device, the electronic device can trigger the third-party network connection application. And you can use it to get the network information of the nearby wifi network.
  • the network information may include identification information of the wifi network.
  • the identification information here can be used to uniquely represent the wifi network. It may include at least one of characters such as numbers, letters, and symbols.
  • the identification information may be (but not limited to) SSID (Service Set Identifier, Service Set Identifier, that is, the name of the wireless network) or BSSID (Basic Service Set).
  • the electronic device in order to obtain the network information of the wifi network, the electronic device also needs to ensure that the wifi network switch on it is turned on. That is to say, before triggering a third-party network connection application to obtain network information of a nearby wifi network, the electronic device can determine whether the wifi network switch on it is in the on state. If the wifi network switch is off, the wifi network switch can be turned on.
  • Step 303 Receive a user's selection operation on the acquired identification information of the wifi network, use the wifi network indicated by the selection operation as the target wireless network, and send the network information of the target wireless network to the server.
  • the electronic device may present the acquired network information of the wifi network to the user to prompt the user to select the wifi network to be connected.
  • the electronic device can receive the user's selection operation on the acquired identification information of the wifi network.
  • the wifi network indicated by the selection operation can be used as the target wireless network.
  • the electronic device can connect to the application through a third-party network and send the network information of the target wireless network to the server (for example, the server 106 shown in FIG. 1).
  • the server can use the existing technology or other methods to determine the connection key of the target wireless network and return it to the electronic device. I won't repeat them here.
  • the electronic device may store the identification information of the connected wifi network and the connection key. Therefore, in order to improve the connection efficiency of the network, optionally, the electronic device can first determine whether the target wireless network is a connected wifi network. If the target wireless network is a connected wifi network, the target wireless network can be connected according to the stored connection key. If the target wireless network is not a connected wifi network, the network information of the target wireless network can be sent to the server.
  • the presentation here is not limited in this application.
  • the network information can be displayed to the user on the application interface of the third-party network connection application.
  • the network information can be displayed to the user on the wifi network switch page.
  • / or network information can be presented to the user through voice broadcast.
  • Step 304 Receive the connection key sent by the server and connect to the target wireless network according to the connection key.
  • the electronic device when receiving the connection key sent by the server, the electronic device can connect to the application through a third-party network and connect to the target wireless network according to the connection key, thereby reducing the consumption of data traffic. It can be understood that, in the case where the electronic device is successfully connected to the target wireless network, the identification information and the connection key of the target wireless network may also be stored.
  • the wireless network connection method for a terminal when it is detected that the current data traffic consumption reaches a preset amount, can trigger the third-party network connection application installed on the terminal to obtain its nearby Network information of wireless network. Therefore, the connection of the wifi network selected by the user can be realized, which is beneficial to reducing the use of data traffic. This can enrich and improve the process of the wireless network connection method, can meet the needs of different users, and help expand the use of the method.
  • the above network information may also include a connection key of the wifi network.
  • the electronic device when receiving the user's selection operation on the acquired identification information of the wifi network, the electronic device may use the wifi network indicated by the selection operation as the target wireless network. And the connection of the target wireless network can be realized according to the connection key in the network information of the target wireless network. This helps improve the efficiency of the network connection. And even if there is a problem in the communication between the electronic device and the server, it will not affect the connection of the wifi network.
  • the electronic device can also select the wifi network instead of the user.
  • the electronic device can connect to the application through a third-party network to select the acquired identification information of the wifi network. And you can use the automatically selected wifi network as the target wireless network.
  • the network information of the target wireless network is sent to the server to obtain its connection key. Or connect according to the connection key in the network information. This can simplify or reduce user operations and improve connection efficiency.
  • the above process may be run on the back end of the electronic device. This will not interfere with the operation of the front end and help improve the user experience.
  • the electronic device may adopt (but not limited to) at least one of the following methods: select a stronger signal strength, select a more stable signal, select a faster network, select a closer to the electronic device, select more connected times 2. Select a wifi network with more or less connected devices.
  • the electronic device can obtain the above data from the network information.
  • FIG. 4 shows a flow 400 of a third embodiment of a wireless network connection method for a terminal according to the present application.
  • the wireless network connection method may include the following steps:
  • Step 401 In response to the data network being connected, monitor the consumption state of data traffic. Reference may be made to the relevant description in step 301 in the embodiment of FIG. 3, and details are not described herein again.
  • Step 402 in response to monitoring that the current data traffic consumption reaches a preset limit, trigger a network connection application to obtain network information of a nearby wifi network.
  • the network information here may include at least one of the following: identification information of the wifi network, signal strength, stability or network speed, etc. Reference may be made to the relevant description in step 302 in the embodiment of FIG. 3, and details are not described herein again.
  • Step 403 Send the acquired network information to the server, and receive the response information from the server.
  • the electronic device may also connect to the application through a third-party network and send the acquired network information to the server (for example, the server 106 shown in FIG. 1).
  • the server can select the available wifi network from the network information.
  • the server can determine the connection key, or a wifi network with strong signal strength and good stability.
  • the server can determine the available wifi network connection key.
  • response information is generated and returned to the electronic device.
  • the response information may include identification information and connection key of the available wifi network. In this way, the electronic device can receive the response information.
  • Step 404 Use the wifi network indicated by the identification information in the response information as the target wireless network, and connect to the target wireless network according to the connection key in the response information.
  • the electronic device may use the wifi network indicated by the identification information of the wifi network in the response information as the target wireless network.
  • the application can be connected through a third-party network, and the target wireless network can be connected according to the connection key of the wifi network in the response information.
  • the wireless network connection method for a terminal proposed in this embodiment when it is detected that the current data traffic consumption reaches a preset amount, can trigger the third-party network connection application installed on the terminal to obtain its nearby Network information of wifi network. And can send the network information to the server to select the available wifi network. In order to achieve the connection of the available wifi network. This not only further enriches the process of the wireless network connection method, but also expands the use of the method. It can also reduce or simplify user operations. It also helps to make the connected wireless network more in line with user needs.
  • FIG. 5 shows a flow 500 of a fourth embodiment of a wireless network connection method for a terminal according to the present application.
  • the wireless network connection method may include the following steps:
  • Step 501 In response to the data network being connected, monitor the consumption state of data traffic. Reference may be made to the relevant description in step 201 of the embodiment in FIG. 2, and details are not described here.
  • Step 502 in response to monitoring that the current data traffic consumption reaches a preset amount, trigger a network connection application to obtain network information of a nearby wifi network.
  • a network connection application in response to monitoring that the current data traffic consumption reaches a preset amount, trigger a network connection application to obtain network information of a nearby wifi network.
  • the network connection application may include an application in an electronic device system.
  • This application can be used to implement wifi network connection, such as wifi network switch.
  • the electronic device can obtain the network information of the nearby wifi network through the wifi network switch.
  • the network information may include identification information of the wifi network.
  • Step 503 Determine whether the acquired identification information of the wifi network contains identification information of the connected wifi network.
  • the electronic device may match the stored identification information of the connected wifi network with the acquired identification information of the wifi network. Therefore, it can be determined whether the identification information of the connected wifi network is included. If the identification information of the connected wifi network is included, the electronic device may continue to perform step 504.
  • Step 504 Use the connected wifi network as the target wireless network.
  • the electronic device may use the connected wifi network included in the acquired wifi network as the target wireless network.
  • the above network information may further include at least one of the following: the signal strength, stability or network speed of the wifi network.
  • the electronic device may determine the target wireless network in at least one of the following ways: for example, in at least two connected wifi networks In the network, the wifi network with stronger signal strength can be used as the target wireless network; or the wifi network with better stability can be used as the target wireless network; or the wifi network with faster network speed can be used as the target wireless network. This is more in line with the actual application situation, and also helps to make the target wireless network more meet the user's needs.
  • Step 505 Connect to the target wireless network according to the stored connection key.
  • the electronic device may search for the connection key corresponding to the target wireless network among the stored connection keys. Therefore, according to the connection key, the target wireless network can be connected through the wifi network switch.
  • the above connection process may be run in the background of the electronic device. In this way, there will be no interference and impact on the user's front-end operation, which helps to improve the user's experience.
  • the electronic device may access the wifi network switch page The network information of the wifi network is presented to the user. In this way, the user can select the wifi network to be connected.
  • the electronic device can also start the third-party network connection application on it, thereby achieving the connection of the wifi network.
  • the wireless network connection method for a terminal provided in this embodiment can obtain the network of the nearby wifi network by triggering the wifi network switch on the terminal when it is detected that the current data traffic consumption reaches a preset amount information. In order to achieve the connection of the connected wifi network, and thus reduce the use of data traffic. This can enrich and improve the process of the wireless network connection method.
  • the network information acquisition process, the target wireless network selection process, and the target wireless network connection process may be performed by a third-party network connection and / or wifi network switch on the electronic device.
  • a third-party network connection and / or wifi network switch on the electronic device.
  • third-party network applications can obtain network information of nearby wifi networks.
  • the wifi network switch page can present these network information and select the target wireless network. Then the third-party network application can connect to the target wireless network.
  • FIG. 6 shows a schematic structural diagram of a computer system 600 suitable for implementing electronic devices (for example, the terminals 101, 102, and 103 shown in FIG. 1) of the embodiments of the present application.
  • the electronic device shown in FIG. 6 is only an example, and should not bring any limitation to the functions and use scope of the embodiments of the present application.
  • the computer system 600 includes a central processing unit (CPU) 601 that can be loaded into a random access memory (RAM) 603 from a program stored in a read-only memory (ROM) 602 or from a storage section 608 Instead, perform various appropriate actions and processing.
  • RAM random access memory
  • ROM read-only memory
  • various programs and data necessary for the operation of the system 600 are also stored.
  • the CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604.
  • An input / output (I / O) interface 605 is also connected to the bus 604.
  • the following components are connected to the I / O interface 605: an input portion 606 including a touch screen, keys, microphone, camera, etc .; an output portion 607 including a liquid crystal display (LCD) and / or speakers, etc .; a storage portion 608 including a hard disk, etc .; and
  • the communication section 609 including a network interface card such as a LAN card, a modem, etc.
  • the communication section 609 performs communication processing via a network such as the Internet.
  • the driver 610 is also connected to the I / O interface 605 as needed.
  • a removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is installed on the drive 610 as necessary, so that the computer program read out therefrom is installed into the storage section 608 as needed.
  • the process described above with reference to the flowchart may be implemented as a computer software program.
  • embodiments of the present disclosure include a computer program product that includes a computer program carried on a computer-readable medium, the computer program containing program code for performing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication section 609, and / or installed from the removable medium 611.
  • the computer program is executed by the central processing unit (CPU) 601
  • the above-mentioned functions defined in the method of the present application are executed.
  • the computer-readable medium of the present application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination of the above. More specific examples of computer readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable removable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • the computer-readable medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal that is propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried.
  • This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. .
  • the program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • each block in the flowchart or block diagram may represent a module, program segment, or part of code that contains one or more logic functions Executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks represented in succession may actually be executed in parallel, and they may sometimes be executed in reverse order, depending on the functions involved.
  • each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts can be implemented with dedicated hardware-based systems that perform specified functions or operations Or, it can be realized by a combination of dedicated hardware and computer instructions.
  • the units described in the embodiments of the present application may be implemented in software or hardware.
  • the described unit may also be provided in the processor.
  • a processor includes a monitoring unit, an acquisition unit, and a connection unit.
  • the names of these units do not constitute a limitation on the unit itself under certain circumstances.
  • the monitoring unit can also be described as "a unit that monitors the consumption status of data traffic.”
  • the present application also provides a computer-readable medium, which may be included in the electronic device described in the foregoing embodiment; or may exist alone without being assembled into the electronic device in.
  • the computer-readable medium carries one or more programs.
  • the electronic device causes the electronic device to consume data traffic in response to the data network on the device being connected.
  • Status monitoring in response to monitoring that the current data traffic consumption reaches a preset amount, trigger a network connection application to obtain network information of the nearby wifi network; based on the obtained network information, select the wifi network as the target wireless network And connect to the target wireless network.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

A wireless network connection method for a terminal is disclosed in embodiments of the present application. One specific embodiment of the method comprises: monitoring consumption state of data traffic in response to a data network of the terminal being in a connected state; triggering a network connection application to obtain network information of wifi networks near the terminal in response to monitoring that the consumption of the current data traffic reaches a preset limit; selecting a wifi network as a target wireless network and connecting the target wireless network according to the obtained network information. By monitoring in real time the consumption state of the data traffic, the embodiment can adjust the connection state of the wireless network. The use of data traffic can be controlled. It is helpful to reduce or avoid the overuse of data traffic. Meanwhile, the flexible and rapid switching from the data network to the wifi network can also effectively ensure a user's networking requirements.

Description

用于终端的无线网络连接方法Wireless network connection method for terminal 技术领域Technical field
本申请实施例涉及计算机技术领域,具体涉及用于终端的无线网络连接方法。The embodiments of the present application relate to the field of computer technology, and in particular to a wireless network connection method for a terminal.
背景技术Background technique
随着互联网技术和智能终端的快速发展,越来越多的人们习惯使用终端来获取网络资源。通常情况下,人们需要购买数据流量来实现终端的上网功能。With the rapid development of Internet technology and smart terminals, more and more people are used to using terminals to obtain network resources. Usually, people need to purchase data traffic to realize the terminal's Internet access function.
与此同时,随着wifi(wireless fidelity,无线宽带)技术的普及,在无线局域网范围内的终端也可以通过连接无线网络,来实现其上网功能,从而可以减少数据流量的使用。At the same time, with the popularization of wifi (wireless fidelity, wireless broadband) technology, terminals within the wireless local area network can also connect to a wireless network to achieve their Internet access function, thereby reducing the use of data traffic.
发明内容Summary of the invention
本申请实施例提出了用于终端的无线网络连接方法。The embodiment of the present application proposes a wireless network connection method for a terminal.
第一方面,本申请实施例提出了一种用于终端的无线网络连接方法,包括:响应于终端的数据网络处于连接状态,对数据流量的消耗状态进行监测;响应于监测到当前数据流量的消耗量达到预设额度,触发网络连接应用以获取终端附近的wifi网络的网络信息;根据获取的网络信息,从中选取wifi网络以作为目标无线网络,并连接目标无线网络。In the first aspect, an embodiment of the present application provides a wireless network connection method for a terminal, which includes: in response to the terminal's data network being connected, monitoring the consumption state of data traffic; in response to monitoring the current data traffic When the consumption reaches the preset limit, the network connection application is triggered to obtain the network information of the wifi network near the terminal; based on the obtained network information, the wifi network is selected as the target wireless network and connected to the target wireless network.
在一些实施例中,对数据流量的消耗状态进行监测,包括:通过抓包工具抓取终端实时收发的数据包,对抓取的数据包进行统计分析,获取数据报文的总大小;根据数据报文的总大小,确定终端的数据流量的消耗量。In some embodiments, monitoring the consumption status of data traffic includes: capturing the data packets sent and received by the terminal in real time through a packet capture tool, performing statistical analysis on the captured data packets, and obtaining the total size of the data packets; based on the data The total size of the packets determines the consumption of data traffic from the terminal.
在一些实施例中,若终端上安装有用于管理流量的应用工具,则对数据流量的消耗状态进行监测,包括:通过应用工具实时监测终端的数据流量的消耗量。In some embodiments, if an application tool for managing traffic is installed on the terminal, monitoring the consumption status of the data traffic includes: monitoring the data traffic consumption of the terminal in real time through the application tool.
在一些实施例中,对数据流量的消耗状态进行监测,包括:基于通信协议 统计终端上安装的各第三方应用的实时流量消耗数据,确定终端的数据流量的消耗量。In some embodiments, monitoring the consumption status of the data traffic includes: collecting real-time traffic consumption data of each third-party application installed on the terminal based on the communication protocol, and determining the data traffic consumption of the terminal.
在一些实施例中,对数据流量的消耗状态进行监测,包括:向运营商服务端发送流量查询请求,以及接收运营商服务端的反馈信息,其中,反馈信息用于描述终端当前的流量消耗状态;根据反馈信息,确定终端的数据流量的消耗量。In some embodiments, monitoring the consumption status of data traffic includes: sending a traffic query request to the operator server and receiving feedback information from the operator server, where the feedback information is used to describe the current traffic consumption status of the terminal; Based on the feedback information, determine the data consumption of the terminal.
在一些实施例中,网络信息包括wifi网络的标识信息;以及根据获取的网络信息,从中选取wifi网络以作为目标无线网络,并连接目标无线网络,包括:接收用户对获取的wifi网络的标识信息的选择操作,将选择操作所指示的wifi网络作为目标无线网络,并将目标无线网络的网络信息发送给服务端;以及接收服务端发送的连接密钥,根据连接密钥连接目标无线网络。In some embodiments, the network information includes identification information of the wifi network; and selecting the wifi network as the target wireless network from the acquired network information and connecting to the target wireless network, including: receiving user identification information of the acquired wifi network , Select the wifi network indicated by the selection operation as the target wireless network, and send the network information of the target wireless network to the server; and receive the connection key sent by the server and connect to the target wireless network according to the connection key.
在一些实施例中,将目标无线网络的网络信息发送给服务端,包括:确定目标无线网络是否为连接过的wifi网络;若目标无线网络不是连接过的wifi网络,则将目标无线网络的网络信息发送给服务端。In some embodiments, sending the network information of the target wireless network to the server includes: determining whether the target wireless network is a connected wifi network; if the target wireless network is not a connected wifi network, sending the network of the target wireless network The information is sent to the server.
在一些实施例中,根据获取的网络信息,从中选取wifi网络以作为目标无线网络,并连接目标无线网络,包括:将获取的网络信息发送给服务端,并接收服务端的响应信息,其中,响应信息包括可用的wifi网络的标识信息和连接密钥;将响应信息中的标识信息所指示的wifi网络作为目标无线网络,并根据响应信息中的连接密钥连接目标无线网络。In some embodiments, selecting the wifi network as the target wireless network from the acquired network information and connecting to the target wireless network includes: sending the acquired network information to the server and receiving response information from the server, where the response The information includes identification information and connection key of the available wifi network; the wifi network indicated by the identification information in the response information is taken as the target wireless network, and the target wireless network is connected according to the connection key in the response information.
在一些实施例中,触发网络连接应用以获取终端附近的wifi网络的网络信息之前,该方法还包括:确定终端的wifi网络开关是否处于开启状态;若wifi网络开关处于关闭状态,则开启wifi网络开关。In some embodiments, before triggering the network connection application to obtain the network information of the wifi network near the terminal, the method further includes: determining whether the wifi network switch of the terminal is on; if the wifi network switch is off, turning on the wifi network switch.
第二方面,本申请实施例提出了一种用于终端的无线网络连接装置,包括:监测单元,被配置成响应于终端的数据网络处于连接状态,对数据流量的消耗状态进行监测;获取单元,被配置成响应于监测到当前数据流量的消耗量达到预设额度,触发网络连接应用以获取终端附近的wifi网络的网络信息;连接单元,被配置成根据获取的网络信息,从中选取wifi网络以作为目标无线网络,并连接目标无线网络。In a second aspect, an embodiment of the present application provides a wireless network connection device for a terminal, including: a monitoring unit configured to monitor the consumption state of data traffic in response to the terminal's data network being in a connected state; an acquisition unit , Is configured to trigger the network connection application to obtain the network information of the wifi network near the terminal in response to monitoring that the current data traffic consumption reaches a preset limit; the connection unit is configured to select a wifi network from the obtained network information Use as the target wireless network and connect to the target wireless network.
第三方面,本申请实施例提出了一种电子设备,包括:一个或多个处理器; 存储装置,其上存储有一个或多个程序;当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如上述第一方面中任一实施例所描述的方法。In a third aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a storage device on which one or more programs are stored; when one or more programs are used by one or more processors The execution causes one or more processors to implement the method as described in any one of the embodiments of the first aspect above.
第四方面,本申请实施例提出了一种计算机可读介质,其上存储有计算机程序,其中,该计算机程序被处理器执行时实现如上述第一方面中任一实施例所描述的方法。According to a fourth aspect, an embodiment of the present application proposes a computer-readable medium on which a computer program is stored, where the computer program is executed by a processor to implement the method described in any one of the embodiments of the first aspect above.
本申请实施例提出的用于终端的无线网络连接方法,在终端的数据网络处于连接状态时,可以对数据流量的消耗状态进行实时监测。且在监测到当前数据流量的消耗量达到预设额度的情况下,可以触发其上的网络连接应用。从而可以获取终端附近的wifi网络的网络信息。进而可以从中选取wifi网络以作为目标无线网络,并连接该目标无线网络。也就是说,通过对数据流量的消耗状态进行实时监测,可以调整无线网络的连接状态。从而可以实现数据流量的使用控制。这样有利于减少或避免数据流量的超额使用,从而降低用户的经济开销。同时,通过灵活、快速地从数据网络切换至wifi网络,还可以有效保障用户的连网需求。The wireless network connection method for a terminal provided by an embodiment of the present application can monitor the consumption state of data traffic in real time when the data network of the terminal is in a connected state. And when it is detected that the current data flow consumption reaches a preset amount, the network connection application on it may be triggered. Thus, the network information of the wifi network near the terminal can be obtained. Furthermore, the wifi network can be selected as the target wireless network and connected to the target wireless network. In other words, by monitoring the consumption status of data traffic in real time, the connection status of the wireless network can be adjusted. Thus, the usage control of data flow can be realized. This helps to reduce or avoid excessive use of data traffic, thereby reducing the user's economic expenses. At the same time, by flexibly and quickly switching from the data network to the wifi network, it can also effectively protect the user's networking needs.
附图说明BRIEF DESCRIPTION
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:By reading the detailed description of the non-limiting embodiments made with reference to the following drawings, other features, objects, and advantages of the present application will become more apparent:
图1是本申请的一个实施例可以应用于其中的示例性系统架构图;FIG. 1 is an exemplary system architecture diagram to which an embodiment of the present application can be applied;
图2是根据本申请的用于终端的无线网络连接方法的第一个实施例的流程图;2 is a flowchart of a first embodiment of a wireless network connection method for a terminal according to the present application;
图3是根据本申请的用于终端的无线网络连接方法的第二个实施例的流程图;3 is a flowchart of a second embodiment of a wireless network connection method for a terminal according to the present application;
图4是根据本申请的用于终端的无线网络连接方法的第三个实施例的流程图;4 is a flowchart of a third embodiment of a wireless network connection method for a terminal according to the present application;
图5是根据本申请的用于终端的无线网络连接方法的第四个实施例的流程图;5 is a flowchart of a fourth embodiment of a wireless network connection method for a terminal according to the present application;
图6是适于用来实现本申请实施例的电子设备的计算机系统的结构示意图。6 is a schematic structural diagram of a computer system suitable for implementing an electronic device according to an embodiment of the present application.
具体实施方式detailed description
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。The present application will be described in further detail below with reference to the drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the related invention, but not to limit the invention. It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other if there is no conflict. The present application will be described in detail below with reference to the drawings and in conjunction with the embodiments.
图1示出了可以应用本申请实施例的用于终端的无线网络连接方法的示例性系统架构100。FIG. 1 shows an exemplary system architecture 100 to which the wireless network connection method for a terminal of the embodiment of the present application can be applied.
如图1所示,系统架构100可以包括终端101、102、103,网络104、105和服务端106。网络104可以用以在终端101、102、103之间提供通信链路的介质。网络105可以用以在终端101、102、103与服务端106之间提供通信链路的介质。网络104、105可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1, the system architecture 100 may include terminals 101, 102, 103, networks 104, 105, and a server 106. The network 104 may be used as a medium for providing communication links between the terminals 101, 102, and 103. The network 105 may be used as a medium for providing a communication link between the terminals 101, 102, 103 and the server 106. The networks 104, 105 may include various connection types, such as wired, wireless communication links, or fiber optic cables.
用户之间可以使用终端101、102、103通过网络104进行交互,以接收或发送消息等。同时,用户还可以使用终端101、102、103通过网络105与服务端106进行交互,以获取信息等。终端101、102、103上可以安装有各种客户端应用,例如网络连接类应用、流量管理类应用、视频类应用、浏览器和即时通讯工具等。Users can use terminals 101, 102, and 103 to interact through the network 104 to receive or send messages. At the same time, the user can also use the terminals 101, 102, 103 to interact with the server 106 through the network 105 to obtain information and the like. Various client applications may be installed on the terminals 101, 102, and 103, such as network connection applications, traffic management applications, video applications, browsers, and instant messaging tools.
在终端101、102、103的数据网络处于连接状态,且wifi网络处于未连接状态的情况下,用户可以利用数据流量来使用终端上安装的各种应用。同时,终端101、102、103可以对数据流量的消耗状态进行实时监测。若当前数据流量的消耗量达到预设额度,则可以触发其上的网络连接应用,以获取其附近的wifi网络的网络信息。并可以从中选取wifi网络以作为目标无线网络,从而连接该目标无线网络。When the data networks of the terminals 101, 102, and 103 are connected and the wifi network is not connected, the user can use data traffic to use various applications installed on the terminal. At the same time, the terminals 101, 102, and 103 can monitor the consumption status of data traffic in real time. If the current data traffic consumption reaches the preset limit, the network connection application on it can be triggered to obtain the network information of the nearby wifi network. And you can choose the wifi network as the target wireless network to connect to the target wireless network.
这里的终端101、102、103可以是硬件,也可以是软件。当终端101、102、103为硬件时,可以是具有网络连接功能的各种电子设备,包括但不限于智能手机、平板电脑、可穿戴设备、电子书阅读器、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、膝上 型便携计算机和台式计算机等等。当终端101、102、103为软件时,可以安装在上述所列举的电子设备中。其可以实现成多个软件或软件模块(例如用来提供分布式服务),也可以实现成单个软件或软件模块。在此不做具体限定。The terminals 101, 102, and 103 here may be hardware or software. When the terminals 101, 102, and 103 are hardware, they can be various electronic devices with network connection functions, including but not limited to smart phones, tablet computers, wearable devices, e-book readers, MP3 players (Moving Pictures Experts Group) Audio Layer III, motion picture expert compression standard audio layer 3), laptops and desktop computers, etc. When the terminals 101, 102, and 103 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example to provide distributed services), or as a single software or software module. There is no specific limit here.
服务端106可以是提供各种服务的服务端,例如可以是对终端101、102、103上安装的各种应用提供支持的后台服务器。后台服务器可以对终端101、102、103发送的wifi网络连接请求进行分析。并可以将分析结果(如wifi网络的连接密钥)发送给终端。这样,终端可以利用该连接密钥实现wifi网络的连接,从而有利于减少数据流量的使用。The server 106 may be a server that provides various services. For example, it may be a background server that supports various applications installed on the terminals 101, 102, and 103. The background server can analyze the wifi network connection requests sent by the terminals 101, 102, and 103. And can send the analysis result (such as the connection key of wifi network) to the terminal. In this way, the terminal can use the connection key to realize the connection of the wifi network, thereby helping to reduce the use of data traffic.
这里的服务端106同样可以是硬件,也可以是软件。当服务端106为硬件时,可以实现成多个服务端组成的分布式服务端集群,也可以实现成单个服务端。当服务端106为软件时,可以实现成多个软件或软件模块(例如用来提供分布式服务),也可以实现成单个软件或软件模块。在此不做具体限定。The server 106 here may also be hardware or software. When the server 106 is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or as a single server. When the server 106 is software, it may be implemented as multiple software or software modules (for example, to provide distributed services), or as a single software or software module. There is no specific limit here.
需要说明的是,本申请实施例所提供的用于终端的无线网络连接方法一般可以由终端101、102、103执行。It should be noted that the wireless network connection method for a terminal provided by the embodiments of the present application may generally be executed by the terminals 101, 102, and 103.
应该理解,图1中的终端、网络和服务端的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端、网络和服务端。It should be understood that the numbers of terminals, networks, and servers in FIG. 1 are only schematic. According to the implementation needs, there can be any number of terminals, networks and servers.
继续参见图2,其示出了根据本申请的用于终端的无线网络连接方法的第一个实施例的流程200。该无线网络连接方法可以包括以下步骤:Continuing to refer to FIG. 2, it shows a flow 200 of the first embodiment of a wireless network connection method for a terminal according to the present application. The wireless network connection method may include the following steps:
步骤201,响应于数据网络处于连接状态,对数据流量的消耗状态进行监测。 Step 201, in response to the data network being connected, monitoring the consumption state of data traffic.
在本实施例中,若电子设备(例如图1所示的终端101、102、103)的数据网络处于连接状态,则可以对数据流量的消耗状态进行实时监测。其中,数据网络通常是指移动网络。如可以包括(但不限于)以下至少一种:3G(第三代移动通讯系统)网络、4G(第四代移动通讯系统)网络和5G(第五代移动通讯系统)网络等。In this embodiment, if the data network of the electronic device (for example, the terminals 101, 102, and 103 shown in FIG. 1) is in a connected state, the consumption state of data traffic can be monitored in real time. Among them, the data network usually refers to the mobile network. For example, it may include (but not limited to) at least one of the following: 3G (third generation mobile communication system) network, 4G (fourth generation mobile communication system) network, and 5G (fifth generation mobile communication system) network.
需要说明的是,此时电子设备的wifi网络处于未连接状态。也就是说,电子设备需要使用数据流量进行通信。其中,wifi(Wireless Fidelity)网络通常是指有别于数据网络的无线连接网络。例如可以包括(但不限于)基于IEEE 802.11b标准的无线局域网。It should be noted that at this time, the wifi network of the electronic device is in a disconnected state. In other words, electronic devices need to use data traffic to communicate. Among them, the wifi (Wireless) Fidelity network usually refers to a wireless connection network different from the data network. For example, it may include (but not limited to) a wireless local area network based on the IEEE802.11b standard.
可以理解的是,在现有的通讯卡(如电话卡、流量卡等)中,根据用户办理的套餐不同,通讯卡中包含的数据流量也不同。例如通讯卡中每月可以有1GB的数据流量,或者每天可以有100MB的数据流量等。It can be understood that, in the existing communication cards (such as telephone cards and flow cards, etc.), according to different packages handled by users, the data flow included in the communication cards is also different. For example, the communication card can have 1GB of data traffic per month, or 100MB of data traffic per day.
在本实施例中,数据流量的消耗状态通常可以用于描述数据流量的消耗情况。如可以包括电子设备在预设时间段(如一个自然月、一天或一小时等)内所消耗的数据流量和/或剩余的数据流量。在这里,电子设备可以通过多种方式来实现数据流量的消耗状态的监测。In this embodiment, the consumption status of data traffic can generally be used to describe the consumption status of data traffic. For example, it may include data traffic consumed by the electronic device within a preset time period (such as a natural month, a day or an hour, etc.) and / or remaining data traffic. Here, the electronic device can monitor the consumption status of data traffic in various ways.
在本实施例的一些可选地实现方式中,电子设备可以通过抓包工具,来抓取其实时收发的数据包。从而可以对抓取的数据包进行统计分析,以获取数据报文的总大小。进而根据数据报文的总大小,可以确定自身数据流量的消耗量。其中,抓包工具和抓取方式在本申请中并不限制。例如Android系统上常用tcpdump抓包工具。In some optional implementations of this embodiment, the electronic device may use a packet capture tool to capture data packets that it sends and receives in real time. Therefore, statistical analysis can be performed on the captured data packets to obtain the total size of the data packets. Furthermore, according to the total size of data packets, you can determine the consumption of your own data traffic. Among them, the packet capture tool and the capture method are not limited in this application. For example, the tcpdump packet capture tool is commonly used on Android systems.
可以理解的是,电子设备(如手机)在通过运营商的网络访问互联网时,运营商一般会替电子设备转发数据报文。数据报文的总大小(字节数)即为电子设备使用的数据流量。这里的数据报文可以包含电子设备上下行(接收和发送)的报文。由于数据报文采用IP(Internet Protocol)协议传输,所以运营商计算的数据流量一般都是包含IP头的数据报文大小。It can be understood that when an electronic device (such as a mobile phone) accesses the Internet through an operator's network, the operator generally forwards data packets for the electronic device. The total size (bytes) of the data message is the data flow used by the electronic device. The data message here may include the upstream and downstream (receive and send) messages of the electronic device. Since data packets are transmitted using the IP (Internet Protocol) protocol, the data flow calculated by the operator is generally the size of the data packet including the IP header.
可选地,若电子设备上安装有用于管理流量的应用工具,则电子设备可以通过该应用工具,来实时监测数据流量的消耗量。这样可以满足不同用户的使用需求,有助于扩大方法的适用范围。Optionally, if an application tool for managing traffic is installed on the electronic device, the electronic device can monitor the consumption of data traffic in real time through the application tool. This can meet the needs of different users and help expand the scope of the method.
进一步地,电子设备也可以基于通信协议,来统计其上安装的各第三方应用的实时流量消耗数据,从而确定自身数据流量的消耗量。作为示例,Android系统通常提供了TCP(Transmission Control Protocol,传输控制协议)收发长度的统计功能。而一般的应用与后台服务器之间的通信都是基于TCP协议。因此,可以利用该统计功能来统计自身消耗的数据流量。这样可以进一步地丰富和完善监测数据流量的消耗状态的方式。Further, the electronic device may also calculate the real-time traffic consumption data of each third-party application installed on the electronic device based on the communication protocol, thereby determining the consumption of its own data traffic. As an example, the Android system generally provides a statistical function of TCP (Transmission Control Protocol) transmission and reception length. The communication between the general application and the background server is based on the TCP protocol. Therefore, the statistical function can be used to count the data traffic consumed by itself. This can further enrich and improve the way of monitoring the consumption status of data traffic.
需要说明的是,Android系统提供的该统计功能往往是按照应用纬度来统计,即每个应用所消耗的数据流量。在获取到各应用的实时流量消耗数据后,电子设备可以确定其自身总的数据流量的消耗量。It should be noted that the statistical function provided by the Android system is often calculated according to the latitude of the application, that is, the data traffic consumed by each application. After acquiring real-time traffic consumption data of each application, the electronic device can determine its own total data traffic consumption.
在一些应用场景中,电子设备还可以向运营商服务端发送流量查询请求。并可以接收运营商服务端发送的与流量查询请求对应的反馈信息。其中,反馈信息可以用于描述电子设备当前的流量消耗状态。例如反馈信息可以包括以下至少一项:流量类型(如正常包月流量、视频定向免流量或实施付费流量等)、剩余流量或流量购买记录等。这样,电子设备可以根据反馈信息,来确定其数据流量的消耗量。In some application scenarios, the electronic device can also send a traffic query request to the operator server. And it can receive the feedback information corresponding to the traffic query request sent by the operator server. The feedback information can be used to describe the current traffic consumption state of the electronic device. For example, the feedback information may include at least one of the following: traffic type (such as normal monthly traffic, video targeted free traffic, or paid traffic, etc.), remaining traffic, or traffic purchase records, etc. In this way, the electronic device can determine the consumption of its data traffic according to the feedback information.
需要说明的是,上述流量查询请求中通常可以包括电子设备所使用的通讯卡(如SIM卡(Subscriber Identity Module,客户识别模块))对应的手机号码。It should be noted that the above traffic query request may generally include a mobile phone number corresponding to a communication card (such as a SIM card (Subscriber Identity Module, customer identification module)) used by an electronic device.
步骤202,响应于监测到当前数据流量的消耗量达到预设额度,触发网络连接应用以获取附近的wifi网络的网络信息。 Step 202, in response to monitoring that the current data traffic consumption reaches a preset amount, trigger a network connection application to obtain network information of a nearby wifi network.
在本实施例中,若电子设备监测到当前数据流量的消耗量达到预设额度,则可以触发网络连接应用。从而可以获取其附近(即当前位置位于wifi网络覆盖范围内)的wifi网络的网络信息。其中,预设额度可以根据实际情况进行设置。例如预设额度可以(但不限于)是以下至少一种:每月的总流量额度、总流量额度的90%或每日流量消耗的上限额度等。用户可以在电子设备的系统中或上述应用工具中来设置该预设额度。In this embodiment, if the electronic device detects that the current data traffic consumption reaches a preset amount, it may trigger the network connection application. Therefore, the network information of the wifi network near it (that is, the current location is within the coverage of the wifi network) can be obtained. Among them, the preset amount can be set according to the actual situation. For example, the preset quota may be (but not limited to) at least one of the following: a monthly total traffic quota, 90% of the total traffic quota, or an upper limit quota for daily traffic consumption, and so on. The user can set the preset amount in the system of the electronic device or the above-mentioned application tool.
在本实施例中,网络连接应用可以是用于实现wifi网络连接的应用。例如可以是电子设备上安装的第三方网络连接应用,也可以是电子设备系统中的应用(如wifi网络开关)。这里的网络信息可以用于描述wifi网络的相关信息。例如可以包括(但不限于)以下至少一项:wifi网络的名称、信号强度、是否设置有连接密钥、连接密钥等。In this embodiment, the network connection application may be an application for implementing wifi network connection. For example, it may be a third-party network connection application installed on the electronic device, or an application in the electronic device system (such as a wifi network switch). The network information here can be used to describe relevant information of the wifi network. For example, it may include (but not limited to) at least one of the following: the name of the wifi network, signal strength, whether a connection key is set, a connection key, etc.
可以理解的是,电子设备的wifi网络处于未连接状态的原因,可能是电子设备的网络连接应用处于关闭状态。即没有开启连接wifi网络的功能。也有可能是电子设备的网络连接应用处于开启状态,但没有连接wifi网络,或者附近没有可用的wifi网络等。因此,上述触发操作在本申请中并不限制。例如可以是电子设备开启尚未运行的网络连接应用。又例如可以是电子设备将后台运行的网络连接应用开启至前端运行。It can be understood that the reason why the wifi network of the electronic device is in an unconnected state may be that the network connection application of the electronic device is in a closed state. That is, the function of connecting to the wifi network is not turned on. It is also possible that the network connection application of the electronic device is turned on, but the wifi network is not connected, or there is no wifi network available nearby. Therefore, the above trigger operation is not limited in this application. For example, the electronic device may start a network connection application that is not yet running. For another example, the electronic device may enable the network connection application running in the background to run on the front end.
步骤203,根据获取的网络信息,从中选取wifi网络以作为目标无线网 络,并连接目标无线网络。Step 203: Select the wifi network as the target wireless network from the obtained network information, and connect to the target wireless network.
在本实施例中,电子设备可以根据步骤202中获取的网络信息,从中选取wifi网络以作为目标无线网络。并且电子设备可以获取目标无线网络的连接密钥,从而连接该目标无线网络。这样可以减少或避免电子设备继续使用数据流量。从而有助于减少或避免数据流量的超额使用,从而降低超额数据流量产生的费用。In this embodiment, the electronic device may select the wifi network as the target wireless network according to the network information acquired in step 202. And the electronic device can acquire the connection key of the target wireless network, thereby connecting to the target wireless network. This can reduce or prevent electronic devices from continuing to use data traffic. This helps reduce or avoid excessive use of data traffic, thereby reducing the cost of excess data traffic.
这里的选取操作可以是电子设备执行的,也可以是用户或其他设备执行的。此外,连接密钥可以是电子设备本地预先存储的,也可以是用户输入的,还可以是电子设备从其他设备中获取的。通常情况下,电子设备可以将获取到的wifi网络的网络信息呈现给用户。这样,用户可以查阅和/或选取所需连接的wifi网络。The selection operation here may be performed by an electronic device, or may be performed by a user or other devices. In addition, the connection key may be pre-stored locally in the electronic device, or may be input by the user, or may be obtained by the electronic device from other devices. Generally, the electronic device can present the acquired network information of the wifi network to the user. In this way, the user can consult and / or select the wifi network to be connected.
本实施例提供的用于终端的无线网络连接方法,在终端的数据网络处于连接状态时,可以对数据流量的消耗状态进行实时监测。且在监测到当前数据流量的消耗量达到预设额度的情况下,可以触发其上的网络连接应用。从而可以获取终端附近的wifi网络的网络信息。进而可以从中选取wifi网络以作为目标无线网络,并连接该目标无线网络。也就是说,通过对数据流量的消耗状态进行实时监测,可以调整无线网络的连接状态。从而可以实现数据流量的使用控制。这样有利于减少或避免数据流量的超额使用,从而降低用户的经济开销。同时,通过灵活、快速地从数据网络切换至wifi网络,还可以有效保障用户的连网需求。The wireless network connection method for a terminal provided in this embodiment can monitor the consumption state of data traffic in real time when the data network of the terminal is in a connected state. And when it is detected that the current data flow consumption reaches a preset amount, the network connection application on it may be triggered. Thus, the network information of the wifi network near the terminal can be obtained. Furthermore, the wifi network can be selected as the target wireless network and connected to the target wireless network. In other words, by monitoring the consumption status of data traffic in real time, the connection status of the wireless network can be adjusted. Thus, the usage control of data flow can be realized. This helps to reduce or avoid excessive use of data traffic, thereby reducing the user's economic expenses. At the same time, by flexibly and quickly switching from the data network to the wifi network, it can also effectively protect the user's networking needs.
进一步参见图3,其示出了根据本申请的用于终端的无线网络连接方法的第二个实施例的流程300。该无线网络连接方法可以包括以下步骤:Further referring to FIG. 3, it shows a flow 300 of a second embodiment of a wireless network connection method for a terminal according to the present application. The wireless network connection method may include the following steps:
步骤301,响应于数据网络处于连接状态,对数据流量的消耗状态进行监测。 Step 301, in response to the data network being connected, monitoring the consumption state of the data traffic.
在本实施例中,若电子设备(例如图1所示的终端101、102、103)的数据网络处于连接状态,则可以对数据流量的消耗状态进行实时监测。具体可以参见图2实施例的步骤201中的相关描述,此处不再赘述。In this embodiment, if the data network of the electronic device (for example, the terminals 101, 102, and 103 shown in FIG. 1) is in a connected state, the consumption state of data traffic can be monitored in real time. For details, reference may be made to the relevant description in step 201 of the embodiment in FIG. 2, and details are not described herein again.
步骤302,响应于监测到当前数据流量的消耗量达到预设额度,触发网络连接应用以获取附近的wifi网络的网络信息。可以参见图2实施例的步骤202 中的相关描述,此处不再赘述。 Step 302, in response to monitoring that the current data traffic consumption reaches a preset limit, trigger a network connection application to obtain network information of a nearby wifi network. Reference may be made to the relevant description in step 202 of the embodiment in FIG. 2, and details are not repeated here.
在本实施例中,网络连接应用可以包括第三方网络连接应用。也就是说,在电子设备上安装有第三方网络连接应用的情况下,电子设备可以触发该第三方网络连接应用。并且可以通过其来获取附近的wifi网络的网络信息。其中,网络信息可以包括wifi网络的标识信息。这里的标识信息可以用于唯一表示wifi网络。其可以包括数字、字母、符号等字符中的至少一种。例如标识信息可以(但不限于)是SSID(Service Set Identifier,服务集标识,即无线网络的名称)或BSSID(Basic Service Set)等。In this embodiment, the network connection application may include a third-party network connection application. That is to say, in the case where the third-party network connection application is installed on the electronic device, the electronic device can trigger the third-party network connection application. And you can use it to get the network information of the nearby wifi network. The network information may include identification information of the wifi network. The identification information here can be used to uniquely represent the wifi network. It may include at least one of characters such as numbers, letters, and symbols. For example, the identification information may be (but not limited to) SSID (Service Set Identifier, Service Set Identifier, that is, the name of the wireless network) or BSSID (Basic Service Set).
需要说明的是,为了能够获取到wifi网络的网络信息,电子设备还需要保证其上的wifi网络开关处于开启状态。也就是说,在触发第三方网络连接应用,来获取附近的wifi网络的网络信息之前,电子设备可以确定其上的wifi网络开关是否处于开启状态。若wifi网络开关处于关闭状态,则可以开启该wifi网络开关。It should be noted that, in order to obtain the network information of the wifi network, the electronic device also needs to ensure that the wifi network switch on it is turned on. That is to say, before triggering a third-party network connection application to obtain network information of a nearby wifi network, the electronic device can determine whether the wifi network switch on it is in the on state. If the wifi network switch is off, the wifi network switch can be turned on.
步骤303,接收用户对获取的wifi网络的标识信息的选择操作,将选择操作所指示的wifi网络作为目标无线网络,并将目标无线网络的网络信息发送给服务端。Step 303: Receive a user's selection operation on the acquired identification information of the wifi network, use the wifi network indicated by the selection operation as the target wireless network, and send the network information of the target wireless network to the server.
在本实施例中,电子设备可以将获取的wifi网络的网络信息呈现给用户,以提示用户选取所需连接的wifi网络。这样,电子设备可以接收用户对获取的wifi网络的标识信息的选择操作。并且可以将选择操作所指示的wifi网络作为目标无线网络。以及电子设备可以通过第三方网络连接应用,将目标无线网络的网络信息发送给服务端(例如图1所示的服务端106)。这样,服务端可以采用现有技术或其他方式,来确定目标无线网络的连接密钥,并返回给电子设备。此处不再赘述。In this embodiment, the electronic device may present the acquired network information of the wifi network to the user to prompt the user to select the wifi network to be connected. In this way, the electronic device can receive the user's selection operation on the acquired identification information of the wifi network. And the wifi network indicated by the selection operation can be used as the target wireless network. And the electronic device can connect to the application through a third-party network and send the network information of the target wireless network to the server (for example, the server 106 shown in FIG. 1). In this way, the server can use the existing technology or other methods to determine the connection key of the target wireless network and return it to the electronic device. I won't repeat them here.
可以理解的是,通常情况下,电子设备可以对连接过的wifi网络的标识信息以及连接密钥进行存储。因此,为了提高网络的连接效率,可选地,电子设备首先可以确定目标无线网络是否为连接过的wifi网络。若目标无线网络为连接过的wifi网络,则可以根据存储的连接密钥连接该目标无线网络。若目标无线网络不是连接过的wifi网络,则可以将目标无线网络的网络信息发送给服务端。It can be understood that, under normal circumstances, the electronic device may store the identification information of the connected wifi network and the connection key. Therefore, in order to improve the connection efficiency of the network, optionally, the electronic device can first determine whether the target wireless network is a connected wifi network. If the target wireless network is a connected wifi network, the target wireless network can be connected according to the stored connection key. If the target wireless network is not a connected wifi network, the network information of the target wireless network can be sent to the server.
此外,这里的呈现方式在本申请中并不限制。例如可以在第三方网络连接应用的应用界面将网络信息显示给用户。又例如,可以在wifi网络开关的页面将网络信息显示给用户。和/或可以通过语音播报的方式将网络信息呈现给用户。In addition, the presentation here is not limited in this application. For example, the network information can be displayed to the user on the application interface of the third-party network connection application. For another example, the network information can be displayed to the user on the wifi network switch page. And / or network information can be presented to the user through voice broadcast.
步骤304,接收服务端发送的连接密钥,根据连接密钥连接目标无线网络。Step 304: Receive the connection key sent by the server and connect to the target wireless network according to the connection key.
在本实施例中,电子设备在接收到服务端发送的连接密钥时,可以通过第三方网络连接应用,根据该连接密钥连接目标无线网络,从而减少数据流量的消耗。可以理解的是,电子设备在成功连接目标无线网络的情况下,也可以对目标无线网络的标识信息和连接密钥进行存储。In this embodiment, when receiving the connection key sent by the server, the electronic device can connect to the application through a third-party network and connect to the target wireless network according to the connection key, thereby reducing the consumption of data traffic. It can be understood that, in the case where the electronic device is successfully connected to the target wireless network, the identification information and the connection key of the target wireless network may also be stored.
本实施例提供的用于终端的无线网络连接方法,在监测到当前数据流量的消耗量达到预设额度的情况下,可以通过触发终端上所安装的第三方网络连接应用,来获取其附近的无线网络的网络信息。从而可以实现用户所选取的wifi网络的连接,有利于减少数据流量的使用。这样可以丰富和完善无线网络连接方法的过程,可以满足不同用户的使用需求,有助于扩大方法的使用范围。The wireless network connection method for a terminal provided in this embodiment, when it is detected that the current data traffic consumption reaches a preset amount, can trigger the third-party network connection application installed on the terminal to obtain its nearby Network information of wireless network. Therefore, the connection of the wifi network selected by the user can be realized, which is beneficial to reducing the use of data traffic. This can enrich and improve the process of the wireless network connection method, can meet the needs of different users, and help expand the use of the method.
在一些应用场景中,上述网络信息也可以包括wifi网络的连接密钥。此时,电子设备在接收到用户对获取的wifi网络的标识信息的选择操作时,可以将选择操作所指示的wifi网络作为目标无线网络。并且可以根据目标无线网络的网络信息中的连接密钥,来实现目标无线网络的连接。这样有助于提高网络的连接效率。并且即使电子设备与服务端之间的通信出现问题,也不会对wifi网络的连接产生影响。In some application scenarios, the above network information may also include a connection key of the wifi network. At this time, when receiving the user's selection operation on the acquired identification information of the wifi network, the electronic device may use the wifi network indicated by the selection operation as the target wireless network. And the connection of the target wireless network can be realized according to the connection key in the network information of the target wireless network. This helps improve the efficiency of the network connection. And even if there is a problem in the communication between the electronic device and the server, it will not affect the connection of the wifi network.
可选地,电子设备也可以代替用户进行wifi网络的选取。例如电子设备可以通过第三方网络连接应用,对获取的wifi网络的标识信息进行选取。并且可以将自动选取的wifi网络作为目标无线网络。进而将目标无线网络的网络信息发送给服务端,以获取其连接密钥。或者根据网络信息中的连接密钥实现连接。这样可以简化或减少用户操作,提高连接效率。同时,上述过程可以是在电子设备后端运行的。这样不会对前端的运行操作产生干扰影响,有助于提高用户体验。Optionally, the electronic device can also select the wifi network instead of the user. For example, the electronic device can connect to the application through a third-party network to select the acquired identification information of the wifi network. And you can use the automatically selected wifi network as the target wireless network. Furthermore, the network information of the target wireless network is sent to the server to obtain its connection key. Or connect according to the connection key in the network information. This can simplify or reduce user operations and improve connection efficiency. At the same time, the above process may be run on the back end of the electronic device. This will not interfere with the operation of the front end and help improve the user experience.
需要说明的是,上述选取方式在本申请中并不限制。例如电子设备可以采用(但不限于)以下至少一种方式:选取信号强度更强的、选取信号更稳定的、 选取网络更快的、选取距离电子设备更近的、选取被连接次数更多的、选取当前所连接的设备较多或较少的wifi网络。在这里,电子设备可以从网络信息中来获取上述数据。It should be noted that the above selection method is not limited in this application. For example, the electronic device may adopt (but not limited to) at least one of the following methods: select a stronger signal strength, select a more stable signal, select a faster network, select a closer to the electronic device, select more connected times 2. Select a wifi network with more or less connected devices. Here, the electronic device can obtain the above data from the network information.
请参见图4,其示出了根据本申请的用于终端的无线网络连接方法的第三个实施例的流程400。该无线网络连接方法可以包括以下步骤:Please refer to FIG. 4, which shows a flow 400 of a third embodiment of a wireless network connection method for a terminal according to the present application. The wireless network connection method may include the following steps:
步骤401,响应于数据网络处于连接状态,对数据流量的消耗状态进行监测。可以参见图3实施例的步骤301中的相关描述,此处不再赘述。Step 401: In response to the data network being connected, monitor the consumption state of data traffic. Reference may be made to the relevant description in step 301 in the embodiment of FIG. 3, and details are not described herein again.
步骤402,响应于监测到当前数据流量的消耗量达到预设额度,触发网络连接应用以获取附近的wifi网络的网络信息。这里的网络信息可以包括以下至少一项:wifi网络的标识信息、信号强度、稳定性或网速等。可以参见图3实施例的步骤302中的相关描述,此处不再赘述。 Step 402, in response to monitoring that the current data traffic consumption reaches a preset limit, trigger a network connection application to obtain network information of a nearby wifi network. The network information here may include at least one of the following: identification information of the wifi network, signal strength, stability or network speed, etc. Reference may be made to the relevant description in step 302 in the embodiment of FIG. 3, and details are not described herein again.
步骤403,将获取的网络信息发送给服务端,并接收服务端的响应信息。Step 403: Send the acquired network information to the server, and receive the response information from the server.
在本实施例中,电子设备也可以通过第三方网络连接应用,将获取的网络信息发送给服务端(例如图1所示的服务端106)。这样,服务端可以根据网络信息,从中选取可用的wifi网络。如能够确定连接密钥的wifi网络,或者信号强度较强且稳定性较好的wifi网络。并且服务端可以确定可用的wifi网络的连接密钥。从而生成响应信息返回给电子设备。其中,响应信息可以包括可用的wifi网络的标识信息和连接密钥。这样,电子设备可以接收该响应信息。In this embodiment, the electronic device may also connect to the application through a third-party network and send the acquired network information to the server (for example, the server 106 shown in FIG. 1). In this way, the server can select the available wifi network from the network information. For example, a wifi network that can determine the connection key, or a wifi network with strong signal strength and good stability. And the server can determine the available wifi network connection key. Thus, response information is generated and returned to the electronic device. The response information may include identification information and connection key of the available wifi network. In this way, the electronic device can receive the response information.
步骤404,将响应信息中的标识信息所指示的wifi网络作为目标无线网络,并根据响应信息中的连接密钥连接目标无线网络。Step 404: Use the wifi network indicated by the identification information in the response information as the target wireless network, and connect to the target wireless network according to the connection key in the response information.
在本实施例中,电子设备可以将响应信息中的wifi网络的标识信息所指示的wifi网络作为目标无线网络。并且可以通过第三方网络连接应用,根据响应信息中的wifi网络的连接密钥,来连接该目标无线网络。In this embodiment, the electronic device may use the wifi network indicated by the identification information of the wifi network in the response information as the target wireless network. And the application can be connected through a third-party network, and the target wireless network can be connected according to the connection key of the wifi network in the response information.
本实施例提出的用于终端的无线网络连接方法,在监测到当前数据流量的消耗量达到预设额度的情况下,可以通过触发终端上所安装的第三方网络连接应用,来获取其附近的wifi网络的网络信息。并可以将网络信息发送给服务端,以选取可用的wifi网络。从而实现可用的wifi网络的连接。这样不仅进一步丰富了无线网络连接方法的过程,扩大方法的使用范围。还可以减少或简 化用户的操作。也有助于使连接的无线网络更加符合用户的需求。The wireless network connection method for a terminal proposed in this embodiment, when it is detected that the current data traffic consumption reaches a preset amount, can trigger the third-party network connection application installed on the terminal to obtain its nearby Network information of wifi network. And can send the network information to the server to select the available wifi network. In order to achieve the connection of the available wifi network. This not only further enriches the process of the wireless network connection method, but also expands the use of the method. It can also reduce or simplify user operations. It also helps to make the connected wireless network more in line with user needs.
进一步参见图5,其示出了根据本申请的用于终端的无线网络连接方法的第四个实施例的流程500。该无线网络连接方法可以包括以下步骤:Further referring to FIG. 5, it shows a flow 500 of a fourth embodiment of a wireless network connection method for a terminal according to the present application. The wireless network connection method may include the following steps:
步骤501,响应于数据网络处于连接状态,对数据流量的消耗状态进行监测。可以参见图2实施例的步骤201中的相关描述,此处不再赘述。Step 501: In response to the data network being connected, monitor the consumption state of data traffic. Reference may be made to the relevant description in step 201 of the embodiment in FIG. 2, and details are not described here.
步骤502,响应于监测到当前数据流量的消耗量达到预设额度,触发网络连接应用以获取附近的wifi网络的网络信息。可以参见图2实施例的步骤202中的相关描述,此处不再赘述。 Step 502, in response to monitoring that the current data traffic consumption reaches a preset amount, trigger a network connection application to obtain network information of a nearby wifi network. Reference may be made to the relevant description in step 202 of the embodiment in FIG. 2, and details are not repeated here.
在这里,网络连接应用可以包括电子设备系统中的应用。该应用可以用于实现wifi网络的连接,如wifi网络开关。这样,电子设备可以通过wifi网络开关,来获取其附近的wifi网络的网络信息。其中,网络信息可以包括wifi网络的标识信息。Here, the network connection application may include an application in an electronic device system. This application can be used to implement wifi network connection, such as wifi network switch. In this way, the electronic device can obtain the network information of the nearby wifi network through the wifi network switch. The network information may include identification information of the wifi network.
步骤503,确定获取的wifi网络的标识信息中是否包含连接过的wifi网络的标识信息。Step 503: Determine whether the acquired identification information of the wifi network contains identification information of the connected wifi network.
在本实施例中,为了提高连接效率,电子设备可以将存储的连接过的wifi网络的标识信息,在获取的wifi网络的标识信息中进行匹配。从而可以确定其中是否包含连接过的wifi网络的标识信息。若包含连接过的wifi网络的标识信息,则电子设备可以继续执行步骤504。In this embodiment, in order to improve the connection efficiency, the electronic device may match the stored identification information of the connected wifi network with the acquired identification information of the wifi network. Therefore, it can be determined whether the identification information of the connected wifi network is included. If the identification information of the connected wifi network is included, the electronic device may continue to perform step 504.
步骤504,将连接过的wifi网络作为目标无线网络。Step 504: Use the connected wifi network as the target wireless network.
在本实施例中,若获取的wifi网络的标识信息中包含连接过的wifi网络的标识信息,则电子设备可以将获取的wifi网络中所包含的,且连接过的wifi网络作为目标无线网络。In this embodiment, if the acquired identification information of the wifi network includes identification information of the connected wifi network, the electronic device may use the connected wifi network included in the acquired wifi network as the target wireless network.
可选地,上述网络信息还可以包括以下至少一项:wifi网络的信号强度、稳定性或网速。此时,若获取的wifi网络的标识信息中包含至少两个连接过的wifi网络的标识信息,则电子设备可以通过以下至少一种方式来确定目标无线网络:如在至少两个连接过的wifi网络中,可以将信号强度更强的wifi网络作为目标无线网络;或者可以将稳定性更好的wifi网络作为目标无线网络;再或者可以将网速更快的wifi网络作为目标无线网络。这样更加符合实际应用情况,也有助于使目标无线网络更加满足用户的使用需求。Optionally, the above network information may further include at least one of the following: the signal strength, stability or network speed of the wifi network. At this time, if the obtained identification information of the wifi network includes identification information of at least two connected wifi networks, the electronic device may determine the target wireless network in at least one of the following ways: for example, in at least two connected wifi networks In the network, the wifi network with stronger signal strength can be used as the target wireless network; or the wifi network with better stability can be used as the target wireless network; or the wifi network with faster network speed can be used as the target wireless network. This is more in line with the actual application situation, and also helps to make the target wireless network more meet the user's needs.
步骤505,根据存储的连接密钥连接目标无线网络。Step 505: Connect to the target wireless network according to the stored connection key.
在本实施例中,电子设备可以在存储的连接密钥中,查找与目标无线网络对应的连接密钥。从而根据该连接密钥,可以通过wifi网络开关,来连接目标无线网络。In this embodiment, the electronic device may search for the connection key corresponding to the target wireless network among the stored connection keys. Therefore, according to the connection key, the target wireless network can be connected through the wifi network switch.
可以理解的是,上述连接过程可以是在电子设备的后台运行的。这样对用户的前端操作不会产生干扰和影响,有助于提高用户的使用体验。在一些应用场景中,若获取的wifi网络的标识信息中不包含连接过的wifi网络的标识信息,如第一次设置wifi网络的连接,则电子设备可以在wifi网络开关的页面,将获取的wifi网络的网络信息呈现给用户。这样用户可以从中选取所需连接的wifi网络。或者,在安装有第三方网络连接应用的情况下,电子设备也可以开启其上的第三方网络连接应用,从而实现wifi网络的连接。具体可以参见图3和图4实施例中的相关描述,此处不再赘述。It can be understood that the above connection process may be run in the background of the electronic device. In this way, there will be no interference and impact on the user's front-end operation, which helps to improve the user's experience. In some application scenarios, if the obtained identification information of the wifi network does not include the identification information of the connected wifi network, such as setting up the connection of the wifi network for the first time, the electronic device may access the wifi network switch page The network information of the wifi network is presented to the user. In this way, the user can select the wifi network to be connected. Or, in the case where the third-party network connection application is installed, the electronic device can also start the third-party network connection application on it, thereby achieving the connection of the wifi network. For details, reference may be made to related descriptions in the embodiments of FIG. 3 and FIG. 4, and details are not described herein again.
本实施例提供的用于终端的无线网络连接方法,在监测到当前数据流量的消耗量达到预设额度的情况下,可以通过触发终端上的wifi网络开关,来获取其附近的wifi网络的网络信息。从而实现连接过的wifi网络的连接,进而减少数据流量的使用。这样可以更加丰富和完善无线网络连接方法的过程。The wireless network connection method for a terminal provided in this embodiment can obtain the network of the nearby wifi network by triggering the wifi network switch on the terminal when it is detected that the current data traffic consumption reaches a preset amount information. In order to achieve the connection of the connected wifi network, and thus reduce the use of data traffic. This can enrich and improve the process of the wireless network connection method.
可以理解的是,对于上述各实施例中,网络信息的获取过程、目标无线网络的选取过程以及目标无线网络的连接过程,可以是由电子设备上的第三方网络连接和/或wifi网络开关来执行的。在本申请中并不限制。例如在一些应用系统中,第三方网络应用可以获取附近的wifi网络的网络信息。而wifi网络开关的页面可以呈现这些网络信息,并进行目标无线网络的选取。之后第三方网络应用可以进行目标无线网络的连接。It can be understood that, in the foregoing embodiments, the network information acquisition process, the target wireless network selection process, and the target wireless network connection process may be performed by a third-party network connection and / or wifi network switch on the electronic device. implemented. There are no restrictions in this application. For example, in some application systems, third-party network applications can obtain network information of nearby wifi networks. The wifi network switch page can present these network information and select the target wireless network. Then the third-party network application can connect to the target wireless network.
下面参见图6,其示出了适于用来实现本申请实施例的电子设备(例如图1所示的终端101、102、103)的计算机系统600的结构示意图。图6示出的电子设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Next, referring to FIG. 6, it shows a schematic structural diagram of a computer system 600 suitable for implementing electronic devices (for example, the terminals 101, 102, and 103 shown in FIG. 1) of the embodiments of the present application. The electronic device shown in FIG. 6 is only an example, and should not bring any limitation to the functions and use scope of the embodiments of the present application.
如图6所示,计算机系统600包括中央处理单元(CPU)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储部分608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有系统600操作所需的各种程序和数据。CPU 601、ROM 602以及RAM 603通 过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。As shown in FIG. 6, the computer system 600 includes a central processing unit (CPU) 601 that can be loaded into a random access memory (RAM) 603 from a program stored in a read-only memory (ROM) 602 or from a storage section 608 Instead, perform various appropriate actions and processing. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
以下部件连接至I/O接口605:包括触摸屏、按键、麦克风、摄像头等的输入部分606;包括诸如液晶显示器(LCD)和/或扬声器等的输出部分607;包括硬盘等的存储部分608;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分609。通信部分609经由诸如因特网的网络执行通信处理。驱动器610也根据需要连接至I/O接口605。可拆卸介质611,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器610上,以便于从其上读出的计算机程序根据需要被安装入存储部分608。The following components are connected to the I / O interface 605: an input portion 606 including a touch screen, keys, microphone, camera, etc .; an output portion 607 including a liquid crystal display (LCD) and / or speakers, etc .; a storage portion 608 including a hard disk, etc .; and The communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. The driver 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is installed on the drive 610 as necessary, so that the computer program read out therefrom is installed into the storage section 608 as needed.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分609从网络上被下载和安装,和/或从可拆卸介质611被安装。在该计算机程序被中央处理单元(CPU)601执行时,执行本申请的方法中限定的上述功能。需要说明的是,本申请的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可 以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product that includes a computer program carried on a computer-readable medium, the computer program containing program code for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network through the communication section 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the method of the present application are executed. It should be noted that the computer-readable medium of the present application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination of the above. More specific examples of computer readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable removable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing. In this application, the computer-readable medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device. In this application, the computer-readable signal medium may include a data signal that is propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. . The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the drawings illustrate the possible implementation architecture, functions, and operations of the system, method, and computer program product according to various embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, program segment, or part of code that contains one or more logic functions Executable instructions. It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks represented in succession may actually be executed in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented with dedicated hardware-based systems that perform specified functions or operations Or, it can be realized by a combination of dedicated hardware and computer instructions.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括监测单元、获取单元和连接单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如监测单元还可以被描述为“对数据流量的消耗状态进行监测的单元”。The units described in the embodiments of the present application may be implemented in software or hardware. The described unit may also be provided in the processor. For example, it may be described as: a processor includes a monitoring unit, an acquisition unit, and a connection unit. Among them, the names of these units do not constitute a limitation on the unit itself under certain circumstances. For example, the monitoring unit can also be described as "a unit that monitors the consumption status of data traffic."
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。例如,上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:响应于其上的数据网络处于连接状态,对数据流量的消耗状态进行监测;响应于监测到当前数据流量的消耗量达到预设额度,触发网络连接应用以获取其附近的wifi网络的网络信息;根据获取的网络信息,从中选取wifi网络以作为目标无线网络,并连接目标无线网络。As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the foregoing embodiment; or may exist alone without being assembled into the electronic device in. For example, the computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device causes the electronic device to consume data traffic in response to the data network on the device being connected. Status monitoring; in response to monitoring that the current data traffic consumption reaches a preset amount, trigger a network connection application to obtain network information of the nearby wifi network; based on the obtained network information, select the wifi network as the target wireless network And connect to the target wireless network.
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征 与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only the preferred embodiment of the present application and the explanation of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solution formed by the specific combination of the above technical features, but should also cover the above technical features or without departing from the above inventive concept. Other technical solutions formed by arbitrary combinations of equivalent features. For example, a technical solution formed by replacing the above features with technical features disclosed in this application (but not limited to) having similar functions.

Claims (11)

  1. 一种用于终端的无线网络连接方法,包括:A wireless network connection method for a terminal, including:
    响应于终端的数据网络处于连接状态,对数据流量的消耗状态进行监测;In response to the terminal's data network being connected, monitor the consumption status of data traffic;
    响应于监测到当前数据流量的消耗量达到预设额度,触发网络连接应用以获取所述终端附近的wifi网络的网络信息;In response to monitoring that the current data traffic consumption reaches a preset amount, trigger a network connection application to obtain network information of the wifi network near the terminal;
    根据获取的网络信息,从中选取wifi网络以作为目标无线网络,并连接所述目标无线网络。Based on the obtained network information, a wifi network is selected as the target wireless network, and the target wireless network is connected.
  2. 根据权利要求1所述的方法,其中,所述对数据流量的消耗状态进行监测,包括:The method according to claim 1, wherein the monitoring of the consumption status of data traffic includes:
    通过抓包工具抓取所述终端实时收发的数据包,对抓取的数据包进行统计分析,获取数据报文的总大小;根据数据报文的总大小,确定所述终端的数据流量的消耗量。Use the packet capture tool to capture the real-time data packets sent and received by the terminal, perform statistical analysis on the captured data packets to obtain the total size of the data packets; determine the data traffic consumption of the terminal according to the total size of the data packets the amount.
  3. 根据权利要求1所述的方法,其中,若所述终端上安装有用于管理流量的应用工具,则所述对数据流量的消耗状态进行监测,包括:The method according to claim 1, wherein, if an application tool for managing traffic is installed on the terminal, the monitoring of the consumption status of data traffic includes:
    通过所述应用工具实时监测所述终端的数据流量的消耗量。The application tool monitors the data traffic consumption of the terminal in real time.
  4. 根据权利要求1所述的方法,其中,所述对数据流量的消耗状态进行监测,包括:The method according to claim 1, wherein the monitoring of the consumption status of data traffic includes:
    基于通信协议统计所述终端上安装的各第三方应用的实时流量消耗数据,确定所述终端的数据流量的消耗量。The real-time traffic consumption data of each third-party application installed on the terminal is counted based on the communication protocol to determine the data traffic consumption of the terminal.
  5. 根据权利要求1所述的方法,其中,所述对数据流量的消耗状态进行监测,包括:The method according to claim 1, wherein the monitoring of the consumption status of data traffic includes:
    向运营商服务端发送流量查询请求,以及接收所述运营商服务端的反馈信息,其中,所述反馈信息用于描述终端当前的流量消耗状态;根据所述反馈信息,确定所述终端的数据流量的消耗量。Send a traffic query request to the operator server and receive feedback information from the operator server, where the feedback information is used to describe the current traffic consumption state of the terminal; based on the feedback information, determine the data traffic of the terminal Consumption.
  6. 根据权利要求1所述的方法,其中,所述网络信息包括wifi网络的标识信息;以及The method according to claim 1, wherein the network information includes identification information of a wifi network; and
    所述根据获取的网络信息,从中选取wifi网络以作为目标无线网络,并连接所述目标无线网络,包括:According to the obtained network information, selecting a wifi network as a target wireless network and connecting the target wireless network includes:
    接收用户对获取的wifi网络的标识信息的选择操作,将所述选择操作所指示的wifi网络作为目标无线网络,并将所述目标无线网络的网络信息发送给服务端;以及接收所述服务端发送的连接密钥,根据所述连接密钥连接所述目标无线网络。Receiving a user's selection operation on the acquired identification information of the wifi network, using the wifi network indicated by the selection operation as the target wireless network, and sending the network information of the target wireless network to the server; and receiving the server The sent connection key connects to the target wireless network according to the connection key.
  7. 根据权利要求6所述的方法,其中,所述将所述目标无线网络的网络信息发送给服务端,包括:The method according to claim 6, wherein the sending network information of the target wireless network to a server includes:
    确定所述目标无线网络是否为连接过的wifi网络;若所述目标无线网络不是连接过的wifi网络,则将所述目标无线网络的网络信息发送给服务端。Determine whether the target wireless network is a connected wifi network; if the target wireless network is not a connected wifi network, send the network information of the target wireless network to the server.
  8. 根据权利要求1所述的方法,其中,所述根据获取的网络信息,从中选取wifi网络以作为目标无线网络,并连接所述目标无线网络,包括:The method according to claim 1, wherein the selecting a wifi network from the acquired network information as a target wireless network and connecting the target wireless network includes:
    将获取的网络信息发送给服务端,并接收所述服务端的响应信息,其中,所述响应信息包括可用的wifi网络的标识信息和连接密钥;将所述响应信息中的标识信息所指示的wifi网络作为目标无线网络,并根据所述响应信息中的连接密钥连接所述目标无线网络。Send the obtained network information to the server, and receive the response information of the server, wherein the response information includes identification information and connection key of the available wifi network; and the identification information in the response information indicates The wifi network serves as the target wireless network, and connects to the target wireless network according to the connection key in the response information.
  9. 根据权利要求1-8中任一所述的方法,其中,所述触发网络连接应用以获取所述终端附近的wifi网络的网络信息之前,所述方法还包括:The method according to any one of claims 1-8, wherein before triggering a network connection application to obtain network information of a wifi network near the terminal, the method further comprises:
    确定所述终端的wifi网络开关是否处于开启状态;若wifi网络开关处于关闭状态,则开启wifi网络开关。Determine whether the wifi network switch of the terminal is on; if the wifi network switch is off, turn on the wifi network switch.
  10. 一种电子设备,包括:An electronic device, including:
    一个或多个处理器;One or more processors;
    存储装置,其上存储有一个或多个程序;A storage device on which one or more programs are stored;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-9中任一所述的方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1-9.
  11. 一种计算机可读介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1-9中任一所述的方法。A computer-readable medium on which a computer program is stored, wherein the computer program implements the method according to any one of claims 1-9 when executed by a processor.
PCT/CN2019/115885 2018-11-07 2019-11-06 Wireless network connection method for terminal WO2020094035A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811317985.5 2018-11-07
CN201811317985.5A CN109152094B (en) 2018-11-07 2018-11-07 Wireless network connection method for terminal

Publications (1)

Publication Number Publication Date
WO2020094035A1 true WO2020094035A1 (en) 2020-05-14

Family

ID=64807864

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/115885 WO2020094035A1 (en) 2018-11-07 2019-11-06 Wireless network connection method for terminal

Country Status (2)

Country Link
CN (1) CN109152094B (en)
WO (1) WO2020094035A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112929825A (en) * 2021-03-18 2021-06-08 惠州Tcl移动通信有限公司 Terminal WiFi control method and device, storage medium and mobile terminal
CN115002186A (en) * 2022-05-17 2022-09-02 深信服科技股份有限公司 Network information acquisition method and device, electronic equipment and readable storage medium

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109152094B (en) * 2018-11-07 2021-10-22 上海尚往网络科技有限公司 Wireless network connection method for terminal
CN113170305B (en) * 2019-01-09 2023-02-28 深圳市欢太科技有限公司 Application downloading and installing method and related product
CN109842759B (en) * 2019-01-21 2020-01-24 北京健康之家科技有限公司 Network service operation control platform
CN113766543B (en) * 2021-09-14 2024-04-30 青岛中科英泰商用系统股份有限公司 Method, system, electronic equipment and medium for improving WiFi stability
CN114143855A (en) * 2021-12-21 2022-03-04 西安易朴通讯技术有限公司 Network automatic connection method and device
CN114666857A (en) * 2022-04-27 2022-06-24 中国电信股份有限公司 Communication networking control method, device, medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102438289A (en) * 2011-12-26 2012-05-02 中国电信股份有限公司 Wireless fidelity (Wi-Fi) flow guide method and device as well as mobile terminal
EP2461631A2 (en) * 2010-12-01 2012-06-06 Deutsche Telekom AG System support for accessing and switching among multiple wireless interfaces on mobile devices
CN103686899A (en) * 2012-09-25 2014-03-26 东莞宇龙通信科技有限公司 A switching method between a mobile data service network and a wifi network and a mobile terminal thereof
CN104918298A (en) * 2014-03-10 2015-09-16 中国移动通信集团广东有限公司 Network connection control method and apparatus, and mobile terminal
CN109152094A (en) * 2018-11-07 2019-01-04 上海连尚网络科技有限公司 Wireless network connecting method for terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102448187B (en) * 2011-10-29 2015-10-07 华为终端有限公司 The method of automatic access Wi-Fi network and terminal
CN102984812A (en) * 2012-11-22 2013-03-20 中兴通讯股份有限公司 Method for connecting terminal with wireless local area network (WLAN) and terminal
CN104105167A (en) * 2013-04-15 2014-10-15 中兴通讯股份有限公司 Terminal Wi-Fi hotspot access processing method and device
CN104144415A (en) * 2014-07-10 2014-11-12 深圳市螺光科技有限公司 Method for connecting WiFi access point and mobile communication terminal
WO2016029362A1 (en) * 2014-08-26 2016-03-03 华为技术有限公司 Network communication method and apparatus
US20160095156A1 (en) * 2014-09-29 2016-03-31 Qualcomm Incorporated Out-of-service scan optimization using broadcast neighbor list information in wireless communications
US10412014B2 (en) * 2015-11-16 2019-09-10 Qualcomm Incorporated Latency enhancement in a wireless communication system
CN106231579A (en) * 2016-07-27 2016-12-14 宇龙计算机通信科技(深圳)有限公司 The acquisition methods of Internet resources, the acquisition device of Internet resources and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2461631A2 (en) * 2010-12-01 2012-06-06 Deutsche Telekom AG System support for accessing and switching among multiple wireless interfaces on mobile devices
CN102438289A (en) * 2011-12-26 2012-05-02 中国电信股份有限公司 Wireless fidelity (Wi-Fi) flow guide method and device as well as mobile terminal
CN103686899A (en) * 2012-09-25 2014-03-26 东莞宇龙通信科技有限公司 A switching method between a mobile data service network and a wifi network and a mobile terminal thereof
CN104918298A (en) * 2014-03-10 2015-09-16 中国移动通信集团广东有限公司 Network connection control method and apparatus, and mobile terminal
CN109152094A (en) * 2018-11-07 2019-01-04 上海连尚网络科技有限公司 Wireless network connecting method for terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112929825A (en) * 2021-03-18 2021-06-08 惠州Tcl移动通信有限公司 Terminal WiFi control method and device, storage medium and mobile terminal
CN112929825B (en) * 2021-03-18 2022-08-05 惠州Tcl移动通信有限公司 Terminal WiFi control method and device, storage medium and mobile terminal
CN115002186A (en) * 2022-05-17 2022-09-02 深信服科技股份有限公司 Network information acquisition method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN109152094A (en) 2019-01-04
CN109152094B (en) 2021-10-22

Similar Documents

Publication Publication Date Title
WO2020094035A1 (en) Wireless network connection method for terminal
CN109152095B (en) Wireless network connection method for terminal
WO2020094036A1 (en) Wireless network connection method for terminal
EP2342869B1 (en) System and method for managing and appling history information of terminal in converged personal network service environment, and converged personal network service server, mobile communication and end device therefor
JP6596173B1 (en) Incoming call management method and apparatus
US11627205B2 (en) Information processing method and apparatus, communication device and storage medium
CN108810123B (en) Method and apparatus for provisioning mobile cellular network services
CN102904959A (en) Network accelerating method and gateway
CN112331202B (en) Voice screen projection method and device, electronic equipment and computer readable storage medium
WO2021227785A1 (en) Indicator collection processing method and apparatus for streaming media, computer and storage medium
EP4113985A1 (en) Multimedia conference data processing method and apparatus, and electronic device
US20220171011A1 (en) Positioning method and device, server, storage medium and terminal
CN114205762A (en) Short message flow control method, equipment and storage medium
EP2974159B1 (en) Method, device and system for voice communication
CN105704106B (en) A kind of visualization IVR implementation method and mobile terminal
CN108965359B (en) Communication method, communication device, readable medium, and electronic apparatus
US20170171339A1 (en) Advertisement data transmission method, electrnoic device and system
WO2016101446A1 (en) Data analysis method, apparatus, system, and terminal, and server
WO2022057727A1 (en) Network quality determination method and apparatus, electronic device and readable storage medium
KR101367265B1 (en) Push server, push service providing system and method of the same
WO2023109045A1 (en) Webrtc connection method and system
WO2014121605A1 (en) Method, device and system for supporting always online infrastructure of multi-terminal application
CN105681054A (en) Intelligent aggregating content and voice input traffic-fee-free APP system and method
CN109362111A (en) Information cuing method
CN111966510B (en) Method, system, device and medium for calculating data stream

Legal Events

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

Ref document number: 19882397

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 19882397

Country of ref document: EP

Kind code of ref document: A1