WO2018028575A1 - Connection method for communication network, and terminal and service platform - Google Patents

Connection method for communication network, and terminal and service platform Download PDF

Info

Publication number
WO2018028575A1
WO2018028575A1 PCT/CN2017/096462 CN2017096462W WO2018028575A1 WO 2018028575 A1 WO2018028575 A1 WO 2018028575A1 CN 2017096462 W CN2017096462 W CN 2017096462W WO 2018028575 A1 WO2018028575 A1 WO 2018028575A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication network
terminal
availability information
service platform
available
Prior art date
Application number
PCT/CN2017/096462
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 WO2018028575A1 publication Critical patent/WO2018028575A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5009Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a connection method, a terminal, and a service platform of a communication network.
  • WLAN wireless local area network
  • AP International: Acess Point
  • SSID Service Set Identifier
  • the terminal prompts the user that the WLAN service is available.
  • the WLAN AP hotspot encounters the above problem, it also prompts that the corresponding WLAN is available.
  • the user cannot access the WLAN AP hotspot after the user encounters the above problem, which causes the user to use the service normally, which leads to a very poor user experience. .
  • the embodiment of the invention provides a connection method, a terminal and a service platform of a communication network, which can improve the quality of the user network experience.
  • an embodiment of the present invention provides a method for connecting a communication network, where the method includes: the terminal is connected to the first communication network, and when the signal of the second communication network is detected, the query is sent to the service platform via the first communication network. An instruction for the availability information of the communication network.
  • the terminal receives the query result returned by the service platform, and determines, according to the query result, that the second communication network is available, and displays the prompt information available to the second communication network.
  • the query result includes availability information of the second communication network
  • the terminal determines, according to the availability information, the prompt information available to the second communication network when the second communication network is available.
  • the query result includes the availability information and the update time of the second communication network
  • the terminal determines that the availability information has not expired according to the update time, and determines that the second communication network is available according to the availability information, and displays the second communication network. Available hints.
  • the second communication network may indicate that the Internet access status information in the availability information of the second communication network is available, and/or the network speed is not lower than the first network speed threshold, and/or delay. The time is not higher than the first delay time threshold.
  • the terminal is connected to the first communication network, and when detecting the signal of the second communication network, may query the service platform for the availability information of the second communication network, and determine, according to the query result returned by the service platform, that the second communication network is available. Showing the prompt information available to the second communication network.
  • the terminal may filter the second communication network that is actually unavailable according to the availability information of the second communication network recorded by the service platform, thereby improving the quality of the user network experience.
  • an embodiment of the present invention provides a method for connecting a communication network, where the method includes: the terminal is connected to the first communication network, and when the signal of the second communication network is detected, the query is sent to the service platform via the first communication network. An instruction for the availability information of the communication network.
  • the terminal receives the query result returned by the service platform, and when the query result is unavailable, the terminal detects the availability information of the second communication network. When it is determined that the second communication network is available according to the detected availability information of the second communication network, the prompt information available to the second communication network is displayed.
  • the terminal reports the availability information of the detected second communication network to the service platform through the first communication network.
  • the query result is unavailable, specifically: the query result does not include the availability information of the second communication network.
  • the query result includes the availability information and the update time of the second communication network, and the availability information of the second communication network is determined to expire according to the update time.
  • the terminal sends an action of inquiring the second communication network availability information instruction and the detected availability information of the second communication network to the service platform, which are all performed in the background of the terminal, and are not displayed on the display screen to the user.
  • the terminal filters out the second communication network with signals but is actually unavailable through the background, thereby improving the quality of the user network experience.
  • an embodiment of the present invention provides a connection method of a communication network, where the method includes: the terminal is connected to the first communication network.
  • the terminal detects the signal of the second communication network, it detects the availability information of the second communication network.
  • the terminal reports the availability information of the detected second communication network to the service platform through the first communication network.
  • the terminal determines, according to the detected availability information of the second communication network, that the second communication network is available, and displays the prompt information available to the second communication network.
  • the method before the terminal detects the availability information of the second communication network, the method further includes the following steps: the terminal is connected to the first communication network, and when the signal of the second communication network is detected, the service is sent to the service via the first communication network.
  • the platform sends an instruction to query availability information of the second communication network.
  • the terminal receives the query result returned by the service platform, and the query result is unavailable.
  • the terminal reports the availability information of the detected second communication network to the service platform, so that the terminal can share the availability information of the second communication network through the service platform. Improve the quality of user network experience.
  • an embodiment of the present invention provides a method for connecting a communication network, where the method includes: the service platform receives an instruction sent by the terminal to query the availability information of the second communication network via the first communication network, where the instruction is the terminal and the first communication. Network connection, an instruction sent to the service platform when a signal of the second communication network is detected. The service platform queries the availability information of the second communication network, and sends a query result to the terminal, where the query result is used to indicate whether the second communication network is available.
  • the service platform receives the availability information of the second communication network detected by the terminal.
  • the service platform receives the availability information of the second communication network reported by the terminal, and provides the information to the terminal. So that the terminal can save and share the availability information of the second communication network through the service platform.
  • the terminal can quickly identify the second communication network with poor quality, improve the efficiency and quality of the second communication network, and improve the quality of the user network experience.
  • the present invention provides a terminal, including: a processor, a WiFi module, a radio frequency circuit, and a display screen, wherein the radio frequency circuit is configured to be connected to the first communication network.
  • the WiFi module is used to detect the second communication network signal.
  • a processor configured to instruct the radio frequency circuit to send an instruction to the service platform to query the availability information of the second communication network.
  • the radio frequency circuit is further configured to send, by using the first communication network, an instruction for querying the availability information of the second communication network to the service platform, and receive the query result returned by the service platform.
  • the indication display screen displays the prompt information available to the second communication network.
  • the display is used to display the prompt information available to the second communication network.
  • the query result includes availability information of the second communication network
  • the processor is specifically configured to determine, according to the availability information, that the second communication network is available.
  • the query result includes the availability information and the update time of the second communication network
  • the processor is configured to determine that the availability information is not expired according to the update time, and determine that the second communication network is available according to the availability information.
  • the present invention provides a terminal, including: a processor, a WiFi module, a radio frequency circuit, and a display screen, wherein the radio frequency circuit is configured to be connected to the first communication network.
  • the WiFi module is used to detect the second communication network signal.
  • a processor configured to instruct the radio frequency circuit to send an instruction to the service platform to query the availability information of the second communication network.
  • the radio frequency circuit is further configured to send, by using the first communication network, an instruction for querying the availability information of the second communication network to the service platform, and receive the query result returned by the service platform.
  • the processor determines that the query result is unavailable, instructing the WiFi module to detect the availability information of the second communication network, and determining, according to the detected availability information of the second communication network, that the second display network is available, instructing the display screen to display a prompt that the second communication network is available information. Display for displaying the second communication Tips available for the network.
  • the processor is further configured to: indicate, by the radio frequency circuit, the availability information of the second communication network that sends the probe to the service platform.
  • the radio frequency circuit is further configured to send the detected availability information of the second communication network to the service platform through the first communication network.
  • the present invention provides a terminal, the terminal comprising: a processor, a WiFi module, and a radio frequency circuit, wherein the radio frequency circuit is configured to be connected to the first communication network.
  • the WiFi module is configured to detect the second communication network signal and detect availability information of the second communication network.
  • a processor configured to instruct the radio frequency circuit to send the detected availability information of the second communication network to the service platform.
  • the radio frequency circuit is further configured to send the detected availability information of the second communication network to the service platform through the first communication network.
  • the terminal further includes a display screen.
  • the processor is further configured to: when determining that the second communication network is available according to the detected availability information of the second communication network, instruct the display screen to display prompt information available to the second communication network.
  • the display is used to display the prompt information available to the second communication network.
  • the WiFi module is further configured to detect the second communication network signal.
  • the processor is further configured to instruct the radio frequency circuit to send an instruction to the service platform to query the availability information of the second communication network.
  • the radio frequency circuit is further configured to send, by using the first communication network, an instruction for querying the availability information of the second communication network to the service platform, and receive the query result returned by the service platform.
  • the processor instructs the WiFi module to detect availability information of the second communication network when the processor determines that the query result is not available.
  • the present invention provides a service platform, including: a processor and a network interface, wherein the network interface is configured to be connected to the first communication network.
  • the network interface is further configured to receive, by the terminal, an instruction sent by the first communication network to query the availability information of the second communication network, where the command is that the terminal is connected to the first communication network, and when the signal of the second communication network is detected, the device sends the signal to the service platform. Instructions.
  • a processor configured to query the availability information of the second communication network, and instruct the network interface to send the query result to the terminal, where the query result is used to indicate whether the second communication network is available.
  • the network interface is further configured to send the query result to the terminal through the first communication network.
  • the network interface is further configured to receive, by using the first communication network, availability information of the probed second communication network sent by the terminal.
  • connection method, the terminal, and the service platform of the communication network provided by the embodiment of the present invention increase the function of the terminal querying the service platform for the availability information of the communication network, and when the availability information of the communication network is not queried, the terminal detects Communication network availability information.
  • the terminal filters the communication network that detects the signal but is actually unavailable according to the availability information of the communication network, and does not prompt the user to the actual poor quality network, thereby improving the quality of the user network experience.
  • FIG. 1 is a structural diagram of a communication system according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for connecting a first communication network according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a second method for connecting a communication network according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a third method for connecting a communication network according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a fourth method for connecting a communication network according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an interface for filtering a terminal unavailable WLAN network according to an embodiment of the present disclosure
  • FIG. 7 is a first signaling interaction diagram of a communication network connection method according to an embodiment of the present invention.
  • FIG. 8 is a second signaling interaction diagram of a communication network connection method according to an embodiment of the present invention.
  • FIG. 9 is a third signaling interaction diagram of a communication network connection method according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a first terminal architecture according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a second terminal architecture according to an embodiment of the present invention.
  • FIG. 12 is a third terminal architecture diagram according to an embodiment of the present invention.
  • FIG. 13 is a structural diagram of a service platform according to an embodiment of the present invention.
  • System software refers to a system that supports application development and operation, and is a collection of various programs that do not require user intervention.
  • the terminal includes a plurality of application software, which is a collection of applications compiled in various programming languages, which are computer software programs designed to solve various application problems.
  • the terminal may include a processor, a memory, an input unit, a display unit, a radio frequency circuit, and a system bus; the system bus is configured to transfer information between the components of the terminal.
  • the input unit may include one or more of a keyboard, a touch screen, a mouse, and the like for receiving user input information and transmitting the received information to a processor for processing; the display unit is configured to display content that the terminal needs to display.
  • the input unit and the display unit can be integrated in one touch display.
  • the radio frequency circuit is used to implement the function of communication between the terminal and the external device.
  • the terminal provided by the embodiment of the present invention may further include a registration module, which may send a registration request to the service platform.
  • a registration module which may send a registration request to the service platform.
  • the service platform first verifies whether the terminal is registered, and the service platform provides related services for the terminal that is registered.
  • FIG. 1 is a structural diagram of a communication system according to an embodiment of the present invention.
  • a connection method of a communication network provided by an embodiment of the present invention is based on the communication system shown in FIG. 1.
  • the communication system includes a first communication network 300, a second communication network 400, a terminal 100, and a service platform 200.
  • the terminal 100 communicates with the service platform 200 through the first communication network 300.
  • the terminal 100 detects the signal of the second communication network 400
  • the terminal 100 transmits an instruction to query the availability information of the second communication network 400 to the service platform 200 via the first communication network 300.
  • the service platform 200 queries the second communication network 400 availability information, and returns the query result carrying the availability information of the second communication network 400 to the terminal 100, so that the terminal 100 determines whether to prompt the second communication according to the availability information of the second communication network 400.
  • Network 400 can be connected.
  • connection method of the communication network provided by the present invention can be applied to an example of connecting a wireless hotspot to a smartphone, a tablet or a notebook/desktop computer.
  • the terminal 100 may specifically be a terminal that can access a wireless hotspot, such as a smart phone 101, a tablet computer 102, a notebook/desktop computer 103, or a smart wearable device or an in-vehicle terminal.
  • the first communication network 300 can be a network provided by the base station 310, the optical fiber 320, or the wireless hotspot 330.
  • the second communication network 400 can be a network provided by a wireless hotspot.
  • the service platform 200 can be a wireless network management server.
  • the terminal 100 detects the availability information of the second communication network 400 through the communication module.
  • the communication module can be a WiFi module, a Bluetooth module, or the like.
  • the terminal 100 determines from the detected availability information of the second communication network 400 that when the second communication network 400 is available, the second communication network 400 is prompted to be connected on the display interface.
  • the terminal 100 can also report the availability information of the detected second communication network 400 to the service platform 200.
  • the following takes the communication module as a WiFi module as an example for description.
  • the service platform 200 returns a query result that carries the availability information of the second communication network 400.
  • the terminal 100 determines that it has exceeded the first time threshold and expires according to the last update time of the information and the time difference of the current access time
  • the terminal 100 detects the availability information of the second communication network 400 through the WiFi module.
  • the terminal 100 determines from the detected availability information of the second communication network 400 that when the second communication network 400 is available, the second communication network 400 is prompted to be connected on the display interface.
  • the terminal 100 reports the detected availability information of the second communication network 400 to the service platform 200.
  • the first time threshold may be a preset time threshold.
  • the embodiments of the present invention can be applied to a connection scenario of a WLAN network.
  • the terminal detects the signal of the AP, it queries the service platform for the availability information of the AP.
  • the service platform does not query the availability information of an AP or its availability information expires, the terminal associates and authenticates the AP through the WiFi module, and detects the availability information.
  • the terminal filters out the AP that is actually unavailable according to the availability information of the AP, and only prompts the AP that is actually available on the display interface.
  • the communication network connection method provided by the embodiment of the present invention can filter an AP that is not actually available, and improve the quality of the user network experience.
  • the terminal reports the availability information of the detected AP to the service platform, so that the terminal can share the availability information of the AP, so that the terminal can quickly identify the poor quality AP and improve the efficiency of the AP using the AP. And quality to improve the quality of the user's network experience.
  • FIG. 2 is a flowchart of a method for connecting a first communication network according to an embodiment of the present invention. Includes the following steps:
  • Step 201 The terminal is connected to the first communication network, and when detecting the signal of the second communication network, sends an instruction for querying the availability information of the second communication network to the service platform via the first communication network.
  • the availability information of the second communication network includes one or more information sets of the Internet status information, the network speed, the delay time, and the update time.
  • Step 202 The terminal receives the query result returned by the service platform, and determines, according to the query result, that the second communication network is available, and displays the prompt information available to the second communication network.
  • the query result includes availability information of the second communication network
  • the terminal determines, according to the availability information, the prompt information available to the second communication network when the second communication network is available.
  • the query result includes the availability information and the update time of the second communication network
  • the terminal determines that the availability information has not expired according to the update time, and determines, when the second communication network is available, according to the availability information, displaying a prompt that the second communication network is available. information.
  • the second communication network may indicate that the Internet access status information of the second communication network is available for Internet access, and/or the network speed is not lower than the first network speed threshold, and/or the delay time is not higher than the first delay time threshold.
  • the service platform may receive the second communication network availability information sent by the other terminal and save the information.
  • the second communication network availability information has not been saved by the service platform.
  • the service platform receives the query instruction of the terminal, the service platform queries the second communication network availability information, and returns the foregoing query result to the terminal.
  • the terminal detects the second network signal, does not need to query the service platform for the availability information of the second network signal, and directly detects the availability information of the second communication network, and detects the second information.
  • the availability information of the communication network is reported to the service platform.
  • the service platform receives and stores the availability information of the second communication network reported by the terminal.
  • the availability information of the second communication network can be shared between the terminals through the service platform.
  • the terminal can filter the second communication network that is actually unavailable according to the availability information recorded by the service platform or the second communication network that is detected by the service platform, and display only the second communication network that is actually available on the display screen. . Improve the quality of the user's network experience.
  • FIG. 3 is a flowchart of a second method for connecting a communication network according to an embodiment of the present invention. Includes the following steps:
  • Step 301 The terminal is connected to the first communication network, and when detecting the signal of the second communication network, sends an instruction for querying the availability information of the second communication network to the service platform via the first communication network.
  • Step 302 The terminal receives the query result returned by the service platform. When the query result is unavailable, the terminal detects the availability information of the second communication network.
  • the query result is unavailable.
  • the query result does not include the availability information of the second communication network.
  • the query result includes the availability information and the update time of the second communication network, and the availability information of the second communication network is determined to expire according to the update time.
  • Step 303 Determine, according to the detected availability information of the second communication network, that the second communication network is available, display the second communication network. Available hints.
  • the terminal also reports the availability information of the probed second communication network to the service platform.
  • the terminal shares the availability information of the second communication network through the service platform.
  • the terminal can filter the actually unavailable network according to the availability information of the shared second communication network, and improve the quality of the user network experience.
  • the terminal When the terminal receives the indication information sent by the user and connected to the second communication network, the terminal connects to the second communication network.
  • FIG. 4 is a flowchart of a third method for connecting a communication network according to an embodiment of the present invention. Includes the following steps:
  • step 401 the terminal detects the signal of the AP.
  • the terminal can be a smartphone.
  • the terminal can be connected to the 3G/4G base station network through the radio frequency circuit, and the AP module can detect the SSID of the AP with a certain strength through the WiFi module.
  • Step 402 The terminal sends an instruction to the service platform to query the availability information of the AP.
  • the terminal may send an instruction to the service platform to query the availability information of the AP through the radio frequency circuit.
  • the availability information of the AP may include one or more information sets of the Internet status information, the network speed, the delay time, and the last update time.
  • the online status information indicates whether the Internet is available.
  • the actions that the terminal can detect the AP signal through the WiFi module and send the instruction for querying the availability information of the AP to the service platform through the radio frequency circuit are all indicated by the processor of the terminal.
  • the processor of the terminal instructs the WiFi module to detect the AP, instructs the radio frequency circuit to query the availability information of the AP, and determines whether to prompt the AP to be available according to the availability information of the AP.
  • the processor of the terminal identifies the AP that is actually unavailable in the background and filters, and the user does not perceive the relevant steps. The process is performed by the background relative to the display interface of the terminal. Can be understood as the background execution of the terminal.
  • the interaction between the processor of the terminal and the external device or network needs to be implemented by other modules.
  • the terminal needs to connect to the WLAN network through the WiFi module, and the mobile terminal needs to connect to the first communication network (3G/4G network) through the RF circuit, and the mobile terminal interacts with the service platform via the 3G/4G network.
  • Step 403 The terminal receives the query result returned by the service platform.
  • the network interface of the service platform receives an instruction sent by the terminal to query the availability information of the AP.
  • the processor of the service platform can first verify whether the terminal has successfully registered. If the terminal has been registered, the processor of the service platform queries the availability information of the AP; otherwise, the service platform does not process the query instruction of the terminal.
  • the processor of the service platform can query the availability information of the AP in its memory.
  • step 404 If the processor of the service platform queries the availability information of the AP, the query results of the availability information of the AP and the availability information update time of the AP are returned to the terminal through the network interface, and step 404 is performed. If the service platform does not query the availability information of the AP, and returns a query result that does not carry the availability information of the AP to the terminal, step 407 is performed.
  • step 404 it is determined whether the availability information of the AP is expired.
  • the processor of the terminal determines that the availability information of the AP sent by the service platform expires according to the time when the last update time of the availability information of the AP exceeds the access time of the current terminal, and performs step 407. Otherwise, step 405 is performed.
  • Step 405 The terminal determines, according to the availability information of the AP, whether the AP is available.
  • the processor of the terminal determines, according to the availability information of the AP, that the display screen displays the prompt information available to the AP when the AP is available.
  • the display does not indicate that the display screen displays the prompt information available to the AP. Filter the unavailable APs to improve the quality of the user's network experience.
  • the terminal may preset a network speed threshold and/or a delay time threshold according to service requirements to filter out APs that do not meet the requirements of the terminal.
  • the terminal does not prompt the user that the AP is available.
  • the terminal also A certain network speed threshold and/or delay time threshold may be preset to further filter out APs with low network speed and/or long delay time. Based on the availability information of the AP, the terminal filters out APs with poor actual quality and improves the quality of the user's network experience.
  • step 406 the process ends.
  • the terminal filters out the unavailable APs and displays only the prompts of available APs on the display to improve the quality of the user's network experience.
  • Step 407 The terminal associates the AP with a preset Internet address.
  • the terminal associates the AP with the WiFi module, obtains the IP and domain name resolution system (English) of the AP, and accesses the preset URL.
  • the preset URL may be any Internet address or a specific Internet address.
  • step 408 the AP returns the WED Portal page information.
  • the AP redirects the access and returns the information of the portal's WED Portal authentication page.
  • the AP redirects the access of the terminal to jump the access of the terminal to the authentication page of the AP.
  • the Wed Portal page includes feature parameter information of the AP.
  • the AP's characteristic parameters include the required parameters required for the authentication of the AP's controller (English: Access Controller, AC).
  • Step 409 The terminal parses the AP feature parameter, and sends an authentication parameter to the AC for authentication and authentication.
  • the WiFi module of the terminal parses the AP feature parameters, and sends an authentication parameter to the AC for authentication and authentication.
  • the identity and authentication of the WLAN user generally depends on the unique account number and its corresponding password in the network.
  • the authentication center such as the remote access dial-up user service protocol server, and the remote access controller of the AP, implement the user identity. Confirmation and authentication process.
  • the AP feature parameters include, but are not limited to, the AC's IP address (wlanacip), the AC's name (wlanacname), the user's IP (wlanuserip), the AC resource destination address (posturl), and the AC service set identifier (wlanacssid).
  • the above five parameters are required parameters required for the terminal to authenticate to the AC.
  • the terminal authentication parameters to the AC include, but are not limited to, a username, a password, and the AP feature parameters described above.
  • the AP feature parameters required for the terminal to authenticate to the AC include, but are not limited to, the foregoing, and may include other AP feature parameters, such as action type, macaddress, logosessid, uaId, macaddress, and the like.
  • the authentication parameter sent to the AC may not include the username and password.
  • step 410 the AC authenticates the authentication parameter.
  • step 405 may be performed before step 412, or step 412 may be performed first. Step 405 is performed again, and step 405 and step 412 can also be performed simultaneously.
  • the processor of the terminal does not instruct the display screen to display information available to the AP.
  • the terminal reports the information that the AP is not online to the service platform through the radio frequency circuit.
  • the WiFi module is connected to the AP. Go to step 411.
  • step 411 the terminal detects the availability information of the AP and reports the information to the service platform.
  • the WiFi module of the terminal detects the availability information of the AP, and step 405 is performed.
  • Step 412 The service platform updates the availability information of the AP, and records the update time.
  • the terminal reports the detected availability information of the AP to the service platform through the radio frequency circuit, and the service platform saves and updates the availability information of the AP in the memory.
  • the availability information of the AP is updated, the update time is recorded at the same time, so that subsequent terminals can determine whether the piece of information expires according to the update time of the availability information of the AP.
  • FIG. 5 is a flowchart of a fourth method for connecting a communication network according to an embodiment of the present invention. Includes the following steps:
  • Step 501 The service platform receives, by using the first communication network, an instruction for querying the availability information of the second communication network, where the command is that the terminal is connected to the first communication network, and when the signal of the second communication network is detected, the information is sent to the service platform. instruction.
  • Step 502 The service platform queries the availability information of the second communication network, and sends a query result to the terminal, where the query result is used to indicate whether the second communication network is available.
  • the query result includes availability information of the second communication network
  • the service platform sends the query result to the terminal to enable the terminal to display the prompt information available to the second communication network when the second communication network is available according to the availability information.
  • the query result includes the availability information and the update time of the second communication network
  • the service platform sends the query result to the terminal, so that the terminal determines that the availability information has not expired according to the update time, and determines that the second communication network is available according to the availability information.
  • the prompt information is displayed.
  • the service platform receives availability information of the second communication network probed by the terminal.
  • FIG. 6 is a schematic diagram of an interface for filtering a terminal unavailable WLAN network according to an embodiment of the present invention.
  • the interface includes parts 601 and 602, and part 601 is a signaled WLAN list detected by the terminal in the background.
  • Section 602 is a filtered list of available WLANs.
  • the terminal background filters the unavailable WLAN, and displays the prompt information of the available WLAN through the interface. Filter out the WLAN network with poor actual service quality and improve the quality of the user's WLAN network experience.
  • FIG. 7 is a first signaling interaction diagram of a communication network connection method according to an embodiment of the present invention.
  • the terminal receives the query result of the availability information of the unexpired AP returned by the service platform, the terminal determines, according to the availability information of the AP, whether the user is prompted to use the AP. As shown in Figure 7, the following steps are included:
  • step 701 the terminal detects the signal of the AP.
  • Step 702 The terminal sends an instruction to the service platform to query the availability information of the AP.
  • Step 703 The service platform queries the availability information of the AP.
  • Step 704 the service platform returns a query result to the terminal.
  • the service platform queries the terminal for the availability information of the AP, and returns a query result that carries the availability information of the AP to the terminal.
  • the query result also carries the update time of the availability information of the AP.
  • Step 705 The terminal determines, according to the query result, whether the AP is available.
  • the query result carries the availability information of the AP
  • the processor of the terminal determines, according to the availability information of the AP, that the display screen displays the prompt information available to the AP.
  • the processor of the terminal determines, according to the availability information of the AP, that the display does not indicate that the display information that the AP is available when the AP is unavailable.
  • the query results carry the availability information and update time of the AP.
  • the processor of the terminal determines that the availability information of the AP has not expired according to the update time
  • the processor of the terminal determines, according to the availability information of the AP, that the display screen displays the prompt information available to the AP.
  • the processor of the terminal determines, according to the availability information of the AP, that the display does not indicate that the display information that the AP is available when the AP is unavailable.
  • the terminal can preset a threshold time T to ensure the timeliness of the AP availability information. If the current access time Tn is subtracted from the update time T1, and the obtained time difference is less than T, that is, Tn-Tl ⁇ T, the availability information of the piece of AP is not expired; if the current access time Tn is subtracted from the update time T1, the obtained time is obtained. If the difference is greater than T, that is, Tn-Tl>T, the availability information of the piece of AP expires.
  • the terminal may determine whether the Internet is available according to the Internet access status information of the AP, and only display the prompt information of the AP that can access the Internet on the display screen. Filter APs that cannot access the Internet to improve the quality of the user's network experience.
  • the terminal may preset a network speed threshold to filter the AP with a low network speed to improve the quality of the user network experience.
  • the processor of the terminal instructs the display screen to display the prompt information available to the AP, prompting the user that the AP service is available. Otherwise, the processor of the terminal does not indicate that the display screen displays the prompt information available to the AP, and does not prompt the user that the AP service is available.
  • the terminal can set a specific network speed threshold according to the lower limit requirement of the network speed.
  • the terminal may preset a delay time threshold to filter the AP with a long delay time, or filter the AP whose network speed meets the requirements, but the delay time is too long, and improve the quality of the user network experience.
  • the processor of the terminal instructs the display screen to display the prompt information available to the AP, prompting the user that the AP service is available. Otherwise, the processor of the terminal does not indicate The display shows the prompt information available to the AP, and does not prompt the user that the AP service is available.
  • the terminal can set a specific delay time threshold according to the upper limit requirement of the network delay time.
  • the terminal can set a threshold standard that meets its own requirements according to requirements, and quickly matches the communication network that meets the requirements, thereby improving the quality of the user network experience.
  • the AP in the process of using the AP by the terminal, if the availability information of the AP is detected to change. For example, in the process of using the AP by the terminal, the AP suddenly disconnects the network, or the network speed changes, or the delay time changes.
  • the terminal can report the availability information of the detected new AP to the service platform, so as to update the availability information of the AP in time.
  • FIG. 8 is a second signaling interaction diagram of a communication network connection method according to an embodiment of the present invention.
  • the terminal receives the unavailable query result returned by the service platform, the terminal associates the AP with the authentication.
  • the terminal detects the availability information of the AP.
  • the terminal determines whether the AP is available according to the availability information of the AP that it detects. Only the prompt information of the available AP is displayed on the display screen, and the AP available to the user is prompted. And, the terminal reports the availability information of the detected AP to the service platform, so that other terminals share the availability information of the AP that is detected.
  • two terminals are taken as an example for description, and for distinguishing, the terminal 1 and the terminal 2 are respectively. As shown in Figure 8, the following steps are included:
  • step 801 the terminal 1 detects the signal of the AP.
  • the terminal 1 is connected to the 3G/4G base station network through the radio frequency circuit, and detects the signal of the AP through the WiFi module.
  • step 802 the terminal 1 sends an instruction to the service platform to query the availability information of the AP.
  • the terminal 1 sends an instruction for querying the availability information of the AP to the service platform through the radio frequency circuit.
  • Step 803 The service platform queries the availability information of the AP.
  • the service platform receives the query instruction sent by the terminal 1 through the network interface, and the processor of the service platform queries the availability information of the AP in the memory.
  • Step 804 the service platform returns the query result to the terminal 1.
  • the service platform queries the availability information of the AP in the memory, the query result including the availability information of the AP and the update time thereof is returned to the terminal 1 through the network interface.
  • the service platform does not query the availability information of the AP in the memory, the query result of the availability information not including the AP is returned to the terminal 1 through the network interface.
  • step 805 the terminal 1 determines that the query result is unavailable.
  • the query result does not include the availability information of the AP.
  • the query result includes the availability information of the AP and the update time, and the availability information of the AP is determined to be expired according to the update time.
  • the service platform does not query the availability information of the AP, and returns a query result that does not include the availability information of the AP to the terminal 1.
  • terminal 1 After receiving the query result returned by the service platform, the terminal 1 does not prompt the user to connect to the AP, so as to avoid prompting the user to experience the AP with poor quality. Terminal 1 can perform other operations. For example, terminal 1 may continue to send an instruction to the service platform to query the availability information of other APs that have detected the signal.
  • step 806 the terminal 1 associates the AP and accesses any Internet address.
  • the WiFi module of the terminal 1 associates the AP with access to any Internet address.
  • Step 807 The AP returns the portal Web Portal page information to the terminal 1.
  • step 808 the terminal 1 parses the web portal page information and parses the feature parameters of the AP.
  • the WiFi module of the terminal 1 parses the Web Portal page information and parses the feature parameters of the AP.
  • step 809 the terminal 1 sends the authentication parameter information to the AC according to the parsed characteristic parameter of the AP, and performs authentication and authentication.
  • the WiFi module of the terminal 1 parses the Web Portal page information and parses the feature parameters of the AP. WiFi module sends to AC Authentication parameter information for authentication and authentication.
  • the terminal 1 may be a smart phone, and the characteristic parameters of the AP parsed by the WiFi module of the terminal 1 are as shown in Table 1:
  • the terminal 1 When the terminal 1 sends an authentication request to the controller AC of the AP through the WiFi module, the terminal 1 needs to fill in the feature parameters of the AP shown in Table 1, and may also need to fill in other AP feature parameters. In addition, AC authentication may also require a username and password. The terminal 1 also needs to send a username and password to the AC through the WiFi module to perform authentication and authentication.
  • the authentication parameter information sent by the terminal to the WLAN AC needs to include the user name and password information in addition to the feature parameters of the AP.
  • the user name may be the mobile phone number of the user or a random user name set by the operator, and the password may be randomly input by the user or randomly assigned by the operator. For example: username 188xxxx8888, password: 123456.
  • step 810 the AC authenticates the authentication parameter. AC certification is passed.
  • AC authentication may not require a username and password.
  • the terminal 1 only needs to send an authentication and authentication request to the AC according to the characteristic parameters of the AP, and waits for the AC authentication and authentication.
  • step 811 the terminal 1 detects the availability information of the AP.
  • the terminal 1 determines whether the AP is available according to the availability information of the AP.
  • the terminal 1 detects the availability information of the AP through the WiFi module, and the processor of the terminal 1 determines whether the AP is available according to the availability information of the AP.
  • the processor of the terminal 1 determines, according to the availability information of the AP, that the display screen displays the prompt information available to the AP when the AP is available.
  • the availability information of the AP detected by the terminal 1 is as shown in Table 2:
  • Table 2 above shows that the AP is not available on the Internet, that is, the AP is unavailable.
  • the processor of the terminal 1 will not instruct the display screen to display the prompt information available to the AP, and the display screen of the terminal 1 does not display the AP name and the signal strength information of the AP.
  • the availability information of the AP detected by the terminal 1 is as shown in Table 3:
  • Table 3 above shows that the AP can access the Internet, its network speed is 5kB/S, and the delay is zero.
  • the terminal 1 can preset the network speed threshold to be 4 kB/S. In the table 3, if the AP network speed is greater than the preset network speed threshold, the terminal 1 processor instructs the display screen to display the prompt information available to the AP, and the display of the terminal 1 The screen displays the AP name and the signal strength information of the AP.
  • the terminal 1 displays the availability information of the available APs to the display screen for the user to select. Also. The user can also select the availability information of any AP saved in the memory of the terminal 1 in the filtered AP list.
  • step 812 the terminal 1 reports the availability information of the AP to the service platform.
  • the terminal 1 reports the availability information of the AP to the service platform through the radio frequency circuit.
  • step 813 the service platform updates the availability information of the AP, and records the last update time.
  • the service platform receives the availability information of the AP sent by the terminal 1 through the network interface.
  • the service platform updates the availability information of the AP as shown in Table 4:
  • Table 4 above shows that the last update time of the AP's availability information is 2015-12-21 9:34:56.
  • step 814 the terminal 2 detects the signal of the AP.
  • the terminal 1 After detecting the availability information of the AP, the terminal 1 reports the information to the service platform. Other terminals can continue to query the availability information of the AP through the service platform.
  • step 815 the terminal 2 sends an instruction to the service platform to query the availability information of the AP.
  • step 816 the service platform queries the availability information of the AP.
  • step 817 the service platform returns the query result.
  • the service platform queries the availability information of the AP, and returns the query result carrying the availability information of the AP to the terminal 2.
  • the query result also carries the update time of the availability information of the AP.
  • step 818 the terminal 2 determines, according to the availability information of the AP, whether the AP is available.
  • the processor of the terminal 2 confirms that the availability information of the AP has not expired according to the update time of the availability information of the AP.
  • the terminal 2 determines that the AP is unavailable according to the “no-access” parameter in the availability information of the AP, and the processor of the terminal 2 does not indicate that the display screen displays the prompt information available to the AP. The user is not prompted to use the AP service.
  • the processor of the terminal 2 filters the unavailable APs to prevent the user from experiencing the AP with poor service quality and improves the quality of the user network experience.
  • FIG. 9 is a third signaling interaction diagram of a communication network connection method according to an embodiment of the present invention.
  • the terminal receives the unavailable query result returned by the service platform, the terminal associates the AP with the authentication. If the authentication fails, the terminal does not prompt the user that the AP is available. And, the terminal reports the service platform that the AP cannot access the Internet, so that other terminals share the availability information of the AP that they detect.
  • two terminals are taken as an example for description, and for distinguishing, the terminal 1 and the terminal 2 are respectively. As shown in Figure 9, this includes the following steps:
  • step 901 the terminal 1 detects the signal of the AP.
  • Step 902 The terminal 1 sends an instruction to the service platform to query the availability information of the AP.
  • Step 903 The service platform queries the availability information of the AP.
  • step 904 the service platform returns the query result to the terminal 1.
  • the service platform If the service platform does not query the availability information of the AP, the service platform returns a query result that does not carry the availability information of the AP.
  • step 905 the terminal 1 determines that the query result is unavailable.
  • the query result does not include the availability information of the AP.
  • the query result includes the availability information of the AP and the update time, and the availability information of the AP is determined to be expired according to the update time.
  • step 906 the terminal 1 associates the AP and accesses any Internet address.
  • step 907 the AP returns the portal web portal page information to the terminal 1.
  • step 908 the terminal 1 parses the Web Portal page information and parses the feature parameters of the AP.
  • Step 909 The terminal 1 sends the authentication parameter information to the AC according to the parsed feature parameter, and performs authentication and authentication.
  • step 910 the AC authenticates the authentication parameter. AC certification authentication failed.
  • an WLAN of an operator may be a pseudo hotspot.
  • the display has a certain signal strength SSID, the AC authentication authentication does not pass, and the AP cannot access the Internet.
  • the terminal 1 associates the AP with the authentication. If the authentication fails, the AP cannot access the Internet.
  • the information that the AP cannot access the Internet can also be understood as the availability information of the AP detected by the terminal 1.
  • step 911 the terminal 1 determines that the AP is not available on the Internet, and the AP is unavailable.
  • the prompt information available to the AP is not displayed.
  • the processor of the terminal 1 determines that the AP is not available on the Internet, and the AP is not available. Does not indicate that the display shows the prompt information available to the AP. The terminal 1 will detect that there is a signal in the background, and the AP that is actually unavailable is filtered, and the prompt information that the AP is available is not displayed on the display screen.
  • step 912 the terminal 1 reports the information that the AP is not available to the Internet to the service platform.
  • step 913 the service platform updates the availability information of the AP, and records the last update time.
  • step 914 the terminal 2 detects the signal of the AP.
  • step 915 the terminal 2 sends an instruction to the service platform to query the availability information of the AP.
  • step 916 the service platform queries the availability information of the AP.
  • step 917 the service platform returns the query result.
  • step 918 the terminal 2 determines that the AP is unavailable according to the availability information of the AP, and does not display the prompt information available to the AP.
  • the processor of the terminal 2 confirms that the availability information of the AP has not expired according to the update time of the availability information of the AP.
  • the processor of the terminal 2 determines that the AP is unavailable according to the AP non-network information reported by the terminal 1.
  • the processor of the terminal 2 does not indicate that the display screen displays the prompt information available to the AP, so as to filter the unavailable AP, and improve the quality of the user network experience.
  • FIG. 10 is a schematic diagram of a first terminal architecture according to an embodiment of the present invention.
  • the terminal provided by the embodiment of the present invention includes: a radio frequency (RF) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a processor 1050, and a wireless fidelity (WiFi) module. 1060 and power supply 1070 and other components.
  • RF radio frequency
  • the terminal structure shown in FIG. 10 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or combine some components, or different component arrangements.
  • the RF circuit 1010 can be used to send and receive information, for example, to interact with devices such as the service platform 200, and to process the received information to the processor 1050 for processing.
  • the RF circuit 1010 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
  • LNA Low Noise Amplifier
  • RF circuit 1010 can also communicate with the network and other devices via wireless communication.
  • wireless communication can adopt any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), and code division. Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Message Service (English) :Short Messaging Service, SMS), etc.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband
  • the memory 1020 can be used to store program instructions, and the processor 1050 causes the terminal to execute the above-described connection method of the communication network as shown in FIGS. 2 to 4 and 6 to 9 by executing the program instructions stored in the memory 1020.
  • the memory 1020 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system and an application program or the like required to implement the connection method of the communication network described above.
  • the storage data area may store an AP list, availability information of the AP, an identifier of the AP, and data generated when the terminal performs the connection method of the communication network described above.
  • the memory 1020 may include a volatile memory (English: volatile memory), such as a random access memory (RAM); the memory 1020 may also include a non-volatile memory (English: non- Volatile memory), such as read-only memory (English: read-only memory, abbreviation: ROM), fast flash Memory (English: flash memory), hard disk (English: hard disk drive, HDD) or solid state drive (English: solid-state drive, SSD).
  • ROM read-only memory
  • ROM fast flash Memory
  • HDD hard disk drive
  • SSD solid state drive
  • the memory 1020 may also include a combination of the above types of memories.
  • the input unit 1030 can be configured to receive numeric or character information input by the user, including querying an AP availability information instruction, connecting an AP instruction, reporting an AP availability information instruction, and the like.
  • the input unit 1030 may include a touch panel 1031 and other input devices 1032.
  • the touch panel 1031 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 1031 or near the touch panel 1031. Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 1031 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 1050 is provided and can receive commands from the processor 1050 and execute them.
  • the input unit 1030 can implement the touch panel 1031 by using various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 1030 may also include other input devices 1032.
  • other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 1040 can be used to display information input by the user or information provided to the user and various menus of the terminal 100.
  • the display unit 1040 can include a display screen 1041.
  • the display screen 1041 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 1031 can cover the display screen 1041. When the touch panel 1031 detects a touch operation on or near the touch panel 1031, the touch panel 1031 transmits to the processor 1050 to determine the type of the touch event, and then the processor 1050 according to the touch event. The type provides a corresponding visual output on display screen 1041.
  • the touch panel 1031 and the display screen 1041 are two independent components to implement the input and input functions of the terminal 100, in some embodiments, the touch panel 1031 can be integrated with the display 1041. The input and output functions of the terminal 100 are implemented.
  • the processor 1050 is a control center of the terminal 100 that connects various portions of the entire terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1020, and recalling data stored in the memory 1020, The communication connection method shown in FIGS. 2 to 9 is performed.
  • the processor 1050 can include one or more processing units.
  • the processor 1050 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, and the like, and the modem processor mainly processes wireless communication. It will be appreciated that the above described modem processor may also not be integrated into the processor 1050.
  • the WiFi module 1060 can be used to assist users in sending and receiving emails, browsing web pages, and accessing streaming media, etc., which provides users with wireless broadband WLAN Internet access.
  • the WiFi is a short-range wireless transmission technology, and the terminal 100 accesses the wireless hotspot AP through the WiFi module 1060 to experience the wireless network.
  • the terminal 100 also includes a power source 1070 (such as a battery) for powering various components.
  • a power source 1070 such as a battery
  • the power source can be logically coupled to the processor 1050 through a power management system to manage functions such as charging, discharging, and power consumption through the power management system.
  • the terminal 100 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • RF circuit 1010 is for connection with a first communication network.
  • the WiFi module 1060 is configured to detect a second communication network signal.
  • the processor 1050 is configured to instruct the RF circuit 1010 to send an instruction to the service platform to query the availability information of the second communication network.
  • the RF circuit 1010 is further configured to send, by using the first communication network, an instruction for querying the availability information of the second communication network to the service platform, and receive the query result returned by the service platform.
  • the processor 1050 when determining, according to the result of the query, that the second communication network is available, instructs the display screen 1041 to display prompt information available to the second communication network.
  • the display screen 1041 is used to display prompt information available to the second communication network.
  • the query result may include availability information of the second communication network
  • the processor 1050 is specifically configured to determine that the second communication network is available according to the availability information of the second communication network.
  • the query result may further include availability information and update time of the second communication network
  • the processor 1050 is specifically configured to determine that the availability information has not expired according to the update time, and determine that the second communication network is available according to the second communication network availability information.
  • the terminal provided in this embodiment is connected to the first communication network, and after detecting the signal of the second communication network, adding an instruction to query the service platform for the availability information of the second communication network.
  • the prompt information available to the second communication network is displayed on the display screen.
  • the terminal provided by the embodiment of the present invention can improve the quality of the user network experience by querying the availability information of the communication network recorded by the service platform and filtering the network with the signal but the actual service quality is not available.
  • FIG. 11 is a schematic diagram of a second terminal architecture according to an embodiment of the present invention.
  • the terminal provided by the embodiment of the present invention includes: an RF circuit 1110, a memory 1120, an input unit 1130, a display unit 1140, a processor 1150, a WiFi module 1160, and a power source 1170.
  • the terminal structure shown in FIG. 11 does not constitute a limitation of the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • RF circuit 1110 is for connection to a first communication network.
  • the WiFi module 1160 is configured to detect a second communication network signal.
  • the processor 1150 is configured to instruct the RF circuit 1110 to send an instruction to the service platform to query the availability information of the second communication network.
  • the RF circuit 1110 is further configured to send, by using the first communication network, an instruction for querying the availability information of the second communication network to the service platform, and receive the query result returned by the service platform.
  • the processor 1150 determines that the query result is unavailable, instructing the WiFi module 1160 to detect the availability information of the second communication network, and determining that the second communication network is available according to the detected availability information of the second communication network, instructing the display screen 1141 to display the second communication network. Available hints.
  • the processor 1150 is further configured to: instruct the RF circuit 1110 to send the detected availability information of the second communication network to the service platform.
  • the RF circuit 1110 is further configured to send the detected availability information of the second communication network to the service platform through the first communication network.
  • the query result is unavailable: the query result does not include the availability information of the second communication network.
  • the query result includes the availability information and the update time of the second communication network, and the availability information of the second communication network is determined to expire according to the update time.
  • the terminal provided in this embodiment is connected to the first communication network, and after detecting the signal of the second communication network, adding an instruction to query the service platform for the availability information of the second communication network.
  • the terminal is configured to detect the availability information of the second communication network, and the terminal determines, according to the availability information of the second communication network that the probe detects, that the second communication network is available, and displays the second communication on the display screen. Tips available for the network.
  • the terminal provided by the embodiment of the present invention may detect the availability information of the second communication network when the query result of the second communication network availability information returned by the service platform is unavailable, and according to the availability information of the second communication network that is detected by the terminal, A network that does not use the signal but has poor actual service quality improves the quality of the user's network experience.
  • FIG. 12 is a schematic diagram of a third terminal architecture according to an embodiment of the present invention.
  • the terminal provided by the embodiment of the present invention includes: an RF circuit 1210, a memory 1220, an input unit 1230, a display unit 1240, a processor 1250, a WiFi module 1260, and a power supply 1270.
  • the terminal structure shown in FIG. 12 does not constitute a limitation of the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • RF circuit 1210 is for connection to a first communication network.
  • the WiFi module 1260 is configured to detect availability information of the second communication network.
  • the processor 1250 is configured to instruct the RF circuit 1210 to send the detected availability information of the second communication network to the service platform.
  • the RF circuit 1210 is further configured to send the detected availability information of the second communication network to the service platform through the first communication network.
  • the processor 1250 is further configured to: when determining that the second communication network is available according to the detected availability information of the second communication network, instruct the display screen 1241 to display prompt information available to the second communication network.
  • the display 1241 is used to display prompt information available to the second communication network.
  • the WiFi module 1260 is further configured to detect the second communication network signal.
  • the processor 1250 is further configured to instruct the RF circuit 1210 An instruction to query availability information of the second communication network is sent to the service platform.
  • the RF circuit 1210 is further configured to send, by using the first communication network, an instruction for querying the availability information of the second communication network to the service platform, and receive the query result returned by the service platform.
  • the WiFi module 1260 is instructed to detect the availability information of the second communication network.
  • the terminal provided in this embodiment is connected to the first communication network, and increases the function of detecting the availability information of the second communication network when detecting the signal of the second communication network.
  • the function of reporting the availability information of the detected second communication network by the terminal to the service platform is also added.
  • the availability information of the second communication network can be shared between the terminals provided by the embodiments of the present invention through the service platform.
  • the terminal can filter the second communication network that is actually unavailable according to the availability information recorded by the service platform or the second communication network that is detected by the service platform, and display only the second communication network that is actually available on the display screen. . Improve the quality of user network experience.
  • FIG. 13 is a structural diagram of a service platform according to an embodiment of the present invention.
  • a service platform provided by an embodiment of the present invention includes: a network interface 1310, a processor 1320, and a memory 1330.
  • the service platform structure illustrated in FIG. 13 does not constitute a limitation to the service platform, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
  • the network interface 1310 can be used to send and receive information, for example, to interact with devices such as the terminal 100, and to process the received information to the processor 1320 for processing.
  • the network interface 1310 connects the service platform with other terminals, servers, and networks.
  • the network interface 1310 can be connected to the network by wired or wireless to connect to other external terminals or servers.
  • the wireless communication may include at least one of the following: Wi-Fi, Bluetooth (BT), Near Field Communication (NFC), Global Positioning System (GPS) and cellular communication (eg, Long Term Evolution (LTE), LTE-A, Code Division Multiple Access (CDMA), Wideband CDMA (WCDMA), Universal Mobile Telecommunication System (UMTS), Wireless Broadband (WiBro), and Global System for Mobile communication (GSM).
  • the wired communication may include at least one of the following: a Universal Serial Bus (USB), a High Definition Multimedia Interface (HDMI), a Recommended Standard 232 (RS-232), and a Plain Old Telephone Service (POTS).
  • USB Universal
  • the processor 1320 is a control center of the service platform 200 that connects various portions of the entire service platform using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1330, and recalling stored in the memory 1330. Data, the communication connection method shown in FIG. 5, FIG. 7 - FIG. 11 is executed.
  • the processor 1320 can include one or more processing units.
  • the processor 1320 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, and the like, and the modem processor mainly processes wireless communication. It will be appreciated that the above described modem processor may also not be integrated into the processor 1320.
  • the memory 1330 can be used to store program instructions, and the processor 1320 causes the terminal to execute the above-described connection method of the communication network as shown in FIGS. 5, 7-9 by running the program instructions stored in the memory 1330.
  • the memory 1330 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system and an application program or the like required to implement the connection method of the communication network described above.
  • the storage data area can store the availability information of the AP and the like.
  • the memory 1330 may include a volatile memory (English: volatile memory), such as a random access memory (RAM); the memory 1330 may also include a non-volatile memory (English: non- Volatile memory), such as read-only memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, HDD) or solid state drive (English: solid-state Drive, SSD).
  • ROM read-only memory
  • flash memory English: flash memory
  • HDD hard disk drive
  • SSD solid state drive
  • the memory 1330 may also include a combination of the above types of memories.
  • network interface 1310 is for connecting to a first communication network.
  • the method is further configured to receive, by the terminal, an instruction for querying the availability information of the second communication network, where the terminal is connected to the first communication network, and the instruction sent to the service platform when the signal of the second communication network is detected.
  • the processor 1320 is configured to query the availability information of the second communication network, and instruct the network interface 1310 to send the query result to the terminal, so that the terminal determines that the second communication network is available according to the query result, and displays the second communication network. Available hints.
  • the network interface 1310 is further configured to send the query result to the terminal by using the first communication network.
  • the query result includes the availability information of the second communication network
  • the processor 1320 is specifically configured to instruct the network interface 1310 to send the query result to the terminal, so that the terminal determines, according to the availability information of the second communication network, that the second communication network is available.
  • a prompt message available for the second communication network is displayed.
  • the query result includes the availability information and the update time of the second communication network
  • the processor 1320 is specifically configured to instruct the network interface 1310 to send a query result to the terminal, where the query result is used to indicate whether the second communication network is available.
  • the network interface 1310 is further configured to receive, by using the first communication network, availability information of the probed second communication network sent by the terminal.
  • the memory 1330 is operable to save availability information of the second communication network.
  • the service platform provided by the embodiment of the present invention adds a function of saving the availability information of the second communication network.
  • the service platform may receive the second communication network availability information sent by the other terminal, and the saved information, and the availability information has not exceeded the time limit.
  • the service platform receives the query instruction of the terminal, the service platform queries the second communication network availability information, and returns the foregoing query result to the terminal.
  • the terminal is configured to filter the network whose actual service quality is not good and is unavailable according to the foregoing query result, thereby improving the quality of the user network experience.
  • the service platform provided by the embodiment of the present invention adds a function of saving the availability information of the second communication network.
  • the service platform may receive the second communication network availability information sent by the other terminal and save the information, but the availability information has expired.
  • the second communication network availability information has not been saved by the service platform.
  • the service platform queries the second communication network availability information, and returns the foregoing query result to the terminal.
  • the terminal When the terminal determines that the foregoing query result is unavailable, the terminal starts to detect the availability information of the second communication network, and the terminal filters the network whose actual service quality is not good and is unavailable according to the availability information of the second communication network that is detected by the terminal, thereby improving the quality of the user network experience. .
  • the terminal reports the availability information of the second communication network that it detects to the service platform, so that other terminals share the availability information of the second communication network through the service platform. Further improve the quality of the user's network experience.
  • the functions described herein can be implemented in hardware, software, firmware, or any combination thereof.
  • the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.

Abstract

The present invention relates to a connection method for a communication network, and a terminal and a service platform. The method comprises: a terminal connects to a first communication network, and when detecting a signal of a second communication network, sends to a service platform via the first communication network a command for querying availability information of the second communication network. Receiving query results returned by the service platform and, when determining on the basis of the query results that the second communication network is available, displaying information prompting that the second communication network is available. Or, when the query results show that the second communication network is not available, the terminal detects availability information of the second communication network. When determining on the basis of the detected availability information that the second communication network is available, displaying information prompting that the second communication network is available. Or a terminal connects to a first communication network and, when detecting a signal of the second communication network, detects availability information of the second communication network. The terminal reports the detected availability information to the service platform by means of the first communication network. The solution provided by the present invention can filter poor quality networks, improving the quality of the user experience of the network.

Description

通信网络的连接方法、终端及服务平台Communication network connection method, terminal and service platform 技术领域Technical field
本发明涉及通信技术领域,尤其涉及通信网络的连接方法、终端及服务平台。The present invention relates to the field of communications technologies, and in particular, to a connection method, a terminal, and a service platform of a communication network.
背景技术Background technique
现在运营商的无线局域网(英文:Wirless Local Area Network,WLAN)接入点(英文:Acess Point,AP)热点非常多,但是WLAN AP热点的质量参差不齐,有些WLAN AP热点可能显示信号很强,却不能正常上网。现有技术,终端检测到WLAN AP有一定信号强度的服务集标识(英文:Service Set Identifier,SSID)时,就会提示用户该WLAN服务可用。遇到上述问题的WLAN AP热点时也会提示其对应WLAN可用,但实际上,用户连接遇到上述问题的WLAN AP热点后却无法上网,给用户正常使用业务带来困扰,导致用户体验极差。Currently, there are many hotspots in the wireless local area network (WLAN) access point (English: Acess Point, AP), but the quality of WLAN AP hotspots is uneven. Some WLAN AP hotspots may display strong signals. But can't get online. In the prior art, when the terminal detects that the WLAN AP has a certain service strength (Service Set Identifier, SSID), the terminal prompts the user that the WLAN service is available. When the WLAN AP hotspot encounters the above problem, it also prompts that the corresponding WLAN is available. In fact, the user cannot access the WLAN AP hotspot after the user encounters the above problem, which causes the user to use the service normally, which leads to a very poor user experience. .
综上,现有技术的无线热点连接方法,存在终端不能识别质量不佳的热点,导致用户体验差的问题。In summary, in the prior art wireless hotspot connection method, there is a problem that the terminal cannot identify a hot spot with poor quality, resulting in poor user experience.
发明内容Summary of the invention
本发明实施例提供通信网络的连接方法、终端及服务平台,可以提升用户网络体验质量。The embodiment of the invention provides a connection method, a terminal and a service platform of a communication network, which can improve the quality of the user network experience.
第一方面,本发明实施例提供一种通信网络的连接方法,该方法包括:终端与第一通信网络连接,检测到第二通信网络的信号时,经由第一通信网络向服务平台发送查询第二通信网络的可用性信息的指令。终端接收服务平台返回的查询结果,根据查询结果确定第二通信网络可用时,显示第二通信网络可用的提示信息。In a first aspect, an embodiment of the present invention provides a method for connecting a communication network, where the method includes: the terminal is connected to the first communication network, and when the signal of the second communication network is detected, the query is sent to the service platform via the first communication network. An instruction for the availability information of the communication network. The terminal receives the query result returned by the service platform, and determines, according to the query result, that the second communication network is available, and displays the prompt information available to the second communication network.
在一种可能的实施方式中,查询结果包括第二通信网络的可用性信息,终端根据可用性信息确定第二通信网络可用时,显示第二通信网络可用的提示信息。In a possible implementation manner, the query result includes availability information of the second communication network, and the terminal determines, according to the availability information, the prompt information available to the second communication network when the second communication network is available.
在一种可能的实施方式中,查询结果包括第二通信网络的可用性信息和更新时间,终端根据更新时间确定可用性信息未过期,并根据可用性信息确定第二通信网络可用时,显示第二通信网络可用的提示信息。In a possible implementation manner, the query result includes the availability information and the update time of the second communication network, the terminal determines that the availability information has not expired according to the update time, and determines that the second communication network is available according to the availability information, and displays the second communication network. Available hints.
在一种可能的实施方式中,第二通信网络可用具体为第二通信网络的可用性信息中的上网状态信息指示可上网,和/或网速不低于第一网速阈值,和/或延迟时间不高于第一延迟时间阈值。In a possible implementation manner, the second communication network may indicate that the Internet access status information in the availability information of the second communication network is available, and/or the network speed is not lower than the first network speed threshold, and/or delay. The time is not higher than the first delay time threshold.
具体地,终端与第一通信网络连接,在检测到第二通信网络的信号时,可以向服务平台查询该第二通信网络的可用性信息,根据服务平台返回的查询结果确定第二通信网络可用时,显示该第二通信网络可用的提示信息。终端可以根据服务平台记录的第二通信网络的可用性信息过滤实际不可用的第二通信网络,提升用户网络体验质量。Specifically, the terminal is connected to the first communication network, and when detecting the signal of the second communication network, may query the service platform for the availability information of the second communication network, and determine, according to the query result returned by the service platform, that the second communication network is available. Showing the prompt information available to the second communication network. The terminal may filter the second communication network that is actually unavailable according to the availability information of the second communication network recorded by the service platform, thereby improving the quality of the user network experience.
第二方面,本发明实施例提供一种通信网络的连接方法,该方法包括:终端与第一通信网络连接,检测到第二通信网络的信号时,经由第一通信网络向服务平台发送查询第二通信网络的可用性信息的指令。终端接收服务平台返回的查询结果,查询结果不可用时,终端探测第二通信网络的可用性信息。根据探测的第二通信网络的可用性信息确定第二通信网络可用时,显示第二通信网络可用的提示信息。In a second aspect, an embodiment of the present invention provides a method for connecting a communication network, where the method includes: the terminal is connected to the first communication network, and when the signal of the second communication network is detected, the query is sent to the service platform via the first communication network. An instruction for the availability information of the communication network. The terminal receives the query result returned by the service platform, and when the query result is unavailable, the terminal detects the availability information of the second communication network. When it is determined that the second communication network is available according to the detected availability information of the second communication network, the prompt information available to the second communication network is displayed.
在一种可能的实施方式中,终端通过第一通信网络将探测的第二通信网络的可用性信息上报服务平台。In a possible implementation manner, the terminal reports the availability information of the detected second communication network to the service platform through the first communication network.
在一种可能的实施方式中,查询结果不可用,具体为:查询结果不包括第二通信网络的可用性信 息;或查询结果包括第二通信网络的可用性信息和更新时间,根据更新时间确定第二通信网络的可用性信息过期。In a possible implementation manner, the query result is unavailable, specifically: the query result does not include the availability information of the second communication network. The query result includes the availability information and the update time of the second communication network, and the availability information of the second communication network is determined to expire according to the update time.
具体地,终端向服务平台发送查询第二通信网络可用性信息指令以及探测的第二通信网络的可用性信息等动作,均是在终端后台进行的,并不在显示屏显示给用户。终端通过后台过滤掉有信号但实际不可用的第二通信网络,提升用户网络体验质量。Specifically, the terminal sends an action of inquiring the second communication network availability information instruction and the detected availability information of the second communication network to the service platform, which are all performed in the background of the terminal, and are not displayed on the display screen to the user. The terminal filters out the second communication network with signals but is actually unavailable through the background, thereby improving the quality of the user network experience.
第三方面,本发明实施例提供一种通信网络的连接方法,该方法包括:终端与第一通信网络连接。终端检测到第二通信网络的信号时,探测第二通信网络的可用性信息。终端通过第一通信网络将探测的第二通信网络的可用性信息上报服务平台。In a third aspect, an embodiment of the present invention provides a connection method of a communication network, where the method includes: the terminal is connected to the first communication network. When the terminal detects the signal of the second communication network, it detects the availability information of the second communication network. The terminal reports the availability information of the detected second communication network to the service platform through the first communication network.
在一种可能的实施方式中,终端根据探测的第二通信网络的可用性信息确定第二通信网络可用时,显示第二通信网络可用的提示信息。In a possible implementation manner, the terminal determines, according to the detected availability information of the second communication network, that the second communication network is available, and displays the prompt information available to the second communication network.
在一种可能的实施方式中,终端探测第二通信网络的可用性信息之前,还包括以下步骤:终端与第一通信网络连接,检测到第二通信网络的信号时,经由第一通信网络向服务平台发送查询第二通信网络的可用性信息的指令。终端接收服务平台返回的查询结果,查询结果为不可用。In a possible implementation, before the terminal detects the availability information of the second communication network, the method further includes the following steps: the terminal is connected to the first communication network, and when the signal of the second communication network is detected, the service is sent to the service via the first communication network. The platform sends an instruction to query availability information of the second communication network. The terminal receives the query result returned by the service platform, and the query result is unavailable.
具体地,终端将探测的第二通信网络的可用性信息上报服务平台,以便终端之间通过服务平台共享第二通信网络的可用性信息。提升用户网络体验质量。Specifically, the terminal reports the availability information of the detected second communication network to the service platform, so that the terminal can share the availability information of the second communication network through the service platform. Improve the quality of user network experience.
第四方面,本发明实施例提供一种通信网络的连接方法,该方法包括:服务平台接收终端经由第一通信网络发送的查询第二通信网络的可用性信息的指令,指令为终端与第一通信网络连接,检测到第二通信网络的信号时,向服务平台发送的指令。服务平台查询第二通信网络的可用性信息,向终端发送查询结果,查询结果用于指示第二通信网络是否可用。In a fourth aspect, an embodiment of the present invention provides a method for connecting a communication network, where the method includes: the service platform receives an instruction sent by the terminal to query the availability information of the second communication network via the first communication network, where the instruction is the terminal and the first communication. Network connection, an instruction sent to the service platform when a signal of the second communication network is detected. The service platform queries the availability information of the second communication network, and sends a query result to the terminal, where the query result is used to indicate whether the second communication network is available.
在一种可能的实施方式中,服务平台接收终端探测的第二通信网络的可用性信息。In a possible implementation manner, the service platform receives the availability information of the second communication network detected by the terminal.
具体地,服务平台接收终端上报的第二通信网络的可用性信息,并提供给终端。以使终端之间通过服务平台保存并共享第二通信网络的可用性信息。使终端快速识别出质量不佳第二通信网络,提高终端使用第二通信网络的效率和质量,提升用户网络体验质量。Specifically, the service platform receives the availability information of the second communication network reported by the terminal, and provides the information to the terminal. So that the terminal can save and share the availability information of the second communication network through the service platform. The terminal can quickly identify the second communication network with poor quality, improve the efficiency and quality of the second communication network, and improve the quality of the user network experience.
第五方面,本发明提供了一种终端,该终端包括:处理器、WiFi模块、射频电路和显示屏,其中,射频电路用于与第一通信网络连接。WiFi模块用于检测第二通信网络信号。处理器,用于指示射频电路向服务平台发送查询第二通信网络的可用性信息的指令。射频电路还用于通过第一通信网络向服务平台发送查询第二通信网络的可用性信息的指令,接收服务平台返回的查询结果。处理器根据查询结果确定第二通信网络可用时,指示显示屏显示第二通信网络可用的提示信息。显示屏用于显示第二通信网络可用的提示信息。In a fifth aspect, the present invention provides a terminal, including: a processor, a WiFi module, a radio frequency circuit, and a display screen, wherein the radio frequency circuit is configured to be connected to the first communication network. The WiFi module is used to detect the second communication network signal. And a processor, configured to instruct the radio frequency circuit to send an instruction to the service platform to query the availability information of the second communication network. The radio frequency circuit is further configured to send, by using the first communication network, an instruction for querying the availability information of the second communication network to the service platform, and receive the query result returned by the service platform. When the processor determines, according to the query result, that the second communication network is available, the indication display screen displays the prompt information available to the second communication network. The display is used to display the prompt information available to the second communication network.
在一种可能的实施方式中,查询结果包括第二通信网络的可用性信息,处理器,具体用于根据可用性信息确定第二通信网络可用。In a possible implementation manner, the query result includes availability information of the second communication network, and the processor is specifically configured to determine, according to the availability information, that the second communication network is available.
在一种可能的实施方式中,查询结果包括第二通信网络的可用性信息和更新时间,处理器,具体用于根据更新时间确定可用性信息未过期,并根据可用性信息确定第二通信网络可用。In a possible implementation manner, the query result includes the availability information and the update time of the second communication network, and the processor is configured to determine that the availability information is not expired according to the update time, and determine that the second communication network is available according to the availability information.
第六方面,本发明提供了一种终端,该终端包括:处理器、WiFi模块、射频电路和显示屏,其中,射频电路用于与第一通信网络连接。WiFi模块用于检测第二通信网络信号。处理器,用于指示射频电路向服务平台发送查询第二通信网络的可用性信息的指令。射频电路还用于通过第一通信网络向服务平台发送查询第二通信网络的可用性信息的指令,接收服务平台返回的查询结果。处理器确定查询结果不可用时,指示WiFi模块探测第二通信网络的可用性信息,并根据探测的第二通信网络的可用性信息确定第二通信网络可用时,指示显示屏显示第二通信网络可用的提示信息。显示屏用于显示第二通信 网络可用的提示信息。In a sixth aspect, the present invention provides a terminal, including: a processor, a WiFi module, a radio frequency circuit, and a display screen, wherein the radio frequency circuit is configured to be connected to the first communication network. The WiFi module is used to detect the second communication network signal. And a processor, configured to instruct the radio frequency circuit to send an instruction to the service platform to query the availability information of the second communication network. The radio frequency circuit is further configured to send, by using the first communication network, an instruction for querying the availability information of the second communication network to the service platform, and receive the query result returned by the service platform. When the processor determines that the query result is unavailable, instructing the WiFi module to detect the availability information of the second communication network, and determining, according to the detected availability information of the second communication network, that the second display network is available, instructing the display screen to display a prompt that the second communication network is available information. Display for displaying the second communication Tips available for the network.
在一种可能的实施方式中,处理器还用于:指示射频电路向服务平台发送探测的第二通信网络的可用性信息。射频电路还用于通过第一通信网络向服务平台发送探测的第二通信网络的可用性信息。In a possible implementation manner, the processor is further configured to: indicate, by the radio frequency circuit, the availability information of the second communication network that sends the probe to the service platform. The radio frequency circuit is further configured to send the detected availability information of the second communication network to the service platform through the first communication network.
第七方面,本发明提供了一种终端,该终端包括:处理器、WiFi模块和射频电路,其中,射频电路用于与第一通信网络连接。WiFi模块用于检测第二通信网络信号,并探测第二通信网络的可用性信息。处理器,用于指示射频电路向服务平台发送探测的第二通信网络的可用性信息。射频电路还用于通过第一通信网络向服务平台发送探测的第二通信网络的可用性信息。In a seventh aspect, the present invention provides a terminal, the terminal comprising: a processor, a WiFi module, and a radio frequency circuit, wherein the radio frequency circuit is configured to be connected to the first communication network. The WiFi module is configured to detect the second communication network signal and detect availability information of the second communication network. And a processor, configured to instruct the radio frequency circuit to send the detected availability information of the second communication network to the service platform. The radio frequency circuit is further configured to send the detected availability information of the second communication network to the service platform through the first communication network.
在一种可能的实施方式中,终端还包括显示屏。处理器还用于根据探测的第二通信网络的可用性信息确定第二通信网络可用时,指示显示屏显示第二通信网络可用的提示信息。显示屏用于显示第二通信网络可用的提示信息。In a possible implementation manner, the terminal further includes a display screen. The processor is further configured to: when determining that the second communication network is available according to the detected availability information of the second communication network, instruct the display screen to display prompt information available to the second communication network. The display is used to display the prompt information available to the second communication network.
在一种可能的实施方式中,WiFi模块还用于检测第二通信网络信号。处理器,还用于指示射频电路向服务平台发送查询第二通信网络的可用性信息的指令。射频电路还用于通过第一通信网络向服务平台发送查询第二通信网络的可用性信息的指令,接收服务平台返回的查询结果。处理器确定查询结果不可用时,指示WiFi模块探测第二通信网络的可用性信息。In a possible implementation manner, the WiFi module is further configured to detect the second communication network signal. The processor is further configured to instruct the radio frequency circuit to send an instruction to the service platform to query the availability information of the second communication network. The radio frequency circuit is further configured to send, by using the first communication network, an instruction for querying the availability information of the second communication network to the service platform, and receive the query result returned by the service platform. The processor instructs the WiFi module to detect availability information of the second communication network when the processor determines that the query result is not available.
第八方面,本发明提供了一种服务平台,该服务平台包括:处理器和网络接口,其中,网络接口,用于与第一通信网络连接。网络接口,还用于接收终端通过第一通信网络发送的查询第二通信网络的可用性信息的指令,指令为终端与第一通信网络连接,检测到第二通信网络的信号时,向服务平台发送的指令。处理器,用于查询第二通信网络的可用性信息,并指示网络接口向终端发送查询结果,查询结果用于指示第二通信网络是否可用。网络接口,还用于通过第一通信网络向终端发送查询结果。In an eighth aspect, the present invention provides a service platform, including: a processor and a network interface, wherein the network interface is configured to be connected to the first communication network. The network interface is further configured to receive, by the terminal, an instruction sent by the first communication network to query the availability information of the second communication network, where the command is that the terminal is connected to the first communication network, and when the signal of the second communication network is detected, the device sends the signal to the service platform. Instructions. And a processor, configured to query the availability information of the second communication network, and instruct the network interface to send the query result to the terminal, where the query result is used to indicate whether the second communication network is available. The network interface is further configured to send the query result to the terminal through the first communication network.
在一种可能的实施方式中,网络接口,还用于通过第一通信网络接收终端发送的探测的第二通信网络的可用性信息。In a possible implementation, the network interface is further configured to receive, by using the first communication network, availability information of the probed second communication network sent by the terminal.
基于上述技术方案,本发明实施例提供的通信网络的连接方法、终端及服务平台,增加终端向服务平台查询通信网络可用性信息的功能,以及,在未查询到通信网络的可用性信息时,终端检测通信网络可用性信息。终端根据通信网络的可用性信息将检测到有信号但实际不可用的通信网络过滤,不提示用户实际质量不佳的网络,提升用户网络体验质量。Based on the foregoing technical solution, the connection method, the terminal, and the service platform of the communication network provided by the embodiment of the present invention increase the function of the terminal querying the service platform for the availability information of the communication network, and when the availability information of the communication network is not queried, the terminal detects Communication network availability information. The terminal filters the communication network that detects the signal but is actually unavailable according to the availability information of the communication network, and does not prompt the user to the actual poor quality network, thereby improving the quality of the user network experience.
附图说明DRAWINGS
图1为本发明实施例提供的通信系统架构图;FIG. 1 is a structural diagram of a communication system according to an embodiment of the present invention;
图2为本发明实施例提供的第一种通信网络连接方法流程图;2 is a flowchart of a method for connecting a first communication network according to an embodiment of the present invention;
图3为本发明实施例提供的第二种通信网络连接方法的流程图;FIG. 3 is a flowchart of a second method for connecting a communication network according to an embodiment of the present invention;
图4为本发明实施例提供的第三种通信网络连接方法的流程图;4 is a flowchart of a third method for connecting a communication network according to an embodiment of the present invention;
图5为本发明实施例提供的第四种通信网络连接方法流程图;FIG. 5 is a flowchart of a fourth method for connecting a communication network according to an embodiment of the present invention;
图6为本发明实施例提供的终端过滤不可用WLAN网络的界面示意图;FIG. 6 is a schematic diagram of an interface for filtering a terminal unavailable WLAN network according to an embodiment of the present disclosure;
图7为本发明实施例提供的通信网络连接方法的第一种信令交互图;FIG. 7 is a first signaling interaction diagram of a communication network connection method according to an embodiment of the present invention;
图8为本发明实施例提供的通信网络连接方法的第二种信令交互图;FIG. 8 is a second signaling interaction diagram of a communication network connection method according to an embodiment of the present invention;
图9为本发明实施例提供的通信网络连接方法的第三种信令交互图;FIG. 9 is a third signaling interaction diagram of a communication network connection method according to an embodiment of the present invention;
图10为本发明实施例提供的第一种终端架构图;FIG. 10 is a schematic diagram of a first terminal architecture according to an embodiment of the present invention;
图11为本发明实施例提供的第二种终端架构图;FIG. 11 is a schematic diagram of a second terminal architecture according to an embodiment of the present invention;
图12为本发明实施例提供的第三种终端架构图; FIG. 12 is a third terminal architecture diagram according to an embodiment of the present invention;
图13为本发明实施例提供的服务平台架构图。FIG. 13 is a structural diagram of a service platform according to an embodiment of the present invention.
具体实施方式detailed description
为便于对本发明实施例的理解,下面将结合附图以具体实施例做进一步的解释说明,实施例并不构成对本发明实施例的限定。In order to facilitate the understanding of the embodiments of the present invention, the embodiments of the present invention are not to be construed as limiting.
本发明实施例的方法可应用于终端的系统软件。系统软件是指支持应用软件开发和运行的系统,是无需用户干预的各种程序的集合。终端包括若干个应用软件,应用软件是使用各种程序设计语言编制的应用程序集合,其是为解决各种应用问题而设计出的计算机软件程序。终端可以包括处理器、存储器、输入单元、显示单元、射频电路、系统总线;系统总线用于使终端各部件之间进行信息传递。输入单元可以包括键盘、触摸屏、鼠标等部件中的一个或多个,其用于接收用户输入信息,并将接收的信息发送至处理器进行处理;显示单元用于显示终端需要显示的内容。输入单元和显示单元可以集成在一个触摸显示屏中。射频电路用于实现终端与外部设备之间相互通信的功能。The method of the embodiment of the present invention can be applied to system software of a terminal. System software refers to a system that supports application development and operation, and is a collection of various programs that do not require user intervention. The terminal includes a plurality of application software, which is a collection of applications compiled in various programming languages, which are computer software programs designed to solve various application problems. The terminal may include a processor, a memory, an input unit, a display unit, a radio frequency circuit, and a system bus; the system bus is configured to transfer information between the components of the terminal. The input unit may include one or more of a keyboard, a touch screen, a mouse, and the like for receiving user input information and transmitting the received information to a processor for processing; the display unit is configured to display content that the terminal needs to display. The input unit and the display unit can be integrated in one touch display. The radio frequency circuit is used to implement the function of communication between the terminal and the external device.
需要说明的是,本发明实施例提供的终端还可包括注册模块,其可向服务平台发送注册请求。终端向服务平台发送查询指令时,服务平台会先验证该终端是否已注册,服务平台会为注册通过的终端提供相关服务。It should be noted that the terminal provided by the embodiment of the present invention may further include a registration module, which may send a registration request to the service platform. When the terminal sends an inquiry command to the service platform, the service platform first verifies whether the terminal is registered, and the service platform provides related services for the terminal that is registered.
图1为本发明实施例提供的通信系统架构图。本发明实施例提供的一种通信网络的连接方法基于图1所示的通信系统。如图1所示,该通信系统包括:第一通信网络300、第二通信网络400、终端100和服务平台200。终端100通过第一通信网络300与服务平台200通讯。终端100检测到第二通信网络400的信号时,终端100经由第一通信网络300向服务平台200发送查询第二通信网络400的可用性信息的指令。服务平台200查询到第二通信网络400可用性信息,并将携带第二通信网络400的可用性信息的查询结果返回给终端100,以便终端100根据第二通信网络400的可用性信息确定是否提示第二通信网络400可连接。FIG. 1 is a structural diagram of a communication system according to an embodiment of the present invention. A connection method of a communication network provided by an embodiment of the present invention is based on the communication system shown in FIG. 1. As shown in FIG. 1, the communication system includes a first communication network 300, a second communication network 400, a terminal 100, and a service platform 200. The terminal 100 communicates with the service platform 200 through the first communication network 300. When the terminal 100 detects the signal of the second communication network 400, the terminal 100 transmits an instruction to query the availability information of the second communication network 400 to the service platform 200 via the first communication network 300. The service platform 200 queries the second communication network 400 availability information, and returns the query result carrying the availability information of the second communication network 400 to the terminal 100, so that the terminal 100 determines whether to prompt the second communication according to the availability information of the second communication network 400. Network 400 can be connected.
需要说明的是,本发明提供的通信网络的连接方法可应用到智能手机、平板电脑或笔记本/台式电脑连接无线热点的实例中。其中,终端100具体可为智能手机101、平板电脑102、笔记本/台式电脑103或智能穿戴设备、车载终端等能够接入无线热点的终端。第一通信网络300可以是基站310、光纤320或无线热点330等提供的网络。第二通信网络400可以是无线热点提供的网络。服务平台200可以是无线网络管理服务器。It should be noted that the connection method of the communication network provided by the present invention can be applied to an example of connecting a wireless hotspot to a smartphone, a tablet or a notebook/desktop computer. The terminal 100 may specifically be a terminal that can access a wireless hotspot, such as a smart phone 101, a tablet computer 102, a notebook/desktop computer 103, or a smart wearable device or an in-vehicle terminal. The first communication network 300 can be a network provided by the base station 310, the optical fiber 320, or the wireless hotspot 330. The second communication network 400 can be a network provided by a wireless hotspot. The service platform 200 can be a wireless network management server.
在一个示例中,服务平台200未查询到第二通信网络400可用性信息,返回未携带第二通信网络400可用性信息的查询结果时,终端100通过通信模块检测第二通信网络400的可用性信息。例如,通信模块可以是WiFi模块、蓝牙模块等。终端100根据探测的第二通信网络400的可用性信息判断,在第二通信网络400可用时,在显示界面提示所述第二通信网络400可连接。终端100还可以将探测的第二通信网络400的可用性信息上报服务平台200。In one example, when the service platform 200 does not query the second communication network 400 availability information and returns a query result that does not carry the second communication network 400 availability information, the terminal 100 detects the availability information of the second communication network 400 through the communication module. For example, the communication module can be a WiFi module, a Bluetooth module, or the like. The terminal 100 determines from the detected availability information of the second communication network 400 that when the second communication network 400 is available, the second communication network 400 is prompted to be connected on the display interface. The terminal 100 can also report the availability information of the detected second communication network 400 to the service platform 200.
下面以通信模块为WiFi模块为例,进行说明。The following takes the communication module as a WiFi module as an example for description.
在另一个示例中,服务平台200返回携带第二通信网络400的可用性信息的查询结果。终端100根据该信息的最后更新时间以及当前访问时间的时间差值,判断其已超出第一时间阈值而过期时,终端100通过WiFi模块检测第二通信网络400的可用性信息。终端100根据探测的第二通信网络400的可用性信息判断,在第二通信网络400可用时,在显示界面提示所述第二通信网络400可连接。终端100将探测的第二通信网络400的可用性信息上报服务平台200。其中,第一时间阈值可以是预设的一个时间阈值。 In another example, the service platform 200 returns a query result that carries the availability information of the second communication network 400. When the terminal 100 determines that it has exceeded the first time threshold and expires according to the last update time of the information and the time difference of the current access time, the terminal 100 detects the availability information of the second communication network 400 through the WiFi module. The terminal 100 determines from the detected availability information of the second communication network 400 that when the second communication network 400 is available, the second communication network 400 is prompted to be connected on the display interface. The terminal 100 reports the detected availability information of the second communication network 400 to the service platform 200. The first time threshold may be a preset time threshold.
本发明实施例可以应用到WLAN网络的连接场景中。在终端检测到AP的信号时,通过向服务平台查询AP的可用性信息。或者,在服务平台未查询到某AP的可用性信息或其可用性信息过期时,终端通过WiFi模块关联并认证该AP,探测其可用性信息。终端根据AP的可用性信息过滤掉实际不可用的AP,只在显示界面提示实际可用的AP。本发明实施例提供的通信网络连接方法,可过滤实际不可用的AP,提升用户网络体验质量。The embodiments of the present invention can be applied to a connection scenario of a WLAN network. When the terminal detects the signal of the AP, it queries the service platform for the availability information of the AP. Alternatively, when the service platform does not query the availability information of an AP or its availability information expires, the terminal associates and authenticates the AP through the WiFi module, and detects the availability information. The terminal filters out the AP that is actually unavailable according to the availability information of the AP, and only prompts the AP that is actually available on the display interface. The communication network connection method provided by the embodiment of the present invention can filter an AP that is not actually available, and improve the quality of the user network experience.
本发明实施例提供的通信网络连接方法,终端将探测的AP的可用性信息上报服务平台,以便终端之间共享AP的可用性信息,能够使终端快速识别出质量不佳AP,提高终端使用AP的效率和质量,提升用户网络体验质量。In the communication network connection method provided by the embodiment of the present invention, the terminal reports the availability information of the detected AP to the service platform, so that the terminal can share the availability information of the AP, so that the terminal can quickly identify the poor quality AP and improve the efficiency of the AP using the AP. And quality to improve the quality of the user's network experience.
图2为本发明实施例提供的第一种通信网络连接方法流程图。包括以下步骤:FIG. 2 is a flowchart of a method for connecting a first communication network according to an embodiment of the present invention. Includes the following steps:
步骤201,终端与第一通信网络连接,检测到第二通信网络的信号时,经由第一通信网络向服务平台发送查询第二通信网络的可用性信息的指令。Step 201: The terminal is connected to the first communication network, and when detecting the signal of the second communication network, sends an instruction for querying the availability information of the second communication network to the service platform via the first communication network.
第二通信网络的可用性信息包括上网状态信息、网速、延迟时间和更新时间中的一个或多个信息集合。The availability information of the second communication network includes one or more information sets of the Internet status information, the network speed, the delay time, and the update time.
步骤202,终端接收服务平台返回的查询结果,根据查询结果确定第二通信网络可用时,显示第二通信网络可用的提示信息。Step 202: The terminal receives the query result returned by the service platform, and determines, according to the query result, that the second communication network is available, and displays the prompt information available to the second communication network.
在一个示例中,查询结果包括第二通信网络的可用性信息,终端根据可用性信息确定第二通信网络可用时,显示第二通信网络可用的提示信息。In one example, the query result includes availability information of the second communication network, and the terminal determines, according to the availability information, the prompt information available to the second communication network when the second communication network is available.
在又一个示例中,查询结果包括第二通信网络的可用性信息和更新时间,终端根据更新时间确定可用性信息未过期,并根据可用性信息确定第二通信网络可用时,显示第二通信网络可用的提示信息。In yet another example, the query result includes the availability information and the update time of the second communication network, the terminal determines that the availability information has not expired according to the update time, and determines, when the second communication network is available, according to the availability information, displaying a prompt that the second communication network is available. information.
具体地,第二通信网络可用具体为第二通信网络的上网状态信息指示可上网,和/或网速不低于第一网速阈值,和/或延迟时间不高于第一延迟时间阈值。Specifically, the second communication network may indicate that the Internet access status information of the second communication network is available for Internet access, and/or the network speed is not lower than the first network speed threshold, and/or the delay time is not higher than the first delay time threshold.
需要说明的是,终端向服务平台发送查询第二通信网络可用性信息指令之前,服务平台可接收其他终端发送的第二通信网络可用性信息,并已保存。或服务平台还未保存有该第二通信网络可用性信息。在服务平台收到终端的查询指令时,服务平台查询该第二通信网络可用性信息,并向终端返回上述查询结果。It should be noted that before the terminal sends the query for the second communication network availability information to the service platform, the service platform may receive the second communication network availability information sent by the other terminal and save the information. The second communication network availability information has not been saved by the service platform. When the service platform receives the query instruction of the terminal, the service platform queries the second communication network availability information, and returns the foregoing query result to the terminal.
在本发明另一实施例中,终端检测到第二网络信号,不需要向服务平台查询所述第二网络信号的可用性信息,而直接探测第二通信网络的可用性信息,并将探测的第二通信网络的可用性信息上报服务平台。服务平台接收并保存终端上报的第二通信网络的可用性信息。终端之间可以通过服务平台共享第二通信网络的可用性信息。终端检测到第二通信网络的信号时,能够根据服务平台记录的或其探测的第二通信网络的可用性信息过滤实际不可用的第二通信网络,只在显示屏显示实际可用的第二通信网络。可提升用户网络体验质量。In another embodiment of the present invention, the terminal detects the second network signal, does not need to query the service platform for the availability information of the second network signal, and directly detects the availability information of the second communication network, and detects the second information. The availability information of the communication network is reported to the service platform. The service platform receives and stores the availability information of the second communication network reported by the terminal. The availability information of the second communication network can be shared between the terminals through the service platform. When detecting the signal of the second communication network, the terminal can filter the second communication network that is actually unavailable according to the availability information recorded by the service platform or the second communication network that is detected by the service platform, and display only the second communication network that is actually available on the display screen. . Improve the quality of the user's network experience.
图3为本发明实施例提供的第二种通信网络连接方法流程图。包括以下步骤:FIG. 3 is a flowchart of a second method for connecting a communication network according to an embodiment of the present invention. Includes the following steps:
步骤301,终端与第一通信网络连接,检测到第二通信网络的信号时,经由第一通信网络向服务平台发送查询第二通信网络的可用性信息的指令。Step 301: The terminal is connected to the first communication network, and when detecting the signal of the second communication network, sends an instruction for querying the availability information of the second communication network to the service platform via the first communication network.
步骤302,终端接收服务平台返回的查询结果,查询结果不可用时,终端探测第二通信网络的可用性信息。Step 302: The terminal receives the query result returned by the service platform. When the query result is unavailable, the terminal detects the availability information of the second communication network.
查询结果不可用具体为:查询结果不包括第二通信网络的可用性信息。或,查询结果包括第二通信网络的可用性信息和更新时间,根据所述更新时间确定第二通信网络的可用性信息过期。The query result is unavailable. The query result does not include the availability information of the second communication network. Or, the query result includes the availability information and the update time of the second communication network, and the availability information of the second communication network is determined to expire according to the update time.
步骤303,根据探测的第二通信网络的可用性信息确定第二通信网络可用时,显示第二通信网络 可用的提示信息。Step 303: Determine, according to the detected availability information of the second communication network, that the second communication network is available, display the second communication network. Available hints.
在一个示例中,终端还将所述探测的第二通信网络的可用性信息上报服务平台。In one example, the terminal also reports the availability information of the probed second communication network to the service platform.
可以理解的是,终端通过服务平台共享第二通信网络的可用性信息。使得终端可以根据共享的第二通信网络的可用性信息过滤实际不可用的网络,提升用户网络体验质量。It can be understood that the terminal shares the availability information of the second communication network through the service platform. The terminal can filter the actually unavailable network according to the availability information of the shared second communication network, and improve the quality of the user network experience.
终端接收到用户发送的连接到第二通信网络的指示信息时,连接到第二通信网络。When the terminal receives the indication information sent by the user and connected to the second communication network, the terminal connects to the second communication network.
图4为本发明实施例提供的第三种通信网络连接方法的流程图。包括以下步骤:FIG. 4 is a flowchart of a third method for connecting a communication network according to an embodiment of the present invention. Includes the following steps:
步骤401,终端检测到AP的信号。In step 401, the terminal detects the signal of the AP.
终端可以是智能手机。终端可通过射频电路与3G/4G基站网络连接,可通过WiFi模块检测到AP有一定强度的SSID。The terminal can be a smartphone. The terminal can be connected to the 3G/4G base station network through the radio frequency circuit, and the AP module can detect the SSID of the AP with a certain strength through the WiFi module.
步骤402,终端向服务平台发送查询该AP的可用性信息的指令。Step 402: The terminal sends an instruction to the service platform to query the availability information of the AP.
终端可通过射频电路向服务平台发送查询该AP的可用性信息的指令。AP的可用性信息可以包括:上网状态信息、网速、延迟时间以及最后更新时间中的一个或多个信息集合。其中,上网状态信息指示:是否可以上网。The terminal may send an instruction to the service platform to query the availability information of the AP through the radio frequency circuit. The availability information of the AP may include one or more information sets of the Internet status information, the network speed, the delay time, and the last update time. The online status information indicates whether the Internet is available.
需要说明的是,终端可通过WiFi模块检测AP信号、通过射频电路向服务平台发送查询AP的可用性信息的指令这些动作,均是由终端的处理器指示的。例如,在用户在终端的输入界面输入“开启WLAN”指令,终端的处理器指示WiFi模块检测AP、指示射频电路查询AP的可用性信息、以及根据AP的可用性信息判断是否提示AP可用等动作。终端的处理器在后台识别出实际不可用的AP并过滤,用户并不感知相关步骤。相对于终端的显示界面,该过程是由后台进行的。可以理解为终端的后台执行。It should be noted that the actions that the terminal can detect the AP signal through the WiFi module and send the instruction for querying the availability information of the AP to the service platform through the radio frequency circuit are all indicated by the processor of the terminal. For example, when the user inputs an "open WLAN" command on the input interface of the terminal, the processor of the terminal instructs the WiFi module to detect the AP, instructs the radio frequency circuit to query the availability information of the AP, and determines whether to prompt the AP to be available according to the availability information of the AP. The processor of the terminal identifies the AP that is actually unavailable in the background and filters, and the user does not perceive the relevant steps. The process is performed by the background relative to the display interface of the terminal. Can be understood as the background execution of the terminal.
终端的处理器与外界设备或网络的交互需要通过其他模块实现。以终端为手机终端为例:手机终端需通过WiFi模块连接WLAN网络,手机终端需通过射频电路连接第一通信网络(3G/4G网络),手机终端经由3G/4G网络与服务平台交互。The interaction between the processor of the terminal and the external device or network needs to be implemented by other modules. Taking the terminal as the mobile terminal as an example: the mobile terminal needs to connect to the WLAN network through the WiFi module, and the mobile terminal needs to connect to the first communication network (3G/4G network) through the RF circuit, and the mobile terminal interacts with the service platform via the 3G/4G network.
步骤403,终端接收服务平台返回的查询结果。Step 403: The terminal receives the query result returned by the service platform.
服务平台的网络接口收到终端发送的查询AP的可用性信息的指令。服务平台的处理器可先验证该终端是否已成功注册。如果该终端已注册通过,则服务平台的处理器查询该AP的可用性信息;否则,服务平台不处理终端的查询指令。The network interface of the service platform receives an instruction sent by the terminal to query the availability information of the AP. The processor of the service platform can first verify whether the terminal has successfully registered. If the terminal has been registered, the processor of the service platform queries the availability information of the AP; otherwise, the service platform does not process the query instruction of the terminal.
在一个示例中,服务平台的处理器可在其存储器中查询该AP的可用性信息。In one example, the processor of the service platform can query the availability information of the AP in its memory.
如果服务平台的处理器查询到该AP的可用性信息,通过网络接口向终端返回携带该AP的可用性信息和该AP的可用性信息更新时间的查询结果,执行步骤404。如果服务平台未查询到该AP的可用性信息,向终端返回的未携带该AP的可用性信息的查询结果,执行步骤407。If the processor of the service platform queries the availability information of the AP, the query results of the availability information of the AP and the availability information update time of the AP are returned to the terminal through the network interface, and step 404 is performed. If the service platform does not query the availability information of the AP, and returns a query result that does not carry the availability information of the AP to the terminal, step 407 is performed.
步骤404,判断AP的可用性信息是否过期。In step 404, it is determined whether the availability information of the AP is expired.
终端的处理器根据AP的可用性信息的最后更新时间距当前终端的访问时间超出第一时间阈值,判断服务平台发送的AP的可用性信息过期,执行步骤407。否则,执行步骤405。The processor of the terminal determines that the availability information of the AP sent by the service platform expires according to the time when the last update time of the availability information of the AP exceeds the access time of the current terminal, and performs step 407. Otherwise, step 405 is performed.
步骤405,终端根据AP的可用性信息判断AP是否可用。Step 405: The terminal determines, according to the availability information of the AP, whether the AP is available.
终端的处理器根据AP的可用性信息确定该AP可用时,指示显示屏显示AP可用的提示信息。终端的处理器根据AP的可用性信息确定该AP不可用时,不指示显示屏显示AP可用的提示信息。过滤不可用AP,提升用户网络体验质量。The processor of the terminal determines, according to the availability information of the AP, that the display screen displays the prompt information available to the AP when the AP is available. When the processor of the terminal determines, according to the availability information of the AP, that the AP is unavailable, the display does not indicate that the display screen displays the prompt information available to the AP. Filter the unavailable APs to improve the quality of the user's network experience.
终端可根据业务需求预先设定网速阈值,和/或延迟时间阈值,以过滤掉不满足终端需求的AP。The terminal may preset a network speed threshold and/or a delay time threshold according to service requirements to filter out APs that do not meet the requirements of the terminal.
在一个示例中,如果AP的可用性信息中:“是否可以上网”栏显示为“否”,则终端不提示用户该AP可用。在另一个示例中,如果AP的可用性信息中:“是否可以上网”栏显示为“是”,终端还 可以预先设定一定的网速阈值和/或延迟时间阈值,以进一步过滤掉网速低和/或延迟时间长的AP。终端根据AP的可用性信息,过滤掉实际质量不佳的AP,提高用户网络体验质量。In one example, if the "Is the Internet Available" column in the availability information of the AP is displayed as "No", the terminal does not prompt the user that the AP is available. In another example, if the "Available Internet" column in the availability information of the AP is displayed as "Yes", the terminal also A certain network speed threshold and/or delay time threshold may be preset to further filter out APs with low network speed and/or long delay time. Based on the availability information of the AP, the terminal filters out APs with poor actual quality and improves the quality of the user's network experience.
步骤406,结束流程。In step 406, the process ends.
终端过滤掉不可用AP,只在显示屏显示可用的AP的提示信息,提升用户网络体验质量。The terminal filters out the unavailable APs and displays only the prompts of available APs on the display to improve the quality of the user's network experience.
步骤407,终端关联该AP,访问预设Internet地址。Step 407: The terminal associates the AP with a preset Internet address.
终端通过WiFi模块关联该AP,获取该AP的IP和域名解析系统(英文:Domain Name System,DNS),访问预设的网址。其中,预设的网址可以任意Internet地址,也可以是某一特定Internet地址。The terminal associates the AP with the WiFi module, obtains the IP and domain name resolution system (English) of the AP, and accesses the preset URL. The preset URL may be any Internet address or a specific Internet address.
步骤408,AP返回Wed Portal页面信息。In step 408, the AP returns the WED Portal page information.
AP将访问重定向,返回AP的门户Wed Portal认证页面信息。AP将终端的访问重定向是为了将终端的访问跳转至该AP的认证页面。Wed Portal页面包括该AP的特征参数信息。AP的特征参数包括AP的控制器(英文:Access Controller,AC)认证鉴权所需的必填参数。The AP redirects the access and returns the information of the portal's WED Portal authentication page. The AP redirects the access of the terminal to jump the access of the terminal to the authentication page of the AP. The Wed Portal page includes feature parameter information of the AP. The AP's characteristic parameters include the required parameters required for the authentication of the AP's controller (English: Access Controller, AC).
步骤409,终端解析该AP特征参数,向AC发送认证参数进行认证鉴权。Step 409: The terminal parses the AP feature parameter, and sends an authentication parameter to the AC for authentication and authentication.
终端的WiFi模块解析该AP特征参数,向AC发送认证参数进行认证鉴权。WLAN用户的身份识别和鉴权一般依赖于网络内唯一的账号及其对应的密码,通过认证中心,如远端接入拨号用户服务协议服务器,远端接入AP的控制器AC,实现用户身份的确认和鉴权过程。The WiFi module of the terminal parses the AP feature parameters, and sends an authentication parameter to the AC for authentication and authentication. The identity and authentication of the WLAN user generally depends on the unique account number and its corresponding password in the network. The authentication center, such as the remote access dial-up user service protocol server, and the remote access controller of the AP, implement the user identity. Confirmation and authentication process.
AP特征参数包括但不限于:AC的IP地址(wlanacip),AC的名字(wlanacname)、用户IP(wlanuserip)、AC资源目的地址(posturl)以及AC服务集标识(wlanacssid)。上述5个参数为终端向AC认证鉴权所需的必填参数。The AP feature parameters include, but are not limited to, the AC's IP address (wlanacip), the AC's name (wlanacname), the user's IP (wlanuserip), the AC resource destination address (posturl), and the AC service set identifier (wlanacssid). The above five parameters are required parameters required for the terminal to authenticate to the AC.
终端向AC认证参数包括但不限于用户名、密码以及上述AP特征参数。The terminal authentication parameters to the AC include, but are not limited to, a username, a password, and the AP feature parameters described above.
需要说明的是,终端向AC认证鉴权所需的AP特征参数包括但不限于以上几项,还可包括其他AP特征参数,例如:actiontype,macaddress,logonsessid,uaId,macaddress等AP特征参数。另外,可以理解的是,向AC发送的认证参数,也可不包括用户名和密码。It should be noted that the AP feature parameters required for the terminal to authenticate to the AC include, but are not limited to, the foregoing, and may include other AP feature parameters, such as action type, macaddress, logosessid, uaId, macaddress, and the like. In addition, it can be understood that the authentication parameter sent to the AC may not include the username and password.
步骤410,AC对认证参数进行鉴权。In step 410, the AC authenticates the authentication parameter.
如果AC鉴权未通过,则该AP实际不可用,执行步骤405和步骤412,其中步骤405和步骤412的执行顺序不做限定,可以先执行步骤405再执行步骤412,也可以先执行步骤412再执行步骤405,还可以同时执行步骤405和步骤412。其中,在步骤405中,终端的处理器不指示显示屏显示该AP可用的信息。在步骤412中,终端通过射频电路将该AP不可上网的信息上报服务平台。If the AP is not available, the AP is not available, and the steps 405 and 412 are performed. The sequence of the steps 405 and 412 is not limited. Step 405 may be performed before step 412, or step 412 may be performed first. Step 405 is performed again, and step 405 and step 412 can also be performed simultaneously. Wherein, in step 405, the processor of the terminal does not instruct the display screen to display information available to the AP. In step 412, the terminal reports the information that the AP is not online to the service platform through the radio frequency circuit.
如果AC鉴权通过,则WiFi模块连接到该AP。执行步骤411。If the AC authentication passes, the WiFi module is connected to the AP. Go to step 411.
步骤411,终端探测该AP的可用性信息,并上报服务平台。In step 411, the terminal detects the availability information of the AP and reports the information to the service platform.
终端的WiFi模块探测该AP的可用性信息,执行步骤405。The WiFi module of the terminal detects the availability information of the AP, and step 405 is performed.
步骤412,服务平台更新该AP的可用性信息,记录更新时间。Step 412: The service platform updates the availability information of the AP, and records the update time.
终端通过射频电路将探测的该AP的可用性信息上报服务平台,服务平台在存储器中保存并更新该AP的可用性信息。在更新该AP的可用性信息时,同时记录更新时间,以方便后续其他终端依据该AP的可用性信息的更新时间判断该条信息是否过期。The terminal reports the detected availability information of the AP to the service platform through the radio frequency circuit, and the service platform saves and updates the availability information of the AP in the memory. When the availability information of the AP is updated, the update time is recorded at the same time, so that subsequent terminals can determine whether the piece of information expires according to the update time of the availability information of the AP.
图5为本发明实施例提供的第四种通信网络连接方法流程图。包括以下步骤:FIG. 5 is a flowchart of a fourth method for connecting a communication network according to an embodiment of the present invention. Includes the following steps:
步骤501,服务平台接收终端经由第一通信网络发送的查询第二通信网络的可用性信息的指令,指令为终端与第一通信网络连接,检测到第二通信网络的信号时,向服务平台发送的指令。Step 501: The service platform receives, by using the first communication network, an instruction for querying the availability information of the second communication network, where the command is that the terminal is connected to the first communication network, and when the signal of the second communication network is detected, the information is sent to the service platform. instruction.
步骤502,服务平台查询第二通信网络的可用性信息,向终端发送查询结果,查询结果用于指示第二通信网络是否可用。 Step 502: The service platform queries the availability information of the second communication network, and sends a query result to the terminal, where the query result is used to indicate whether the second communication network is available.
在一个示例中,查询结果包括第二通信网络的可用性信息,服务平台向终端发送查询结果,以使终端根据可用性信息确定第二通信网络可用时,显示第二通信网络可用的提示信息。In one example, the query result includes availability information of the second communication network, and the service platform sends the query result to the terminal to enable the terminal to display the prompt information available to the second communication network when the second communication network is available according to the availability information.
在又一个示例中,查询结果包括第二通信网络的可用性信息和更新时间,服务平台向终端发送查询结果,以使终端根据更新时间确定可用性信息未过期,并根据可用性信息确定第二通信网络可用时,显示第二通信网络可用的提示信息。In yet another example, the query result includes the availability information and the update time of the second communication network, and the service platform sends the query result to the terminal, so that the terminal determines that the availability information has not expired according to the update time, and determines that the second communication network is available according to the availability information. When the second communication network is available, the prompt information is displayed.
在一个示例中,服务平台接收所述终端探测的第二通信网络的可用性信息。In one example, the service platform receives availability information of the second communication network probed by the terminal.
图6为本发明实施例提供的终端过滤不可用WLAN网络的界面示意图。如图6所示,该界面包括601和602部分,601部分为终端后台检测到的有信号的WLAN列表。602部分为过滤后的可用WLAN列表。通过上述图2—图5的方法,终端后台将不可用的WLAN过滤,通过该界面显示可用的WLAN的提示信息。过滤掉实际业务质量不佳的WLAN网络,提升用户WLAN网络体验质量。FIG. 6 is a schematic diagram of an interface for filtering a terminal unavailable WLAN network according to an embodiment of the present invention. As shown in FIG. 6, the interface includes parts 601 and 602, and part 601 is a signaled WLAN list detected by the terminal in the background. Section 602 is a filtered list of available WLANs. Through the method of FIG. 2 to FIG. 5 above, the terminal background filters the unavailable WLAN, and displays the prompt information of the available WLAN through the interface. Filter out the WLAN network with poor actual service quality and improve the quality of the user's WLAN network experience.
图7为本发明实施例提供的通信网络连接方法的第一种信令交互图。终端收到服务平台返回的未过期的AP的可用性信息的查询结果时,终端根据该AP的可用性信息判断是否提示用户该AP可用。如图7所示,包括以下步骤:FIG. 7 is a first signaling interaction diagram of a communication network connection method according to an embodiment of the present invention. When the terminal receives the query result of the availability information of the unexpired AP returned by the service platform, the terminal determines, according to the availability information of the AP, whether the user is prompted to use the AP. As shown in Figure 7, the following steps are included:
步骤701,终端检测到AP的信号。In step 701, the terminal detects the signal of the AP.
步骤702,终端向服务平台发送查询该AP的可用性信息的指令。Step 702: The terminal sends an instruction to the service platform to query the availability information of the AP.
步骤703,服务平台查询该AP的可用性信息。Step 703: The service platform queries the availability information of the AP.
步骤704,服务平台向终端返回查询结果。Step 704, the service platform returns a query result to the terminal.
服务平台查询到该AP的可用性信息,则向终端返回携带该AP的可用性信息的查询结果。该查询结果还携带该AP的可用性信息的更新时间。The service platform queries the terminal for the availability information of the AP, and returns a query result that carries the availability information of the AP to the terminal. The query result also carries the update time of the availability information of the AP.
步骤705,终端根据查询结果判断该AP是否可用。Step 705: The terminal determines, according to the query result, whether the AP is available.
在一个示例中,查询结果携带AP的可用性信息,终端的处理器根据AP的可用性信息确定AP可用时,指示显示屏显示AP可用的提示信息。或,终端的处理器根据AP的可用性信息确定AP不可用时,不指示显示屏显示AP可用的提示信息。In an example, the query result carries the availability information of the AP, and the processor of the terminal determines, according to the availability information of the AP, that the display screen displays the prompt information available to the AP. Or, the processor of the terminal determines, according to the availability information of the AP, that the display does not indicate that the display information that the AP is available when the AP is unavailable.
在另一个示例中,查询结果携带AP的可用性信息和更新时间。终端的处理器根据更新时间确定AP的可用性信息未过期时,终端的处理器根据AP的可用性信息确定AP可用时,指示显示屏显示AP可用的提示信息。或,终端的处理器根据AP的可用性信息确定AP不可用时,不指示显示屏显示AP可用的提示信息。In another example, the query results carry the availability information and update time of the AP. When the processor of the terminal determines that the availability information of the AP has not expired according to the update time, the processor of the terminal determines, according to the availability information of the AP, that the display screen displays the prompt information available to the AP. Or, the processor of the terminal determines, according to the availability information of the AP, that the display does not indicate that the display information that the AP is available when the AP is unavailable.
终端可预先设定一个阈值时间T,以保证AP可用性信息的时效。如果当前访问时间Tn减去更新时间Tl,得到的时间差值小于T,即Tn-Tl<T,则该条AP的可用性信息未过期;如果当前访问时间Tn减去更新时间Tl,得到的时间差值大于T,即Tn-Tl>T,则该条AP的可用性信息过期。The terminal can preset a threshold time T to ensure the timeliness of the AP availability information. If the current access time Tn is subtracted from the update time T1, and the obtained time difference is less than T, that is, Tn-Tl<T, the availability information of the piece of AP is not expired; if the current access time Tn is subtracted from the update time T1, the obtained time is obtained. If the difference is greater than T, that is, Tn-Tl>T, the availability information of the piece of AP expires.
在一个示例中,终端可根据AP上网状态信息,判断是否可以上网,只在显示屏显示可上网的AP的提示信息。过滤不能上网的AP,以提升用户网络体验质量。In an example, the terminal may determine whether the Internet is available according to the Internet access status information of the AP, and only display the prompt information of the AP that can access the Internet on the display screen. Filter APs that cannot access the Internet to improve the quality of the user's network experience.
在另一个示例中,终端可以预设一个网速阈值,以过滤网速很低的AP,提升用户网络体验质量。当AP网率不低于网速阈值时,终端的处理器指示显示屏显示AP可用的提示信息,提示用户该AP业务可用。否则,终端的处理器不指示显示屏显示AP可用的提示信息,不提示用户该AP业务可用。其中,终端可以根据其对网速的下限需求设定一个具体的网速阈值。In another example, the terminal may preset a network speed threshold to filter the AP with a low network speed to improve the quality of the user network experience. When the AP network rate is not lower than the network speed threshold, the processor of the terminal instructs the display screen to display the prompt information available to the AP, prompting the user that the AP service is available. Otherwise, the processor of the terminal does not indicate that the display screen displays the prompt information available to the AP, and does not prompt the user that the AP service is available. The terminal can set a specific network speed threshold according to the lower limit requirement of the network speed.
在又一个示例中,终端可以预设一个延迟时间阈值,以过滤延迟时间长的AP,或者过滤网速符合要求,但是延迟时间过长的AP,提升用户网络体验质量。当AP延迟时间不高于延迟时间阈值时,终端的处理器指示显示屏显示AP可用的提示信息,提示用户该AP业务可用。否则,终端的处理器不指示 显示屏显示AP可用的提示信息,不提示用户该AP业务可用。其中,终端可以根据其对网络延迟时间的上限需求设定一个具体的延迟时间阈值。In another example, the terminal may preset a delay time threshold to filter the AP with a long delay time, or filter the AP whose network speed meets the requirements, but the delay time is too long, and improve the quality of the user network experience. When the AP delay time is not higher than the delay time threshold, the processor of the terminal instructs the display screen to display the prompt information available to the AP, prompting the user that the AP service is available. Otherwise, the processor of the terminal does not indicate The display shows the prompt information available to the AP, and does not prompt the user that the AP service is available. The terminal can set a specific delay time threshold according to the upper limit requirement of the network delay time.
终端可以根据需求,设定符合其自身要求的阈值标准,快速匹配到满足要求的通信网络,提升用户网络体验质量。The terminal can set a threshold standard that meets its own requirements according to requirements, and quickly matches the communication network that meets the requirements, thereby improving the quality of the user network experience.
可以理解的是,在终端使用AP的过程中,如果检测到AP的可用性信息发生变化。例如,在终端使用AP过程中,AP突然断网,或者网速改变,或者延迟时间改变,终端可以将其检测的新的AP的可用性信息上报服务平台,以便及时更新AP的可用性信息。It can be understood that, in the process of using the AP by the terminal, if the availability information of the AP is detected to change. For example, in the process of using the AP by the terminal, the AP suddenly disconnects the network, or the network speed changes, or the delay time changes. The terminal can report the availability information of the detected new AP to the service platform, so as to update the availability information of the AP in time.
图8为本发明实施例提供的通信网络连接方法的第二种信令交互图。终端收到服务平台返回的不可用的查询结果时,终端关联该AP并进行鉴权,鉴权通过时,终端探测该AP的可用性信息。终端根据其探测的AP的可用性信息判断AP是否可用,只在显示屏显示可用的AP的提示信息,提示用户可用的AP。以及,终端将探测的AP的可用性信息上报服务平台,以便其他终端共享其探测的AP的可用性信息。在该实施例中,以两个终端为例进行说明,为了区分,分别为终端1和终端2。如图8所示,包括以下步骤:FIG. 8 is a second signaling interaction diagram of a communication network connection method according to an embodiment of the present invention. When the terminal receives the unavailable query result returned by the service platform, the terminal associates the AP with the authentication. When the authentication is passed, the terminal detects the availability information of the AP. The terminal determines whether the AP is available according to the availability information of the AP that it detects. Only the prompt information of the available AP is displayed on the display screen, and the AP available to the user is prompted. And, the terminal reports the availability information of the detected AP to the service platform, so that other terminals share the availability information of the AP that is detected. In this embodiment, two terminals are taken as an example for description, and for distinguishing, the terminal 1 and the terminal 2 are respectively. As shown in Figure 8, the following steps are included:
步骤801,终端1检测到AP的信号。In step 801, the terminal 1 detects the signal of the AP.
终端1通过射频电路与3G/4G基站网络连接,通过WiFi模块检测AP的信号。The terminal 1 is connected to the 3G/4G base station network through the radio frequency circuit, and detects the signal of the AP through the WiFi module.
步骤802,终端1向服务平台发送查询该AP的可用性信息的指令。In step 802, the terminal 1 sends an instruction to the service platform to query the availability information of the AP.
终端1通过射频电路向服务平台发送查询该AP的可用性信息的指令。The terminal 1 sends an instruction for querying the availability information of the AP to the service platform through the radio frequency circuit.
步骤803,服务平台查询该AP的可用性信息。Step 803: The service platform queries the availability information of the AP.
服务平台通过网络接口接收终端1发送的查询指令,服务平台的处理器在存储器中查询该AP的可用性信息。The service platform receives the query instruction sent by the terminal 1 through the network interface, and the processor of the service platform queries the availability information of the AP in the memory.
步骤804,服务平台向终端1返回查询结果。Step 804, the service platform returns the query result to the terminal 1.
服务平台在存储器中查询到该AP的可用性信息时,则通过网络接口向终端1返回包括AP的可用性信息及其更新时间的查询结果。服务平台未在存储器中查询到该AP的可用性信息时,则通过网络接口向终端1返回不包括AP的可用性信息的查询结果。When the service platform queries the availability information of the AP in the memory, the query result including the availability information of the AP and the update time thereof is returned to the terminal 1 through the network interface. When the service platform does not query the availability information of the AP in the memory, the query result of the availability information not including the AP is returned to the terminal 1 through the network interface.
步骤805,终端1确定查询结果不可用。In step 805, the terminal 1 determines that the query result is unavailable.
查询结果不可用即为:查询结果不包括AP的可用性信息。或者,查询结果包括AP的可用性信息和更新时间,根据更新时间确定AP的可用性信息过期。If the query result is unavailable, the query result does not include the availability information of the AP. Alternatively, the query result includes the availability information of the AP and the update time, and the availability information of the AP is determined to be expired according to the update time.
在一个示例中,服务平台未查询到该AP的可用性信息,则向终端1返回未包括该AP的可用性信息的查询结果。In one example, the service platform does not query the availability information of the AP, and returns a query result that does not include the availability information of the AP to the terminal 1.
终端1收到服务平台返回不可用的查询结果后,不提示用户连接该AP,以避免向用户提示体验质量差的AP。终端1可进行其他操作。例如,终端1可继续向服务平台发送查询其他检测到信号的AP的可用性信息的指令。After receiving the query result returned by the service platform, the terminal 1 does not prompt the user to connect to the AP, so as to avoid prompting the user to experience the AP with poor quality. Terminal 1 can perform other operations. For example, terminal 1 may continue to send an instruction to the service platform to query the availability information of other APs that have detected the signal.
步骤806,终端1关联该AP,访问任意Internet地址。终端1的WiFi模块关联该AP,访问任意Internet地址。In step 806, the terminal 1 associates the AP and accesses any Internet address. The WiFi module of the terminal 1 associates the AP with access to any Internet address.
步骤807,AP向终端1返回门户网站Web Portal页面信息。Step 807: The AP returns the portal Web Portal page information to the terminal 1.
步骤808,终端1解析该Web Portal页面信息,解析该AP的特征参数。In step 808, the terminal 1 parses the web portal page information and parses the feature parameters of the AP.
终端1的WiFi模块解析该Web Portal页面信息,解析该AP的特征参数。The WiFi module of the terminal 1 parses the Web Portal page information and parses the feature parameters of the AP.
步骤809,终端1根据解析出的AP的特征参数,向AC发送认证参数信息,进行认证鉴权。In step 809, the terminal 1 sends the authentication parameter information to the AC according to the parsed characteristic parameter of the AP, and performs authentication and authentication.
终端1的WiFi模块解析该Web Portal页面信息,解析该AP的特征参数。WiFi模块向AC发送 认证参数信息,进行认证鉴权。The WiFi module of the terminal 1 parses the Web Portal page information and parses the feature parameters of the AP. WiFi module sends to AC Authentication parameter information for authentication and authentication.
在一个示例中,终端1可以是智能手机,终端1的WiFi模块解析出的AP的特征参数如表1所示:In an example, the terminal 1 may be a smart phone, and the characteristic parameters of the AP parsed by the WiFi module of the terminal 1 are as shown in Table 1:
Figure PCTCN2017096462-appb-000001
Figure PCTCN2017096462-appb-000001
表1Table 1
其中,终端1通过WiFi模块向该AP的控制器AC发送认证请求时,需填写表1所示的AP的特征参数外,还可能需要填写其他的AP特征参数。另外,AC认证可能还需要用户名和密码。终端1还需要通过WiFi模块向AC发送用户名和密码,进行认证鉴权。When the terminal 1 sends an authentication request to the controller AC of the AP through the WiFi module, the terminal 1 needs to fill in the feature parameters of the AP shown in Table 1, and may also need to fill in other AP feature parameters. In addition, AC authentication may also require a username and password. The terminal 1 also needs to send a username and password to the AC through the WiFi module to perform authentication and authentication.
例如,在一个应用场景中,某运营商会在一些公共场所覆盖自己的WLAN,以供终端使用。在终端向该WLAN AC发送的认证参数信息中,需要包括AP的特征参数外,还需要包括用户名和密码信息。其中,用户名可以是用户的手机号,或运营商设定的随机用户名,密码可由用户随机输入或由运营商随机分配。例如:用户名188xxxx8888,密码:123456。For example, in an application scenario, an operator will cover its own WLAN in some public places for use by the terminal. The authentication parameter information sent by the terminal to the WLAN AC needs to include the user name and password information in addition to the feature parameters of the AP. The user name may be the mobile phone number of the user or a random user name set by the operator, and the password may be randomly input by the user or randomly assigned by the operator. For example: username 188xxxx8888, password: 123456.
步骤810,AC对认证参数进行鉴权。AC认证鉴权通过。In step 810, the AC authenticates the authentication parameter. AC certification is passed.
在一些应用场合,AC鉴权认证可能不需要用户名和密码。终端1只需要根据AP的特征参数,向AC发送认证鉴权请求,以等待AC认证鉴权。In some applications, AC authentication may not require a username and password. The terminal 1 only needs to send an authentication and authentication request to the AC according to the characteristic parameters of the AP, and waits for the AC authentication and authentication.
步骤811,终端1探测AP的可用性信息。终端1根据AP的可用性信息判断AP是否可用。In step 811, the terminal 1 detects the availability information of the AP. The terminal 1 determines whether the AP is available according to the availability information of the AP.
终端1通过WiFi模块探测AP的可用性信息,终端1的处理器根据AP的可用性信息判断AP是否可用。终端1的处理器根据AP的可用性信息确定AP可用时,指示显示屏显示AP可用的提示信息。The terminal 1 detects the availability information of the AP through the WiFi module, and the processor of the terminal 1 determines whether the AP is available according to the availability information of the AP. The processor of the terminal 1 determines, according to the availability information of the AP, that the display screen displays the prompt information available to the AP when the AP is available.
在一个示例中,终端1探测的AP的可用性信息如表2所示:In an example, the availability information of the AP detected by the terminal 1 is as shown in Table 2:
AP idAP id 可以上网Internet access 网速Speed 时延Delay  
54:34:23:a1:43:5954:34:23:a1:43:59 no 00 00  
表2Table 2
上述表2表明,该AP不可上网,即AP不可用。终端1的处理器将不指示显示屏显示该AP可用的提示信息,终端1的显示屏不显示该AP名称及该AP的信号强度信息。Table 2 above shows that the AP is not available on the Internet, that is, the AP is unavailable. The processor of the terminal 1 will not instruct the display screen to display the prompt information available to the AP, and the display screen of the terminal 1 does not display the AP name and the signal strength information of the AP.
在另一个示例中,终端1探测的AP的可用性信息如表3所示:In another example, the availability information of the AP detected by the terminal 1 is as shown in Table 3:
AP idAP id 可以上网Internet access 网速Speed 时延Delay  
54:34:23:a1:43:5954:34:23:a1:43:59 Yes 5kB/S5kB/S 00  
表3table 3
上述表3表明,该AP可上网,其网速为5kB/S,时延为0。另外,终端1可预设网速阈值为4kB/S,在表3中,AP网速大于预设网速阈值,则终端1处理器指示显示屏显示该AP可用的提示信息,终端1的显示屏显示该AP名称及该AP的信号强度信息。Table 3 above shows that the AP can access the Internet, its network speed is 5kB/S, and the delay is zero. In addition, the terminal 1 can preset the network speed threshold to be 4 kB/S. In the table 3, if the AP network speed is greater than the preset network speed threshold, the terminal 1 processor instructs the display screen to display the prompt information available to the AP, and the display of the terminal 1 The screen displays the AP name and the signal strength information of the AP.
可以理解的是,终端1将可用的AP的可用性信息显示到显示屏,以便用户选择。另外。用户也可在过滤后的AP列表中,选择调出终端1的存储器保存的任意AP的可用性信息。It can be understood that the terminal 1 displays the availability information of the available APs to the display screen for the user to select. Also. The user can also select the availability information of any AP saved in the memory of the terminal 1 in the filtered AP list.
步骤812,终端1将该AP的可用性信息上报至服务平台。In step 812, the terminal 1 reports the availability information of the AP to the service platform.
终端1通过射频电路将AP的可用性信息上报至服务平台。The terminal 1 reports the availability information of the AP to the service platform through the radio frequency circuit.
步骤813,服务平台更新该AP的可用性信息,记录最后更新时间。In step 813, the service platform updates the availability information of the AP, and records the last update time.
服务平台通过网络接口接收终端1发送的该AP的可用性信息。 The service platform receives the availability information of the AP sent by the terminal 1 through the network interface.
在一个示例中,服务平台更新该AP的可用性信息如表4所示:In one example, the service platform updates the availability information of the AP as shown in Table 4:
Figure PCTCN2017096462-appb-000002
Figure PCTCN2017096462-appb-000002
表4Table 4
上述表4表明,该AP的可用性信息的最后更新时间为2015-12-21 9:34:56。Table 4 above shows that the last update time of the AP's availability information is 2015-12-21 9:34:56.
步骤814,终端2检测到AP的信号。In step 814, the terminal 2 detects the signal of the AP.
终端1探测该AP的可用性信息后,上报至服务平台。其他终端可通过服务平台继续查询该AP的可用性信息。After detecting the availability information of the AP, the terminal 1 reports the information to the service platform. Other terminals can continue to query the availability information of the AP through the service platform.
步骤815,终端2向服务平台发送查询该AP的可用性信息的指令。In step 815, the terminal 2 sends an instruction to the service platform to query the availability information of the AP.
步骤816,服务平台查询该AP的可用性信息。In step 816, the service platform queries the availability information of the AP.
步骤817,服务平台返回查询结果。In step 817, the service platform returns the query result.
服务平台查询到该AP的可用性信息,并将携带该AP的可用性信息的查询结果返回给终端2。该查询结果还携带该AP的可用性信息的更新时间。The service platform queries the availability information of the AP, and returns the query result carrying the availability information of the AP to the terminal 2. The query result also carries the update time of the availability information of the AP.
步骤818,终端2根据该AP的可用性信息判断该AP是否可用。In step 818, the terminal 2 determines, according to the availability information of the AP, whether the AP is available.
终端2的处理器根据该AP的可用性信息的更新时间确认AP的可用性信息未过期。The processor of the terminal 2 confirms that the availability information of the AP has not expired according to the update time of the availability information of the AP.
在一个示例中,终端2设定第一时间阈值为T=60Min,终端2的当前访问时间为Tn=2015-12-21 9:44:56,该AP的可用性信息最后更新时间为Tl=2015-12-21 9:34:56。Tn-Tl=10Min<T(60Min),则终端2判断该AP的可用性信息未过期。In an example, the terminal 2 sets the first time threshold to be T=60 Min, the current access time of the terminal 2 is Tn=2015-12-21 9:44:56, and the last update time of the availability information of the AP is Tl=2015. -12-21 9:34:56. Tn-Tl=10Min<T(60Min), the terminal 2 determines that the availability information of the AP has not expired.
在一个示例中,终端2根据AP的可用性信息中“可以上网”的参数为“否”字段,确定该AP不可用,终端2的处理器不指示显示屏显示该AP可用的提示信息。不提示用户该AP业务可用。终端2的处理器过滤不可用的AP,以免用户体验到业务质量不佳的AP,提升用户网络体验质量。In an example, the terminal 2 determines that the AP is unavailable according to the “no-access” parameter in the availability information of the AP, and the processor of the terminal 2 does not indicate that the display screen displays the prompt information available to the AP. The user is not prompted to use the AP service. The processor of the terminal 2 filters the unavailable APs to prevent the user from experiencing the AP with poor service quality and improves the quality of the user network experience.
图9为本发明实施例提供的通信网络连接方法的第三种信令交互图。终端收到服务平台返回的不可用的的查询结果时,终端关联该AP并进行鉴权,鉴权未通过时,终端不提示其用户该AP可用。以及,终端上报服务平台该AP不可上网,以便其他终端共享其探测的AP的可用性信息。在该实施例中,以两个终端为例进行说明,为了区分,分别为终端1和终端2。如图9所示,该包括以下步骤:FIG. 9 is a third signaling interaction diagram of a communication network connection method according to an embodiment of the present invention. When the terminal receives the unavailable query result returned by the service platform, the terminal associates the AP with the authentication. If the authentication fails, the terminal does not prompt the user that the AP is available. And, the terminal reports the service platform that the AP cannot access the Internet, so that other terminals share the availability information of the AP that they detect. In this embodiment, two terminals are taken as an example for description, and for distinguishing, the terminal 1 and the terminal 2 are respectively. As shown in Figure 9, this includes the following steps:
步骤901,终端1检测到AP的信号。In step 901, the terminal 1 detects the signal of the AP.
步骤902,终端1向服务平台发送查询该AP的可用性信息的指令。Step 902: The terminal 1 sends an instruction to the service platform to query the availability information of the AP.
步骤903,服务平台查询该AP的可用性信息。Step 903: The service platform queries the availability information of the AP.
步骤904,服务平台向终端1返回查询结果。In step 904, the service platform returns the query result to the terminal 1.
服务平台未查询到该AP的可用性信息,则向终端返回未携带该AP的可用性信息的查询结果。If the service platform does not query the availability information of the AP, the service platform returns a query result that does not carry the availability information of the AP.
步骤905,终端1确定查询结果不可用。In step 905, the terminal 1 determines that the query result is unavailable.
查询结果不可用即为:查询结果不包括AP的可用性信息。或者,查询结果包括AP的可用性信息和更新时间,根据更新时间确定AP的可用性信息过期。If the query result is unavailable, the query result does not include the availability information of the AP. Alternatively, the query result includes the availability information of the AP and the update time, and the availability information of the AP is determined to be expired according to the update time.
在一个示例中,查询结果中的更新时间为Tl=2015-12-21 9:34:56。终端1设定第一时间阈值为T=60Min,终端1的当前访问时间为Tn=2015-12-21 11:34:56。Tn-Tl=120Min>T(60Min),则终端1判断该AP的可用性信息过期。In one example, the update time in the query results is Tl=2015-12-21 9:34:56. The terminal 1 sets the first time threshold to T=60 Min, and the current access time of the terminal 1 is Tn=2015-12-21 11:34:56. When Tn-Tl=120Min>T (60Min), the terminal 1 judges that the availability information of the AP expires.
步骤906,终端1关联该AP,访问任意Internet地址。In step 906, the terminal 1 associates the AP and accesses any Internet address.
步骤907,AP向终端1返回门户网站Web Portal页面信息。 In step 907, the AP returns the portal web portal page information to the terminal 1.
步骤908,终端1解析该Web Portal页面信息,解析该AP的特征参数。In step 908, the terminal 1 parses the Web Portal page information and parses the feature parameters of the AP.
步骤909,终端1根据解析出的特征参数,向AC发送认证参数信息,进行认证鉴权。Step 909: The terminal 1 sends the authentication parameter information to the AC according to the parsed feature parameter, and performs authentication and authentication.
步骤910,AC对认证参数进行鉴权。AC认证鉴权未通过。In step 910, the AC authenticates the authentication parameter. AC certification authentication failed.
在一个示例中,某运营商的WLAN可能为伪热点,虽然其显示具有一定的信号强度SSID,但AC认证鉴权不通过,该AP不可上网。终端1关联该AP并进行鉴权认证,鉴权未通过时,则该AP不可上网。该AP不可上网的信息也可以理解为终端1探测得到的AP的可用性信息。In an example, an WLAN of an operator may be a pseudo hotspot. Although the display has a certain signal strength SSID, the AC authentication authentication does not pass, and the AP cannot access the Internet. The terminal 1 associates the AP with the authentication. If the authentication fails, the AP cannot access the Internet. The information that the AP cannot access the Internet can also be understood as the availability information of the AP detected by the terminal 1.
步骤911,终端1确定AP不可上网,该AP不可用。不显示AP可用的提示信息。In step 911, the terminal 1 determines that the AP is not available on the Internet, and the AP is unavailable. The prompt information available to the AP is not displayed.
终端1的处理器确定AP不可上网,该AP不可用。不指示显示屏显示AP可用的提示信息。终端1后台将该检测到有信号,实际不可用的AP过滤,不在显示屏显示该AP可用的提示信息。The processor of the terminal 1 determines that the AP is not available on the Internet, and the AP is not available. Does not indicate that the display shows the prompt information available to the AP. The terminal 1 will detect that there is a signal in the background, and the AP that is actually unavailable is filtered, and the prompt information that the AP is available is not displayed on the display screen.
步骤912,终端1将AP不可上网的信息上报服务平台。In step 912, the terminal 1 reports the information that the AP is not available to the Internet to the service platform.
步骤913,服务平台更新该AP的可用性信息,记录最后更新时间。In step 913, the service platform updates the availability information of the AP, and records the last update time.
步骤914,终端2检测到AP的信号。In step 914, the terminal 2 detects the signal of the AP.
步骤915,终端2向服务平台发送查询该AP的可用性信息的指令。In step 915, the terminal 2 sends an instruction to the service platform to query the availability information of the AP.
步骤916,服务平台查询该AP的可用性信息。In step 916, the service platform queries the availability information of the AP.
步骤917,服务平台返回查询结果。In step 917, the service platform returns the query result.
步骤918,终端2根据该AP的可用性信息判断该AP不可用,不显示AP可用的提示信息。In step 918, the terminal 2 determines that the AP is unavailable according to the availability information of the AP, and does not display the prompt information available to the AP.
终端2的处理器根据该AP的可用性信息的更新时间确认AP的可用性信息未过期。终端2的处理器根据终端1上报的该AP不可上网信息,确定AP不可用。终端2的处理器不指示显示屏显示该AP可用的提示信息,以过滤不可用AP,提升用户网络体验质量。The processor of the terminal 2 confirms that the availability information of the AP has not expired according to the update time of the availability information of the AP. The processor of the terminal 2 determines that the AP is unavailable according to the AP non-network information reported by the terminal 1. The processor of the terminal 2 does not indicate that the display screen displays the prompt information available to the AP, so as to filter the unavailable AP, and improve the quality of the user network experience.
图10为本发明实施例提供的第一种终端架构图。参见图10,本发明实施例提供的终端包括:射频(英文:Radio Frequency,RF)电路1010、存储器1020、输入单元1030、显示单元1040、处理器1050、无线保真(wireless fidelity,WiFi)模块1060以及电源1070等部件。本领域技术人员可以理解,图10示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 10 is a schematic diagram of a first terminal architecture according to an embodiment of the present invention. Referring to FIG. 10, the terminal provided by the embodiment of the present invention includes: a radio frequency (RF) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a processor 1050, and a wireless fidelity (WiFi) module. 1060 and power supply 1070 and other components. It will be understood by those skilled in the art that the terminal structure shown in FIG. 10 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or combine some components, or different component arrangements.
RF电路1010可用于收发信息,例如,与服务平台200等设备进行信息交互,并将接收到的信息给处理器1050处理。通常,RF电路1010包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(英文:Low Noise Amplifier,LNA)、双工器等。此外,RF电路1010还可以通过无线通信与网络和其他设备进行通信。其中,无线通信可以采用任一通信标准或协议,包括但不限于全球移动通讯系统(英文:Global System of Mobile communication,GSM)、通用分组无线服务(英文:General Packet Radio Service,GPRS)、码分多址(英文:Code Division Multiple Access,CDMA)、宽带码分多址(英文:Wideband Code Division Multiple Access,WCDMA)、长期演进(英文:Long Term Evolution,LTE)、电子邮件、短消息服务(英文:Short Messaging Service,SMS)等。The RF circuit 1010 can be used to send and receive information, for example, to interact with devices such as the service platform 200, and to process the received information to the processor 1050 for processing. Generally, the RF circuit 1010 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 1010 can also communicate with the network and other devices via wireless communication. Among them, wireless communication can adopt any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), and code division. Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Message Service (English) :Short Messaging Service, SMS), etc.
存储器1020可用于存储程序指令,处理器1050通过运行存储在存储器1020的程序指令,从而使得该终端执行上述如图2—图4、图6—图9所示的通信网络的连接方法。存储器1020可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统以及实现上述通信网络的连接方法所需的应用程序等。存储数据区可存储AP列表、AP的可用性信息、AP的标识以及该终端在执行上述通信网络的连接方法时产生的数据等。此外,存储器1020可包括易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random-access memory,RAM);所述存储器1020也可以包括非易失性存储器(英文:non-volatile memory),例如只读存储器(英文:read-only memory,缩写:ROM),快闪存 储器(英文:flash memory),硬盘(英文:hard disk drive,HDD)或固态硬盘(英文:solid-state drive,SSD)。所述存储器1020还可以包括上述种类的存储器的组合。The memory 1020 can be used to store program instructions, and the processor 1050 causes the terminal to execute the above-described connection method of the communication network as shown in FIGS. 2 to 4 and 6 to 9 by executing the program instructions stored in the memory 1020. The memory 1020 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system and an application program or the like required to implement the connection method of the communication network described above. The storage data area may store an AP list, availability information of the AP, an identifier of the AP, and data generated when the terminal performs the connection method of the communication network described above. In addition, the memory 1020 may include a volatile memory (English: volatile memory), such as a random access memory (RAM); the memory 1020 may also include a non-volatile memory (English: non- Volatile memory), such as read-only memory (English: read-only memory, abbreviation: ROM), fast flash Memory (English: flash memory), hard disk (English: hard disk drive, HDD) or solid state drive (English: solid-state drive, SSD). The memory 1020 may also include a combination of the above types of memories.
输入单元1030可用于接收用户输入的数字或字符信息,包括查询AP可用性信息指令、连接AP指令、上报AP可用性信息指令等。具体地,输入单元1030可包括触控面板1031以及其他输入设备1032。触控面板1031,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1031上或在触控面板1031附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板1031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1050,并能接收处理器1050发来的命令并加以执行。此外,输入单元1030可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1031。除了触控面板1031,输入单元1030还可以包括其他输入设备1032。具体地,其他输入设备1032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 1030 can be configured to receive numeric or character information input by the user, including querying an AP availability information instruction, connecting an AP instruction, reporting an AP availability information instruction, and the like. Specifically, the input unit 1030 may include a touch panel 1031 and other input devices 1032. The touch panel 1031, also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 1031 or near the touch panel 1031. Operation), and drive the corresponding connecting device according to a preset program. Optionally, the touch panel 1031 may include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 1050 is provided and can receive commands from the processor 1050 and execute them. In addition, the input unit 1030 can implement the touch panel 1031 by using various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1031, the input unit 1030 may also include other input devices 1032. Specifically, other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元1040可用于显示由用户输入的信息或提供给用户的信息以及终端100的各种菜单。显示单元1040可包括显示屏1041,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示屏1041。进一步的,触控面板1031可覆盖显示屏1041,当触控面板1031检测到在其上或附近的触摸操作后,传送给处理器1050以确定触摸事件的类型,随后处理器1050根据触摸事件的类型在显示屏1041上提供相应的视觉输出。虽然在图10中,触控面板1031与显示屏1041是作为两个独立的部件来实现终端100的输入和输入功能,但是在某些实施例中,可以将触控面板1031与显示屏1041集成而实现终端100的输入和输出功能。The display unit 1040 can be used to display information input by the user or information provided to the user and various menus of the terminal 100. The display unit 1040 can include a display screen 1041. Alternatively, the display screen 1041 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel 1031 can cover the display screen 1041. When the touch panel 1031 detects a touch operation on or near the touch panel 1031, the touch panel 1031 transmits to the processor 1050 to determine the type of the touch event, and then the processor 1050 according to the touch event. The type provides a corresponding visual output on display screen 1041. Although in FIG. 10, the touch panel 1031 and the display screen 1041 are two independent components to implement the input and input functions of the terminal 100, in some embodiments, the touch panel 1031 can be integrated with the display 1041. The input and output functions of the terminal 100 are implemented.
处理器1050是终端100的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器1020内的软件程序和/或模块,以及调用存储在存储器1020内的数据,执行如图2—图9所示的通信连接方法。可选的,处理器1050可包括一个或多个处理单元。优选的,处理器1050可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1050中。The processor 1050 is a control center of the terminal 100 that connects various portions of the entire terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1020, and recalling data stored in the memory 1020, The communication connection method shown in FIGS. 2 to 9 is performed. Optionally, the processor 1050 can include one or more processing units. Preferably, the processor 1050 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, and the like, and the modem processor mainly processes wireless communication. It will be appreciated that the above described modem processor may also not be integrated into the processor 1050.
WiFi模块1060可用于帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带WLAN互联网访问。WiFi属于短距离无线传输技术,终端100通过WiFi模块1060接入无线热点AP,体验无线网络。The WiFi module 1060 can be used to assist users in sending and receiving emails, browsing web pages, and accessing streaming media, etc., which provides users with wireless broadband WLAN Internet access. The WiFi is a short-range wireless transmission technology, and the terminal 100 accesses the wireless hotspot AP through the WiFi module 1060 to experience the wireless network.
终端100还包括给各个部件供电的电源1070(比如电池),优选的,电源可以通过电源管理系统与处理器1050逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗等功能。The terminal 100 also includes a power source 1070 (such as a battery) for powering various components. Preferably, the power source can be logically coupled to the processor 1050 through a power management system to manage functions such as charging, discharging, and power consumption through the power management system.
尽管未示出,终端100还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the terminal 100 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
在一个示例中,RF电路1010用于与第一通信网络连接。WiFi模块1060用于检测第二通信网络信号。处理器1050,用于指示RF电路1010向服务平台发送查询第二通信网络的可用性信息的指令。RF电路1010还用于通过第一通信网络向服务平台发送查询第二通信网络的可用性信息的指令,接收服务平台返回的查询结果。处理器1050根据查询结果确定第二通信网络可用时,指示显示屏1041显示第二通信网络可用的提示信息。显示屏1041用于显示第二通信网络可用的提示信息。In one example, RF circuit 1010 is for connection with a first communication network. The WiFi module 1060 is configured to detect a second communication network signal. The processor 1050 is configured to instruct the RF circuit 1010 to send an instruction to the service platform to query the availability information of the second communication network. The RF circuit 1010 is further configured to send, by using the first communication network, an instruction for querying the availability information of the second communication network to the service platform, and receive the query result returned by the service platform. The processor 1050, when determining, according to the result of the query, that the second communication network is available, instructs the display screen 1041 to display prompt information available to the second communication network. The display screen 1041 is used to display prompt information available to the second communication network.
优选地,查询结果可包括第二通信网络的可用性信息,处理器1050,具体用于根据括第二通信网络的可用性信息确定所述第二通信网络可用。 Preferably, the query result may include availability information of the second communication network, and the processor 1050 is specifically configured to determine that the second communication network is available according to the availability information of the second communication network.
优选地,查询结果还可包括第二通信网络的可用性信息和更新时间,处理器1050,具体用于根据更新时间确定可用性信息未过期,并根据第二通信网络可用性信息确定第二通信网络可用。Preferably, the query result may further include availability information and update time of the second communication network, and the processor 1050 is specifically configured to determine that the availability information has not expired according to the update time, and determine that the second communication network is available according to the second communication network availability information.
本实施例提供的终端,与第一通信网络连接,在检测到第二通信网络的信号后,增加向服务平台查询该第二通信网络可用性信息的指令。根据服务平台返回的查询结果确定第二通信网络可用时,在显示屏显示该第二通信网络可用的提示信息。本发明实施例提供的终端,可以通过查询服务平台记录的通信网络的可用性信息,过滤有信号但实际业务质量不佳不可用的网络,提升用户网络体验质量。The terminal provided in this embodiment is connected to the first communication network, and after detecting the signal of the second communication network, adding an instruction to query the service platform for the availability information of the second communication network. When the second communication network is determined to be available according to the query result returned by the service platform, the prompt information available to the second communication network is displayed on the display screen. The terminal provided by the embodiment of the present invention can improve the quality of the user network experience by querying the availability information of the communication network recorded by the service platform and filtering the network with the signal but the actual service quality is not available.
图11为本发明实施例提供的第二种终端架构图。参见图11,本发明实施例提供的终端包括:RF电路1110、存储器1120、输入单元1130、显示单元1140、处理器1150、WiFi模块1160以及电源1170等部件。本领域技术人员可以理解,图11示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 11 is a schematic diagram of a second terminal architecture according to an embodiment of the present invention. Referring to FIG. 11, the terminal provided by the embodiment of the present invention includes: an RF circuit 1110, a memory 1120, an input unit 1130, a display unit 1140, a processor 1150, a WiFi module 1160, and a power source 1170. It will be understood by those skilled in the art that the terminal structure shown in FIG. 11 does not constitute a limitation of the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
上述各部分的连接关系以及各部分的功能可参照图10中的介绍,在此不再赘述。For the connection relationship of each part and the function of each part, refer to the description in FIG. 10, and details are not described herein again.
在一个示例中,RF电路1110用于与第一通信网络连接。WiFi模块1160用于检测第二通信网络信号。处理器1150,用于指示RF电路1110向服务平台发送查询第二通信网络的可用性信息的指令。RF电路1110还用于通过第一通信网络向服务平台发送查询第二通信网络的可用性信息的指令,接收服务平台返回的查询结果。处理器1150确定查询结果不可用时,指示WiFi模块1160探测第二通信网络的可用性信息,并根据探测的第二通信网络的可用性信息确定第二通信网络可用时,指示显示屏1141显示第二通信网络可用的提示信息。In one example, RF circuit 1110 is for connection to a first communication network. The WiFi module 1160 is configured to detect a second communication network signal. The processor 1150 is configured to instruct the RF circuit 1110 to send an instruction to the service platform to query the availability information of the second communication network. The RF circuit 1110 is further configured to send, by using the first communication network, an instruction for querying the availability information of the second communication network to the service platform, and receive the query result returned by the service platform. When the processor 1150 determines that the query result is unavailable, instructing the WiFi module 1160 to detect the availability information of the second communication network, and determining that the second communication network is available according to the detected availability information of the second communication network, instructing the display screen 1141 to display the second communication network. Available hints.
优选地,处理器1150还用于:指示RF电路1110向服务平台发送探测的第二通信网络的可用性信息。RF电路1110还用于通过第一通信网络向服务平台发送探测的第二通信网络的可用性信息。Preferably, the processor 1150 is further configured to: instruct the RF circuit 1110 to send the detected availability information of the second communication network to the service platform. The RF circuit 1110 is further configured to send the detected availability information of the second communication network to the service platform through the first communication network.
优选地,查询结果不可用具体为:查询结果不包括第二通信网络的可用性信息。或,查询结果包括第二通信网络的可用性信息和更新时间,根据所述更新时间确定第二通信网络的可用性信息过期。Preferably, the query result is unavailable: the query result does not include the availability information of the second communication network. Or, the query result includes the availability information and the update time of the second communication network, and the availability information of the second communication network is determined to expire according to the update time.
本实施例提供的终端,与第一通信网络连接,在检测到第二通信网络的信号后,增加向服务平台查询该第二通信网络可用性信息的指令。服务平台返回的查询结果不可用时,增加终端探测第二通信网络的可用性信息的功能,终端根据其探测的第二通信网络的可用性信息确定第二通信网络可用时,在显示屏显示该第二通信网络可用的提示信息。本发明实施例提供的终端,可以在服务平台返回的查询第二通信网络可用性信息的查询结果不可用时,探测第二通信网络的可用性信息,根据其探测的第二通信网络的可用性信息,过滤有信号但实际业务质量不佳不可用的网络,提升用户网络体验质量。The terminal provided in this embodiment is connected to the first communication network, and after detecting the signal of the second communication network, adding an instruction to query the service platform for the availability information of the second communication network. When the query result returned by the service platform is unavailable, the terminal is configured to detect the availability information of the second communication network, and the terminal determines, according to the availability information of the second communication network that the probe detects, that the second communication network is available, and displays the second communication on the display screen. Tips available for the network. The terminal provided by the embodiment of the present invention may detect the availability information of the second communication network when the query result of the second communication network availability information returned by the service platform is unavailable, and according to the availability information of the second communication network that is detected by the terminal, A network that does not use the signal but has poor actual service quality improves the quality of the user's network experience.
图12为本发明实施例提供的第三种终端架构图。参见图12,本发明实施例提供的终端包括:RF电路1210、存储器1220、输入单元1230、显示单元1240、处理器1250、WiFi模块1260以及电源1270等部件。本领域技术人员可以理解,图12示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 12 is a schematic diagram of a third terminal architecture according to an embodiment of the present invention. Referring to FIG. 12, the terminal provided by the embodiment of the present invention includes: an RF circuit 1210, a memory 1220, an input unit 1230, a display unit 1240, a processor 1250, a WiFi module 1260, and a power supply 1270. It will be understood by those skilled in the art that the terminal structure shown in FIG. 12 does not constitute a limitation of the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
上述各部分的连接关系以及各部分的功能可参照图10中的介绍,在此不再赘述。For the connection relationship of each part and the function of each part, refer to the description in FIG. 10, and details are not described herein again.
在一个示例中,RF电路1210用于与第一通信网络连接。WiFi模块1260用于探测第二通信网络的可用性信息。处理器1250,用于指示RF电路1210向服务平台发送探测的第二通信网络的可用性信息。RF电路1210还用于通过第一通信网络向服务平台发送探测的第二通信网络的可用性信息。In one example, RF circuit 1210 is for connection to a first communication network. The WiFi module 1260 is configured to detect availability information of the second communication network. The processor 1250 is configured to instruct the RF circuit 1210 to send the detected availability information of the second communication network to the service platform. The RF circuit 1210 is further configured to send the detected availability information of the second communication network to the service platform through the first communication network.
优选地,处理器1250还用于根据探测的第二通信网络的可用性信息确定第二通信网络可用时,指示显示屏1241显示第二通信网络可用的提示信息。显示屏1241用于显示第二通信网络可用的提示信息。Preferably, the processor 1250 is further configured to: when determining that the second communication network is available according to the detected availability information of the second communication network, instruct the display screen 1241 to display prompt information available to the second communication network. The display 1241 is used to display prompt information available to the second communication network.
优选地,WiFi模块1260还用于检测第二通信网络信号。处理器1250,还用于指示RF电路1210 向服务平台发送查询第二通信网络的可用性信息的指令。RF电路1210还用于通过第一通信网络向服务平台发送查询第二通信网络的可用性信息的指令,接收服务平台返回的查询结果。处理器1250确定查询结果不可用时,指示WiFi模块1260探测第二通信网络的可用性信息。Preferably, the WiFi module 1260 is further configured to detect the second communication network signal. The processor 1250 is further configured to instruct the RF circuit 1210 An instruction to query availability information of the second communication network is sent to the service platform. The RF circuit 1210 is further configured to send, by using the first communication network, an instruction for querying the availability information of the second communication network to the service platform, and receive the query result returned by the service platform. When the processor 1250 determines that the query result is not available, the WiFi module 1260 is instructed to detect the availability information of the second communication network.
本实施例提供的终端,与第一通信网络连接,增加检测到第二通信网络的信号时,探测第二通信网络的可用性信息的功能。还增加终端将探测的第二通信网络的可用性信息上报服务平台的功能。本发明实施例提供的终端之间可以通过服务平台共享第二通信网络的可用性信息。终端检测到第二通信网络的信号时,能够根据服务平台记录的或其探测的第二通信网络的可用性信息过滤实际不可用的第二通信网络,只在显示屏显示实际可用的第二通信网络。提升用户网络体验质量。The terminal provided in this embodiment is connected to the first communication network, and increases the function of detecting the availability information of the second communication network when detecting the signal of the second communication network. The function of reporting the availability information of the detected second communication network by the terminal to the service platform is also added. The availability information of the second communication network can be shared between the terminals provided by the embodiments of the present invention through the service platform. When detecting the signal of the second communication network, the terminal can filter the second communication network that is actually unavailable according to the availability information recorded by the service platform or the second communication network that is detected by the service platform, and display only the second communication network that is actually available on the display screen. . Improve the quality of user network experience.
图13为本发明实施例提供的服务平台架构图。参见图13,本发明实施例提供的服务平台包括:网络接口1310、处理器1320和存储器1330等部件。本领域技术人员可以理解,图13示出的服务平台结构并不构成对服务平台的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 13 is a structural diagram of a service platform according to an embodiment of the present invention. Referring to FIG. 13, a service platform provided by an embodiment of the present invention includes: a network interface 1310, a processor 1320, and a memory 1330. It will be understood by those skilled in the art that the service platform structure illustrated in FIG. 13 does not constitute a limitation to the service platform, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
网络接口1310可用于收发信息,例如,与终端100等设备进行信息交互,并将接收到的信息给处理器1320处理。网络接口1310将服务平台与其它终端、服务器、网络进行连接。例如,网络接口1310可以通过有线或无线连接到网络以连接到外部其它的终端或服务器。无线通信可以包括以下至少一种:Wi-Fi,Bluetooth(BT),Near Field Communication(NFC),Global Positioning System(GPS)and cellular communication(e.g.,Long Term Evolution(LTE),LTE-A,Code Division Multiple Access(CDMA),Wideband CDMA(WCDMA),Universal Mobile Telecommunication System(UMTS),Wireless Broadband(WiBro),and Global System for Mobile communication(GSM))。有线通信可以包括以下至少一种:a Universal Serial Bus(USB),a High Definition Multimedia Interface(HDMI),Recommended Standard 232(RS-232),and a Plain Old Telephone Service(POTS)。The network interface 1310 can be used to send and receive information, for example, to interact with devices such as the terminal 100, and to process the received information to the processor 1320 for processing. The network interface 1310 connects the service platform with other terminals, servers, and networks. For example, the network interface 1310 can be connected to the network by wired or wireless to connect to other external terminals or servers. The wireless communication may include at least one of the following: Wi-Fi, Bluetooth (BT), Near Field Communication (NFC), Global Positioning System (GPS) and cellular communication (eg, Long Term Evolution (LTE), LTE-A, Code Division Multiple Access (CDMA), Wideband CDMA (WCDMA), Universal Mobile Telecommunication System (UMTS), Wireless Broadband (WiBro), and Global System for Mobile communication (GSM). The wired communication may include at least one of the following: a Universal Serial Bus (USB), a High Definition Multimedia Interface (HDMI), a Recommended Standard 232 (RS-232), and a Plain Old Telephone Service (POTS).
处理器1320是服务平台200的控制中心,利用各种接口和线路连接整个服务平台的各个部分,通过运行或执行存储在存储器1330内的软件程序和/或模块,以及调用存储在存储器1330内的数据,执行如图5、图7—图11所示的通信连接方法。可选的,处理器1320可包括一个或多个处理单元。优选的,处理器1320可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1320中。The processor 1320 is a control center of the service platform 200 that connects various portions of the entire service platform using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1330, and recalling stored in the memory 1330. Data, the communication connection method shown in FIG. 5, FIG. 7 - FIG. 11 is executed. Optionally, the processor 1320 can include one or more processing units. Preferably, the processor 1320 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, and the like, and the modem processor mainly processes wireless communication. It will be appreciated that the above described modem processor may also not be integrated into the processor 1320.
存储器1330可用于存储程序指令,处理器1320通过运行存储在存储器1330的程序指令,从而使得该终端执行上述如图5、图7—图9所示的通信网络的连接方法。存储器1330可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统以及实现上述通信网络的连接方法所需的应用程序等。存储数据区可存储AP的可用性信息等。此外,存储器1330可包括易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random-access memory,RAM);所述存储器1330也可以包括非易失性存储器(英文:non-volatile memory),例如只读存储器(英文:read-only memory,缩写:ROM),快闪存储器(英文:flash memory),硬盘(英文:hard disk drive,HDD)或固态硬盘(英文:solid-state drive,SSD)。所述存储器1330还可以包括上述种类的存储器的组合。The memory 1330 can be used to store program instructions, and the processor 1320 causes the terminal to execute the above-described connection method of the communication network as shown in FIGS. 5, 7-9 by running the program instructions stored in the memory 1330. The memory 1330 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system and an application program or the like required to implement the connection method of the communication network described above. The storage data area can store the availability information of the AP and the like. In addition, the memory 1330 may include a volatile memory (English: volatile memory), such as a random access memory (RAM); the memory 1330 may also include a non-volatile memory (English: non- Volatile memory), such as read-only memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, HDD) or solid state drive (English: solid-state Drive, SSD). The memory 1330 may also include a combination of the above types of memories.
在一个示例中,网络接口1310,用于与第一通信网络连接。还用于接收终端通过第一通信网络发送的查询第二通信网络的可用性信息的指令,指令为终端与第一通信网络连接,检测到第二通信网络的信号时,向服务平台发送的指令。处理器1320,用于查询第二通信网络的可用性信息,并指示网络接口1310向终端发送查询结果,以使终端根据查询结果确定第二通信网络可用时,显示第二通信网络 可用的提示信息。网络接口1310,还用于通过第一通信网络向终端发送查询结果。In one example, network interface 1310 is for connecting to a first communication network. The method is further configured to receive, by the terminal, an instruction for querying the availability information of the second communication network, where the terminal is connected to the first communication network, and the instruction sent to the service platform when the signal of the second communication network is detected. The processor 1320 is configured to query the availability information of the second communication network, and instruct the network interface 1310 to send the query result to the terminal, so that the terminal determines that the second communication network is available according to the query result, and displays the second communication network. Available hints. The network interface 1310 is further configured to send the query result to the terminal by using the first communication network.
优选地,查询结果包括第二通信网络的可用性信息,处理器1320,具体用于指示网络接口1310向终端发送查询结果,以使终端根据第二通信网络的可用性信息确定第二通信网络可用时,显示第二通信网络可用的提示信息。Preferably, the query result includes the availability information of the second communication network, and the processor 1320 is specifically configured to instruct the network interface 1310 to send the query result to the terminal, so that the terminal determines, according to the availability information of the second communication network, that the second communication network is available. A prompt message available for the second communication network is displayed.
优选地,查询结果包括第二通信网络的可用性信息和更新时间,处理器1320,具体用于指示网络接口1310向终端发送查询结果,该查询结果用于指示第二通信网络是否可用。Preferably, the query result includes the availability information and the update time of the second communication network, and the processor 1320 is specifically configured to instruct the network interface 1310 to send a query result to the terminal, where the query result is used to indicate whether the second communication network is available.
优选地,网络接口1310,还用于通过第一通信网络接收终端发送的探测的第二通信网络的可用性信息。优选地,存储器1330可用于保存第二通信网络的可用性信息。Preferably, the network interface 1310 is further configured to receive, by using the first communication network, availability information of the probed second communication network sent by the terminal. Preferably, the memory 1330 is operable to save availability information of the second communication network.
本发明实施例提供的服务平台,增加了保存第二通信网络的可用性信息的功能。服务平台接收终端发送的查询第二通信网络可用性信息指令之前,服务平台可接收其他终端发送的第二通信网络可用性信息,并已保存,以及该条可用性信息还未超出时效。在服务平台收到终端的查询指令时,服务平台查询该第二通信网络可用性信息,并向终端返回上述查询结果。以使终端根据上述查询结果过滤实际业务质量不佳不可用的网络,提升用户网络体验质量。The service platform provided by the embodiment of the present invention adds a function of saving the availability information of the second communication network. Before the service platform receives the second communication network availability information command sent by the terminal, the service platform may receive the second communication network availability information sent by the other terminal, and the saved information, and the availability information has not exceeded the time limit. When the service platform receives the query instruction of the terminal, the service platform queries the second communication network availability information, and returns the foregoing query result to the terminal. The terminal is configured to filter the network whose actual service quality is not good and is unavailable according to the foregoing query result, thereby improving the quality of the user network experience.
本发明实施例提供的服务平台,增加了保存第二通信网络的可用性信息的功能。服务平台接收终端发送的查询第二通信网络可用性信息指令之前,服务平台可接收其他终端发送的第二通信网络可用性信息,并已保存,但该条可用性信息已超过时效。或服务平台还未保存有该第二通信网络可用性信息。在服务平台收到终端的查询指令时,服务平台查询该第二通信网络可用性信息,并向终端返回上述查询结果。以使终端确定上述查询结果不可用时,终端启动探测该第二通信网络的可用性信息,终端根据其探测的第二通信网络的可用性信息过滤实际业务质量不佳不可用的网络,提升用户网络体验质量。终端将其探测的第二通信网络的可用性信息上报服务平台,以便其他终端通过服务平台共享该条第二通信网络的可用性信息。进一步提升用户网络体验质量。The service platform provided by the embodiment of the present invention adds a function of saving the availability information of the second communication network. Before the service platform receives the second communication network availability information command sent by the terminal, the service platform may receive the second communication network availability information sent by the other terminal and save the information, but the availability information has expired. The second communication network availability information has not been saved by the service platform. When the service platform receives the query instruction of the terminal, the service platform queries the second communication network availability information, and returns the foregoing query result to the terminal. When the terminal determines that the foregoing query result is unavailable, the terminal starts to detect the availability information of the second communication network, and the terminal filters the network whose actual service quality is not good and is unavailable according to the availability information of the second communication network that is detected by the terminal, thereby improving the quality of the user network experience. . The terminal reports the availability information of the second communication network that it detects to the service platform, so that other terminals share the availability information of the second communication network through the service platform. Further improve the quality of the user's network experience.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art will appreciate that in one or more examples described above, the functions described herein can be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium. Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage medium may be any available media that can be accessed by a general purpose or special purpose computer.
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明的保护范围之内。 The specific embodiments of the present invention have been described in detail with reference to the preferred embodiments of the present invention. The scope of the protection, any modifications, equivalent substitutions, improvements, etc., which are made on the basis of the technical solutions of the present invention, are included in the scope of the present invention.

Claims (26)

  1. 一种通信网络的连接方法,其特征在于,所述方法包括:A method for connecting a communication network, the method comprising:
    终端与第一通信网络连接,检测到第二通信网络的信号时,经由所述第一通信网络向服务平台发送查询所述第二通信网络的可用性信息的指令;The terminal is connected to the first communication network, and when detecting the signal of the second communication network, sends an instruction for querying the availability information of the second communication network to the service platform via the first communication network;
    所述终端接收所述服务平台返回的查询结果,根据所述查询结果确定所述第二通信网络可用时,显示所述第二通信网络可用的提示信息。Receiving, by the terminal, the query result returned by the service platform, and determining, according to the query result, that the second communication network is available, displaying prompt information available to the second communication network.
  2. 如权利要求1所述的方法,其特征在于,所述查询结果包括所述第二通信网络的可用性信息,所述终端根据所述可用性信息确定所述第二通信网络可用时,显示所述第二通信网络可用的提示信息。The method according to claim 1, wherein the query result includes availability information of the second communication network, and the terminal displays the first when the second communication network is available according to the availability information. Two prompt information available for the communication network.
  3. 如权利要求1所述的方法,其特征在于,所述查询结果包括所述第二通信网络的可用性信息和更新时间,所述终端根据所述更新时间确定所述可用性信息未过期,并根据所述可用性信息确定所述第二通信网络可用时,显示所述第二通信网络可用的提示信息。The method according to claim 1, wherein the query result includes availability information and an update time of the second communication network, and the terminal determines, according to the update time, that the availability information has not expired, and The availability information determines that the second communication network is available, and displays prompt information available to the second communication network.
  4. 如权利要求1—3任一项所述的方法,其特征在于,所述第二通信网络可用具体为所述第二通信网络的可用性信息中的上网状态信息指示可上网,和/或网速不低于第一网速阈值,和/或延迟时间不高于第一延迟时间阈值。The method according to any one of claims 1 to 3, wherein the second communication network may indicate that the Internet access status information in the availability information of the second communication network is available for Internet access, and/or network speed. Not lower than the first network speed threshold, and/or the delay time is not higher than the first delay time threshold.
  5. 一种通信网络的连接方法,其特征在于,所述方法包括:A method for connecting a communication network, the method comprising:
    终端与第一通信网络连接,检测到第二通信网络的信号时,经由所述第一通信网络向服务平台发送查询所述第二通信网络的可用性信息的指令;The terminal is connected to the first communication network, and when detecting the signal of the second communication network, sends an instruction for querying the availability information of the second communication network to the service platform via the first communication network;
    所述终端接收所述服务平台返回的查询结果,所述查询结果不可用时,所述终端探测所述第二通信网络的可用性信息;Receiving, by the terminal, a query result returned by the service platform, where the query result is unavailable, the terminal detects availability information of the second communication network;
    根据探测的所述第二通信网络的可用性信息确定所述第二通信网络可用时,显示所述第二通信网络可用的提示信息。And when the second communication network is determined to be available according to the detected availability information of the second communication network, displaying prompt information available to the second communication network.
  6. 如权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, wherein the method further comprises:
    所述终端通过所述第一通信网络将探测的所述第二通信网络的可用性信息上报所述服务平台。The terminal reports the detected availability information of the second communication network to the service platform by using the first communication network.
  7. 如权利要求5所述的方法,其特征在于,所述查询结果不可用,具体为:The method of claim 5, wherein the query result is not available, specifically:
    所述查询结果不包括所述第二通信网络的可用性信息;或The query result does not include availability information of the second communication network; or
    所述查询结果包括所述第二通信网络的可用性信息和更新时间,根据所述更新时间确定所述第二通信网络的可用性信息过期。The query result includes availability information and an update time of the second communication network, and the availability information of the second communication network is determined to be expired according to the update time.
  8. 一种通信网络的连接方法,其特征在于,所述方法包括:A method for connecting a communication network, the method comprising:
    终端与第一通信网络连接;The terminal is connected to the first communication network;
    终端检测到第二通信网络的信号时,探测所述第二通信网络的可用性信息;When the terminal detects the signal of the second communication network, detecting the availability information of the second communication network;
    所述终端通过所述第一通信网络将探测的所述第二通信网络的可用性信息上报服务平台。The terminal reports the availability information of the detected second communication network to the service platform by using the first communication network.
  9. 如权利要求8所述的方法,其特征在于,所述方法还包括:The method of claim 8 wherein the method further comprises:
    所述终端根据探测的所述第二通信网络的可用性信息确定所述第二通信网络可用时,显示所述第二通信网络可用的提示信息。And determining, by the terminal, the prompt information available to the second communication network when the second communication network is available according to the detected availability information of the second communication network.
  10. 如权利要求9所述的方法,其特征在于,所述终端探测所述第二通信网络的可用性信息之前,还包括以下步骤:The method according to claim 9, wherein before the terminal detects the availability information of the second communication network, the method further comprises the following steps:
    所述终端与第一通信网络连接,检测到所述第二通信网络的信号时,经由所述第一通信网络向服务平台发送查询所述第二通信网络的可用性信息的指令;The terminal is connected to the first communication network, and when detecting the signal of the second communication network, sends an instruction for querying the availability information of the second communication network to the service platform via the first communication network;
    所述终端接收所述服务平台返回的查询结果,所述查询结果为不可用。 The terminal receives the query result returned by the service platform, and the query result is unavailable.
  11. 一种通信网络的连接方法,其特征在于,所述方法包括:A method for connecting a communication network, the method comprising:
    服务平台接收终端经由第一通信网络发送的查询第二通信网络的可用性信息的指令,所述指令为所述终端与所述第一通信网络连接,检测到所述第二通信网络的信号时,向所述服务平台发送的指令;The service platform receives, by using the first communication network, an instruction for querying the availability information of the second communication network, where the instruction is that the terminal is connected to the first communication network, and when the signal of the second communication network is detected, An instruction sent to the service platform;
    所述服务平台查询所述第二通信网络的可用性信息,向所述终端发送查询结果,所述查询结果用于指示所述第二通信网络是否可用。The service platform queries the availability information of the second communication network, and sends a query result to the terminal, where the query result is used to indicate whether the second communication network is available.
  12. 如权利要求11所述的方法,其特征在于,所述方法还包括:The method of claim 11 wherein the method further comprises:
    所述服务平台接收所述终端探测的所述第二通信网络的可用性信息。The service platform receives availability information of the second communication network detected by the terminal.
  13. 一种终端,其特征在于,所述终端包括:处理器、WiFi模块、射频电路和显示屏,其中,A terminal, comprising: a processor, a WiFi module, a radio frequency circuit, and a display screen, wherein
    所述射频电路用于与第一通信网络连接;The radio frequency circuit is configured to be connected to the first communication network;
    所述WiFi模块用于检测第二通信网络信号;The WiFi module is configured to detect a second communication network signal;
    所述处理器,用于指示所述射频电路向服务平台发送查询所述第二通信网络的可用性信息的指令;The processor is configured to instruct the radio frequency circuit to send an instruction to the service platform to query availability information of the second communication network;
    所述射频电路还用于通过所述第一通信网络向服务平台发送查询所述第二通信网络的可用性信息的指令,接收所述服务平台返回的查询结果;The radio frequency circuit is further configured to send, by using the first communications network, an instruction for querying the availability information of the second communications network to the service platform, and receive a query result returned by the service platform;
    所述处理器根据所述查询结果确定所述第二通信网络可用时,指示所述显示屏显示所述第二通信网络可用的提示信息;And when the processor determines, according to the query result, that the second communication network is available, instructing the display screen to display prompt information available to the second communication network;
    所述显示屏用于显示所述第二通信网络可用的提示信息。The display screen is used to display prompt information available to the second communication network.
  14. 如权利要求13所述的终端,其特征在于,所述查询结果包括所述第二通信网络的可用性信息,所述处理器,具体用于根据所述可用性信息确定所述第二通信网络可用。The terminal according to claim 13, wherein the query result includes availability information of the second communication network, and the processor is specifically configured to determine that the second communication network is available according to the availability information.
  15. 如权利要求13所述的终端,其特征在于,所述查询结果包括所述第二通信网络的可用性信息和更新时间,所述处理器,具体用于根据所述更新时间确定所述可用性信息未过期,并根据所述可用性信息确定所述第二通信网络可用。The terminal according to claim 13, wherein the query result includes availability information and an update time of the second communication network, and the processor is configured to determine that the availability information is not determined according to the update time. Expired, and determining that the second communication network is available based on the availability information.
  16. 一种终端,其特征在于,所述终端包括:处理器、WiFi模块、射频电路和显示屏,其中,A terminal, comprising: a processor, a WiFi module, a radio frequency circuit, and a display screen, wherein
    所述射频电路用于与第一通信网络连接;The radio frequency circuit is configured to be connected to the first communication network;
    所述WiFi模块用于检测第二通信网络信号;The WiFi module is configured to detect a second communication network signal;
    所述处理器,用于指示所述射频电路向服务平台发送查询所述第二通信网络的可用性信息的指令;The processor is configured to instruct the radio frequency circuit to send an instruction to the service platform to query availability information of the second communication network;
    所述射频电路还用于通过所述第一通信网络向服务平台发送查询所述第二通信网络的可用性信息的指令,接收所述服务平台返回的查询结果;The radio frequency circuit is further configured to send, by using the first communications network, an instruction for querying the availability information of the second communications network to the service platform, and receive a query result returned by the service platform;
    所述处理器确定所述查询结果不可用时,指示所述WiFi模块探测所述第二通信网络的可用性信息,并根据探测的第二通信网络的可用性信息确定所述第二通信网络可用时,指示所述显示屏显示所述第二通信网络可用的提示信息;When the processor determines that the query result is unavailable, instructing the WiFi module to detect availability information of the second communication network, and determining, according to the detected availability information of the second communication network, that the second communication network is available, indicating The display screen displays prompt information available to the second communication network;
    所述显示屏用于显示所述第二通信网络可用的提示信息。The display screen is used to display prompt information available to the second communication network.
  17. 如权利要求16所述的终端,其特征在于,所述处理器还用于:指示所述射频电路向所述服务平台发送探测的所述第二通信网络的可用性信息;The terminal according to claim 16, wherein the processor is further configured to: instruct the radio frequency circuit to send the detected availability information of the second communication network to the service platform;
    所述射频电路还用于通过所述第一通信网络向服务平台发送探测的第二通信网络的可用性信息。The radio frequency circuit is further configured to send the detected availability information of the second communication network to the service platform by using the first communication network.
  18. 一种终端,其特征在于,所述终端包括:处理器、WiFi模块和射频电路,其中,所述射频电路用于与第一通信网络连接;A terminal, comprising: a processor, a WiFi module, and a radio frequency circuit, wherein the radio frequency circuit is configured to be connected to the first communication network;
    所述WiFi模块用于检测第二通信网络的信号,并探测第二通信网络的可用性信息; The WiFi module is configured to detect a signal of the second communication network and detect availability information of the second communication network;
    所述处理器,用于指示所述射频电路向服务平台发送探测的所述第二通信网络的可用性信息;The processor is configured to instruct the radio frequency circuit to send the detected availability information of the second communication network to the service platform;
    所述射频电路还用于通过所述第一通信网络向所述服务平台发送探测的所述第二通信网络的可用性信息。The radio frequency circuit is further configured to send the detected availability information of the second communication network to the service platform by using the first communication network.
  19. 如权利要求18所述的终端,其特征在于,所述终端还包括显示屏;The terminal according to claim 18, wherein the terminal further comprises a display screen;
    所述处理器还用于根据探测的所述第二通信网络的可用性信息确定所述第二通信网络可用时,指示所述显示屏显示所述第二通信网络可用的提示信息;The processor is further configured to: when determining, according to the detected availability information of the second communication network, that the second communication network is available, instructing the display screen to display prompt information available to the second communication network;
    所述显示屏用于显示所述第二通信网络可用的提示信息。The display screen is used to display prompt information available to the second communication network.
  20. 如权利要求19所述的终端,其特征在于,所述WiFi模块还用于检测所述第二通信网络信号;The terminal according to claim 19, wherein the WiFi module is further configured to detect the second communication network signal;
    所述处理器,还用于指示所述射频电路向服务平台发送查询所述第二通信网络的可用性信息的指令;The processor is further configured to instruct the radio frequency circuit to send an instruction to the service platform to query availability information of the second communication network;
    所述射频电路还用于通过所述第一通信网络向服务平台发送查询所述第二通信网络的可用性信息的指令,接收所述服务平台返回的查询结果;The radio frequency circuit is further configured to send, by using the first communications network, an instruction for querying the availability information of the second communications network to the service platform, and receive a query result returned by the service platform;
    所述处理器确定所述查询结果不可用时,指示所述WiFi模块探测所述第二通信网络的可用性信息。And when the processor determines that the query result is unavailable, instructing the WiFi module to detect availability information of the second communication network.
  21. 一种服务平台,其特征在于,所述服务平台包括:处理器和网络接口,其中,A service platform, the service platform includes: a processor and a network interface, where
    所述网络接口,用于与第一通信网络连接;The network interface is configured to be connected to the first communication network;
    所述网络接口,还用于接收终端通过所述第一通信网络发送的查询第二通信网络的可用性信息的指令,所述指令为所述终端与所述第一通信网络连接,检测到所述第二通信网络的信号时,向所述服务平台发送的指令;The network interface is further configured to receive, by the terminal, an instruction sent by the first communications network to query availability information of the second communications network, where the command is that the terminal is connected to the first communications network, and the An instruction sent to the service platform when the signal of the second communication network is;
    所述处理器,用于查询所述第二通信网络的可用性信息,并指示所述网络接口向所述终端发送查询结果,所述查询结果用于指示所述第二通信网络是否可用;The processor is configured to query the availability information of the second communication network, and instruct the network interface to send a query result to the terminal, where the query result is used to indicate whether the second communication network is available;
    所述网络接口,还用于通过所述第一通信网络向所述终端发送所述查询结果。The network interface is further configured to send the query result to the terminal by using the first communications network.
  22. 如权利要求21所述的服务平台,其特征在于,所述网络接口,还用于通过所述第一通信网络接收所述终端发送的探测的所述第二通信网络的可用性信息。The service platform according to claim 21, wherein the network interface is further configured to receive, by the first communication network, availability information of the detected second communication network sent by the terminal.
  23. 一种终端设备,其特征在于,所述终端设备包括显示屏,存储器,一个或多个处理器,以及一个或多个程序;其中所述一个或多个程序被存储在所述存储器中;其特征在于,所述一个或多个处理器在执行所述一个或多个程序时,使得所述终端设备实现如权利要求1至4任一项所述的方法。A terminal device, comprising: a display screen, a memory, one or more processors, and one or more programs; wherein the one or more programs are stored in the memory; The method is characterized in that the one or more processors, when executing the one or more programs, cause the terminal device to implement the method of any one of claims 1 to 4.
  24. 一种服务器,其特征在于,所述服务器包括存储器,一个或多个处理器,以及一个或多个程序;其中所述一个或多个程序被存储在所述存储器中;其特征在于,所述一个或多个处理器在执行所述一个或多个程序时,使得所述服务器实现如权利要求11或12所述的方法。A server, comprising: a memory, one or more processors, and one or more programs; wherein the one or more programs are stored in the memory; wherein The one or more processors, when executing the one or more programs, cause the server to implement the method of claim 11 or 12.
  25. 一种计算机可读存储介质,包括指令,其特征在于,当其在计算机上运行时,使得所述计算机执行如权利要求1-4任意一项所述的方法。A computer readable storage medium comprising instructions, wherein when executed on a computer, causes the computer to perform the method of any of claims 1-4.
  26. 一种包含指令的计算机程序产品,其特征在于,当其在计算机上运行时,使得计算机执行如权利要求1-4任意一项所述的方法。 A computer program product comprising instructions, wherein when executed on a computer, causes the computer to perform the method of any of claims 1-4.
PCT/CN2017/096462 2016-08-09 2017-08-08 Connection method for communication network, and terminal and service platform WO2018028575A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610649112.9 2016-08-09
CN201610649112.9A CN107707372A (en) 2016-08-09 2016-08-09 Connection method, terminal and the service platform of communication network

Publications (1)

Publication Number Publication Date
WO2018028575A1 true WO2018028575A1 (en) 2018-02-15

Family

ID=61162754

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/096462 WO2018028575A1 (en) 2016-08-09 2017-08-08 Connection method for communication network, and terminal and service platform

Country Status (2)

Country Link
CN (1) CN107707372A (en)
WO (1) WO2018028575A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378303A (en) * 2010-08-26 2012-03-14 中国移动通信有限公司 Method and device for selecting WIFI (Wireless Fidelity) access point to access to network
CN103024867A (en) * 2012-11-22 2013-04-03 北京英进质方科技有限公司 Wireless fidelity (WiFi) hotspot finding method and network switching method
US9241239B2 (en) * 2012-05-03 2016-01-19 Time Warner Cable Enterprises Llc Establishing network connectivity based on location

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378303A (en) * 2010-08-26 2012-03-14 中国移动通信有限公司 Method and device for selecting WIFI (Wireless Fidelity) access point to access to network
US9241239B2 (en) * 2012-05-03 2016-01-19 Time Warner Cable Enterprises Llc Establishing network connectivity based on location
CN103024867A (en) * 2012-11-22 2013-04-03 北京英进质方科技有限公司 Wireless fidelity (WiFi) hotspot finding method and network switching method

Also Published As

Publication number Publication date
CN107707372A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
US11310239B2 (en) Network connection method, hotspot terminal and management terminal
KR102478442B1 (en) Method for setting pdu type, method for setting ue policy, and related entities
US9801057B2 (en) Wireless network access technology
CN103475996B (en) Method for connecting network, network share method and device
TWI457848B (en) Online service providing system, method, server and mobile device thereof, and computer program product
US11218451B2 (en) Device bootstrap method, terminal, and server
US20230020910A1 (en) Method and device for performing communication by using virtual subscriber identity module
WO2013131472A1 (en) Message processing method, device and system
US20130336161A1 (en) Terminal and method for p2p connection in wifi network
KR20130044922A (en) Method and apparatus for wi-fi connecting using wi-fi protected setup in a portable terminal
JP7200312B2 (en) Method and terminal device for establishing a hotspot connection
TWI654890B (en) Communication method, device and system
WO2015032249A1 (en) Method, system, device and terminal for network initialization of multimedia playing device
WO2018196468A1 (en) Method, device and terminal for realizing data service
WO2020199899A1 (en) Event processing method, device and system
WO2017128538A1 (en) Network search control method and device
WO2017091951A1 (en) Method and user equipment for performing notification of system messages
WO2015101302A1 (en) Data sharing method, system, user end and background server
US10757692B2 (en) Method for determining network standard in wireless communications network, access point device, terminal device, and radio network controller
US9965341B2 (en) Method and device for exchanging data between processes
WO2018120624A1 (en) Method, apparatus and system for obtaining authentication information
JP2013520888A (en) Region-based communication service processing method and apparatus
CN112543493A (en) Wifi connection method, terminal and computer storage medium
WO2018028575A1 (en) Connection method for communication network, and terminal and service platform
US20140344423A1 (en) Method, apparatus and system for switching function mode

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: 17838705

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17838705

Country of ref document: EP

Kind code of ref document: A1