CN106162775B - Method and device for accessing wireless network - Google Patents

Method and device for accessing wireless network Download PDF

Info

Publication number
CN106162775B
CN106162775B CN201610576121.XA CN201610576121A CN106162775B CN 106162775 B CN106162775 B CN 106162775B CN 201610576121 A CN201610576121 A CN 201610576121A CN 106162775 B CN106162775 B CN 106162775B
Authority
CN
China
Prior art keywords
wireless network
wireless
signal strength
control chip
strength value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610576121.XA
Other languages
Chinese (zh)
Other versions
CN106162775A (en
Inventor
吴明毅
袁远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Technology Group Co Ltd
Original Assignee
TCL Technology Group Co Ltd
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 TCL Technology Group Co Ltd filed Critical TCL Technology Group Co Ltd
Priority to CN201610576121.XA priority Critical patent/CN106162775B/en
Publication of CN106162775A publication Critical patent/CN106162775A/en
Application granted granted Critical
Publication of CN106162775B publication Critical patent/CN106162775B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data

Abstract

The invention discloses a method and a device for accessing a wireless network. Wherein the method comprises the following steps: the method comprises the steps that when a terminal accesses a first wireless network through a first wireless control chip and performs data interaction through the first wireless network, a second signal intensity value corresponding to a second wireless network is obtained through a second wireless control chip; the terminal confirms whether the second signal strength value is larger than the first signal strength value; and when the second signal intensity value is larger than the first signal intensity value, the terminal establishes communication connection with the second wireless network corresponding to the second signal intensity value through the second wireless control chip, and performs data interaction through the second wireless network. By the method, the wireless access point with stronger signal than the currently accessed wireless access point can be seamlessly and automatically switched from the first wireless network under the condition of not interrupting network communication, network resources are fully utilized, and the data acquisition rate is improved.

Description

Method and device for accessing wireless network
Technical Field
The present invention belongs to the field of communications, and in particular, to a method and an apparatus for accessing a wireless network.
Background
With the development of Wireless network communication technology, the application of Wireless Fidelity (WiFi) technology is more and more extensive, and more terminals are accessed to a core network through a WiFi Access Point (AP).
However, when the terminal is in the coverage of a plurality of WiFi access points, and the terminal is connected to the first WiFi access point, if it is determined that the first WiFi access point cannot be received, the terminal re-accesses other WiFi access points, and cannot automatically connect to a WiFi access point with a stronger wireless signal than the first WiFi access point.
Disclosure of Invention
The invention provides a method and a device for accessing a wireless network, which can automatically switch to a wireless access point with stronger signal than that of the currently accessed wireless access point under the condition of not interrupting network communication when a terminal is in a coverage range of at least two wireless access points, fully utilize network resources and improve the data acquisition rate.
To solve the above problem, a first aspect of the present invention provides a method for accessing a wireless network, the method comprising:
the method comprises the steps that when a terminal accesses a first wireless network through a first wireless control chip and performs data interaction through the first wireless network, a second signal intensity value corresponding to a second wireless network is obtained through a second wireless control chip; wherein the first wireless network corresponds to a first signal strength value;
the terminal confirms whether the second signal strength value is larger than the first signal strength value;
and when the second signal intensity value is larger than the first signal intensity value, the terminal establishes communication connection with the second wireless network corresponding to the second signal intensity value through the second wireless control chip, and performs data interaction through the second wireless network.
To solve the above problem, the present invention provides in a second aspect an apparatus for accessing a wireless network, the apparatus comprising:
the acquisition module is used for acquiring a second signal intensity value corresponding to a second wireless network through a second wireless control chip when the first wireless network is accessed through a first wireless control chip and data interaction is carried out through the first wireless network; wherein the first wireless network corresponds to a first signal strength value;
a confirmation module configured to confirm whether the second signal strength value is greater than the first signal strength value;
and the control module is used for establishing communication connection with the second wireless network through the second wireless control chip when the second signal intensity value is greater than the first signal intensity value.
According to the scheme, when the terminal accesses the first wireless network through the first wireless control chip and performs data interaction through the first wireless network, the terminal obtains a second signal intensity value corresponding to the second wireless network through the second wireless control chip; and when the second signal intensity value is larger than the first signal intensity value, establishing communication connection with a second wireless network corresponding to the second signal intensity value through the second wireless control chip, and performing data interaction through the second wireless network. When the terminal confirms that the signal intensity value of the second wireless network is larger than that of the currently accessed wireless network in the coverage area of the current wireless signal, the terminal can seamlessly switch from the first wireless network to the second wireless network with stronger signal intensity under the condition of not interrupting network communication, so that network resources are fully utilized, and the data acquisition rate is improved.
Drawings
Fig. 1 is a flowchart of an embodiment of a method for accessing a wireless network according to the present invention;
fig. 2 is a flowchart of another embodiment of a method of accessing a wireless network of the present invention;
FIG. 3 is a schematic structural diagram of an embodiment of an apparatus for accessing a wireless network according to the present invention;
fig. 4 is a schematic structural diagram of another embodiment of the apparatus for accessing a wireless network according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for accessing a wireless network according to an embodiment of the present invention. The execution main body of the method for accessing the wireless network is a terminal, and the terminal is provided with two wireless control chips. The first wireless control chip is used for communicating with the wireless access point, and the second wireless control chip is used for scanning the signal intensity corresponding to the wireless access point in the current area. The wireless control chip is a wireless network control chip, can be a wifi control chip, or a wifi processor and the like. The terminal may be a mobile terminal such as a mobile phone and a tablet computer, and may also be other terminals that can access a wireless network, which is not limited herein. The method for accessing the wireless network in the embodiment comprises the following steps:
s101: the method comprises the steps that when a terminal accesses a first wireless network through a first wireless control chip and performs data interaction through the first wireless network, a second signal intensity value corresponding to a second wireless network is obtained through a second wireless control chip; and the first signal strength value corresponds to the first wireless network.
When the terminal accesses the first wireless network through the first wireless control chip and establishes communication connection with the first wireless network for data interaction, the terminal monitors a wireless signal sent by the second wireless network through the second wireless control chip. The wireless signal sent by the first wireless network corresponds to the first signal strength value.
And the terminal acquires a second signal strength value corresponding to the received wireless signal sent by the second wireless network when the terminal confirms that the wireless signal sent by the second wireless network can be monitored.
The first wireless network is a wireless network which is accessed by the terminal at present, and the second wireless network is other available wireless networks except the first wireless network in the coverage area of the current wireless signal. The number of the second wireless networks may be one, or may be at least two, which is not limited herein.
It can be understood that one wireless Access Point corresponds to one wireless network, and the wireless Access Point may be a WiFi Access Point (AP) or a personal hotspot, which is not limited herein.
The terminal may obtain a second signal strength value corresponding to the second wireless network in real time through the second wireless control chip, or may obtain the second signal strength value corresponding to the second wireless network at preset time intervals. The preset time interval can be set according to practical situations, and is not limited herein.
It can be understood that the first signal strength value and the second signal strength value acquired by the terminal may change with the change of the terminal location.
S102: and the terminal confirms whether the second signal intensity value is larger than a first signal intensity value corresponding to the first wireless network.
The terminal judges whether a second signal intensity value corresponding to the second wireless network is larger than a first signal intensity value corresponding to the first wireless network.
When the terminal determines that the second signal strength value corresponding to the second wireless network is greater than the first signal strength value corresponding to the first wireless network, the terminal executes step S103; the terminal does not perform any processing when determining that the second signal strength value corresponding to the second wireless network is less than or equal to the first signal strength value corresponding to the first wireless network, ends the process, and returns to step S101.
S103: and when the second signal intensity value is larger than the first signal intensity value, the terminal establishes communication connection with the second wireless network through the second wireless control chip and performs data interaction through the second wireless network.
And when the terminal confirms that the second signal intensity value corresponding to the second wireless network is greater than the first signal intensity value, the terminal establishes communication connection with the second wireless network through the second wireless control chip, accesses the second wireless network through the second wireless control chip, performs data interaction through the second wireless network, and disconnects the communication connection between the first wireless control chip and the first wireless network. At this time, the wireless network to which the terminal is currently connected is switched from the first wireless network to the second wireless network.
The number of the second wireless networks corresponding to the second signal strength value greater than the first signal strength value may be one or at least two, which is not limited herein.
When the terminal confirms that at least two second wireless networks meeting the requirements in the coverage area of the current wireless signals exist, the terminal can establish communication connection with any second wireless network meeting the requirements, and also can establish communication connection with the second wireless network with stronger or strongest signal intensity. The rate of the terminal acquiring the network resources through the wireless network has a certain relation with the received signal strength of the wireless network.
It can be understood that, in this embodiment, the switching of the terminal from the first wireless network to the second wireless network refers to: the terminal carries out seamless switching through the virtual wireless network interface, does not influence the terminal and obtains network resources from the wireless network, and only one physical wireless network interface is arranged in the terminal.
It will be appreciated that when the terminal hands over from the first wireless network to the second wireless network, the terminal identifies the second wireless network as a new first wireless network. That is, the terminal recognizes the currently accessed wireless network as the first wireless network, and the terminal may return to step S101.
According to the scheme, when the terminal accesses the first wireless network through the first wireless control chip and performs data interaction through the first wireless network, the terminal obtains a second signal intensity value corresponding to the second wireless network through the second wireless control chip; and when the second signal intensity value is larger than the first signal intensity value, establishing communication connection with a second wireless network corresponding to the second signal intensity value through the second wireless control chip, and performing data interaction through the second wireless network. When the terminal confirms that the signal intensity value of the second wireless network is larger than that of the currently accessed wireless network in the coverage area of the current wireless signal, the terminal can seamlessly switch from the first wireless network to the second wireless network with stronger signal intensity under the condition of not interrupting network communication, so that network resources are fully utilized, and the data acquisition rate is improved.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for accessing a wireless network according to another embodiment of the present invention. The execution main body of the method for accessing the wireless network is a terminal, and the terminal is provided with two wireless control chips. The first wireless control chip is used for communicating with the wireless access point, and the second wireless control chip is used for scanning the signal intensity corresponding to the wireless access point in the current area. The wireless control chip is a wireless network control chip, can be a wifi control chip, or a wifi processor and the like. The terminal may be a mobile terminal such as a mobile phone and a tablet computer, and may also be other terminals that can access a wireless network, which is not limited herein. The method for accessing the wireless network in the embodiment comprises the following steps:
s201: the terminal accesses a first wireless network through a first wireless control chip, performs data interaction through the first wireless network, and acquires a second signal intensity value corresponding to a second wireless network through a second wireless control chip when a first signal intensity value corresponding to the first wireless network is smaller than a preset threshold value.
When the terminal accesses the first wireless network through the first wireless control chip and establishes communication connection with the first wireless network for data interaction, whether a first signal intensity value corresponding to a signal sent by the first wireless network and received by the terminal through the first wireless control chip is smaller than a preset threshold value or not is judged.
And when the terminal confirms that the first signal intensity value corresponding to the first wireless network is greater than or equal to the preset threshold value, the terminal does not perform any processing and keeps the communication connection with the first wireless network.
And when the terminal confirms that the first signal intensity value corresponding to the first wireless network is smaller than the preset threshold value, monitoring a wireless signal sent by a second wireless network through a second wireless control chip.
And the terminal acquires a second signal strength value corresponding to the received wireless signal sent by the second wireless network when the terminal confirms that the wireless signal sent by the second wireless network can be monitored.
The first wireless network is a wireless network which is accessed by the terminal at present, and the second wireless network is other available wireless networks except the first wireless network in the coverage area of the current wireless signal. The number of the second wireless networks may be one, or may be at least two, which is not limited herein.
It can be understood that one wireless Access Point corresponds to one wireless network, and the wireless Access Point may be a WiFi Access Point (AP) or a personal hotspot, which is not limited herein.
The terminal may obtain a second signal strength value corresponding to the second wireless network in real time through the second wireless control chip, or may obtain the second signal strength value corresponding to the second wireless network at preset time intervals. The preset time interval can be set according to practical situations, and is not limited herein.
It can be understood that the first signal strength value and the second signal strength value acquired by the terminal may change with the change of the terminal location.
When acquiring the second signal strength value corresponding to the second wireless network, the terminal executes step S202. When the terminal determines that the first signal strength value corresponding to the first wireless network is greater than or equal to the preset threshold, or when the terminal does not acquire the second signal strength value corresponding to the second wireless network, the terminal executes step S204.
S202: and the terminal confirms whether the second signal intensity value is larger than a first signal intensity value corresponding to the first wireless network.
The terminal judges whether a second signal intensity value corresponding to the second wireless network is larger than a first signal intensity value corresponding to the first wireless network.
When the terminal determines that the second signal strength value corresponding to the second wireless network is greater than the first signal strength value corresponding to the first wireless network, the terminal executes step S203; when the terminal determines that the second signal strength value corresponding to the second wireless network is less than or equal to the first signal strength value corresponding to the first wireless network, the terminal executes step S204.
S203: and when the second signal intensity value is larger than the first signal intensity value, the terminal establishes communication connection with the second wireless network through the second wireless control chip and performs data interaction through the second wireless network.
Further, the step of establishing a communication connection between the terminal and a second wireless network through the second wireless control chip may be: and the terminal establishes communication connection of a second wireless network corresponding to the second signal intensity value through the second wireless control chip, performs data interaction through the second wireless network, and disconnects the communication connection between the first wireless control chip and the first wireless network.
And when the terminal confirms that a second signal intensity value corresponding to the second wireless network is greater than the first signal intensity value, the terminal establishes communication connection with the second wireless network through the second wireless control chip, accesses the second wireless network through the second wireless control chip, performs data interaction through the second wireless network, and disconnects the communication connection between the first wireless control chip and the first wireless network. At this time, the terminal switches the currently connected wireless network from the first wireless network to the second wireless network without interrupting network communication.
The number of the second wireless networks corresponding to the second signal strength value greater than the first signal strength value may be one or at least two, which is not limited herein. And when the terminal confirms that the second signal strength value corresponding to each of the at least two second wireless networks is greater than the first signal strength value corresponding to the first wireless network, the terminal establishes communication connection with the second wireless network with the stronger second signal strength value.
Alternatively, step S203 may be: and when the second signal intensity value is greater than the first signal intensity value and the difference value between the second signal intensity value and the first signal intensity value is greater than a preset signal intensity difference value, the terminal establishes communication connection with the second wireless network corresponding to the second signal intensity value through the second wireless control chip and performs data interaction through the second wireless network.
For example, when the terminal accesses the first wireless network through the first wireless control chip, performs data interaction with the first wireless network through the first wireless control chip, and determines that a second signal strength value of at least one second wireless network is greater than a first signal strength value of the first wireless network, it may further determine whether a difference between the second signal strength value and the first signal strength value is greater than a preset signal strength difference, and when it is determined that the difference is greater than or equal to the preset signal strength difference, the terminal establishes a communication connection with the second wireless network corresponding to the second signal strength value through the second wireless control chip, and performs data interaction through the second wireless network. Therefore, the terminal can be prevented from frequently switching the wireless network when the data transmission rates are close. The preset signal intensity difference value can be set according to actual needs, and is not limited here.
The number of the second wireless networks corresponding to the second signal strength value meeting the requirement may be one, or may be at least two, which is not limited herein. The second satisfactory signal strength value is: the second signal strength value is greater than the first signal strength value, and the difference between the second signal strength value and the first signal strength value is greater than or equal to a preset signal strength difference value.
When the terminal confirms that at least two second wireless networks corresponding to the second signal strength values meeting the requirements in the current wireless signal coverage range exist, the terminal can establish communication connection with any second wireless network meeting the requirements through the second wireless control chip, and can also establish communication connection with the second wireless network with stronger or strongest signal strength through the second wireless control chip.
Alternatively, step S203 may include: and when at least two second signal strength values are greater than the first signal strength value, or when at least two second signal strength values are greater than the first signal strength value and the difference value between the at least two second signal strength values and the first signal strength value is greater than a preset signal strength difference value, the terminal establishes communication connection with a second wireless network with the maximum second signal strength value through a second wireless control chip.
For example, when the terminal determines that the second signal strength value of at least one second wireless network is greater than the first signal strength value of the first wireless network, it may further determine whether a difference between the at least two second signal strength values and the first signal strength value is greater than or equal to a preset signal strength difference. The preset signal intensity difference value can be set according to actual needs, and is not limited here.
When the terminal confirms that the difference is larger than or equal to the preset signal intensity difference, the second wireless control chip establishes communication connection with a second wireless network corresponding to the second signal intensity value, and data interaction is carried out through the second wireless network, so that the terminal can be prevented from frequently switching the wireless networks when the data transmission rates are close.
When the terminal confirms that at least two second wireless networks corresponding to the second signal strength values meeting the requirements in the current wireless signal coverage range exist, the terminal establishes communication connection with the second wireless network with the strongest signal strength through the second wireless control chip.
The second signal strength value meeting the requirement is: the at least two second signal strength values are greater than the first signal strength value; or the at least two second signal strength values are larger than the first signal strength value, and the difference value corresponding to each of the at least two second signal strength values and the first signal strength value is larger than or equal to the preset signal strength difference value.
It can be understood that, in this embodiment, the switching of the terminal from the first wireless network to the second wireless network refers to: after the terminal establishes communication connection with the second wireless network through the second wireless control chip, the communication connection between the first wireless control chip and the first wireless network is disconnected, so that the terminal is switched from the first wireless network to the second wireless network, seamless switching is performed through the virtual wireless network interface in the process of switching the wireless network, network resources are not influenced between the terminal and the wireless network, and only one physical wireless network interface is arranged in the terminal. That is, the terminal does not have a communication connection with the wireless network during the handover of the wireless network.
It will be appreciated that when the terminal hands over from the first wireless network to the second wireless network, the terminal identifies the second wireless network as a new first wireless network. That is, the terminal recognizes the currently accessed wireless network as the first wireless network, and the terminal may return to step S201.
S204: when a second signal intensity value corresponding to the second wireless network is not obtained, or when the second signal intensity value is smaller than or equal to the first signal intensity value, the terminal keeps the communication connection with the first wireless network, and data interaction is carried out through the first wireless network.
When the terminal confirms that the first signal intensity value corresponding to the first wireless network is larger than or equal to the preset threshold value, or when the second wireless control chip does not acquire the second signal intensity value corresponding to the second wireless network, or when confirms that the second signal intensity value corresponding to the second wireless network is smaller than or equal to the first signal intensity value, the communication connection between the first wireless control chip and the first wireless network is kept, and data interaction is carried out through the first wireless network.
The rate of the terminal acquiring the network resources through the wireless network has a certain relation with the received signal intensity of the wireless network.
According to the scheme, when the terminal accesses the first wireless network through the first wireless control chip and performs data interaction through the first wireless network, the terminal obtains a second signal intensity value corresponding to the second wireless network through the second wireless control chip; and when the second signal intensity value is larger than the first signal intensity value, establishing communication connection with a second wireless network corresponding to the second signal intensity value through the second wireless control chip, and performing data interaction through the second wireless network. When the terminal confirms that the signal intensity value of the second wireless network is larger than that of the currently accessed wireless network in the coverage area of the current wireless signal, the terminal can seamlessly switch from the first wireless network to the second wireless network with stronger signal intensity under the condition of not interrupting network communication, so that network resources are fully utilized, and the data acquisition rate is improved.
When the terminal confirms that the signal intensity value corresponding to the first wireless network is smaller than the preset threshold value and the second signal intensity value is larger than the first signal intensity value, the terminal automatically switches from the first network to the second wireless network, network resources are obtained through the second wireless network, and the data obtaining speed can be further improved.
When the terminal determines that the second signal strength value is larger than the first signal strength value and the difference between the second signal strength value and the first signal strength value is larger than or equal to a preset signal strength difference value, the terminal automatically switches from the first network to the second wireless network, and the terminal can avoid frequent switching of the wireless networks when the data transmission rates are close.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an apparatus for accessing a wireless network according to an embodiment of the present invention. In this embodiment, the device accessing the wireless network is a terminal, and the terminal has two wireless control chips. The first wireless control chip is used for communicating with the wireless access point, and the second wireless control chip is used for scanning the signal intensity corresponding to the wireless access point in the current area. The wireless control chip is a wireless network control chip, can be a wifi control chip, or a wifi processor and the like. The terminal can be a mobile terminal such as a mobile phone and a tablet personal computer, and can also be other terminals capable of accessing a wireless network. The modules included in the terminal device are configured to execute the steps in the embodiment corresponding to fig. 1, please refer to fig. 1 and the related description in the embodiment corresponding to fig. 1, which are not described herein again. The terminal of the present embodiment includes an obtaining module 310, a confirming module 320, and a control module 330.
The obtaining module 310 is configured to obtain a second signal strength value corresponding to a second wireless network through a second wireless control chip when the first wireless control chip is accessed to a first wireless network and data interaction is performed through the first wireless network; the first wireless network corresponds to the first signal strength value.
For example, when the terminal accesses the first wireless network through the first wireless control chip and performs data interaction through the first wireless network, the obtaining module 310 obtains a second signal strength value corresponding to the second wireless network through the second wireless control chip; the first wireless network corresponds to the first signal strength value.
The obtaining module 310 sends the second signal strength value to the confirming module.
The confirming module 320 is configured to receive the second signal strength value sent by the obtaining module 310, and confirm whether the second signal strength value is greater than the first signal strength value.
For example, the confirming module 320 receives the second signal strength value sent by the obtaining module 310, and confirms whether the second signal strength value is greater than the first signal strength value.
The confirmation module 320 sends the confirmation to the control module 330.
The control module 330 is configured to receive the confirmation result sent by the confirmation module 320, and when the confirmation result is that the second signal strength value is greater than the first signal strength value, establish a communication connection with the second wireless network through the second wireless control chip, and perform data interaction through the second wireless network.
For example, the control module 330 receives the confirmation result sent by the confirmation module 320, and when the confirmation result is that the second signal strength value is greater than the first signal strength value, establishes a communication connection with the second wireless network through the second wireless control chip, and performs data interaction through the second wireless network.
According to the scheme, when the terminal accesses the first wireless network through the first wireless control chip and performs data interaction through the first wireless network, the terminal obtains a second signal intensity value corresponding to the second wireless network through the second wireless control chip; and when the second signal intensity value is larger than the first signal intensity value, establishing communication connection with a second wireless network corresponding to the second signal intensity value through the second wireless control chip, and performing data interaction through the second wireless network. When the terminal confirms that the signal intensity value of the second wireless network is larger than that of the currently accessed wireless network in the coverage area of the current wireless signal, the terminal can seamlessly switch from the first wireless network to the second wireless network with stronger signal intensity under the condition of not interrupting network communication, so that network resources are fully utilized, and the data acquisition rate is improved.
Referring to fig. 3, in another embodiment, modules included in a device (terminal) accessing a wireless network are used to execute steps in the embodiment corresponding to fig. 2, and specific reference is made to fig. 2 and related descriptions in the embodiment corresponding to fig. 2, which are not described herein again. The terminal of this embodiment includes an obtaining module 310, a confirming module 320, and a control module 330, which are specifically configured to:
the obtaining module 310 is configured to obtain a second signal strength value corresponding to a second wireless network through a second wireless control chip when the first wireless control chip is accessed to a first wireless network and data interaction is performed through the first wireless network and a first signal strength value corresponding to the first wireless network is smaller than a preset threshold.
For example, the obtaining module 310 obtains a second signal strength value corresponding to a second wireless network through a second wireless control chip when the first wireless control chip accesses the first wireless network and performs data interaction through the first wireless network, and a first signal strength value corresponding to the first wireless network is smaller than a preset threshold.
The obtaining module 310 sends the second signal strength value to the confirming module.
The confirming module 320 is configured to receive the second signal strength value sent by the obtaining module 310, and confirm whether the second signal strength value is greater than the first signal strength value.
For example, the confirming module 320 receives the second signal strength value sent by the obtaining module 310, and confirms whether the second signal strength value is greater than the first signal strength value.
The confirmation module 320 sends the confirmation to the control module 330.
The control module 330 is configured to receive the confirmation result sent by the confirmation module 320, and when the confirmation result is that the second signal strength value is greater than the first signal strength value, establish a communication connection with the second wireless network through the second wireless control chip, and perform data interaction through the second wireless network.
For example, the control module 330 receives the confirmation result sent by the confirmation module 320, and when the confirmation result is that the second signal strength value is greater than the first signal strength value, establishes a communication connection with the second wireless network through the second wireless control chip, and performs data interaction through the second wireless network.
Optionally, the control module 330 is configured to establish a communication connection with a second wireless network having the largest second signal strength value through the second wireless control chip when it is determined that at least two second signal strength values are greater than the first signal strength value, and perform data interaction through the second wireless network.
For example, when it is determined that at least two second signal strength values are greater than the first signal strength value, the control module 330 establishes a communication connection with a second wireless network having the largest second signal strength value through the second wireless control chip, and performs data interaction through the second wireless network.
Optionally, the control module 330 is specifically configured to establish a communication connection with the second wireless network corresponding to the second signal strength value through the second wireless control chip when the second signal strength value is greater than the first signal strength value and a difference between the second signal strength value and the first signal strength value is greater than a preset signal strength difference, and perform data interaction through the second wireless network.
For example, when it is determined that the second signal strength value is greater than the first signal strength value and the difference between the second signal strength value and the first signal strength value is greater than the preset signal strength difference, the control module 330 establishes a communication connection with the second wireless network corresponding to the second signal strength value through the second wireless control chip, and performs data interaction through the second wireless network.
Optionally, the control module 330 is further configured to maintain the communication connection with the first wireless network when the second wireless control chip does not obtain the second signal strength value corresponding to the second wireless network, or when the second signal strength value is smaller than or equal to the first signal strength value, and perform data interaction through the first wireless network.
For example, when the second wireless control chip does not obtain the second signal strength value corresponding to the second wireless network, or when the second signal strength value is smaller than or equal to the first signal strength value, the control module 330 maintains the communication connection with the first wireless network, and performs data interaction through the first wireless network.
According to the scheme, when the terminal accesses the first wireless network through the first wireless control chip and performs data interaction through the first wireless network, the terminal obtains a second signal intensity value corresponding to the second wireless network through the second wireless control chip; and when the second signal intensity value is larger than the first signal intensity value, establishing communication connection with a second wireless network corresponding to the second signal intensity value through the second wireless control chip. When the terminal confirms that the signal intensity value of the second wireless network is larger than that of the currently accessed wireless network in the coverage area of the current wireless signal, the terminal can seamlessly switch from the first wireless network to the second wireless network with stronger signal intensity under the condition of not interrupting network communication, so that network resources are fully utilized, and the data acquisition rate is improved.
When the terminal confirms that the signal intensity value corresponding to the first wireless network is smaller than the preset threshold value and the second signal intensity value is larger than the first signal intensity value, the terminal automatically switches from the first network to the second wireless network, network resources are obtained through the second wireless network, and the data obtaining speed can be further improved.
When the terminal determines that the second signal strength value is larger than the first signal strength value and the difference between the second signal strength value and the first signal strength value is larger than or equal to a preset signal strength difference value, the terminal automatically switches from the first network to the second wireless network, and the terminal can avoid frequent switching of the wireless networks when the data transmission rates are close.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an apparatus for accessing a wireless network according to another embodiment of the present invention. Referring to fig. 4, fig. 4 is a schematic structural diagram of an apparatus for accessing a wireless network according to another embodiment of the present invention. The device accessing the wireless network is a terminal, and the terminal is provided with two wireless control chips. The first wireless control chip is used for communicating with the wireless access point, and the second wireless control chip is used for scanning the signal intensity corresponding to the wireless access point in the current area. The wireless control chip is a wireless network control chip, can be a wifi control chip, or a wifi processor and the like. The terminal may be a mobile terminal such as a mobile phone and a tablet computer, and may also be other terminals that can access a wireless network, which is not limited herein.
The terminal in the present embodiment shown in fig. 4 may include: one or more processors 410; one or more input devices 420, one or more output devices 430, and memory 440. The processor 410, input device 420, output device 430, and memory 440 are connected by a bus 450.
The processor 410 controls the operation of the terminal, and the processor 410 may also be referred to as a Central Processing Unit (CPU). The processor 410 may be an integrated circuit chip having signal processing capabilities. The processor 410 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The output device 430 is used to transmit data.
The memory 440 is used to store program instructions.
Memory 440 may include both read-only memory and random access memory, and provides instructions and data to processor 710. A portion of memory 440 may also include non-volatile random access memory (NVRAM).
The various components of the terminal are coupled together by a bus 450, where the bus 450 may include a power bus, a control bus, a status signal bus, and the like, in addition to a data bus. But for clarity of illustration the various busses are labeled as busses 450 in the figures.
Memory 440 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof:
and (3) operating instructions: including various operational instructions for performing various operations.
Operating the system: including various system programs for implementing various basic services and for handling hardware-based tasks.
In the embodiment of the present invention, the processor 410 performs the following operations by calling the operation instruction stored in the memory 440 (the operation instruction may be stored in the operating system):
the processor 410 is configured to, when accessing a first wireless network through a first wireless control chip and performing data interaction through the first wireless network, obtain a second signal strength value corresponding to a second wireless network through a second wireless control chip; the first wireless network corresponds to a first signal strength value.
The processor 410 is further configured to determine whether the second signal strength value is greater than the first signal strength value.
The processor 410 is further configured to establish a communication connection with the second wireless network through the second wireless control chip and perform data interaction through the second wireless network when the second signal strength value is greater than the first signal strength value.
Optionally, the processor 410 is specifically configured to, when at least two second signal strength values are greater than the first signal strength value, establish a communication connection with a second wireless network having a largest second signal strength value through the second wireless control chip, and perform data interaction through the second wireless network.
Optionally, the processor 410 is specifically configured to, when the first wireless control chip is accessed to a first wireless network and data interaction is performed through the first wireless network, and a first signal strength value corresponding to the first wireless network is smaller than a preset threshold, obtain, through the second wireless control chip, a second signal strength value corresponding to a second wireless network.
Optionally, the processor 410 is further configured to establish a communication connection with the second wireless network corresponding to the second signal strength value through the second wireless control chip when the second signal strength value is greater than the first signal strength value and a difference between the second signal strength value and the first signal strength value is greater than a preset signal strength difference, and perform data interaction through the second wireless network.
Optionally, the wireless controller is further configured to maintain the communication connection with the first wireless network when the second wireless control chip does not obtain the second signal strength value corresponding to the second wireless network, or when the second signal strength value is smaller than or equal to the first signal strength value, and perform data interaction through the first wireless network.
According to the scheme, when the terminal accesses the first wireless network through the first wireless control chip and performs data interaction through the first wireless network, the terminal obtains a second signal intensity value corresponding to the second wireless network through the second wireless control chip; and when the second signal intensity value is larger than the first signal intensity value, establishing communication connection with a second wireless network corresponding to the second signal intensity value through the second wireless control chip. When the terminal confirms that the signal intensity value of the second wireless network is larger than that of the currently accessed wireless network in the coverage area of the current wireless signal, the terminal can seamlessly switch from the first wireless network to the second wireless network with stronger signal intensity under the condition of not interrupting network communication, so that network resources are fully utilized, and the data acquisition rate is improved.
When the terminal confirms that the signal intensity value corresponding to the first wireless network is smaller than the preset threshold value and the second signal intensity value is larger than the first signal intensity value, the terminal automatically switches from the first network to the second wireless network, network resources are obtained through the second wireless network, and the data obtaining speed can be further improved.
When the terminal determines that the second signal strength value is larger than the first signal strength value and the difference between the second signal strength value and the first signal strength value is larger than or equal to a preset signal strength difference value, the terminal automatically switches from the first network to the second wireless network, and the terminal can avoid frequent switching of the wireless networks when the data transmission rates are close.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A method for accessing a wireless network, the method comprising:
the method comprises the steps that when a terminal accesses a first wireless network through a first wireless control chip and performs data interaction through the first wireless network, a second signal intensity value corresponding to a second wireless network is obtained through a second wireless control chip; the first wireless network corresponds to a first signal intensity value, and the second wireless network is other available wireless networks except the first wireless network in the current wireless signal coverage area;
the terminal confirms whether the second signal strength value is larger than the first signal strength value;
when the second signal intensity value is larger than the first signal intensity value, the terminal establishes communication connection with the second wireless network corresponding to the second signal intensity value through the second wireless control chip, performs data interaction through the second wireless network, and disconnects the communication connection between the first wireless control chip and the first wireless network;
the method further comprises the following steps: when the terminal switches from the first wireless network to the second wireless network, the terminal identifies the second wireless network as a new first wireless network.
2. The method of claim 1, wherein when the second signal strength value is greater than the first signal strength value, the terminal establishes a communication connection with the second wireless network through the second wireless control chip, and the data interaction through the second wireless network comprises:
and when at least two second signal strength values are larger than the first signal strength value, the terminal establishes communication connection with a second wireless network with the largest second signal strength value through the second wireless control chip, and performs data interaction through the second wireless network.
3. The method of claim 1 or 2, wherein the obtaining, by the terminal, the second signal strength value of the second wireless network through the second wireless control chip when the terminal accesses the first wireless network through the first wireless control chip and performs data interaction through the first wireless network comprises:
and when the terminal accesses a first wireless network through the first wireless control chip and performs data interaction through the first wireless network and a first signal intensity value corresponding to the first wireless network is smaller than a preset threshold value, acquiring a second signal intensity value corresponding to a second wireless network through a second wireless control chip.
4. The method according to claim 1, wherein when the second signal strength value is greater than the first signal strength value, the terminal establishes a communication connection with the second wireless network corresponding to the second signal strength value through the second wireless control chip, and the performing data interaction through the second wireless network specifically includes:
and when the difference value between the second signal strength value and the first signal strength value is greater than a preset signal strength difference value, the terminal establishes communication connection with the second wireless network corresponding to the second signal strength value through the second wireless control chip, and performs data interaction through the second wireless network.
5. The method of claim 1, further comprising:
when a second signal intensity value corresponding to the second wireless network is not obtained, or when the second signal intensity value is smaller than or equal to the first signal intensity value, the terminal keeps the communication connection with the first wireless network, performs data interaction through the first wireless network, and performs data interaction through the second wireless network.
6. An apparatus for accessing a wireless network, the apparatus comprising:
the acquisition module is used for acquiring a second signal intensity value corresponding to a second wireless network through a second wireless control chip when the first wireless network is accessed through a first wireless control chip and data interaction is carried out through the first wireless network; the first wireless network corresponds to a first signal intensity value, and the second wireless network is other available wireless networks except the first wireless network in the current wireless signal coverage area;
a confirmation module configured to confirm whether the second signal strength value is greater than the first signal strength value;
the control module is used for establishing communication connection with the second wireless network through the second wireless control chip when the second signal intensity value is larger than the first signal intensity value, performing data interaction through the second wireless network, disconnecting the communication connection between the first wireless control chip and the first wireless network, and identifying the second wireless network as a new first wireless network when switching from the first wireless network to the second wireless network.
7. The apparatus of claim 6, wherein the control module is configured to establish a communication connection with a second wireless network having the largest second signal strength value through the second wireless control chip when at least two second signal strength values are greater than the first signal strength value, and perform data interaction through the second wireless network.
8. The apparatus according to claim 6 or 7, wherein the obtaining module is specifically configured to obtain a second signal strength value corresponding to a second wireless network through a second wireless control chip when the first wireless control chip accesses a first wireless network and performs data interaction through the first wireless network, and a first signal strength value corresponding to the first wireless network is smaller than a preset threshold.
9. The apparatus of claim 6, wherein the control module is specifically configured to establish a communication connection with the second wireless network corresponding to the second signal strength value through the second wireless control chip when the second signal strength value is greater than the first signal strength value and a difference between the second signal strength value and the first signal strength value is greater than a preset signal strength difference, and perform data interaction through the second wireless network.
10. The apparatus according to claim 6, wherein the control module is further configured to maintain the communication connection with the first wireless network and perform data interaction through the first wireless network when a second signal strength value corresponding to the second wireless network is not obtained through the second wireless control chip or when the second signal strength value is smaller than or equal to the first signal strength value.
CN201610576121.XA 2016-07-19 2016-07-19 Method and device for accessing wireless network Active CN106162775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610576121.XA CN106162775B (en) 2016-07-19 2016-07-19 Method and device for accessing wireless network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610576121.XA CN106162775B (en) 2016-07-19 2016-07-19 Method and device for accessing wireless network

Publications (2)

Publication Number Publication Date
CN106162775A CN106162775A (en) 2016-11-23
CN106162775B true CN106162775B (en) 2021-04-02

Family

ID=58059897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610576121.XA Active CN106162775B (en) 2016-07-19 2016-07-19 Method and device for accessing wireless network

Country Status (1)

Country Link
CN (1) CN106162775B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106507422B (en) * 2016-12-26 2020-06-26 浙江依网科技信息工程有限公司 Mobile terminal and network switching method
CN107241770A (en) * 2017-05-16 2017-10-10 北京小米移动软件有限公司 Method for connecting network and device
CN113645674A (en) * 2021-08-03 2021-11-12 辽宁铁道职业技术学院 Computer network communication method and computer software and hardware

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1716898A (en) * 2004-07-02 2006-01-04 三星电子株式会社 In WLAN (wireless local area network), carry out the mobile terminal device and the method thereof of handover
CN101389079A (en) * 2008-10-31 2009-03-18 苏州佳世达电通有限公司 Radio terminal device, radio communication system and method for switching connected network
CN102209354A (en) * 2010-03-31 2011-10-05 中兴智能交通(无锡)有限公司 Switching method, system and wireless network card for vehicle-mounted communication
CN105592517A (en) * 2016-02-17 2016-05-18 宇龙计算机通信科技(深圳)有限公司 Network connection processing method, network connection processing device, and network connection processing terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588617B (en) * 2009-05-14 2011-06-22 中兴通讯股份有限公司 Network switch method and multi-mode mobile terminal
US20110263260A1 (en) * 2009-10-22 2011-10-27 Qualcomm Incorporated Determining cell reselection parameter for transmission by access point
CN102655664A (en) * 2011-03-04 2012-09-05 联想移动通信科技有限公司 Method for seamlessly switching networks by mobile terminal, and mobile terminal
CN103686896B (en) * 2013-12-12 2016-06-15 广州市地下铁道总公司 The changing method of WAP and terminal
CN104902527A (en) * 2015-06-29 2015-09-09 小米科技有限责任公司 Communication network switching method and communication network switching device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1716898A (en) * 2004-07-02 2006-01-04 三星电子株式会社 In WLAN (wireless local area network), carry out the mobile terminal device and the method thereof of handover
CN101389079A (en) * 2008-10-31 2009-03-18 苏州佳世达电通有限公司 Radio terminal device, radio communication system and method for switching connected network
CN102209354A (en) * 2010-03-31 2011-10-05 中兴智能交通(无锡)有限公司 Switching method, system and wireless network card for vehicle-mounted communication
CN105592517A (en) * 2016-02-17 2016-05-18 宇龙计算机通信科技(深圳)有限公司 Network connection processing method, network connection processing device, and network connection processing terminal

Also Published As

Publication number Publication date
CN106162775A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
KR102211178B1 (en) Terminal path transition, terminal state transition control method, terminal and base station
JP6461913B2 (en) Paging area defined by the radio access network
EP3634034A1 (en) Communication method and apparatus
CN110856229B (en) Network switching method, device and communication system
CN109803279B (en) Slice management method, base station and terminal
KR101706876B1 (en) Service processing method and device
JP6961708B2 (en) Network connection method and equipment
CN111417111A (en) Data processing method and network equipment
CN107635271B (en) Method and equipment for transmitting data
CN106162775B (en) Method and device for accessing wireless network
EP2848020B1 (en) Capability reporting in advance of an intersystem handover
RU2732736C1 (en) Communication method, secondary network node and terminal
US11558919B2 (en) Communication method, access network device and terminal device
CN112867069B (en) Interference processing method and device, storage medium and electronic equipment
CN111565479B (en) Communication method, device and system thereof
CN109874158B (en) Network switching method and device
CN105848126B (en) Method and device for supporting multiple wireless network accesses
CN110351785B (en) Communication method and device thereof
JP6712212B2 (en) Method, device, and computer program for matching security configurations during cell update procedure
CN114071801B (en) State indication method of terminal equipment and communication device
JP7169379B2 (en) Apparatus, method and computer program for emergency calling
CN107949009B (en) Method and device for detecting LTE network access result and computer storage medium
CN109417772B (en) Paging enhancements for signaling optimization
CN106604304B (en) Connection method and device for accelerating wireless fidelity
CN106576278B (en) Method, device and system for transmitting SRVCC capability information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 516006 TCL science and technology building, No. 17, Huifeng Third Road, Zhongkai high tech Zone, Huizhou City, Guangdong Province

Applicant after: TCL Technology Group Co.,Ltd.

Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. nineteen District

Applicant before: TCL RESEARCH AMERICA Inc.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant