WO2016154912A1 - 通信连接的控制方法和设备 - Google Patents

通信连接的控制方法和设备 Download PDF

Info

Publication number
WO2016154912A1
WO2016154912A1 PCT/CN2015/075561 CN2015075561W WO2016154912A1 WO 2016154912 A1 WO2016154912 A1 WO 2016154912A1 CN 2015075561 W CN2015075561 W CN 2015075561W WO 2016154912 A1 WO2016154912 A1 WO 2016154912A1
Authority
WO
WIPO (PCT)
Prior art keywords
access point
optimal
access
optional
identifier
Prior art date
Application number
PCT/CN2015/075561
Other languages
English (en)
French (fr)
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 华为技术有限公司
Priority to JP2017551316A priority Critical patent/JP6646063B2/ja
Priority to DK18212160.8T priority patent/DK3522602T3/da
Priority to PCT/CN2015/075561 priority patent/WO2016154912A1/zh
Priority to EP15886898.4A priority patent/EP3280181B1/en
Priority to EP18212160.8A priority patent/EP3522602B1/en
Priority to ES15886898T priority patent/ES2732464T3/es
Priority to CN201580041050.7A priority patent/CN106576277B/zh
Publication of WO2016154912A1 publication Critical patent/WO2016154912A1/zh
Priority to US15/719,806 priority patent/US10959143B2/en

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/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0061Transmission or use of information for re-establishing the radio link of neighbour cell information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/34Reselection control
    • H04W36/36Reselection control by user or terminal equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/34Reselection control
    • H04W36/36Reselection control by user or terminal equipment
    • H04W36/362Conditional handover
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a method and a device for controlling a communication connection.
  • Wi-Fi Wireless-Fidelity
  • Wi-Fi-enabled devices such as mobile phones and iPads
  • the device connects to the Wi-Fi access point to obtain communication service quality.
  • multiple Wi-Fi access points may cover the same area.
  • the device When the device is located in a common coverage area of multiple Wi-Fi access points, the device may have multiple Wi- The Fi access points are searched and connected to one of the Wi-Fi access points; specifically, the device is located in the coverage of the Wi-Fi access point 1, and is also located in the coverage of the Wi-Fi access point 2.
  • the device establishes a connection with the Wi-Fi access point 1 or the Wi-Fi access point 2 based on the existing Wi-Fi connection mechanism; for example, the Wi-Fi access point 2 is connected to the Wi-Fi device.
  • connection point 2 After the connection point 2 establishes a connection, if the user wants to obtain the communication service provided by the Wi-Fi access point 1, the user needs to manually switch the connected Wi-Fi access point to the Wi-Fi access point 1; therefore, in the prior art The human-computer interaction of the device is less intelligent, which brings inconvenience to the user.
  • the embodiment of the invention provides a method and a device for controlling a communication connection, which are used to establish a connection between a device and a Wi-Fi access point with the best communication service quality in at least one optional Wi-Fi access point in time.
  • an embodiment of the present invention provides a method for controlling a communication connection, which is applicable to a device having a wireless fidelity Wi-Fi function, and the control method includes:
  • the device determines an optimal Wi-Fi access point among the at least one selectable wireless fidelity Wi-Fi access point that is searched;
  • the device before determining the optimal Wi-Fi access point in the searched at least one optional Wi-Fi access point, the device further includes:
  • the device determines that a triggering event of switching a Wi-Fi access point occurs
  • the triggering event for switching the Wi-Fi access point includes at least any one of the following events or a combination of at least two events:
  • the device detects that the signal strength of the first Wi-Fi access point decreases, the device learns that the location of the device changes, and the device detects that access to the network through the first Wi-Fi access point fails or accesses The speed is reduced.
  • the device when the information is an identifier, the device is based on the information of the optimal Wi-Fi access point and the first connection currently connected.
  • the information of the Wi-Fi access point determines that the optimal Wi-Fi access point meets the handover condition, including:
  • the device determines the optimal Wi-Fi access according to the information of the optimal Wi-Fi access point and the information of the currently connected first Wi-Fi access point.
  • the point and the first Wi-Fi access point satisfy the switching condition, including:
  • the quality parameter is at least one of the following parameters: a priority of a Wi-Fi access point, a signal strength of a Wi-Fi access point, a network bandwidth of a Wi-Fi access point, and a Wi-Fi access point. Access speed, location of the Wi-Fi access point, and distance to the device.
  • the device determines an optimal Wi- among the at least one selectable Wi-Fi access point that is searched. Before the Fi access point, it also includes:
  • the historical information includes at least one identifier of the at least one second Wi-Fi access point, and the second Wi-Fi access point is a Wi-Fi access point that is successfully connected to the device.
  • the device determines an optimal Wi- among the searched at least one optional Wi-Fi access point.
  • Fi access points including:
  • the device determines, according to the signal strength of each of the selectable Wi-Fi access points, a Wi-Fi access point with the highest signal strength as the optimal Wi-Fi access point.
  • the device determines an optimal Wi- among the searched at least one optional Wi-Fi access point Fi access points, including:
  • the location of any one of the Wi-Fi access points searched by the device is obtained by the device from the Wi-Fi access point or the remote server.
  • the determining the optimal Wi-Fi in the searched at least one optional Wi-Fi access point Access points including:
  • the device selects, according to a network bandwidth of each of the selectable Wi-Fi access points, a Wi-Fi access point with the largest network bandwidth among the searched at least one optional Wi-Fi access point.
  • Optimal Wi-Fi access point
  • the network bandwidth of any Wi-Fi access point searched by the device is sent by the Wi-Fi access point to the device, or the device detects the Wi-Fi access point by using the Wi-Fi access point.
  • the device determines an optimal Wi- among the searched at least one optional Wi-Fi access point Fi access points, including:
  • the access speed of any Wi-Fi access point searched by the device is sent by the Wi-Fi access point to the device, or the device is learned by detecting the Wi-Fi access point. .
  • the historical information further includes a time corresponding to the identifier of each of the second Wi-Fi access points, where the time is the device and the second Wi - When the Fi access point is successfully connected, the device determines an optimal Wi-Fi access point among the at least one selectable Wi-Fi access point that is searched, including:
  • the device queries the historical information according to the identifier of each of the optional Wi-Fi access points, and obtains a time corresponding to the identifier of each of the selectable Wi-Fi access points;
  • the device selects, in the at least one of the selectable Wi-Fi access points, an optional Wi-Fi access point that is closest to the current time point corresponding to the identifier as the optimal Wi-Fi access point.
  • the history information further includes a priority corresponding to the identifier of each of the second Wi-Fi access points, and the device searches for at least one Determine the optimal Wi-Fi access point in the optional Wi-Fi access point, including:
  • the device queries the historical information according to the identifier of each of the optional Wi-Fi access points, and obtains a priority corresponding to the identifier of each of the optional Wi-Fi access points;
  • the device selects, in the at least one of the optional Wi-Fi access points, an optional Wi-Fi access point with the highest priority corresponding to the identifier as the optimal Wi-Fi access point.
  • the method further includes:
  • the device When the device fails to connect to the optimal Wi-Fi access point, the device performs an operation of establishing a connection with the first Wi-Fi access point.
  • the method further includes:
  • the device When the device fails to access the network through the optimal Wi-Fi access point, the device performs an operation of establishing a connection with the first Wi-Fi access point.
  • an embodiment of the present invention provides a device, which has a wireless fidelity Wi-Fi function, including:
  • a first determining module configured to determine an optimal Wi-Fi access point in the searched at least one optional wireless fidelity Wi-Fi access point
  • a second determining module configured to determine, according to the information of the optimal Wi-Fi access point and the information of the currently connected first Wi-Fi access point, that the optimal Wi-Fi access point meets a handover condition
  • a switching module configured to disconnect from the first Wi-Fi access point, and to the optimal Wi-Fi The access point initiates a connection request.
  • the method further includes:
  • a third determining module configured to determine that a trigger event of switching the Wi-Fi access point occurs
  • the triggering event for switching the Wi-Fi access point includes at least any one of the following events or a combination of at least two events:
  • the device detects that the signal strength of the first Wi-Fi access point decreases, the device learns that the location of the device changes, and the device detects that access to the network through the first Wi-Fi access point fails or accesses The speed is reduced.
  • the second determining module when the information is an identifier, is specifically configured to determine an identifier of the optimal Wi-Fi access point.
  • the identifier of the currently connected first Wi-Fi access point is different; or,
  • the second determining module is specifically configured to determine the maximum according to a quality parameter of the optimal Wi-Fi access point and a quality parameter of the first Wi-Fi access point.
  • the communication service quality provided by the superior Wi-Fi access point is better than the communication service quality of the first Wi-Fi access point;
  • the quality parameter is at least one of the following parameters:
  • Wi-Fi access point priority Wi-Fi access point signal strength, Wi-Fi access point network bandwidth, Wi-Fi access point access speed, Wi-Fi access point location and location The distance of the device.
  • the first determining module is further configured to search for all the information according to the historical information stored by the device. Determining, in the Wi-Fi access point, that the at least one Wi-Fi access point that is identified in the history information is at least one of the selectable Wi-Fi access points;
  • the historical information includes at least one identifier of the at least one second Wi-Fi access point, and the second Wi-Fi access point is a Wi-Fi access point that is successfully connected to the device.
  • the first determining module is specifically configured to use the signal according to each of the selectable Wi-Fi access points Intensity, determining the Wi-Fi access point with the highest signal strength is the optimal Wi-Fi access point.
  • the first determining module is specifically configured to use the location of each of the selectable Wi-Fi access points And selecting, by the location of the device, a Wi-Fi access point that is closest to the device as the optimal Wi-Fi access point;
  • the location of any one of the Wi-Fi access points searched by the device is obtained by the device from the Wi-Fi access point or the remote server.
  • the first determining module is specifically configured to be used according to each of the selectable Wi-Fi access point networks.
  • Bandwidth selecting, among the at least one selected Wi-Fi access point, the Wi-Fi access point with the largest network bandwidth as the optimal Wi-Fi access point;
  • the network bandwidth of any Wi-Fi access point searched by the device is sent by the Wi-Fi access point to the device, or the device detects the Wi-Fi access point by using the Wi-Fi access point.
  • the first determining module is specifically configured to perform access according to each of the selectable Wi-Fi access points.
  • Speed determining an optional Wi-Fi access point with the highest access speed as the optimal Wi-Fi access point;
  • the access speed of any Wi-Fi access point searched by the device is sent by the Wi-Fi access point to the device, or the device is learned by detecting the Wi-Fi access point. .
  • the history information further includes a time corresponding to the identifier of each of the second Wi-Fi access points, where the time is the device and the second Wi
  • the first determining module is configured to query the historical information according to the identifier of each of the optional Wi-Fi access points to obtain each of the optional Wi-Fi connections. The time corresponding to the identity of the entry point;
  • the device selects, in the at least one of the selectable Wi-Fi access points, an optional Wi-Fi access point that is closest to the current time point corresponding to the identifier as the optimal Wi-Fi access point.
  • the history information further includes a priority corresponding to the identifier of each of the second Wi-Fi access points
  • the first determining module is specifically used to Querying the historical information according to the identifier of each of the optional Wi-Fi access points, and obtaining a priority corresponding to the identifier of each of the selectable Wi-Fi access points;
  • the first determining module is specifically configured to select, in the at least one of the optional Wi-Fi access points, an optional Wi-Fi access point with a highest priority corresponding to the identifier as the optimal Wi-Fi Access Point.
  • the switching module is further configured to: when the device is connected to the optimal Wi-Fi access point If it fails, an operation of establishing a connection with the first Wi-Fi access point is performed.
  • the switching module is further configured to: when the device passes the optimal Wi-Fi access point If the access to the network fails, an operation of establishing a connection with the first Wi-Fi access point is performed.
  • an embodiment of the present invention provides a device, which has a wireless fidelity Wi-Fi function, including: a processor and a transceiver;
  • the processor is configured to determine an optimal Wi-Fi access point among the searched at least one optional wireless fidelity Wi-Fi access point;
  • the processor is configured to determine, according to information of the optimal Wi-Fi access point and information of a currently connected first Wi-Fi access point, that the optimal Wi-Fi access point meets a handover condition;
  • the transceiver is configured to disconnect from the first Wi-Fi access point and initiate a connection request to the optimal Wi-Fi access point.
  • the processor is further configured to determine that a trigger event of switching a Wi-Fi access point occurs
  • the triggering event for switching the Wi-Fi access point includes at least any one of the following events or a combination of at least two events:
  • the device detects that the signal strength of the first Wi-Fi access point decreases, the device learns that the location of the device changes, and the device detects that access to the network through the first Wi-Fi access point fails or accesses The speed is reduced.
  • the processor when the information is an identifier, the processor is connected to the current connection for information according to the optimal Wi-Fi access point.
  • the information of the first Wi-Fi access point when determining that the optimal Wi-Fi access point meets the handover condition, specifically determining the identifier of the optimal Wi-Fi access point and the first connection of the current connection Wi-Fi access points have different logos; or,
  • the processor determines the optimal Wi- according to information about the optimal Wi-Fi access point and the currently connected first Wi-Fi access point.
  • the Fi access point meets the handover condition, specifically determining, according to the quality parameter of the optimal Wi-Fi access point and the quality parameter of the first Wi-Fi access point, determining the optimal Wi-Fi connection.
  • the communication service quality provided by the ingress point is better than the communication service quality of the first Wi-Fi access point;
  • the quality parameter is at least one of the following parameters:
  • Wi-Fi access point priority Wi-Fi access point priority
  • Wi-Fi access point signal strength Wi-Fi access point network Bandwidth
  • access speed of the Wi-Fi access point location of the Wi-Fi access point, and distance to the device.
  • the third embodiment further comprising a memory for storing history information
  • the processor is further configured to determine, according to the historical information stored in the memory, that at least one Wi-Fi access point that exists in the historical information is at least one of all the searched Wi-Fi access points.
  • the historical information includes at least one identifier of the at least one second Wi-Fi access point, and the second Wi-Fi access point is a Wi-Fi access point that is successfully connected to the device.
  • the processor is configured to connect with the current connection according to the information of the optimal Wi-Fi access point.
  • the information of the first Wi-Fi access point is determined to determine the signal strength according to the signal strength of each of the selectable Wi-Fi access points when the optimal Wi-Fi access point meets the handover condition.
  • the largest Wi-Fi access point is the optimal Wi-Fi access point.
  • the processor is configured to connect with the current connection according to the information of the optimal Wi-Fi access point.
  • Information of the first Wi-Fi access point when determining that the optimal Wi-Fi access point meets the handover condition, specifically for using the location of each of the selectable Wi-Fi access points and the device Position, selecting a Wi-Fi access point that is closest to the device as the optimal Wi-Fi access point;
  • the location of any one of the Wi-Fi access points searched by the device is that the processor triggers the transceiver to obtain from the Wi-Fi access point or the remote server.
  • the processor is configured to connect with the current connection according to the information of the optimal Wi-Fi access point.
  • the information of the first Wi-Fi access point when determining that the optimal Wi-Fi access point meets the handover condition, specifically for the network bandwidth according to each of the selectable Wi-Fi access points, Selecting, among the at least one optional Wi-Fi access point, the Wi-Fi access point with the largest network bandwidth as the optimal Wi-Fi access point;
  • the network bandwidth of any Wi-Fi access point searched by the device is sent by the Wi-Fi access point to the device, or the device detects the Wi-Fi access point by using the Wi-Fi access point.
  • the processor determines the optimal Wi-Fi access point according to information about the optimal Wi-Fi access point and information of a currently connected first Wi-Fi access point.
  • the switching condition is met, specifically, according to the access speed of each of the optional Wi-Fi access points, determining that the optional Wi-Fi access point with the highest access speed is the optimal Wi-Fi access point;
  • the access speed of any Wi-Fi access point searched by the device is sent by the Wi-Fi access point to the device, or the device is learned by detecting the Wi-Fi access point. .
  • the historical information further includes a time corresponding to the identifier of each of the second Wi-Fi access points, where the time is the device and the second Wi -
  • the processor determines the most the information for the first Wi-Fi access point that is currently connected according to the information of the optimal Wi-Fi access point.
  • the WLAN is specifically configured to query the historical information according to the identifier of each of the optional Wi-Fi access points, and obtain the identifier corresponding to each of the selectable Wi-Fi access points. time;
  • the device selects, in the at least one of the selectable Wi-Fi access points, an optional Wi-Fi access point that is closest to the current time point corresponding to the identifier as the optimal Wi-Fi access point.
  • the history information further includes a priority corresponding to the identifier of each of the second Wi-Fi access points
  • the processor is used according to the The information about the optimal Wi-Fi access point and the information of the currently connected first Wi-Fi access point, and determining that the optimal Wi-Fi access point meets the handover condition, specifically used according to each Selecting an identifier of the Wi-Fi access point to query the historical information, and obtaining a priority corresponding to the identifier of each of the optional Wi-Fi access points;
  • the transceiver is further configured to: when the connection with the optimal Wi-Fi access point fails, The transceiver is configured to perform an operation of establishing a connection with the first Wi-Fi access point.
  • the transceiver is further configured to fail to access the network through the optimal Wi-Fi access point And the transceiver is configured to perform an operation of establishing a connection with the first Wi-Fi access point.
  • Embodiments of the present invention provide a method and a device for controlling a communication connection, where the device finds that the communication service quality provided by the optimal Wi-Fi access point is better than that of the currently connected Wi-Fi access point. When the quality is high, the device will automatically disconnect from the currently connected Wi-Fi access point and initiate a connection to the optimal Wi-Fi access point to obtain the quality of the communication service in a timely manner and avoid the waste of network resources. The user does not need to participate in the manual switching, which improves the intelligent human-computer interaction characteristics of the device.
  • Embodiment 1 is a schematic flowchart of Embodiment 1 of a method for controlling a communication connection according to the present invention
  • Embodiment 2 is a schematic diagram of an application scenario of Embodiment 1 of a method for controlling a communication connection according to the present invention
  • Embodiment 3 is a schematic flowchart of Embodiment 2 of a method for controlling a communication connection according to the present invention
  • Embodiment 4 is a schematic flowchart of Embodiment 3 of a method for controlling a communication connection according to the present invention
  • Embodiment 4 is a schematic flowchart of Embodiment 4 of a method for controlling a communication connection according to the present invention
  • Embodiment 1 of an apparatus according to the present invention.
  • Embodiment 7 is a schematic structural diagram of Embodiment 2 of an apparatus according to the present invention.
  • Figure 8 is a schematic structural view of a third embodiment of the device according to the present invention.
  • Embodiment 4 of the device according to the present invention is a schematic structural diagram of Embodiment 4 of the device according to the present invention.
  • FIG. 10 is a schematic structural diagram of Embodiment 5 of the device of the present invention.
  • FIG. 1 is a schematic flowchart of Embodiment 1 of a method for controlling a communication connection according to the present invention
  • FIG. 2 is a schematic diagram of an application scenario of Embodiment 1 of a method for controlling a communication connection according to the present invention.
  • the coverage areas of the Wi-Fi access point 1 and the Wi-Fi access point 2 are area 1 and area 2, respectively.
  • the device When a Wi-Fi enabled device, such as a mobile phone or an iPad, is equal to the location A, the device only searches for the signal of the Wi-Fi access point 1, that is, only searches for An optional Wi-Fi access point, that is, Wi-Fi access point 1, the device automatically initiates a connection request to the Wi-Fi access point 1; when the device is located at the location B, the device can search for the current In addition to the signal of the connected Wi-Fi access point 1, the signal of the Wi-Fi access point 2 can also be searched, so the device searches for two optional Wi-Fi access points in order to obtain better quality in time. Communication service quality, this embodiment controls the communication connection between the device and the optional Wi-Fi access point according to the following steps:
  • the device determines an optimal Wi-Fi access point among the at least one selectable Wi-Fi access point that is searched.
  • the device may determine an optimal Wi-Fi access point in the at least one optional wireless fidelity Wi-Fi access point that is searched according to a preset method, where the preset method may be a network speed selection method and a signal. Intensity selection method, etc.; in detail, the network speed selection method is to select the Wi-Fi access point with the highest network speed among the at least one optional wireless fidelity Wi-Fi access point that is searched for. Wi-Fi access point; and the signal strength selection method is to select the Wi-Fi access point with the strongest signal strength as the optimal Wi- in the at least one optional wireless fidelity Wi-Fi access point that is searched. Fi access point.
  • the preset method may be a network speed selection method and a signal. Intensity selection method, etc.
  • the network speed selection method is to select the Wi-Fi access point with the highest network speed among the at least one optional wireless fidelity Wi-Fi access point that is searched for.
  • Wi-Fi access point and the signal strength selection method is to select the Wi-Fi access point with the strongest signal strength as
  • the device when searching for a signal of a Wi-Fi access point, acquires the identifier of the Wi-Fi access point, such as an SSID (Service Set Identifier), protocol information, signal strength, and network. Speed, etc., with the signal strength selection method as an example of the above preset method, the device can know the signal strength of each optional Wi-Fi access point.
  • SSID Service Set Identifier
  • the device can know the signal strength of each optional Wi-Fi access point.
  • a Wi-Fi access point with high signal strength can provide quality for the device. Better communication service quality, so in the signal strength selection method, the Wi-Fi access point with the highest signal strength is determined as the optimal Wi-Fi connection in at least one optional Wi-Fi access point. Entry point.
  • the device determines, according to the information of the optimal Wi-Fi access point and the information of the currently connected first Wi-Fi access point, that the optimal Wi-Fi access point meets the handover condition.
  • the information of the optimal Wi-Fi access point may be an identifier, a quality parameter, and the like of the optimal Wi-Fi access point, and the information of the corresponding first Wi-Fi access point is the first Wi-Fi access.
  • Point identification, quality parameters, etc., wherein the quality parameter may be signal strength, network bandwidth, etc.; in practical applications, depending on the specific content of the information, the above switching conditions may also be different; for example, in the optimal Wi- When the information of the Fi access point is the identifier of the optimal Wi-Fi access point, the information of the first Wi-Fi access point is the identifier of the first Wi-Fi access point, and the switching condition is whether the identifier is consistent.
  • the information of the Wi-Fi access point is the quality parameter of the optimal Wi-Fi access point
  • the information of the first Wi-Fi access point is the quality parameter of the first Wi-Fi access point
  • the switching condition is The quality of the communication service provided by the first Wi-Fi access point characterized by the quality parameter of the first Wi-Fi access point is inferior to the optimal Wi-Fi connection of the quality parameter representation of the optimal Wi-Fi access point.
  • the quality of communication services provided by the ingress is the quality parameter of the optimal Wi-Fi access point.
  • the signal of the first Wi-Fi access point is also searched, and when S101 is executed, based on a possible preset method, at least one may be selected. If the first Wi-Fi access point is not included in the Wi-Fi access point, the signal strength of the determined optimal Wi-Fi access point may be smaller than the first Wi-Fi if the S101 is performed by the signal strength selection method.
  • the access point in this case, the device does not choose to disconnect from the first Wi-Fi access point in order to obtain better communication service quality, so after determining the optimal Wi-Fi access point, the device needs to As the information of the Wi-Fi access point, the signal strength determines whether the optimal Wi-Fi access point and the first Wi-Fi access point meet the handover condition, that is, when the optimal Wi-Fi access is performed. When the signal strength of the point is greater than the signal strength of the first Wi-Fi access point, indicating that the optimal Wi-Fi access point and the first Wi-Fi access point satisfy the handover condition;
  • the determined optimal Wi-Fi access point is the first A Wi-Fi access point, at which point the device will not choose to disconnect from the first Wi-Fi access point. Therefore, after determining the optimal Wi-Fi access point, the device needs to use the identifier as the Wi- Information of the Fi access point, determining whether the optimal Wi-Fi access point and the first Wi-Fi access point satisfy a handover condition, that is, when the identifier of the optimal Wi-Fi access point and the first When the identifiers of the Wi-Fi access points are different, it is determined that the optimal Wi-Fi access point and the first Wi-Fi access point satisfy the handover condition.
  • the device disconnects from the currently connected first Wi-Fi access point, and initiates a connection request to the optimal Wi-Fi access point.
  • the device is located in the coverage area of multiple Wi-Fi access points, but at the same time, the device is only connected to one Wi-Fi access point, in order to distinguish from the unconnected Wi-Fi access point, in this embodiment,
  • the Wi-Fi access point to which the device is currently connected is referred to as a first Wi-Fi access point; for example, the device establishes a connection with the Wi-Fi access point 1 at the location A shown in FIG.
  • the Wi-Fi access point 1 is the first Wi-Fi access point at this time; since the device determines that the optimal Wi-Fi access point is the Wi-Fi access point 2 in S101, the device will The Wi-Fi access point 1 is disconnected and initiates a connection request to the Wi-Fi access point 1.
  • the device when the device finds that the communication service quality provided by the optimal Wi-Fi access point is better than the communication service quality provided by the currently connected Wi-Fi access point, the device automatically connects to the currently connected Wi-Fi.
  • the connection point is disconnected, and the connection is initiated to the optimal Wi-Fi access point, and the quality of the communication service with better quality is obtained in time to avoid waste of network resources, and the user is not required to participate in manual switching, thereby improving the man-machine of the device.
  • Interactive intelligence features when the device finds that the communication service quality provided by the optimal Wi-Fi access point is better than the communication service quality provided by the currently connected Wi-Fi access point.
  • FIG. 3 is a schematic flowchart diagram of Embodiment 2 of a method for controlling a communication connection according to the present invention. As shown in FIG. 3, the embodiment of the present invention is further described on the basis of the embodiment shown in FIG. 1, and the application scenario shown in FIG. 2 can also be used in this embodiment, as follows:
  • the device determines that a trigger event for switching the Wi-Fi access point occurs.
  • the triggering event for switching the Wi-Fi access point described above includes at least any one of the following events or a combination of at least two events:
  • the device detects that the signal strength of the first Wi-Fi access point is reduced; the device senses that the mobile state of the device changes (for example, by a displacement sensor such as an acceleration sensor or a direction sensor); or the device learns the The location of the device is changed, for example, by using a GPS (Global Positioning System) module in the device to determine the location change of the device; or, the device may be detected to be accessed by the first Wi-Fi access point. Network failure or slower access.
  • GPS Global Positioning System
  • the device determines an optimal Wi-Fi access point among the at least one selectable Wi-Fi access point that is searched.
  • the Wi-Fi access point can be used to measure the quality of the communication service provided by the Wi-Fi access point, for example, the communication provided by the Wi-Fi access point with high signal strength of the Wi-Fi access point The service quality is good; or the communication service provided by the Wi-Fi access point with a large network bandwidth of the Wi-Fi access point is good; or, the closer the device is to the Wi-Fi access point, the received The higher the signal strength of the Wi-Fi access point, the higher the communication service quality provided by the Wi-Fi access point based on the distance between the Wi-Fi access point and the device; possibly, Wi- When a Fi access point is deployed, the O&M personnel set different Wi-Fi access points according to the quality of the communication service provided by each Wi-Fi access point according to the quality of the communication service.
  • Priority to inform the device of the quality of the communication service provided by each Wi-Fi access point that is, the communication provided by the highest priority Wi-Fi access point among the deployed Wi-Fi access points
  • the best quality of service, the lowest priority Wi-Fi access point provides better communication service quality than the Ministry Each Wi-Fi access Other Wi-Fi access points in the point; or the device itself may set different priorities for each Wi-Fi access point locally according to the quality of communication service provided by the connected Wi-Fi access point, ie Among the Wi-Fi access points connected to the device, the highest priority Wi-Fi access point provides the best communication service quality, and the lowest priority Wi-Fi access point provides better communication service quality than the device.
  • Other Wi-Fi access points in the connected Wi-Fi access points thus, it can be seen that the present embodiment has more options when determining the optimal Wi-Fi access point.
  • the device may determine an optimal Wi-Fi access point according to a preset method. For example, when the preset method is a signal strength selection method, the device according to the signal strength of each of the selectable Wi-Fi access points. Determining the Wi-Fi access point with the highest signal strength as the optimal Wi-Fi access point; or
  • the device selects a Wi-Fi access point that is closest to the device according to the location of each of the selectable Wi-Fi access points and the location of the device. For the optimal Wi-Fi access point; or,
  • the device selects a network bandwidth in the searched at least one Wi-Fi access point according to a network bandwidth of each of the selectable Wi-Fi access points.
  • the largest Wi-Fi access point is the optimal Wi-Fi access point; or,
  • the device determines, according to the network speed of each of the selectable Wi-Fi access points, that the optional Wi-Fi access point with the highest network speed is the optimal Wi-Fi access point;
  • the device determines, according to priorities of each of the selectable Wi-Fi access points, an optional Wi-Fi access point with the highest priority as the optimal Wi-Fi access point.
  • the device searches for a Wi-Fi access point around the device at a preset period.
  • the Wi-Fi access point carries the Wi-Fi access point.
  • Information such as the identifier, when the device searches for the signal of the Wi-Fi access point, it will obtain the identity of the Wi-Fi access point, and also detect the signal strength of the Wi-Fi access point; possibly, the When the Wi-Fi access point is deployed, information such as the network bandwidth and the network speed of the network connected to the Wi-Fi access point is also set in the Wi-Fi access point, so that the device searches for Wi-Fi access.
  • the network bandwidth, the network speed, and the like sent by the Wi-Fi access point are also received; or the device can connect to the Wi-Fi access point to detect the connection of the Wi-Fi access point.
  • the network bandwidth and network speed of the network are used for subsequent determination of the optimal Wi-Fi access point; in addition, the deployment location of the Wi-Fi access point may also be set in the Wi-Fi access point, thereby searching the device.
  • the Wi-Fi will also be received when the signal is sent to the Wi-Fi access point.
  • the location information sent by the access point, or the device sends the identifier of the Wi-Fi access point to the remote server (such as a google map server), and receives the location information fed back by the remote server;
  • the network bandwidth of any Wi-Fi access point is sent by the Wi-Fi access point to the device, or the device is learned by detecting the Wi-Fi access point;
  • the device searches for The network speed of any one of the Wi-Fi access points is sent by the Wi-Fi access point to the device, or the device is learned by detecting the Wi-Fi access point; the device search
  • the access speed of any one of the Wi-Fi access points to the Wi-Fi access point is sent to the device, or the device is known by detecting the Wi-Fi access point.
  • the device determines that the identifier of the optimal Wi-Fi access point is different from the identifier of the currently connected first Wi-Fi access point.
  • the device determines, according to the quality parameter of the optimal Wi-Fi access point and the quality parameter of the first Wi-Fi access point, that the communication service quality provided by the optimal Wi-Fi access point is superior to The quality of communication service provided by the first Wi-Fi access point.
  • the quality parameter is any one of the following parameters:
  • the signal strength of the Wi-Fi access point The signal strength of the Wi-Fi access point, the network bandwidth of the Wi-Fi access point, the access speed of the Wi-Fi access point, the location of the Wi-Fi access point, and the distance of the device.
  • the device disconnects from the currently connected first Wi-Fi access point, and initiates a connection request to the optimal Wi-Fi access point.
  • the device whenever the device determines that a trigger event for switching the Wi-Fi access point occurs, the device immediately finds the optimal Wi-Fi access point, and after determining the optimal Wi-Fi access point to be selected, The device automatically disconnects from the currently connected Wi-Fi access point and initiates a connection to the optimal Wi-Fi access point to obtain the quality of the communication service in a timely manner, thereby avoiding waste of network resources.
  • the user participates in the manual switching, which improves the intelligent human-computer interaction characteristics of the device.
  • FIG. 4 is a schematic flowchart diagram of Embodiment 3 of a method for controlling a communication connection according to the present invention. As shown in FIG. 4, this embodiment is further illustrated on the basis of the embodiment shown in FIG. 1 or FIG. 3, and specifically includes:
  • the device determines that a trigger event of switching the Wi-Fi access point occurs.
  • the device determines an optimal Wi-Fi connection in the at least one optional Wi-Fi access point that is searched. Entry point.
  • the device can automatically periodically search for the signal of the Wi-Fi access point around the device, the at least one optional Wi-Fi access point may be before S301. It has been searched, but it is also possible that the triggering event of switching the Wi-Fi access point triggers the device to search, that is, before S302, the device also needs to perform the step of searching for an optional Wi-Fi access point.
  • the device When the device is not connected to the Wi-Fi access point, the device establishes a connection with the optimal Wi-Fi access point.
  • the device may not search for the optional Wi-Fi access point when performing the step of searching for the optional Wi-Fi access point before S302. Then, it stops at this time, that is, it is not executed from S302.
  • the device determines whether the identifier of the optimal Wi-Fi access point is different from the identifier of the first Wi-Fi access point; if yes, execute S304; , then stop.
  • the device may search for at least the signal of the first Wi-Fi access point before S302, that is, there must be at least one optional Wi- Fi access point, that is, the device also uses the currently connected Wi-Fi access point as an optional Wi-Fi access point for the determination of the optimal Wi-Fi access point, thus possible, deterministic
  • the optimal Wi-Fi access point is the currently connected first Wi-Fi access point, so the connection with the first Wi-Fi access point is continued, that is, the implementation is stopped; and the optimal Wi-Fi access point When it is not the first Wi-Fi access point, that is, the communication service quality provided by other Wi-Fi access points that are not connected to the device is better than the first Wi-Fi access point, handover is required.
  • S303b This embodiment is exemplified by S303b in FIG. 4.
  • S303b may be replaced by the following S303c.
  • the device determines the optimal according to the quality parameter of the optimal Wi-Fi access point and the quality parameter of the first Wi-Fi access point. Whether the communication service quality provided by the Wi-Fi access point is better than the communication service quality provided by the first Wi-Fi access point; if yes, execute S304; if not, stop.
  • the S301 triggers the device to find the optimal Wi-Fi access point, but the device determines the optimal Wi-Fi access point among other Wi-Fi access points except the first Wi-Fi access point. That is to say, the above The optional Wi-Fi access point does not include the first Wi-Fi access point, and then, when searching for an optional Wi-Fi access point before S302, in addition to the signal of the first Wi-Fi access point, If the signals of other Wi-Fi access points are not searched, and thus the determined optional Wi-Fi access point is 0, the embodiment stops, that is, it is not executed from S302.
  • the optional Wi-Fi access point that does not include the first Wi-Fi access point
  • the communication service quality provided by the optimal Wi-Fi access point determined is not necessarily better than the first Wi-Fi access point, and the communication service quality provided at the optimal Wi-Fi access point is not superior to the first Wi-
  • the communication service quality provided by the Fi access point is not required to be switched at this time, that is, the embodiment is stopped; and the communication service quality provided by the first Wi-Fi access point is lower than that provided by the optimal Wi-Fi access point. The quality of the communication service is then switched.
  • the device disconnects from the currently connected first Wi-Fi access point, and initiates a connection request to the optimal Wi-Fi access point.
  • the device may directly connect; if the optimal Wi-Fi connection If the entry point is not a public Wi-Fi access point and a password is set, the device needs to provide a password.
  • the password may be a password saved by the device. For example, before the embodiment, the device uses the password input by the user, and the most If the Wi-Fi access point is connected, the device will save the password. When the connection is re-connected, the device provides the saved password. However, if the device is not connected to the optimal Wi-Fi access point before this embodiment. , the device prompts the user to enter a password.
  • S305a can be replaced by the following S305b, and FIG. 4 is exemplified by S305a.
  • the optimal Wi-Fi access point fails to connect, or after connecting, the network cannot be accessed through the optimal Wi-Fi access point, and the connection with the first Wi-Fi access point is restored.
  • the device whenever the device determines that a trigger event for switching the Wi-Fi access point occurs, the device immediately finds the optimal Wi-Fi access point, and after determining the optimal Wi-Fi access point to be selected, The device automatically disconnects from the currently connected Wi-Fi access point and initiates a connection to the optimal Wi-Fi access point to obtain the quality of the communication service in a timely manner, thereby avoiding waste of network resources.
  • the user participates in the manual switching, which improves the intelligent human-computer interaction characteristics of the device.
  • FIG. 5 is a schematic flowchart diagram of Embodiment 4 of a method for controlling a communication connection according to the present invention. As shown in FIG. 5, the embodiment is further illustrated on the basis of the embodiment shown in FIG. 1 or FIG. 3, and specifically includes:
  • the device determines that a trigger event of switching the Wi-Fi access point occurs.
  • the device determines an optional Wi-Fi access point among all the searched Wi-Fi access points according to the historical information stored by the device and the identifiers of all the searched Wi-Fi access points.
  • the historical information includes at least one identifier of the at least one second Wi-Fi access point; the second Wi-Fi access point is a Wi-Fi access point that is successfully connected to the device, in this embodiment, whenever If the device is successfully connected to a Wi-Fi access point, the device records the identifier of the Wi-Fi access point. Specifically, the identifier of the Wi-Fi access point is recorded in the historical information, and in S402, Determining, by the device according to the historical information stored by the device, that at least one Wi-Fi access point that exists in the historical information is at least one of the selectable Wi-s among all the searched Wi-Fi access points. Fi access point; compared with the foregoing embodiment shown in FIG.
  • this embodiment is to determine an optional Wi-Fi access point according to historical information in all the searched Wi-Fi access points; In the illustrated embodiment, all of the searched Wi-Fi access points are used as optional Wi-Fi access points (possibly screening out the first Wi-Fi access point or not screening the first Wi-Fi) Access Point).
  • the above historical information also includes a password for connecting a successful Wi-Fi access point (if the Wi-Fi access point is a public Wi-Fi access point, no password is recorded), protocol information, signal strength, network bandwidth , network speed, location, and priority set by the user for the Wi-Fi access point.
  • the device is connected to the first Wi-Fi access point at the current moment, and the “first” is used to specifically refer to the Wi-Fi access point that the device connects at the current moment; and the device and the first After the Wi-Fi access point is successfully connected, the device records the identifier of the first Wi-Fi access point in the history information, and the first Wi-Fi access point is viewed from the perspective of historical information. To identify a second Wi-Fi access point that is recorded by the device in the historical information.
  • the identifier of the optional Wi-Fi access point exists in the historical information of the device, indicating that the optional Wi-Fi access point has been successfully connected to the device before the current time, or It is said that at least one optional Wi-Fi access point determined by the device is authenticated by the device, and the security is ensured to prevent the device from switching to a Wi-Fi access point with a security risk.
  • the device can automatically and periodically search for signals of Wi-Fi access points around the device, All of the above-mentioned searched Wi-Fi access points may have been searched before S401, but it is also possible that the trigger event of switching the Wi-Fi access point triggers the device to search, that is, before S402, the device needs to perform The steps to search for a Wi-Fi access point.
  • the device determines an optimal Wi-Fi access point among the at least one selectable Wi-Fi access point that is searched.
  • the embodiment combines the foregoing historical information to provide a preset method as a priority selection method.
  • the device successfully connects with any Wi-Fi access point.
  • the priority information may be set to the Wi-Fi access point that is successfully connected, and the historical information further includes a priority corresponding to the identifier of each of the second Wi-Fi access points, where the device selects according to each of the optional Wi-Fi - the identifier of the Fi access point queries the history information, and obtains a priority corresponding to the identifier of each of the selectable Wi-Fi access points; the device selects among at least one of the selectable Wi-Fi access points The optional Wi-Fi access point with the highest priority corresponding to the identifier is the optimal Wi-Fi access point; or
  • the historical information further includes a time corresponding to the identifier of each of the second Wi-Fi access points, where the time is a time when the device is successfully connected to the second Wi-Fi access point, and the preset is
  • the device queries the historical information according to the identifier of each of the selectable Wi-Fi access points, and obtains a time corresponding to the identifier of each of the selectable Wi-Fi access points;
  • the device selects, in the at least one of the selectable Wi-Fi access points, an optional Wi-Fi access point that is closest to the current time point corresponding to the identifier as the optimal Wi-Fi access point.
  • the device When the device is not connected to the Wi-Fi access point, the device establishes a connection with the optimal Wi-Fi access point.
  • any Wi-Fi access point may not be searched. Stopping at this time, that is, no longer being executed from S402; or all the Wi-Fi access points that are searched are Wi-Fi access points that are not previously accessed by the device, then it is considered for security, and the option determined in S402 is optional. The number of Wi-Fi access points is 0, then it stops at this time, and is not executed after S402.
  • the device determines whether the identifier of the optimal Wi-Fi access point is different from the identifier of the first Wi-Fi access point; if yes, execute S405; , then stop.
  • the device can search for at least the first Wi-Fi before S402.
  • the signal of the access point that is, there must be at least one Wi-Fi access point, and when determining the optional Wi-Fi access point, the first Wi-Fi access point is not screened; that is, the device will
  • the currently connected Wi-Fi access point is also used as an optional Wi-Fi access point for the determination of the optimal Wi-Fi access point, so that the determined optimal Wi-Fi access point is the current connection.
  • the first Wi-Fi access point so continue to maintain the connection with the first Wi-Fi access point, that is, stop the implementation; and the optimal Wi-Fi access point is not the first Wi-Fi access point, ie If the other Wi-Fi access point that the device is not connected provides better communication service quality than the first Wi-Fi access point, it needs to be switched.
  • FIG. 5 is taken as an example of S404b.
  • S404b may be replaced by the following S404c.
  • the device determines the optimal according to the quality parameter of the optimal Wi-Fi access point and the quality parameter of the first Wi-Fi access point. Whether the communication service quality provided by the Wi-Fi access point is better than the communication service quality provided by the first Wi-Fi access point; if yes, execute S405; if not, stop.
  • the device can search for at least the signal of the first Wi-Fi access point, that is, at least one Wi-Fi access point must exist, but when determining the optional Wi-Fi access point, the device is screened out.
  • a first Wi-Fi access point that is, the optional Wi-Fi access point does not include the first Wi-Fi access point, and then, optionally, the optional Wi-Fi access point determined in S302 The number is 0, and then it stops; that is, it is not executed from S402.
  • the device determines the optional Wi-Fi access point, then the optional Wi-Fi access point that does not include the first Wi-Fi access point.
  • the communication service quality provided by the optimal Wi-Fi access point determined is not necessarily better than the first Wi-Fi access point, and the communication service quality provided at the optimal Wi-Fi access point is not superior to the first Wi-
  • the communication service quality provided by the Fi access point is not required to be switched at this time, that is, the embodiment is stopped; and the communication service quality provided by the first Wi-Fi access point is lower than that provided by the optimal Wi-Fi access point. The quality of the communication service is then switched.
  • the device disconnects from the currently connected first Wi-Fi access point, and initiates a connection request to the optimal Wi-Fi access point.
  • the device may directly connect; if the optimal Wi-Fi connection The entry point is not a public Wi-Fi access point, and a password is set.
  • the optional Wi-Fi access point is a Wi-Fi access point that the device has successfully connected, and the device is based on the saved Password, connected to the optimal Wi-Fi access point Pick up.
  • S406a can be replaced by the following S406b, and FIG. 5 is exemplified by S406a.
  • the device whenever the device determines that a trigger event for switching the Wi-Fi access point occurs, the device immediately finds the optimal Wi-Fi access point, and after determining the optimal Wi-Fi access point to be selected, The device automatically disconnects from the currently connected Wi-Fi access point and initiates a connection to the optimal Wi-Fi access point to obtain the quality of the communication service in a timely manner, thereby avoiding waste of network resources.
  • the user participates in the manual switching, which improves the intelligent human-computer interaction characteristics of the device.
  • FIG. 6 is a schematic structural diagram of Embodiment 1 of an apparatus according to the present invention. As shown in FIG. 6, the device in this embodiment has a wireless fidelity Wi-Fi function, including:
  • the first determining module 11 is configured to determine an optimal Wi-Fi access point in the searched at least one optional wireless fidelity Wi-Fi access point;
  • the second determining module 12 is configured to determine, according to information of the optimal Wi-Fi access point and information of the currently connected first Wi-Fi access point, that the optimal Wi-Fi access point meets a handover condition. ;
  • the switching module 13 is configured to disconnect from the first Wi-Fi access point and initiate a connection request to the optimal Wi-Fi access point.
  • the device when the device finds that the communication service quality provided by the optimal Wi-Fi access point is better than the communication service quality provided by the currently connected Wi-Fi access point, the device automatically connects to the currently connected Wi-Fi.
  • the access point is disconnected, and the connection is initiated to the optimal Wi-Fi access point, and the quality of the communication service with better quality is obtained in time to avoid waste of network resources, and the user is not required to participate in manual switching, and the device is improved.
  • the intelligent nature of machine interaction when the device finds that the communication service quality provided by the optimal Wi-Fi access point is better than the communication service quality provided by the currently connected Wi-Fi access point.
  • FIG. 7 is a schematic structural diagram of Embodiment 2 of the device according to the present invention. As shown in FIG. 7, the embodiment is further described based on the embodiment shown in FIG. 6. Specifically, the device further includes: a third determining module 14 configured to determine to switch the Wi-Fi access point. Triggering event occurs;
  • the triggering event for switching the Wi-Fi access point includes at least any one of the following events or a combination of at least two events:
  • the device detects that the signal strength of the first Wi-Fi access point is reduced, and the device learns the The location of the device changes, the device detects that access to the network through the first Wi-Fi access point fails or the access speed is reduced.
  • the second determining module is specifically configured to determine that the identifier of the optimal Wi-Fi access point is different from the identifier of the currently connected first Wi-Fi access point; or ,
  • the second determining module is specifically configured to determine the maximum according to a quality parameter of the optimal Wi-Fi access point and a quality parameter of the first Wi-Fi access point.
  • the communication service quality provided by the superior Wi-Fi access point is better than the communication service quality of the first Wi-Fi access point;
  • the quality parameter is at least one of the following parameters:
  • Wi-Fi access point priority Wi-Fi access point signal strength, Wi-Fi access point network bandwidth, Wi-Fi access point access speed, Wi-Fi access point location and location The distance of the device.
  • the first determining module 11 is further configured to: determine, according to the historical information stored by the device, at least one Wi-Fi identified in the historical information among all the searched Wi-Fi access points.
  • the access point is at least one of the selectable Wi-Fi access points;
  • the historical information includes at least one identifier of the at least one second Wi-Fi access point, and the second Wi-Fi access point is a Wi-Fi access point that is successfully connected to the device.
  • the first determining module 11 is specifically configured to determine, according to signal strength of each of the optional Wi-Fi access points, a Wi-Fi access point with the highest signal strength as the optimal Wi-Fi connection. Entry point.
  • the first determining module 11 is specifically configured to select, according to a location of each of the optional Wi-Fi access points and a location of the device, a Wi-Fi access point that is closest to the device.
  • the location of any one of the Wi-Fi access points searched by the device is obtained by the device from the Wi-Fi access point or the remote server.
  • the first determining module 11 is specifically configured to select, according to a network bandwidth of each of the selectable Wi-Fi access points, a network bandwidth in the searched at least one optional Wi-Fi access point.
  • the largest Wi-Fi access point is the optimal Wi-Fi access point;
  • the network bandwidth of any Wi-Fi access point searched by the device is sent by the Wi-Fi access point to the device, or the device detects the Wi-Fi access point by using the Wi-Fi access point.
  • the first determining module 11 is specifically configured to determine, according to an access speed of each of the optional Wi-Fi access points, an optional Wi-Fi access point with the highest access speed as the optimal Wi-Fi Connect Entry point
  • the access speed of any Wi-Fi access point searched by the device is sent by the Wi-Fi access point to the device, or the device is learned by detecting the Wi-Fi access point. .
  • the historical information further includes a time corresponding to the identifier of each of the second Wi-Fi access points, where the time is a time when the device is successfully connected to the second Wi-Fi access point, where
  • the first determining module 11 is configured to query the historical information according to the identifier of each of the selectable Wi-Fi access points, and obtain a time corresponding to the identifier of each of the selectable Wi-Fi access points;
  • the device Selecting, by the device, the optional Wi-Fi access point closest to the current moment at the time point corresponding to the identifier in the at least one of the selectable Wi-Fi access points, the optimal Wi-Fi access point.
  • the historical information further includes a priority corresponding to the identifier of each of the second Wi-Fi access points, where the first determining module 11 is specifically configured to perform, according to each of the optional Wi-Fi accesses.
  • the identifier of the point is used to query the historical information, and obtain the priority corresponding to the identifier of each of the optional Wi-Fi access points;
  • the first determining module 11 is specifically configured to select, in the at least one of the optional Wi-Fi access points, an optional Wi-Fi access point with a highest priority corresponding to the identifier as the optimal Wi- Fi access point.
  • the switching module 13 is further configured to: when the device fails to connect to the optimal Wi-Fi access point, perform an operation of establishing a connection with the first Wi-Fi access point; or, the switching The module 13 is further configured to perform an operation of establishing a connection with the first Wi-Fi access point when the device fails to access the network through the optimal Wi-Fi access point.
  • the device whenever the device determines that a trigger event for switching the Wi-Fi access point occurs, the device immediately finds the optimal Wi-Fi access point, and after determining the optimal Wi-Fi access point to be selected, The device automatically disconnects from the currently connected Wi-Fi access point and initiates a connection to the optimal Wi-Fi access point to obtain the quality of the communication service in a timely manner, thereby avoiding waste of network resources.
  • the user participates in the manual switching, which improves the intelligent human-computer interaction characteristics of the device.
  • FIG. 8 is a schematic structural diagram of Embodiment 3 of the device according to the present invention.
  • the device has a wireless fidelity Wi-Fi function, including: a processor 21 and a transceiver 22;
  • the processor 21 is configured to determine an optimal Wi-Fi access point in the searched at least one optional wireless fidelity Wi-Fi access point;
  • the processor 21 is configured to determine, according to the information of the optimal Wi-Fi access point and the information of the currently connected first Wi-Fi access point, that the optimal Wi-Fi access point meets a handover condition;
  • the transceiver 22 is configured to disconnect from the first Wi-Fi access point and initiate a connection request to the optimal Wi-Fi access point.
  • the device when the device finds that the communication service quality provided by the optimal Wi-Fi access point is better than the communication service quality provided by the currently connected Wi-Fi access point, the device automatically connects to the currently connected Wi-Fi.
  • the access point is disconnected, and the connection is initiated to the optimal Wi-Fi access point, and the quality of the communication service with better quality is obtained in time to avoid waste of network resources, and the user is not required to participate in manual switching, and the device is improved.
  • the intelligent nature of machine interaction when the device finds that the communication service quality provided by the optimal Wi-Fi access point is better than the communication service quality provided by the currently connected Wi-Fi access point.
  • FIG. 9 is a schematic structural diagram of Embodiment 4 of the apparatus of the present invention. As shown in FIG. 9, the embodiment is further described based on the embodiment shown in FIG. 8.
  • the processor 21 is further configured to determine that a trigger event of switching a Wi-Fi access point occurs.
  • the triggering event for switching the Wi-Fi access point includes at least any one of the following events or a combination of at least two events:
  • the device detects that the signal strength of the first Wi-Fi access point decreases, the device learns that the location of the device changes, and the device detects that access to the network through the first Wi-Fi access point fails or accesses The speed is reduced.
  • the processor 21 determines, according to information about the optimal Wi-Fi access point and information of a currently connected first Wi-Fi access point, When the optimal Wi-Fi access point meets the handover condition, the identifier of the optimal Wi-Fi access point is determined to be different from the identifier of the currently connected first Wi-Fi access point; or
  • the processor 21 determines the optimal Wi according to information about the first Wi-Fi access point that is currently connected according to the information of the optimal Wi-Fi access point.
  • the Fi access point meets the handover condition, specifically determining the optimal Wi-Fi according to the quality parameter of the optimal Wi-Fi access point and the quality parameter of the first Wi-Fi access point.
  • the communication service quality provided by the access point is better than the communication service quality of the first Wi-Fi access point;
  • the quality parameter is at least one of the following parameters:
  • Wi-Fi access point priority Wi-Fi access point signal strength, Wi-Fi access point network bandwidth, Wi-Fi access point access speed, Wi-Fi access point location and location The distance of the device.
  • the device further includes a memory 23 for storing history information
  • the processor 21 is further configured to determine, according to the historical information stored by the memory 23, at least one Wi-Fi connection that is identified in the historical information, among all the searched Wi-Fi access points.
  • the ingress point is at least one of the optional Wi-Fi access points.
  • the historical information includes at least one identifier of the at least one second Wi-Fi access point, and the second Wi-Fi access point is a Wi-Fi access point that is successfully connected to the device.
  • the processor 21 determines, according to information about the optimal Wi-Fi access point, information about the currently connected first Wi-Fi access point, the optimal Wi-Fi access.
  • the Wi-Fi access point with the highest signal strength is determined to be the optimal Wi-Fi access point.
  • the processor 21 determines, according to information about the optimal Wi-Fi access point, information about the currently connected first Wi-Fi access point, the optimal Wi-Fi access.
  • the point meets the handover condition, specifically, according to the location of each of the optional Wi-Fi access points and the location of the device, selecting a Wi-Fi access point closest to the device as the optimal Wi -Fi access point;
  • the location of any one of the Wi-Fi access points searched by the device is that the processor 21 triggers the transceiver 22 to obtain from the Wi-Fi access point or the remote server.
  • the processor 21 determines, according to information about the optimal Wi-Fi access point, information about the currently connected first Wi-Fi access point, the optimal Wi-Fi access.
  • the point meets the handover condition, specifically, according to the network bandwidth of each of the selectable Wi-Fi access points, select the Wi-Fi with the largest network bandwidth among the searched at least one optional Wi-Fi access point.
  • the access point is the optimal Wi-Fi access point;
  • the network bandwidth of any Wi-Fi access point searched by the device is sent by the Wi-Fi access point to the device, or the device detects the Wi-Fi access point by using the Wi-Fi access point.
  • the processor 21 determines, according to information about the optimal Wi-Fi access point, information about the currently connected first Wi-Fi access point, the optimal Wi-Fi access.
  • the point meets the handover condition, specifically, according to the access speed of each of the optional Wi-Fi access points, determining that the optional Wi-Fi access point with the highest access speed is the optimal Wi-Fi access point;
  • the access speed of any Wi-Fi access point searched by the device is sent by the Wi-Fi access point to the device, or the device is learned by detecting the Wi-Fi access point. .
  • the historical information further includes a time corresponding to the identifier of each of the second Wi-Fi access points, where the time is a time when the device is successfully connected to the second Wi-Fi access point, where
  • the processor 21 is configured to connect to the currently connected first Wi-Fi according to the information of the optimal Wi-Fi access point.
  • the inbound information is used to determine that the optimal Wi-Fi access point meets the handover condition, and is specifically used to query the historical information according to the identifier of each of the optional Wi-Fi access points, and obtain each of the optional information.
  • the device Selecting, by the device, the optional Wi-Fi access point closest to the current moment at the time point corresponding to the identifier in the at least one of the selectable Wi-Fi access points, the optimal Wi-Fi access point.
  • the historical information further includes a priority corresponding to the identifier of each of the second Wi-Fi access points, where the processor 21 is configured to use information according to the optimal Wi-Fi access point. And determining, according to the information of the first Wi-Fi access point that is currently connected, determining that the optimal Wi-Fi access point meets the handover condition, specifically, according to the identifier query of each of the optional Wi-Fi access points.
  • the historical information is obtained, and the priority corresponding to the identifier of each of the optional Wi-Fi access points is obtained;
  • the transceiver 22 is further configured to: when the connection with the optimal Wi-Fi access point fails, the transceiver 22 is configured to perform an operation of establishing a connection with the first Wi-Fi access point; Or optionally, the transceiver 22 is further configured to: when the network access fails through the optimal Wi-Fi access point, the transceiver 22 is configured to perform a connection with the first Wi-Fi access point. operating.
  • the device whenever the device determines that a trigger event for switching the Wi-Fi access point occurs, the device immediately finds the optimal Wi-Fi access point, and after determining the optimal Wi-Fi access point to be selected, The device automatically disconnects from the currently connected Wi-Fi access point and initiates a connection to the optimal Wi-Fi access point to obtain the quality of the communication service in a timely manner, thereby avoiding waste of network resources.
  • the user participates in the manual switching, which improves the intelligent human-computer interaction characteristics of the device.
  • FIG. 10 is a schematic structural diagram of Embodiment 5 of the device of the present invention.
  • the device in this embodiment is only an example. It can be understood that, in actual applications, the device may be a smart phone, an iPad, etc., and internal modules and components of different devices are different, so in practice
  • the device may have more or fewer components than shown in Figure 10, two or more components may be combined, or may have different component configurations.
  • the various components shown in FIG. 10 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the device 500 includes at least two antennas 51, at least one processor 52, a memory 53, a sensor 54, an I/O interface 55, a communication module 56, and at least one communication bus 57. Further, the device further includes other functional components, such as a power source 58 for powering the device, a GPS module 59, and the like; a communication bus 57 is used for Realize the connection communication between each module and component.
  • Memory 53 may contain non-volatile solid state memory and/or dynamic non-volatile storage devices such as flash memory, rotatable disk drives.
  • the sensor 54 includes various sensors such as an acceleration sensor, a direction sensor, etc.
  • the communication module 56 can be used for long-distance communication, such as GSM (Global System for Mobile communication), CDMA (Code Division Multiple Access). , Code Division Multiple Access), GPRS (General Packet Radio Service), EDGE (Enhanced Data Rate for GSM Evolution), 3G technologies such as WCDMA (Wideband Code Division Multiple Access) Multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), 4G technology such as LTE (Long Term Evolution), etc.; communication module 56 can also be used for near field communication It can be used for short-range wireless communication with third-party devices (such as smart wearable devices), such as ZigBee, UWB, Wi-Fi, Bluetooth, NFC, and infrared communication, and the antenna 51 matched with the communication module 56 is used for short-distance communication. Receive and send signals.
  • GSM Global System for Mobile communication
  • CDMA Code Division Multiple Access
  • GPRS General Packe
  • the I/O interface 55 includes a touch screen 551 for display and input, an I/O keyboard 552 (optional) for input, and the like.
  • the memory 53 includes an operating system 5021 and an application program 5022.
  • the operating system 5021 includes various operating system programs for implementing hardware-based operations.
  • the application 5022 includes various applications for implementing various application functions. For example, a control program for searching for Wi-Fi access point signals, a Wi-Fi access point identification recognition program, a triggering event identification program, an optimal Wi-Fi access point determination procedure, and switching Wi-Fi access. Point control program, etc.
  • the memory 53 can also store switching conditions, history information, priority of Wi-Fi access points, and the like.
  • the processor 52 communicates with each of the above-described modules and components via the communication bus 57, executes a recognition program of a trigger event, recognizes a trigger event, and then performs a control program for searching for a Wi-Fi access point signal, thereby searching for at least one through the communication module 56.
  • Optional Wi-Fi access point then performing an optimal Wi-Fi access point determination procedure, determining an optimal Wi-Fi access point in at least one selectable Wi-Fi access point, and finally performing a handover Wi-
  • the control program of the Fi access point determines that the optimal Wi-Fi access point satisfies the switching condition stored in the memory 53, and then switches to the optimal Wi-Fi access point.
  • the processor 52 can also control the touch screen 51 through the communication bus 57 to display an optimal Wi-Fi access point to the user;
  • the processor 52 executes the recognition program of the trigger event, it communicates with a displacement sensor such as an acceleration sensor or a direction sensor, or a GSM (Global System for Mobile communication) to know the position change of the device. Thereby identifying the location change of the device as a trigger event, and then performing a control procedure for searching for a Wi-Fi access point signal, a determination procedure for performing an optimal Wi-Fi access point, a control procedure for switching the Wi-Fi access point, and the like;
  • a displacement sensor such as an acceleration sensor or a direction sensor, or a GSM (Global System for Mobile communication)
  • the processor 52 executes the identification process of the trigger event, communicating with the communication module 56, detecting that the access to the network through the first Wi-Fi access point fails or the access speed is reduced, or the first Wi-Fi
  • the signal of the access point is weakened, it is identified as a trigger event, and then the determining procedure of the optimal Wi-Fi access point is performed, and then the control program for searching for the Wi-Fi access point signal is executed, and the optimal Wi-Fi access point is executed. Determination procedure, switching control program of Wi-Fi access point, etc.;
  • the control procedure of switching the Wi-Fi access point combining the identifier recognition procedure of the Wi-Fi access point to identify the optimal Wi-Fi access point and the first Wi-Fi access point Identification of whether the optimal Wi-Fi access point satisfies the handover condition;
  • the device whenever the device determines that a trigger event for switching the Wi-Fi access point occurs, the device immediately finds the optimal Wi-Fi access point, and after determining the optimal Wi-Fi access point to be selected, The device automatically disconnects from the currently connected Wi-Fi access point and initiates a connection to the optimal Wi-Fi access point to obtain the quality of the communication service in a timely manner, thereby avoiding waste of network resources.
  • the user participates in the manual switching, which improves the intelligent human-computer interaction characteristics of the device.
  • each module, device and unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple modules or units may be combined or further divided into multiple modules or units, or some features. can be omitted.
  • there is a communication connection between each module and unit and the communication connection may be realized by indirect coupling or direct coupling through some interfaces, and the communication connection may be in an electrical, mechanical or other form.
  • each module in each device embodiment may be integrated into one functional module, or may exist in a separate physical state; and each module may be implemented in the form of hardware and/or software.
  • the storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

本发明实施例提供一种通信连接的控制方法和设备,当设备发现最优Wi-Fi接入点提供的通信服务质量优于当前连接的Wi-Fi接入点提供的通信服务质量时,设备会自动与当前连接的Wi-Fi接入点断开连接,并向最优Wi-Fi接入点发起连接,及时获取质量较优的通信服务质量,避免造成网络资源的浪费,且不需用户参与手动切换,提升了设备的人机交互智能化的特性。

Description

通信连接的控制方法和设备 技术领域
本发明实施例涉及通信技术领域,尤其涉及一种通信连接的控制方法和设备。
背景技术
由于Wi-Fi(Wireless-Fidelity,无线保真)技术的普及,越来越多的用户偏好使用具有Wi-Fi功能的设备,如手机、iPad等进入Wi-Fi接入点的覆盖范围,使设备连接该Wi-Fi接入点,以获取通信服务质量。
随着Wi-Fi接入点的广泛部署,多个Wi-Fi接入点可能覆盖到相同的区域,当设备位于多个Wi-Fi接入点共同覆盖区域中,设备可将多个Wi-Fi接入点均搜索出来,并与其中的一个Wi-Fi接入点建立连接;具体的,设备位于Wi-Fi接入点1的覆盖范围,也位于Wi-Fi接入点2的覆盖范围中,基于现有的Wi-Fi连接机制,设备会与Wi-Fi接入点1或Wi-Fi接入点2建立连接;以Wi-Fi接入点2为例,设备与Wi-Fi接入点2建立连接后,若用户希望获得Wi-Fi接入点1提供的通信服务时,需要手动将连接的Wi-Fi接入点切换为Wi-Fi接入点1;因此现有技术中设备的人机交互智能化程度较低,给用户的使用带来不便。
发明内容
本发明实施例提供一种通信连接的控制方法和设备,用于使设备及时与至少一个可选Wi-Fi接入点中通信服务质量最优的Wi-Fi接入点建立连接。
第一方面,本发明实施例提供一种通信连接的控制方法,适用于具有无线保真Wi-Fi功能的设备,所述控制方法包括:
所述设备在搜索到的至少一个可选无线保真Wi-Fi接入点中确定最优Wi-Fi接入点;
所述设备根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件;
所述设备与所述第一Wi-Fi接入点的断开连接,并向所述最优Wi-Fi接入点发起连接请求。
结合第一方面,在第一实施方式中,所述设备在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点之前,还包括:
所述设备确定切换Wi-Fi接入点的触发事件发生;
其中,所述切换Wi-Fi接入点的触发事件至少包括下述任意一种事件或至少两个事件的组合:
所述设备检测到第一Wi-Fi接入点的信号强度降低、所述设备获知所述设备的位置改变、所述设备检测到通过所述第一Wi-Fi接入点访问网络失败或访问速度降低。
结合第一方面或第一方面第一实施方式,在第二实施方式中,当所述信息为标识,则所述设备根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件,包括:
所述设备确定所述最优Wi-Fi接入点的标识与当前连接的第一Wi-Fi接入点的标识不同;或者,
当所述信息为质量参数,则所述设备根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点与所述第一Wi-Fi接入点满足切换条件,包括:
所述设备根据所述最优Wi-Fi接入点的质量参数与所述第一Wi-Fi接入点的质量参数,确定所述最优Wi-Fi接入点提供的通信服务质量优于所述第一Wi-Fi接入点的通信服务质量;
其中,所述质量参数为下述至少一项参数:Wi-Fi接入点的优先级、Wi-Fi接入点的信号强度、Wi-Fi接入点的网络带宽、Wi-Fi接入点的访问速度、Wi-Fi接入点的位置与所述设备的距离。
结合第一方面至第一方面第二实施方式中的任意一种实施方式,在第三实施方式中,所述设备在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点之前,还包括:
所述设备根据所述设备存储的历史信息,在搜索到的全部Wi-Fi接入点中,确定标识存在于所述历史信息中的至少一个Wi-Fi接入点为至少一个所述可选Wi-Fi接入点;
其中,所述历史信息至少包括至少一个第二Wi-Fi接入点的标识;所述第二Wi-Fi接入点为设备连接成功的Wi-Fi接入点。
结合第一方面至第一方面第三实施方式中的任意一种实施方式,在第四实施方式中,所述设备在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点,包括:
所述设备根据各个所述可选Wi-Fi接入点的信号强度,确定信号强度最大的Wi-Fi接入点为所述最优Wi-Fi接入点。
结合第一方面至第一方面第三实施方式中的任意一种实施方式,在第五实施方式中,所述设备在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点,包括:
所述设备根据各个所述可选Wi-Fi接入点的位置和所述设备的位置,选择与所述设备距离最近的Wi-Fi接入点为所述最优Wi-Fi接入点;
其中,所述设备搜索到的任意一个Wi-Fi接入点的位置是所述设备从该Wi-Fi接入点或远端服务器获取的。
结合第一方面至第一方面第三实施方式中的任意一种实施方式,在第六实施方式中,所述在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点,包括:
所述设备根据各个所述可选Wi-Fi接入点的网络带宽,在所述搜索到的至少一个可选Wi-Fi接入点中选择网络带宽最大的Wi-Fi接入点为所述最优Wi-Fi接入点;
其中,所述设备搜索到的任意一个Wi-Fi接入点的网络带宽是该Wi-Fi接入点发送给所述设备的,或者是所述设备通过对该Wi-Fi接入点进行检测获知的。
结合第一方面至第一方面第三实施方式中的任意一种实施方式,在第七实施方式中,所述设备在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点,包括:
所述设备根据各个所述可选Wi-Fi接入点的访问速度,确定访问速度最大的可选Wi-Fi接入点为所述最优Wi-Fi接入点;
所述设备搜索到的任意一个Wi-Fi接入点的访问速度是该Wi-Fi接入点发送给所述设备的,或者是所述设备通过对该Wi-Fi接入点进行检测获知的。
结合第一方面第三实施方式,在第八实施方式中,所述历史信息还包括各个所述第二Wi-Fi接入点的标识对应的时间,所述时间为所述设备与第二Wi-Fi接入点连接成功的时间,则所述设备在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点,包括:
所述设备根据各个所述可选Wi-Fi接入点的标识查询所述历史信息,获取各个所述可选Wi-Fi接入点的标识对应的时间;
所述设备在至少一个所述可选Wi-Fi接入点中选择所述标识对应的时间点最靠近当前时刻的可选Wi-Fi接入点为所述最优Wi-Fi接入点。
结合第一方面第三实施方式,在第九实施方式中,所述历史信息还包括各个所述第二Wi-Fi接入点的标识对应的优先级,则所述设备在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点,包括:
所述设备根据各个所述可选Wi-Fi接入点的标识查询所述历史信息,获取各个所述可选Wi-Fi接入点的标识对应的优先级;
所述设备在至少一个所述可选Wi-Fi接入点中选择所述标识对应的优先级为最高的可选Wi-Fi接入点为所述最优Wi-Fi接入点。
结合第一方面至第一方面第九实施方式中的任意一种实施方式,在第十实施方式中,还包括:
当所述设备与所述最优Wi-Fi接入点连接失败,则所述设备执行与所述第一Wi-Fi接入点建立连接的操作。
结合第一方面至第一方面第九实施方式中的任意一种实施方式,在第十一实施方式中,还包括:
当所述设备通过所述最优Wi-Fi接入点访问网络失败,则所述设备执行与所述第一Wi-Fi接入点建立连接的操作。
第二方面,本发明实施例提供一种设备,具有无线保真Wi-Fi功能,包括:
第一确定模块,用于在搜索到的至少一个可选无线保真Wi-Fi接入点中确定最优Wi-Fi接入点;
第二确定模块,用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件;
切换模块,用于与所述第一Wi-Fi接入点的断开连接,并向所述最优Wi-Fi 接入点发起连接请求。
结合第二方面,在第一实施方式中,还包括:
第三确定模块,用于确定切换Wi-Fi接入点的触发事件发生;
其中,所述切换Wi-Fi接入点的触发事件至少包括下述任意一种事件或至少两个事件的组合:
所述设备检测到第一Wi-Fi接入点的信号强度降低、所述设备获知所述设备的位置改变、所述设备检测到通过所述第一Wi-Fi接入点访问网络失败或访问速度降低。
结合第二方面或第二方面第一实施方式,在第二实施方式中,当所述信息为标识,所述第二确定模块具体用于确定所述最优Wi-Fi接入点的标识与当前连接的第一Wi-Fi接入点的标识不同;或者,
当所述信息为质量参数,所述第二确定模块具体用于根据所述最优Wi-Fi接入点的质量参数与所述第一Wi-Fi接入点的质量参数,确定所述最优Wi-Fi接入点提供的通信服务质量优于所述第一Wi-Fi接入点的通信服务质量;
其中,所述质量参数为下述至少一项参数:
Wi-Fi接入点的优先级、Wi-Fi接入点的信号强度、Wi-Fi接入点的网络带宽、Wi-Fi接入点的访问速度、Wi-Fi接入点的位置与所述设备的距离。
结合第二方面至第二方面第二实施方式中的任意一种实施方式,在第三实施方式中,所述第一确定模块还用于根据所述设备存储的历史信息,在搜索到的全部Wi-Fi接入点中,确定标识存在于所述历史信息中的至少一个Wi-Fi接入点为至少一个所述可选Wi-Fi接入点;
其中,所述历史信息至少包括至少一个第二Wi-Fi接入点的标识;所述第二Wi-Fi接入点为设备连接成功的Wi-Fi接入点。
结合第二方面至第二方面第三实施方式中的任意一种实施方式,在第四实施方式中,所述第一确定模块具体用于根据各个所述可选Wi-Fi接入点的信号强度,确定信号强度最大的Wi-Fi接入点为所述最优Wi-Fi接入点。
结合第二方面至第二方面第三实施方式中的任意一种实施方式,在第五实施方式中,所述第一确定模块具体用于根据各个所述可选Wi-Fi接入点的位置和所述设备的位置,选择与所述设备距离最近的Wi-Fi接入点为所述最优Wi-Fi接入点;
其中,所述设备搜索到的任意一个Wi-Fi接入点的位置是所述设备从该Wi-Fi接入点或远端服务器获取的。
结合第二方面至第二方面第三实施方式中的任意一种实施方式,在第六实施方式中,所述第一确定模块具体用于根据各个所述可选Wi-Fi接入点的网络带宽,在所述搜索到的至少一个可选Wi-Fi接入点中选择网络带宽最大的Wi-Fi接入点为所述最优Wi-Fi接入点;
其中,所述设备搜索到的任意一个Wi-Fi接入点的网络带宽是该Wi-Fi接入点发送给所述设备的,或者是所述设备通过对该Wi-Fi接入点进行检测获知的。
结合第二方面至第二方面第三实施方式中的任意一种实施方式,在第七实施方式中,所述第一确定模块具体用于根据各个所述可选Wi-Fi接入点的访问速度,确定访问速度最大的可选Wi-Fi接入点为所述最优Wi-Fi接入点;
所述设备搜索到的任意一个Wi-Fi接入点的访问速度是该Wi-Fi接入点发送给所述设备的,或者是所述设备通过对该Wi-Fi接入点进行检测获知的。
结合第二方面第三实施方式,在第八实施方式中,所述历史信息还包括各个所述第二Wi-Fi接入点的标识对应的时间,所述时间为所述设备与第二Wi-Fi接入点连接成功的时间,则所述第一确定模块具体用于根据各个所述可选Wi-Fi接入点的标识查询所述历史信息,获取各个所述可选Wi-Fi接入点的标识对应的时间;
所述设备在至少一个所述可选Wi-Fi接入点中选择所述标识对应的时间点最靠近当前时刻的可选Wi-Fi接入点为所述最优Wi-Fi接入点。
结合第二方面第三实施方式,在第九实施方式中,所述历史信息还包括各个所述第二Wi-Fi接入点的标识对应的优先级,则所述第一确定模块具体用于根据各个所述可选Wi-Fi接入点的标识查询所述历史信息,获取各个所述可选Wi-Fi接入点的标识对应的优先级;
所述第一确定模块具体用于在至少一个所述可选Wi-Fi接入点中选择所述标识对应的优先级为最高的可选Wi-Fi接入点为所述最优Wi-Fi接入点。
结合第二方面至第二方面第九实施方式中的任意一种实施方式,在第十实施方式中,所述切换模块还用于当所述设备与所述最优Wi-Fi接入点连接失败,则执行与所述第一Wi-Fi接入点建立连接的操作。
结合第二方面至第二方面第九实施方式中的任意一种实施方式,在第十一实施方式中,所述切换模块还用于当所述设备通过所述最优Wi-Fi接入点访问网络失败,则执行与所述第一Wi-Fi接入点建立连接的操作。
第三方面,本发明实施例提供一种设备,具有无线保真Wi-Fi功能,包括:处理器和收发器;
所述处理器用于在搜索到的至少一个可选无线保真Wi-Fi接入点中确定最优Wi-Fi接入点;
所述处理器用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件;
所述收发器用于与所述第一Wi-Fi接入点的断开连接,并向所述最优Wi-Fi接入点发起连接请求。
结合第三方面,在第一实施方式中,所述处理器还用于确定切换Wi-Fi接入点的触发事件发生;
其中,所述切换Wi-Fi接入点的触发事件至少包括下述任意一种事件或至少两个事件的组合:
所述设备检测到第一Wi-Fi接入点的信号强度降低、所述设备获知所述设备的位置改变、所述设备检测到通过所述第一Wi-Fi接入点访问网络失败或访问速度降低。
结合第三方面或第三方面第一实施方式,在第二实施方式中,当所述信息为标识,所述处理器在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于确定所述最优Wi-Fi接入点的标识与当前连接的第一Wi-Fi接入点的标识不同;或者,
当所述信息为质量参数,所述处理器在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据所述最优Wi-Fi接入点的质量参数与所述第一Wi-Fi接入点的质量参数,确定所述最优Wi-Fi接入点提供的通信服务质量优于所述第一Wi-Fi接入点的通信服务质量;
其中,所述质量参数为下述至少一项参数:
Wi-Fi接入点的优先级、Wi-Fi接入点的信号强度、Wi-Fi接入点的网络 带宽、Wi-Fi接入点的访问速度、Wi-Fi接入点的位置与所述设备的距离。
结合第三方面至第三方面第二实施方式中的任意一种实施方式,在第三实施方式中,还包括存储器,用于存储历史信息;
所述处理器还用于根据所述存储器存储的历史信息,在搜索到的全部Wi-Fi接入点中,确定标识存在于所述历史信息中的至少一个Wi-Fi接入点为至少一个所述可选Wi-Fi接入点;
其中,所述历史信息至少包括至少一个第二Wi-Fi接入点的标识;所述第二Wi-Fi接入点为设备连接成功的Wi-Fi接入点。
结合第三方面至第三方面第三实施方式中的任意一种实施方式,在第四实施方式中,所述处理器在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据各个所述可选Wi-Fi接入点的信号强度,确定信号强度最大的Wi-Fi接入点为所述最优Wi-Fi接入点。
结合第三方面至第三方面第三实施方式中的任意一种实施方式,在第五实施方式中,所述处理器在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据各个所述可选Wi-Fi接入点的位置和所述设备的位置,选择与所述设备距离最近的Wi-Fi接入点为所述最优Wi-Fi接入点;
其中,所述设备搜索到的任意一个Wi-Fi接入点的位置是所述处理器触发所述收发器从该Wi-Fi接入点或远端服务器获取的。
结合第三方面至第三方面第三实施方式中的任意一种实施方式,在第六实施方式中,所述处理器在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据各个所述可选Wi-Fi接入点的网络带宽,在所述搜索到的至少一个可选Wi-Fi接入点中选择网络带宽最大的Wi-Fi接入点为所述最优Wi-Fi接入点;
其中,所述设备搜索到的任意一个Wi-Fi接入点的网络带宽是该Wi-Fi接入点发送给所述设备的,或者是所述设备通过对该Wi-Fi接入点进行检测获知的。
结合第三方面至第三方面第三实施方式中的任意一种实施方式,在第七 实施方式中,所述处理器在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据各个所述可选Wi-Fi接入点的访问速度,确定访问速度最大的可选Wi-Fi接入点为所述最优Wi-Fi接入点;
所述设备搜索到的任意一个Wi-Fi接入点的访问速度是该Wi-Fi接入点发送给所述设备的,或者是所述设备通过对该Wi-Fi接入点进行检测获知的。
结合第三方面第三实施方式,在第八实施方式中,所述历史信息还包括各个所述第二Wi-Fi接入点的标识对应的时间,所述时间为所述设备与第二Wi-Fi接入点连接成功的时间,则所述处理器在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据各个所述可选Wi-Fi接入点的标识查询所述历史信息,获取各个所述可选Wi-Fi接入点的标识对应的时间;
所述设备在至少一个所述可选Wi-Fi接入点中选择所述标识对应的时间点最靠近当前时刻的可选Wi-Fi接入点为所述最优Wi-Fi接入点。
结合第三方面第三实施方式,在第九实施方式中,所述历史信息还包括各个所述第二Wi-Fi接入点的标识对应的优先级,则所述处理器在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据各个所述可选Wi-Fi接入点的标识查询所述历史信息,获取各个所述可选Wi-Fi接入点的标识对应的优先级;
在至少一个所述可选Wi-Fi接入点中选择所述标识对应的优先级为最高的可选Wi-Fi接入点为所述最优Wi-Fi接入点。
结合第三方面至第三方面第九实施方式中的任意一种实施方式,在第十实施方式中,所述收发器还用于当与所述最优Wi-Fi接入点连接失败,则所述收发器用于执行与所述第一Wi-Fi接入点建立连接的操作。
结合第三方面至第三方面第九实施方式中的任意一种实施方式,在第十一实施方式中,所述收发器还用于当通过所述最优Wi-Fi接入点访问网络失败,则所述收发器用于执行与所述第一Wi-Fi接入点建立连接的操作。
本发明实施例提供一种通信连接的控制方法和设备,当设备发现最优Wi-Fi接入点提供的通信服务质量优于当前连接的Wi-Fi接入点提供的通信服 务质量时,设备会自动与当前连接的Wi-Fi接入点断开连接,并向最优Wi-Fi接入点发起连接,及时获取质量较优的通信服务质量,避免造成网络资源的浪费,且不需用户参与手动切换,提升了设备的人机交互智能化的特性。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明通信连接的控制方法实施例一的流程示意图;
图2为本发明通信连接的控制方法实施例一的应用场景示意图;
图3为本发明通信连接的控制方法实施例二的流程示意图;
图4为本发明通信连接的控制方法实施例三的流程示意图;
图5为本发明通信连接的控制方法实施例四的流程示意图;
图6为本发明设备实施例一的结构示意图;
图7为本发明设备实施例二的结构示意图;
图8为本发明设备实施例三的结构示意图;
图9为本发明设备实施例四的结构示意图;
图10为本发明设备实施例五的结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图1为本发明通信连接的控制方法实施例一的流程示意图;图2为本发明通信连接的控制方法实施例一的应用场景示意图。如图1和图2所示,Wi-Fi接入点1和Wi-Fi接入点2的覆盖区域分别为区域1和区域2,而区域 1、区域2之间存在重叠区域S,当具有Wi-Fi功能的设备,如手机、iPad等于位置A时,设备仅搜索到Wi-Fi接入点1的信号,也就是说,仅搜索到一个可选Wi-Fi接入点,即为Wi-Fi接入点1,则设备自动向Wi-Fi接入点1发起连接请求;当设备位于位置B时,此时设备除了可搜索到当前连接的Wi-Fi接入点1的信号以外,还可搜索到Wi-Fi接入点2的信号,故此时设备搜索到两个可选Wi-Fi接入点,为了及时获取质量较优的通信服务质量,本实施例依照下述各步骤,控制设备与可选Wi-Fi接入点之间的通信连接:
S101、设备在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点。
具体的,设备可按照预设方法,在搜索到的至少一个可选无线保真Wi-Fi接入点中确定最优Wi-Fi接入点,上述预设方法可以为网络速度选择法、信号强度选择法等;详细来说,网络速度选择法即为在搜索到的至少一个可选无线保真Wi-Fi接入点中,选择提供的网络速度最高的Wi-Fi接入点为最优Wi-Fi接入点;而信号强度选择法即为在搜索到的至少一个可选无线保真Wi-Fi接入点中,选择信号强度最强的Wi-Fi接入点为最优Wi-Fi接入点。
具体的,设备在搜索到某个Wi-Fi接入点的信号时,会获取该Wi-Fi接入点的标识,例如SSID(Service Set Identifier,服务集标识)、协议信息、信号强度、网络速度等,以信号强度选择法为上述预设方法示例,设备可获知各个可选Wi-Fi接入点的信号强度,通常来说,信号强度高的Wi-Fi接入点可为设备提供质量较好的通信服务质量,故在按照信号强度选择法时,则在至少一个可选Wi-Fi接入点中,确定信号强度最高的Wi-Fi接入点为所述最优Wi-Fi接入点。
S102、设备根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件。
上述最优Wi-Fi接入点的信息具体可以为最优Wi-Fi接入点的标识、质量参数等,相应的第一Wi-Fi接入点的信息则为第一Wi-Fi接入点的标识、质量参数等,其中质量参数可以为信号强度、网络带宽等;在实际应用中,根据所述信息的具体内容的不同,上述切换条件相应的也会不同;例如在最优Wi-Fi接入点的信息为最优Wi-Fi接入点的标识时,第一Wi-Fi接入点的信息则为第一Wi-Fi接入点的标识,从而切换条件则为标识是否一致;当最优 Wi-Fi接入点的信息为最优Wi-Fi接入点的质量参数时,第一Wi-Fi接入点的信息则为第一Wi-Fi接入点的质量参数,从而切换条件则为:第一Wi-Fi接入点的质量参数表征的第一Wi-Fi接入点提供的通信服务质量,劣于最优Wi-Fi接入点的质量参数表征的最优Wi-Fi接入点提供的通信服务质量。
具体的,设备在搜索Wi-Fi接入点时,第一Wi-Fi接入点的信号也是被搜索到的,而在执行S101时,基于可能的预设方法,可选的,至少一个可选Wi-Fi接入点中不包括第一Wi-Fi接入点,则若以信号强度选择法执行S101时,确定的最优Wi-Fi接入点的信号强度可能小于第一Wi-Fi接入点,此时设备为了获得较好的通信服务质量,则不会选择与第一Wi-Fi接入点断开连接,因此设备在确定最优Wi-Fi接入点后,还需以信号强度作为上述Wi-Fi接入点的信息,判断确定所述最优Wi-Fi接入点与所述第一Wi-Fi接入点是否满足切换条件,即当最优Wi-Fi接入点的信号强度大于与所述第一Wi-Fi接入点的信号强度时,说明最优Wi-Fi接入点与所述第一Wi-Fi接入点满足切换条件;
或者可选的,至少一个可选Wi-Fi接入点中包括第一Wi-Fi接入点,则若以信号强度选择法执行S101时,确定的最优Wi-Fi接入点即为第一Wi-Fi接入点,此时设备也不会选择与第一Wi-Fi接入点断开连接,因此设备在确定最优Wi-Fi接入点后,还需以标识作为上述Wi-Fi接入点的信息,判断所述最优Wi-Fi接入点与所述第一Wi-Fi接入点是否满足切换条件,即当最优Wi-Fi接入点的标识与所述第一Wi-Fi接入点的标识不同时,即确定所述最优Wi-Fi接入点与所述第一Wi-Fi接入点满足切换条件。
S103、设备与当前连接的第一Wi-Fi接入点断开连接,并向所述最优Wi-Fi接入点发起连接请求。
由于设备位于多个Wi-Fi接入点的覆盖区域内,但同一时刻,设备仅与一个Wi-Fi接入点连接,为了与未连接的Wi-Fi接入点区分,本实施例中,将设备当前连接的Wi-Fi接入点称为第一Wi-Fi接入点;例如,设备在图2所示的位置A处与Wi-Fi接入点1建立连接,随后设备移动至位置B处,则此时Wi-Fi接入点1为第一Wi-Fi接入点;由于在S101中,设备确定最优Wi-Fi接入点为Wi-Fi接入点2,设备会与Wi-Fi接入点1断开连接,并向Wi-Fi接入点1发起连接请求。
本实施例中,当设备发现最优Wi-Fi接入点提供的通信服务质量优于当前连接的Wi-Fi接入点提供的通信服务质量时,设备会自动与当前连接的Wi-Fi接入点断开连接,并向最优Wi-Fi接入点发起连接,及时获取质量较优的通信服务质量,避免造成网络资源的浪费,且不需用户参与手动切换,提升了设备的人机交互智能化的特性。
图3为本发明通信连接的控制方法实施例二的流程示意图。如图3所示,本发明实施例是在图1所示的实施例的基础上做出进一步的描述,且本实施例也可使用图2所示的应用场景,具体如下:
S201、设备确定切换Wi-Fi接入点的触发事件发生。
上述切换Wi-Fi接入点的触发事件至少包括下述任意一种事件或至少两个事件的组合:
所述设备检测到第一Wi-Fi接入点的信号强度降低;所述设备感知到设备的移动状态发生了变化(例如通过加速度传感器、方向传感器等位移传感器感知);或者是设备获知所述设备的位置改变,例如通过设备内的GPS(Global Positioning System,全球定位系统)模块,确定设备的位置改变;或者,还可以是所述设备检测到通过所述第一Wi-Fi接入点访问网络失败或访问速度降低。
S202、设备在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点。
灵活的,可以采用不同的质量参数来度量Wi-Fi接入点提供的通信服务质量的优劣,例如,可认为Wi-Fi接入点的信号强度高的Wi-Fi接入点提供的通信服务质量好;或者,可认为Wi-Fi接入点的网络带宽大的Wi-Fi接入点提供的通信服务质量好;或者,考虑到设备与Wi-Fi接入点距离越近,接收的Wi-Fi接入点的信号强度越高,则还可以根据Wi-Fi接入点与设备之间的距离,来预估Wi-Fi接入点提供的通信服务质量;还可能的,Wi-Fi接入点在部署时,运维人员根据各个Wi-Fi接入点提供的通信服务质量的优劣,按照通信服务质量由优至劣的顺序,为各个Wi-Fi接入点设置了不同的优先级,以告知设备各个Wi-Fi接入点提供的通信服务质量的优劣;也即在部署的各个Wi-Fi接入点中,优先级最高的Wi-Fi接入点提供的通信服务质量最好,优先级最低的Wi-Fi接入点提供的通信服务质量劣于部署的各个Wi-Fi接入 点中的其他Wi-Fi接入点;或者设备自身也会根据连接过的Wi-Fi接入点提供的通信服务质量,在本地为各个Wi-Fi接入点设置不同的优先级,也即在设备连接过的各个Wi-Fi接入点中,优先级最高的Wi-Fi接入点提供的通信服务质量最好,优先级最低的Wi-Fi接入点提供的通信服务质量劣于设备连接过的各个Wi-Fi接入点中的其他Wi-Fi接入点;由此可知,本实施例在确定最优Wi-Fi接入点时,可选的方式较多。
设备可以按照预设方法确定最优Wi-Fi接入点,例如,当所述预设方法为信号强度选择法,则所述设备根据各个所述可选Wi-Fi接入点的信号强度,确定信号强度最大的Wi-Fi接入点为所述最优Wi-Fi接入点;或者,
当所述预设方法为距离选择法,则所述设备根据各个所述可选Wi-Fi接入点的位置和所述设备的位置,选择与所述设备距离最近的Wi-Fi接入点为所述最优Wi-Fi接入点;或者,
当所述预设方法为网络带宽选择法,则所述设备根据各个所述可选Wi-Fi接入点的网络带宽,在所述搜索到的至少一个Wi-Fi接入点中选择网络带宽最大的Wi-Fi接入点为所述最优Wi-Fi接入点;或者,
当所述预设方法为网速选择法,则所述设备根据各个所述可选Wi-Fi接入点的网速,确定网速最大的可选Wi-Fi接入点为所述最优Wi-Fi接入点;
当所述预设方法为优先级选择法,则所述设备根据各个所述可选Wi-Fi接入点的优先级,确定优先级最高的可选Wi-Fi接入点为所述最优Wi-Fi接入点。
需要说明的是,通常设备开启Wi-Fi功能后,以预设周期搜索设备周围是否有Wi-Fi接入点的信号,由于Wi-Fi接入点的信号会携带该Wi-Fi接入点的标识等信息,当设备搜索到Wi-Fi接入点的信号,便会获得Wi-Fi接入点的标识,同时也可检测出该Wi-Fi接入点的信号强度;可能的,该Wi-Fi接入点在部署时,也将该Wi-Fi接入点连通的网络的网络带宽、网速等信息设置在该Wi-Fi接入点中,从而设备搜索到Wi-Fi接入点的信号时,也会接收到该Wi-Fi接入点发送的网络带宽、网速等;或者设备可与该Wi-Fi接入点试连接,以检测该Wi-Fi接入点连通的网络的网络带宽、网速,以便后续确定最优Wi-Fi接入点时使用;另外,Wi-Fi接入点的部署位置、也可设置在该Wi-Fi接入点中,从而设备搜索到Wi-Fi接入点的信号时,也会接收到该Wi-Fi 接入点发送的位置信息,或者,设备将Wi-Fi接入点的标识发送给远端服务器(如google地图服务器),并接收远端服务器反馈的位置信息;故上述所述设备搜索到的任意一个Wi-Fi接入点的网络带宽是该Wi-Fi接入点发送给所述设备的,或者是所述设备通过对该Wi-Fi接入点进行检测获知的;所述设备搜索到的任意一个Wi-Fi接入点的网速是该Wi-Fi接入点发送给所述设备的,或者是所述设备通过对该Wi-Fi接入点进行检测获知的;所述设备搜索到的任意一个Wi-Fi接入点的访问速度是该Wi-Fi接入点发送给所述设备的,或者是所述设备通过对该Wi-Fi接入点进行检测获知的。
S203a、设备确定所述最优Wi-Fi接入点的标识与当前连接的第一Wi-Fi接入点的标识不同。
或者,不执行S203a,执行S203b:
S203b、设备根据所述最优Wi-Fi接入点的质量参数与所述第一Wi-Fi接入点的质量参数,确定所述最优Wi-Fi接入点提供的通信服务质量优于所述第一Wi-Fi接入点提供的通信服务质量。
其中,所述质量参数为下述任一项参数:
Wi-Fi接入点的信号强度、Wi-Fi接入点的网络带宽、Wi-Fi接入点的访问速度、Wi-Fi接入点的位置与所述设备的距离。
在图3所示的实施例中,是以S203a做以示例。
S204、设备与当前连接的第一Wi-Fi接入点的断开连接,并向所述最优Wi-Fi接入点发起连接请求。
本发明实施例中,每当设备确定切换Wi-Fi接入点的触发事件发生,便立即寻找最优Wi-Fi接入点,并在确定需选择的最优Wi-Fi接入点后,设备会自动与当前连接的Wi-Fi接入点断开连接,并向最优Wi-Fi接入点发起连接,及时获取质量较优的通信服务质量,避免造成网络资源的浪费,且不需用户参与手动切换,提升了设备的人机交互智能化的特性。
图4为本发明通信连接的控制方法实施例三的流程示意图。如图4所示,本实施例是在图1或图3所示的实施例的基础上,做出进一步说明,具体包括:
S301、设备确定切换Wi-Fi接入点的触发事件发生。
S302、设备在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接 入点。
具体确定方法可参见前述各个实施例;另外,由于设备可自动周期性的搜索设备周围是否有Wi-Fi接入点的信号,故上述至少一个可选Wi-Fi接入点可以是在S301之前便已搜索到,但也可能的,切换Wi-Fi接入点的触发事件触发设备进行搜索,即在S302之前,设备还需执行搜索可选Wi-Fi接入点的步骤。
S303a、当设备未连接Wi-Fi接入点时,则所述设备与最优Wi-Fi接入点建立连接。
还需补充说明的是,当设备未连接Wi-Fi接入点时,在S302之前,设备执行搜索可选Wi-Fi接入点的步骤时,可能未搜索到可选Wi-Fi接入点,则此时停止,即从S302开始的不再执行。
S303b、当设备连接第一Wi-Fi接入点时,设备判断所述最优Wi-Fi接入点的标识与第一Wi-Fi接入点的标识是否不同;若是,执行S304;若否,则停止。
还需补充说明的是,当设备连接第一Wi-Fi接入点时,则在S302之前,设备至少可搜索到第一Wi-Fi接入点的信号,即必然存在至少一个可选Wi-Fi接入点,也就是说,设备将当前连接的Wi-Fi接入点也作为可选Wi-Fi接入点,以进行最优Wi-Fi接入点的确定,从而可能的,确定的最优Wi-Fi接入点是当前连接的第一Wi-Fi接入点,故继续保持与第一Wi-Fi接入点的连接,即停止本实施;而最优Wi-Fi接入点不是第一Wi-Fi接入点时,即设备未连接的其他Wi-Fi接入点提供的通信服务质量优于第一Wi-Fi接入点,则需进行切换。
本实施例在图4中以S303b进行示例,可选的,S303b可采用下述S303c替换。
S303c、当设备连接第一Wi-Fi接入点时,设备根据所述最优Wi-Fi接入点的质量参数与所述第一Wi-Fi接入点的质量参数,判断所述最优Wi-Fi接入点提供的通信服务质量是否优于所述第一Wi-Fi接入点提供的通信服务质量;若是,执行S304;若否,则停止。
可能的,S301触发设备寻找最优Wi-Fi接入点,但设备是在除第一Wi-Fi接入点以外的其他Wi-Fi接入点中确定最优Wi-Fi接入点,也就是说,上述 可选Wi-Fi接入点不包括第一Wi-Fi接入点,则可能的,在S302之前搜索可选Wi-Fi接入点时,除了第一Wi-Fi接入点的信号以外,未搜索到其他Wi-Fi接入点的信号,从而确定的可选Wi-Fi接入点为0,则本实施例停止,即从S302开始不再执行。
然而,即使不考虑第一Wi-Fi接入点,设备也搜索到可选Wi-Fi接入点,则此时在不包括第一Wi-Fi接入点的可选Wi-Fi接入点中确定的最优Wi-Fi接入点提供的通信服务质量不一定优于第一Wi-Fi接入点,在最优Wi-Fi接入点提供的通信服务质量未优于第一Wi-Fi接入点提供的通信服务质量,则此时不需进行切换,即停止本实施例;而在第一Wi-Fi接入点提供的通信服务质量低于最优Wi-Fi接入点提供的通信服务质量,则进行切换。
S304、设备与当前连接的第一Wi-Fi接入点断开连接,并向所述最优Wi-Fi接入点发起连接请求。
向所述最优Wi-Fi接入点发起连接请求时,若该最优Wi-Fi接入点为公共Wi-Fi接入点,则设备可直接进行连接;若该最优Wi-Fi接入点不为公共Wi-Fi接入点,设置了密码,则设备需提供密码,该密码可以是设备已保存的密码,例如在本实施例之前,设备曾使用用户输入的密码,与该最优Wi-Fi接入点连接,则设备会保存该密码,则在再次连接时,设备自行提供保存的密码;但若在本实施例之前,设备未曾与该最优Wi-Fi接入点连接,则设备提示用户输入密码。
S305a、当设备与所述最优Wi-Fi接入点连接失败,则执行与第一Wi-Fi接入点建立连接的操作。
可能的,上述S305a可被下述S305b替换,图4是以S305a进行示例。
S305b、当设备通过所述最优Wi-Fi接入点访问网络失败,则执行与第一Wi-Fi接入点建立连接的操作。
为提升用户体验,最优Wi-Fi接入点未能连接,或连接后,通过最优Wi-Fi接入点不能访问网络,则恢复与第一Wi-Fi接入点的连接。
本发明实施例中,每当设备确定切换Wi-Fi接入点的触发事件发生,便立即寻找最优Wi-Fi接入点,并在确定需选择的最优Wi-Fi接入点后,设备会自动与当前连接的Wi-Fi接入点断开连接,并向最优Wi-Fi接入点发起连接,及时获取质量较优的通信服务质量,避免造成网络资源的浪费,且不需 用户参与手动切换,提升了设备的人机交互智能化的特性。
图5为本发明通信连接的控制方法实施例四的流程示意图。如图5所示,本实施例是在图1或图3所示的实施例的基础上,做出进一步说明,具体包括:
S401、设备确定切换Wi-Fi接入点的触发事件发生。
S402、设备根据所述设备存储的历史信息和搜索到的全部Wi-Fi接入点的标识,在搜索到的全部Wi-Fi接入点中确定可选Wi-Fi接入点。
其中,所述历史信息至少包括至少一个第二Wi-Fi接入点的标识;所述第二Wi-Fi接入点为设备连接成功的Wi-Fi接入点,本实施例中,每当设备与某个Wi-Fi接入点连接成功,设备会记录该Wi-Fi接入点的标识,具体是将该Wi-Fi接入点的标识记录在上述历史信息中,则在S402中,设备根据所述设备存储的历史信息,在搜索到的全部Wi-Fi接入点中,确定标识存在于所述历史信息中的至少一个Wi-Fi接入点为至少一个所述可选Wi-Fi接入点;与前述图4所示的实施例对比可知,本实施例是在搜索到的全部Wi-Fi接入点中,依据历史信息确定可选Wi-Fi接入点;而图4所示的实施例中,是将搜索到的全部Wi-Fi接入点均作为可选Wi-Fi接入点(可能筛除第一Wi-Fi接入点或不筛除第一Wi-Fi接入点)。
另外,上述历史信息还包括连接成功的Wi-Fi接入点的密码(若该Wi-Fi接入点为公共Wi-Fi接入点,则不用记录密码)、协议信息、信号强度、网络带宽、网速、位置及用户为该Wi-Fi接入点设置的优先级等。
需要说明的是,设备在当前时刻连接于第一Wi-Fi接入点,该“第一”是用于特指设备在当前时刻连接的Wi-Fi接入点;而在设备与该第一Wi-Fi接入点连接成功后,设备至少会将该第一Wi-Fi接入点的标识记录在历史信息中,则以历史信息的视角来说,该第一Wi-Fi接入点则为标识被设备记录在历史信息中的第二Wi-Fi接入点。
另外,本实施例中,可选Wi-Fi接入点的标识存在于所述设备的历史信息中,说明可选Wi-Fi接入点在当前时刻之前,曾与设备连接成功过,也可以说确定的至少一个可选Wi-Fi接入点均是设备认证过的,其安全性得以保证,避免设备切换到存在安全隐患的Wi-Fi接入点。
由于设备可自动周期性的搜索设备周围是否有Wi-Fi接入点的信号,故 上述搜索到的全部Wi-Fi接入点可以是在S401之前便已搜索到,但也可能的,切换Wi-Fi接入点的触发事件触发设备进行搜索,即在S402之前,设备还需执行搜索Wi-Fi接入点的步骤。
S403、设备在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点。
可选的,可参照前述各个实施例;但灵活的,本实施例结合前述历史信息,提供一种预设方法为优先级选择法,具体的,设备与任一个Wi-Fi接入点连接成功后,可对连接成功的Wi-Fi接入点设置优先级,则历史信息还包括各个所述第二Wi-Fi接入点的标识对应的优先级,所述设备根据各个所述可选Wi-Fi接入点的标识查询所述历史信息,获取各个所述可选Wi-Fi接入点的标识对应的优先级;所述设备在至少一个所述可选Wi-Fi接入点中选择所述标识对应的优先级为最高的可选Wi-Fi接入点为所述最优Wi-Fi接入点;或者
所述历史信息还包括各个所述第二Wi-Fi接入点的标识对应的时间,所述时间为所述设备与第二Wi-Fi接入点连接成功的时间,则当所述预设方法为时间选择法时,所述设备根据各个所述可选Wi-Fi接入点的标识查询所述历史信息,获取各个所述可选Wi-Fi接入点的标识对应的时间;所述设备在至少一个所述可选Wi-Fi接入点中选择所述标识对应的时间点最靠近所述当前时刻的可选Wi-Fi接入点为所述最优Wi-Fi接入点。
S404a、当设备未连接Wi-Fi接入点时,则所述设备与最优Wi-Fi接入点建立连接。
还需补充说明的是,当设备未连接Wi-Fi接入点时,在S402之前,设备执行搜索Wi-Fi接入点的步骤时,可能未搜索到任意一个Wi-Fi接入点,则此时停止,即从S402开始不再执行;或者搜索到的全部Wi-Fi接入点均是设备之前未接入的Wi-Fi接入点,则处于安全考虑,在S402中确定的可选Wi-Fi接入点的数目为0,则此时停止,从S402之后不再执行。
S404b、当设备连接第一Wi-Fi接入点时,设备判断所述最优Wi-Fi接入点的标识与第一Wi-Fi接入点的标识是否不同;若是,执行S405;若否,则停止。
还需补充说明的是,可能的,S402之前,设备至少可搜索到第一Wi-Fi 接入点的信号,即必然存在至少一个Wi-Fi接入点,且在确定可选Wi-Fi接入点时,未筛除该第一Wi-Fi接入点;也就是说,设备将当前连接的Wi-Fi接入点也作为可选Wi-Fi接入点,以进行最优Wi-Fi接入点的确定,从而可能的,确定的最优Wi-Fi接入点是当前连接的第一Wi-Fi接入点,故继续保持与第一Wi-Fi接入点的连接,即停止本实施;而最优Wi-Fi接入点不是第一Wi-Fi接入点,即设备未连接的其他Wi-Fi接入点提供的通信服务质量优于第一Wi-Fi接入点,则需进行切换。
本实施例中,图5是以S404b作为示例,可选的,S404b可采用下述S404c替换。
S404c、当设备连接第一Wi-Fi接入点时,设备根据所述最优Wi-Fi接入点的质量参数与所述第一Wi-Fi接入点的质量参数,判断所述最优Wi-Fi接入点提供的通信服务质量是否优于所述第一Wi-Fi接入点提供的通信服务质量;若是,执行S405;若否,则停止。
可能的,S402之前,设备至少可搜索到第一Wi-Fi接入点的信号,即必然存在至少一个Wi-Fi接入点,但在确定可选Wi-Fi接入点时,筛除了该第一Wi-Fi接入点;也就是说,上述可选Wi-Fi接入点不包括第一Wi-Fi接入点,则可能的,S302中确定的可选Wi-Fi接入点的数目为0,此时则停止;即从S402开始不再执行。
然而,即使不考虑第一Wi-Fi接入点,设备也确定了可选Wi-Fi接入点,则此时在不包括第一Wi-Fi接入点的可选Wi-Fi接入点中确定的最优Wi-Fi接入点提供的通信服务质量不一定优于第一Wi-Fi接入点,在最优Wi-Fi接入点提供的通信服务质量未优于第一Wi-Fi接入点提供的通信服务质量,则此时不需进行切换,即停止本实施例;而在第一Wi-Fi接入点提供的通信服务质量低于最优Wi-Fi接入点提供的通信服务质量,则进行切换。
S405、设备与当前连接的第一Wi-Fi接入点的断开连接,并向所述最优Wi-Fi接入点发起连接请求。
向所述最优Wi-Fi接入点发起连接请求时,若该最优Wi-Fi接入点为公共Wi-Fi接入点,则设备可直接进行连接;若该最优Wi-Fi接入点不为公共Wi-Fi接入点,设置了密码,但本实施例中可选Wi-Fi接入点均为设备曾连接成功过的Wi-Fi接入点,则设备根据已保存的密码,与最优Wi-Fi接入点连 接。
S406a、当设备与所述最优Wi-Fi接入点连接失败,则执行与第一Wi-Fi接入点建立连接的操作。
可能的,上述S406a可被下述S406b替换,图5是以S406a进行示例。
S406b、当设备通过所述最优Wi-Fi接入点访问网络失败,则执行与第一Wi-Fi接入点建立连接的操作。
本发明实施例中,每当设备确定切换Wi-Fi接入点的触发事件发生,便立即寻找最优Wi-Fi接入点,并在确定需选择的最优Wi-Fi接入点后,设备会自动与当前连接的Wi-Fi接入点断开连接,并向最优Wi-Fi接入点发起连接,及时获取质量较优的通信服务质量,避免造成网络资源的浪费,且不需用户参与手动切换,提升了设备的人机交互智能化的特性。
图6为本发明设备实施例一的结构示意图。如图6所示,本实施例中的设备具有无线保真Wi-Fi功能,包括:
第一确定模块11,用于在搜索到的至少一个可选无线保真Wi-Fi接入点中确定最优Wi-Fi接入点;
第二确定模块12,用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件;
切换模块13,用于与所述第一Wi-Fi接入点的断开连接,并向所述最优Wi-Fi接入点发起连接请求。
本发明实施例中,当设备发现最优Wi-Fi接入点提供的通信服务质量优于当前连接的Wi-Fi接入点提供的通信服务质量时,设备会自动与当前连接的Wi-Fi接入点断开连接,并向最优Wi-Fi接入点发起连接,及时获取质量较优的通信服务质量,避免造成网络资源的浪费,且不需用户参与手动切换,提升了设备的人机交互智能化的特性。
图7为本发明设备实施例二的结构示意图。如图7所示,本实施例是在图6所示的实施例的基础上,做出进一步描述,具体的,设备还包括:第三确定模块14,用于确定切换Wi-Fi接入点的触发事件发生;
其中,所述切换Wi-Fi接入点的触发事件至少包括下述任意一种事件或至少两个事件的组合:
所述设备检测到第一Wi-Fi接入点的信号强度降低、所述设备获知所述 设备的位置改变、所述设备检测到通过所述第一Wi-Fi接入点访问网络失败或访问速度降低。
可选的,当所述信息为标识,所述第二确定模块具体用于确定所述最优Wi-Fi接入点的标识与当前连接的第一Wi-Fi接入点的标识不同;或者,
当所述信息为质量参数,所述第二确定模块具体用于根据所述最优Wi-Fi接入点的质量参数与所述第一Wi-Fi接入点的质量参数,确定所述最优Wi-Fi接入点提供的通信服务质量优于所述第一Wi-Fi接入点的通信服务质量;
其中,所述质量参数为下述至少一项参数:
Wi-Fi接入点的优先级、Wi-Fi接入点的信号强度、Wi-Fi接入点的网络带宽、Wi-Fi接入点的访问速度、Wi-Fi接入点的位置与所述设备的距离。
进一步的,所述第一确定模块11还用于根据所述设备存储的历史信息,在搜索到的全部Wi-Fi接入点中,确定标识存在于所述历史信息中的至少一个Wi-Fi接入点为至少一个所述可选Wi-Fi接入点;
其中,所述历史信息至少包括至少一个第二Wi-Fi接入点的标识;所述第二Wi-Fi接入点为设备连接成功的Wi-Fi接入点。
可选的,所述第一确定模块11具体用于根据各个所述可选Wi-Fi接入点的信号强度,确定信号强度最大的Wi-Fi接入点为所述最优Wi-Fi接入点。
可选的,所述第一确定模块11具体用于根据各个所述可选Wi-Fi接入点的位置和所述设备的位置,选择与所述设备距离最近的Wi-Fi接入点为所述最优Wi-Fi接入点;
其中,所述设备搜索到的任意一个Wi-Fi接入点的位置是所述设备从该Wi-Fi接入点或远端服务器获取的。
可选的,所述第一确定模块11具体用于根据各个所述可选Wi-Fi接入点的网络带宽,在所述搜索到的至少一个可选Wi-Fi接入点中选择网络带宽最大的Wi-Fi接入点为所述最优Wi-Fi接入点;
其中,所述设备搜索到的任意一个Wi-Fi接入点的网络带宽是该Wi-Fi接入点发送给所述设备的,或者是所述设备通过对该Wi-Fi接入点进行检测获知的。
进一步的,所述第一确定模块11具体用于根据各个所述可选Wi-Fi接入点的访问速度,确定访问速度最大的可选Wi-Fi接入点为所述最优Wi-Fi接 入点;
所述设备搜索到的任意一个Wi-Fi接入点的访问速度是该Wi-Fi接入点发送给所述设备的,或者是所述设备通过对该Wi-Fi接入点进行检测获知的。
可选的,所述历史信息还包括各个所述第二Wi-Fi接入点的标识对应的时间,所述时间为所述设备与第二Wi-Fi接入点连接成功的时间,则所述第一确定模块11具体用于根据各个所述可选Wi-Fi接入点的标识查询所述历史信息,获取各个所述可选Wi-Fi接入点的标识对应的时间;
所述设备在至少一个所述可选Wi-Fi接入点中选择所述标识对应的时间点最靠近所述当前时刻的可选Wi-Fi接入点为所述最优Wi-Fi接入点。
可选的,所述历史信息还包括各个所述第二Wi-Fi接入点的标识对应的优先级,则所述第一确定模块11具体用于根据各个所述可选Wi-Fi接入点的标识查询所述历史信息,获取各个所述可选Wi-Fi接入点的标识对应的优先级;
所述第一确定模块11具体用于在至少一个所述可选Wi-Fi接入点中选择所述标识对应的优先级为最高的可选Wi-Fi接入点为所述最优Wi-Fi接入点。
进一步的,所述切换模块13还用于当所述设备与所述最优Wi-Fi接入点连接失败,则执行与第一Wi-Fi接入点建立连接的操作;或者,所述切换模块13还用于当所述设备通过所述最优Wi-Fi接入点访问网络失败,则执行与第一Wi-Fi接入点建立连接的操作。
本发明实施例中,每当设备确定切换Wi-Fi接入点的触发事件发生,便立即寻找最优Wi-Fi接入点,并在确定需选择的最优Wi-Fi接入点后,设备会自动与当前连接的Wi-Fi接入点断开连接,并向最优Wi-Fi接入点发起连接,及时获取质量较优的通信服务质量,避免造成网络资源的浪费,且不需用户参与手动切换,提升了设备的人机交互智能化的特性。
图8为本发明设备实施例三的结构示意图。如图8所示,本实施例中,设备具有无线保真Wi-Fi功能,包括:处理器21和收发器22;
所述处理器21用于在搜索到的至少一个可选无线保真Wi-Fi接入点中确定最优Wi-Fi接入点;
所述处理器21用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件;
所述收发器22用于与所述第一Wi-Fi接入点的断开连接,并向所述最优Wi-Fi接入点发起连接请求。
本发明实施例中,当设备发现最优Wi-Fi接入点提供的通信服务质量优于当前连接的Wi-Fi接入点提供的通信服务质量时,设备会自动与当前连接的Wi-Fi接入点断开连接,并向最优Wi-Fi接入点发起连接,及时获取质量较优的通信服务质量,避免造成网络资源的浪费,且不需用户参与手动切换,提升了设备的人机交互智能化的特性。
图9为本发明设备实施例四的结构示意图。如图9所示,本实施例是在图8所示的实施例的基础上,做出进一步的描述,所述处理器21还用于确定切换Wi-Fi接入点的触发事件发生;
其中,所述切换Wi-Fi接入点的触发事件至少包括下述任意一种事件或至少两个事件的组合:
所述设备检测到第一Wi-Fi接入点的信号强度降低、所述设备获知所述设备的位置改变、所述设备检测到通过所述第一Wi-Fi接入点访问网络失败或访问速度降低。
可选的,当所述信息为标识,所述处理器21在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于确定所述最优Wi-Fi接入点的标识与当前连接的第一Wi-Fi接入点的标识不同;或者,
当所述信息为质量参数,所述处理器21在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据所述最优Wi-Fi接入点的质量参数与所述第一Wi-Fi接入点的质量参数,确定所述最优Wi-Fi接入点提供的通信服务质量优于所述第一Wi-Fi接入点的通信服务质量;
其中,所述质量参数为下述至少一项参数:
Wi-Fi接入点的优先级、Wi-Fi接入点的信号强度、Wi-Fi接入点的网络带宽、Wi-Fi接入点的访问速度、Wi-Fi接入点的位置与所述设备的距离。
进一步的,设备还包括存储器23,用于存储历史信息;
所述处理器21还用于根据所述存储器23存储的历史信息,在搜索到的全部Wi-Fi接入点中,确定标识存在于所述历史信息中的至少一个Wi-Fi接 入点为至少一个所述可选Wi-Fi接入点。
其中,所述历史信息至少包括至少一个第二Wi-Fi接入点的标识;所述第二Wi-Fi接入点为设备连接成功的Wi-Fi接入点。
可选的,所述处理器21在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据各个所述可选Wi-Fi接入点的信号强度,确定信号强度最大的Wi-Fi接入点为所述最优Wi-Fi接入点。
可选的,所述处理器21在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据各个所述可选Wi-Fi接入点的位置和所述设备的位置,选择与所述设备距离最近的Wi-Fi接入点为所述最优Wi-Fi接入点;
其中,所述设备搜索到的任意一个Wi-Fi接入点的位置是所述处理器21触发所述收发器22从该Wi-Fi接入点或远端服务器获取的。
可选的,所述处理器21在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据各个所述可选Wi-Fi接入点的网络带宽,在所述搜索到的至少一个可选Wi-Fi接入点中选择网络带宽最大的Wi-Fi接入点为所述最优Wi-Fi接入点;
其中,所述设备搜索到的任意一个Wi-Fi接入点的网络带宽是该Wi-Fi接入点发送给所述设备的,或者是所述设备通过对该Wi-Fi接入点进行检测获知的。
可选的,所述处理器21在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据各个所述可选Wi-Fi接入点的访问速度,确定访问速度最大的可选Wi-Fi接入点为所述最优Wi-Fi接入点;
所述设备搜索到的任意一个Wi-Fi接入点的访问速度是该Wi-Fi接入点发送给所述设备的,或者是所述设备通过对该Wi-Fi接入点进行检测获知的。
可选的,所述历史信息还包括各个所述第二Wi-Fi接入点的标识对应的时间,所述时间为所述设备与第二Wi-Fi接入点连接成功的时间,则所述处理器21在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接 入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据各个所述可选Wi-Fi接入点的标识查询所述历史信息,获取各个所述可选Wi-Fi接入点的标识对应的时间;
所述设备在至少一个所述可选Wi-Fi接入点中选择所述标识对应的时间点最靠近所述当前时刻的可选Wi-Fi接入点为所述最优Wi-Fi接入点。
可选的,所述历史信息还包括各个所述第二Wi-Fi接入点的标识对应的优先级,则所述处理器21在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据各个所述可选Wi-Fi接入点的标识查询所述历史信息,获取各个所述可选Wi-Fi接入点的标识对应的优先级;
在至少一个所述可选Wi-Fi接入点中选择所述标识对应的优先级为最高的可选Wi-Fi接入点为所述最优Wi-Fi接入点。
可选的,所述收发器22还用于当与所述最优Wi-Fi接入点连接失败,则所述收发器22用于执行与第一Wi-Fi接入点建立连接的操作;或者可选的,所述收发器22还用于当通过所述最优Wi-Fi接入点访问网络失败,则所述收发器22用于执行与第一Wi-Fi接入点建立连接的操作。
本发明实施例中,每当设备确定切换Wi-Fi接入点的触发事件发生,便立即寻找最优Wi-Fi接入点,并在确定需选择的最优Wi-Fi接入点后,设备会自动与当前连接的Wi-Fi接入点断开连接,并向最优Wi-Fi接入点发起连接,及时获取质量较优的通信服务质量,避免造成网络资源的浪费,且不需用户参与手动切换,提升了设备的人机交互智能化的特性。
图10为本发明设备实施例五的结构示意图。如图10所示,本实施例中的设备仅为示例,可以理解的,在实际应用中,设备可以为智能手机、iPad等,不同的设备的内部模块、部件不尽相同,因此在实际中设备可以具有比图10中所示的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图10中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。
设备500包括至少2根天线51、至少一个处理器52、存储器53、传感器54、I/O接口55、通信模块56,至少一个通信总线57。进一步的,设备还包括其他功能性的构件,比如给设备供电的电源58、GPS模块59等;通信总线57用于 实现各个模块、组件之间的连接通信。存储器53可能包含非易失性固态存储器和/或动力学的非易失性存储设备,如闪速存储器、可转动的磁盘驱动器。传感器54包含多种传感器,如:加速度传感器、方向传感器等位移传感器等;通信模块56可以用于远距通信,如GSM(Global System for Mobile communication,全球移动通信系统)、CDMA(Code Division Multiple Access,码分多址)、GPRS(General Packet Radio Service,通用分组无线服务)、EDGE(Enhanced Data Rate for GSM Evolution,增强型数据速率GSM演进),3G技术如WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、TD-SCDMA(Time Division-Synchronous Code Division Multiple Access,时分同步码分多址),4G技术如LTE(Long Term Evolution,长期演进)等;通信模块56还可以用于近距通信,可以在近距离内与第三方设备(如智能可穿戴设备)进行短距无线通信,如ZigBee、UWB、Wi-Fi、Bluetooth、NFC,以及红外通讯,与通信模块56配合的天线51用于接收和发送信号。
具体的,I/O接口55包括用于显示和输入的触摸屏551、用于输入的I/O键盘552(可选的)等。
具体的,存储器53包含操作系统5021和应用程序5022,操作系统5021包含各种操作系统程序,用于实现基于硬件的各项操作;应用程序5022包含各种应用程序,用于实现各种应用功能,比如:搜索Wi-Fi接入点信号的控制程序、Wi-Fi接入点的标识识别程序、触发事件的识别程序、最优Wi-Fi接入点的确定程序、切换Wi-Fi接入点的控制程序等。
进一步的,存储器53还可以存储切换条件、历史信息、Wi-Fi接入点的优先级等。
处理器52通过通信总线57与上述各个模块和组件通信,执行触发事件的识别程序,识别到触发事件,进而执行搜索Wi-Fi接入点信号的控制程序,从而通过通信模块56搜索到至少一个可选Wi-Fi接入点,随后执行最优Wi-Fi接入点的确定程序,在至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点、最后执行切换Wi-Fi接入点的控制程序,判断最优Wi-Fi接入点满足存储器53存储的切换条件,则切换到最优Wi-Fi接入点。
另外,处理器52还可通过通信总线57控制触控屏51,向用户显示最优Wi-Fi接入点;
可选的,在处理器52执行触发事件的识别程序时,与加速度传感器、方向传感器等位移传感器、或者GSM(Global System for Mobile communication,全球移动通信系统)通信,获知所述设备的位置改变,从而将设备的位置改变识别为触发事件,随后执行搜索Wi-Fi接入点信号的控制程序、执行最优Wi-Fi接入点的确定程序、切换Wi-Fi接入点的控制程序等;
或者可选的,在处理器52执行触发事件的识别程序时,与通信模块56通信,检测到通过所述第一Wi-Fi接入点访问网络失败或访问速度降低,或者第一Wi-Fi接入点的信号减弱,则识别为触发事件,随后执行最优Wi-Fi接入点的确定程序,随后执行搜索Wi-Fi接入点信号的控制程序、执行最优Wi-Fi接入点的确定程序、切换Wi-Fi接入点的控制程序等;
或者可能的,在执行切换Wi-Fi接入点的控制程序时,结合Wi-Fi接入点的标识识别程序,以最优Wi-Fi接入点的标识和第一Wi-Fi接入点的标识,判断最优Wi-Fi接入点是否满足切换条件;
可能的,在执行切换Wi-Fi接入点的控制程序时,结合通信模块56获取到的最优Wi-Fi接入点的质量参数和第一Wi-Fi接入点的质量参数,判断最优Wi-Fi接入点是否满足切换条件。
本发明实施例中,每当设备确定切换Wi-Fi接入点的触发事件发生,便立即寻找最优Wi-Fi接入点,并在确定需选择的最优Wi-Fi接入点后,设备会自动与当前连接的Wi-Fi接入点断开连接,并向最优Wi-Fi接入点发起连接,及时获取质量较优的通信服务质量,避免造成网络资源的浪费,且不需用户参与手动切换,提升了设备的人机交互智能化的特性。
需要说明的是,上述图6和图10所示的设备可以通过其它的方式实现。其中各个模块、器件及单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或单元可以结合或者进一步可以分为多个模块或单元,或一些特征可以忽略。另一点,各个模块、单元之间存在通信连接,具体可通过一些接口,以间接耦合或直接耦合的方式实现通信连接,该通信连接可以是电性,机械或其它的形式。
另外,各个设备实施例中的各个模块可以集成在一个功能模块中,也可以是单独物理存在;且各个模块既可以采用硬件和/或软件的形式实现。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述 的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (36)

  1. 一种通信连接的控制方法,其特征在于,适用于具有无线保真Wi-Fi功能的设备,所述控制方法包括:
    所述设备在搜索到的至少一个可选无线保真Wi-Fi接入点中确定最优Wi-Fi接入点;
    所述设备根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件;
    所述设备与所述第一Wi-Fi接入点的断开连接,并向所述最优Wi-Fi接入点发起连接请求。
  2. 根据权利要求1所述的控制方法,其特征在于,所述设备在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点之前,还包括:
    所述设备确定切换Wi-Fi接入点的触发事件发生;
    其中,所述切换Wi-Fi接入点的触发事件至少包括下述任意一种事件或至少两个事件的组合:
    所述设备检测到第一Wi-Fi接入点的信号强度降低、所述设备获知所述设备的位置改变、所述设备检测到通过所述第一Wi-Fi接入点访问网络失败或访问速度降低。
  3. 根据权利要求1或2项所述的控制方法,其特征在于,当所述信息为标识,则所述设备根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件,包括:
    所述设备确定所述最优Wi-Fi接入点的标识与当前连接的第一Wi-Fi接入点的标识不同;或者,
    当所述信息为质量参数,则所述设备根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点与所述第一Wi-Fi接入点满足切换条件,包括:
    所述设备根据所述最优Wi-Fi接入点的质量参数与所述第一Wi-Fi接入点的质量参数,确定所述最优Wi-Fi接入点提供的通信服务质量优于所述第一Wi-Fi接入点的通信服务质量;
    其中,所述质量参数为下述至少一项参数:Wi-Fi接入点的优先级、Wi-Fi接入点的信号强度、Wi-Fi接入点的网络带宽、Wi-Fi接入点的访问速度、 Wi-Fi接入点的位置与所述设备的距离。
  4. 根据权利要求1~3任一项所述的控制方法,其特征在于,所述设备在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点之前,还包括:
    所述设备根据所述设备存储的历史信息,在搜索到的全部Wi-Fi接入点中,确定标识存在于所述历史信息中的至少一个Wi-Fi接入点为至少一个所述可选Wi-Fi接入点;
    其中,所述历史信息至少包括至少一个第二Wi-Fi接入点的标识;所述第二Wi-Fi接入点为设备连接成功的Wi-Fi接入点。
  5. 根据权利要求1~4任一项所述的控制方法,其特征在于,所述设备在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点,包括:
    所述设备根据各个所述可选Wi-Fi接入点的信号强度,确定信号强度最大的Wi-Fi接入点为所述最优Wi-Fi接入点。
  6. 根据权利要求1~4任一项所述的控制方法,其特征在于,所述设备在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点,包括:
    所述设备根据各个所述可选Wi-Fi接入点的位置和所述设备的位置,选择与所述设备距离最近的Wi-Fi接入点为所述最优Wi-Fi接入点;
    其中,所述设备搜索到的任意一个Wi-Fi接入点的位置是所述设备从该Wi-Fi接入点或远端服务器获取的。
  7. 根据权利要求1~4任一项所述的控制方法,其特征在于,所述在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点,包括:
    所述设备根据各个所述可选Wi-Fi接入点的网络带宽,在所述搜索到的至少一个可选Wi-Fi接入点中选择网络带宽最大的Wi-Fi接入点为所述最优Wi-Fi接入点;
    其中,所述设备搜索到的任意一个Wi-Fi接入点的网络带宽是该Wi-Fi接入点发送给所述设备的,或者是所述设备通过对该Wi-Fi接入点进行检测获知的。
  8. 根据权利要求1~4任一项所述的控制方法,其特征在于,所述设备在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点,包括:
    所述设备根据各个所述可选Wi-Fi接入点的访问速度,确定访问速度最大的可选Wi-Fi接入点为所述最优Wi-Fi接入点;
    所述设备搜索到的任意一个Wi-Fi接入点的访问速度是该Wi-Fi接入点发送给所述设备的,或者是所述设备通过对该Wi-Fi接入点进行检测获知的。
  9. 根据权利要求4所述的控制方法,其特征在于,所述历史信息还包括各个所述第二Wi-Fi接入点的标识对应的时间,所述时间为所述设备与第二Wi-Fi接入点连接成功的时间,则所述设备在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点,包括:
    所述设备根据各个所述可选Wi-Fi接入点的标识查询所述历史信息,获取各个所述可选Wi-Fi接入点的标识对应的时间;
    所述设备在至少一个所述可选Wi-Fi接入点中选择所述标识对应的时间点最靠近当前时刻的可选Wi-Fi接入点为所述最优Wi-Fi接入点。
  10. 根据权利要求4所述的控制方法,其特征在于,所述历史信息还包括各个所述第二Wi-Fi接入点的标识对应的优先级,则所述设备在搜索到的至少一个可选Wi-Fi接入点中确定最优Wi-Fi接入点,包括:
    所述设备根据各个所述可选Wi-Fi接入点的标识查询所述历史信息,获取各个所述可选Wi-Fi接入点的标识对应的优先级;
    所述设备在至少一个所述可选Wi-Fi接入点中选择所述标识对应的优先级为最高的可选Wi-Fi接入点为所述最优Wi-Fi接入点。
  11. 根据权利要求1~10任一项所述的控制方法,其特征在于,还包括:
    当所述设备与所述最优Wi-Fi接入点连接失败,则所述设备执行与所述第一Wi-Fi接入点建立连接的操作。
  12. 根据权利要求1~10任一项所述的控制方法,其特征在于,还包括:
    当所述设备通过所述最优Wi-Fi接入点访问网络失败,则所述设备执行与所述第一Wi-Fi接入点建立连接的操作。
  13. 一种设备,其特征在于,具有无线保真Wi-Fi功能,包括:
    第一确定模块,用于在搜索到的至少一个可选无线保真Wi-Fi接入点中确定最优Wi-Fi接入点;
    第二确定模块,用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件;
    切换模块,用于与所述第一Wi-Fi接入点的断开连接,并向所述最优Wi-Fi接入点发起连接请求。
  14. 根据权利要求13所述设备,其特征在于,还包括:
    第三确定模块,用于确定切换Wi-Fi接入点的触发事件发生;
    其中,所述切换Wi-Fi接入点的触发事件至少包括下述任意一种事件或至少两个事件的组合:
    所述设备检测到第一Wi-Fi接入点的信号强度降低、所述设备获知所述设备的位置改变、所述设备检测到通过所述第一Wi-Fi接入点访问网络失败或访问速度降低。
  15. 根据权利要求13或14项所述的设备,其特征在于,当所述信息为标识,所述第二确定模块具体用于确定所述最优Wi-Fi接入点的标识与当前连接的第一Wi-Fi接入点的标识不同;或者,
    当所述信息为质量参数,所述第二确定模块具体用于根据所述最优Wi-Fi接入点的质量参数与所述第一Wi-Fi接入点的质量参数,确定所述最优Wi-Fi接入点提供的通信服务质量优于所述第一Wi-Fi接入点的通信服务质量;
    其中,所述质量参数为下述至少一项参数:
    Wi-Fi接入点的优先级、Wi-Fi接入点的信号强度、Wi-Fi接入点的网络带宽、Wi-Fi接入点的访问速度、Wi-Fi接入点的位置与所述设备的距离。
  16. 根据权利要求13~15任一项所述的设备,其特征在于,所述第一确定模块还用于根据所述设备存储的历史信息,在搜索到的全部Wi-Fi接入点中,确定标识存在于所述历史信息中的至少一个Wi-Fi接入点为至少一个所述可选Wi-Fi接入点;
    其中,所述历史信息至少包括至少一个第二Wi-Fi接入点的标识;所述第二Wi-Fi接入点为设备连接成功的Wi-Fi接入点。
  17. 根据权利要求13~16任一项所述的设备,其特征在于,所述第一确定模块具体用于根据各个所述可选Wi-Fi接入点的信号强度,确定信号强度最大的Wi-Fi接入点为所述最优Wi-Fi接入点。
  18. 根据权利要求13~16任一项所述的设备,其特征在于,所述第一确定模块具体用于根据各个所述可选Wi-Fi接入点的位置和所述设备的位置,选择与所述设备距离最近的Wi-Fi接入点为所述最优Wi-Fi接入点;
    其中,所述设备搜索到的任意一个Wi-Fi接入点的位置是所述设备从该Wi-Fi接入点或远端服务器获取的。
  19. 根据权利要求13~16任一项所述的设备,其特征在于,所述第一确定模块具体用于根据各个所述可选Wi-Fi接入点的网络带宽,在所述搜索到的至少一个可选Wi-Fi接入点中选择网络带宽最大的Wi-Fi接入点为所述最优Wi-Fi接入点;
    其中,所述设备搜索到的任意一个Wi-Fi接入点的网络带宽是该Wi-Fi接入点发送给所述设备的,或者是所述设备通过对该Wi-Fi接入点进行检测获知的。
  20. 根据权利要求13~16任一项所述的设备,其特征在于,所述第一确定模块具体用于根据各个所述可选Wi-Fi接入点的访问速度,确定访问速度最大的可选Wi-Fi接入点为所述最优Wi-Fi接入点;
    所述设备搜索到的任意一个Wi-Fi接入点的访问速度是该Wi-Fi接入点发送给所述设备的,或者是所述设备通过对该Wi-Fi接入点进行检测获知的。
  21. 根据权利要求16所述的设备,其特征在于,所述历史信息还包括各个所述第二Wi-Fi接入点的标识对应的时间,所述时间为所述设备与第二Wi-Fi接入点连接成功的时间,则所述第一确定模块具体用于根据各个所述可选Wi-Fi接入点的标识查询所述历史信息,获取各个所述可选Wi-Fi接入点的标识对应的时间;
    所述设备在至少一个所述可选Wi-Fi接入点中选择所述标识对应的时间点最靠近当前时刻的可选Wi-Fi接入点为所述最优Wi-Fi接入点。
  22. 根据权利要求16所述的设备,其特征在于,所述历史信息还包括各个所述第二Wi-Fi接入点的标识对应的优先级,则所述第一确定模块具体用于根据各个所述可选Wi-Fi接入点的标识查询所述历史信息,获取各个所述可选Wi-Fi接入点的标识对应的优先级;
    所述第一确定模块具体用于在至少一个所述可选Wi-Fi接入点中选择所述标识对应的优先级为最高的可选Wi-Fi接入点为所述最优Wi-Fi接入点。
  23. 根据权利要求13~22任一项所述的设备,其特征在于,所述切换模块还用于当所述设备与所述最优Wi-Fi接入点连接失败,则执行与所述第一Wi-Fi接入点建立连接的操作。
  24. 根据权利要求13~22任一项所述的设备,其特征在于,所述切换模块还用于当所述设备通过所述最优Wi-Fi接入点访问网络失败,则执行与所 述第一Wi-Fi接入点建立连接的操作。
  25. 一种设备,其特征在于,具有无线保真Wi-Fi功能,包括:处理器和收发器;
    所述处理器用于在搜索到的至少一个可选无线保真Wi-Fi接入点中确定最优Wi-Fi接入点;
    所述处理器用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件;
    所述收发器用于与所述第一Wi-Fi接入点的断开连接,并向所述最优Wi-Fi接入点发起连接请求。
  26. 根据权利要求25所述设备,其特征在于,所述处理器还用于确定切换Wi-Fi接入点的触发事件发生;
    其中,所述切换Wi-Fi接入点的触发事件至少包括下述任意一种事件或至少两个事件的组合:
    所述设备检测到第一Wi-Fi接入点的信号强度降低、所述设备获知所述设备的位置改变、所述设备检测到通过所述第一Wi-Fi接入点访问网络失败或访问速度降低。
  27. 根据权利要求25或26所述的设备,其特征在于,当所述信息为标识,所述处理器在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于确定所述最优Wi-Fi接入点的标识与当前连接的第一Wi-Fi接入点的标识不同;或者,
    当所述信息为质量参数,所述处理器在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据所述最优Wi-Fi接入点的质量参数与所述第一Wi-Fi接入点的质量参数,确定所述最优Wi-Fi接入点提供的通信服务质量优于所述第一Wi-Fi接入点的通信服务质量;
    其中,所述质量参数为下述至少一项参数:
    Wi-Fi接入点的优先级、Wi-Fi接入点的信号强度、Wi-Fi接入点的网络带宽、Wi-Fi接入点的访问速度、Wi-Fi接入点的位置与所述设备的距离。
  28. 根据权利要求25~27任一项所述的设备,其特征在于,还包括存储 器,用于存储历史信息;
    所述处理器还用于根据所述存储器存储的历史信息,在搜索到的全部Wi-Fi接入点中,确定标识存在于所述历史信息中的至少一个Wi-Fi接入点为至少一个所述可选Wi-Fi接入点;
    其中,所述历史信息至少包括至少一个第二Wi-Fi接入点的标识;所述第二Wi-Fi接入点为设备连接成功的Wi-Fi接入点。
  29. 根据权利要求25~28任一项所述的设备,其特征在于,所述处理器在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据各个所述可选Wi-Fi接入点的信号强度,确定信号强度最大的Wi-Fi接入点为所述最优Wi-Fi接入点。
  30. 根据权利要求25~28任一项所述的设备,其特征在于,所述处理器在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据各个所述可选Wi-Fi接入点的位置和所述设备的位置,选择与所述设备距离最近的Wi-Fi接入点为所述最优Wi-Fi接入点;
    其中,所述设备搜索到的任意一个Wi-Fi接入点的位置是所述处理器触发所述收发器从该Wi-Fi接入点或远端服务器获取的。
  31. 根据权利要求25~28任一项所述的设备,其特征在于,所述处理器在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据各个所述可选Wi-Fi接入点的网络带宽,在所述搜索到的至少一个可选Wi-Fi接入点中选择网络带宽最大的Wi-Fi接入点为所述最优Wi-Fi接入点;
    其中,所述设备搜索到的任意一个Wi-Fi接入点的网络带宽是该Wi-Fi接入点发送给所述设备的,或者是所述设备通过对该Wi-Fi接入点进行检测获知的。
  32. 根据权利要求25~28任一项所述的设备,其特征在于,所述处理器在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据各个所述可选Wi-Fi接入点的访问速度,确定访问速度最大的可选Wi-Fi接入点为所 述最优Wi-Fi接入点;
    所述设备搜索到的任意一个Wi-Fi接入点的访问速度是该Wi-Fi接入点发送给所述设备的,或者是所述设备通过对该Wi-Fi接入点进行检测获知的。
  33. 根据权利要求28所述的设备,其特征在于,所述历史信息还包括各个所述第二Wi-Fi接入点的标识对应的时间,所述时间为所述设备与第二Wi-Fi接入点连接成功的时间,则所述处理器在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据各个所述可选Wi-Fi接入点的标识查询所述历史信息,获取各个所述可选Wi-Fi接入点的标识对应的时间;
    所述设备在至少一个所述可选Wi-Fi接入点中选择所述标识对应的时间点最靠近当前时刻的可选Wi-Fi接入点为所述最优Wi-Fi接入点。
  34. 根据权利要求28所述的设备,其特征在于,所述历史信息还包括各个所述第二Wi-Fi接入点的标识对应的优先级,则所述处理器在用于根据所述最优Wi-Fi接入点的信息与当前连接的第一Wi-Fi接入点的信息,确定所述最优Wi-Fi接入点满足切换条件时,具体用于根据各个所述可选Wi-Fi接入点的标识查询所述历史信息,获取各个所述可选Wi-Fi接入点的标识对应的优先级;
    在至少一个所述可选Wi-Fi接入点中选择所述标识对应的优先级为最高的可选Wi-Fi接入点为所述最优Wi-Fi接入点。
  35. 根据权利要求25~34任一项所述的设备,其特征在于,所述收发器还用于当与所述最优Wi-Fi接入点连接失败,则所述收发器用于执行与所述第一Wi-Fi接入点建立连接的操作。
  36. 根据权利要求25~34任一项所述的设备,其特征在于,所述收发器还用于当通过所述最优Wi-Fi接入点访问网络失败,则所述收发器用于执行与所述第一Wi-Fi接入点建立连接的操作。
PCT/CN2015/075561 2015-03-31 2015-03-31 通信连接的控制方法和设备 WO2016154912A1 (zh)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP2017551316A JP6646063B2 (ja) 2015-03-31 2015-03-31 通信接続の制御方法及び装置
DK18212160.8T DK3522602T3 (da) 2015-03-31 2015-03-31 Fremgangsmåde og anordning til styring af kommunikationstilslutning
PCT/CN2015/075561 WO2016154912A1 (zh) 2015-03-31 2015-03-31 通信连接的控制方法和设备
EP15886898.4A EP3280181B1 (en) 2015-03-31 2015-03-31 Control method and device for communication connection
EP18212160.8A EP3522602B1 (en) 2015-03-31 2015-03-31 Communication connection control method and device
ES15886898T ES2732464T3 (es) 2015-03-31 2015-03-31 Método y dispositivo de control para una conexión de comunicación
CN201580041050.7A CN106576277B (zh) 2015-03-31 2015-03-31 通信连接的控制方法和设备
US15/719,806 US10959143B2 (en) 2015-03-31 2017-09-29 Communication connection control method, and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/075561 WO2016154912A1 (zh) 2015-03-31 2015-03-31 通信连接的控制方法和设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/719,806 Continuation US10959143B2 (en) 2015-03-31 2017-09-29 Communication connection control method, and device

Publications (1)

Publication Number Publication Date
WO2016154912A1 true WO2016154912A1 (zh) 2016-10-06

Family

ID=57003837

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/075561 WO2016154912A1 (zh) 2015-03-31 2015-03-31 通信连接的控制方法和设备

Country Status (7)

Country Link
US (1) US10959143B2 (zh)
EP (2) EP3522602B1 (zh)
JP (1) JP6646063B2 (zh)
CN (1) CN106576277B (zh)
DK (1) DK3522602T3 (zh)
ES (1) ES2732464T3 (zh)
WO (1) WO2016154912A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018165293A (ja) * 2017-03-28 2018-10-25 古河電気工業株式会社 粘着テープ

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10735518B2 (en) * 2017-06-26 2020-08-04 Veniam, Inc. Systems and methods for self-organized fleets of autonomous vehicles for optimal and adaptive transport and offload of massive amounts of data
CN110972200B (zh) * 2018-09-30 2023-09-26 华为技术有限公司 通信方法和相关设备
US20220078691A1 (en) * 2020-09-10 2022-03-10 Arris Enterprises Llc Wifi multi-access point - ssid monitoring and provisioning enhancements
JP2023040554A (ja) * 2021-09-10 2023-03-23 富士フイルムビジネスイノベーション株式会社 情報処理装置及びプログラム

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917424A (zh) * 2012-10-25 2013-02-06 陕西科技大学 一种WiFi通信中AP切换的方法
CN103686896A (zh) * 2013-12-12 2014-03-26 广州市地下铁道总公司 无线接入点的切换方法和终端
WO2014148860A1 (en) * 2013-03-22 2014-09-25 Lg Electronics Inc. Method and apparatus for performing handover procedure in wireless communication system
WO2015031271A2 (en) * 2013-08-30 2015-03-05 Interdigital Patent Holdings, Inc. Methods, apparatus and systems for distributed mobility management using enhanced converged gateway

Family Cites Families (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4084987B2 (ja) * 2002-11-08 2008-04-30 アイコム株式会社 アクセスポイント選択装置
JP2006005630A (ja) * 2004-06-17 2006-01-05 Toyota Industries Corp 無線端末、ネットワーク接続装置、切り換えの候補の探索方法及びプログラム
JP4520278B2 (ja) * 2004-11-08 2010-08-04 日本無線株式会社 無線通信システム、無線通信装置、および無線基地局システム
KR100736046B1 (ko) 2005-09-07 2007-07-06 삼성전자주식회사 기접속 기록을 사용하여 안정적인 액세스 포인트에결합하도록 가이드하는 방법 및 장치
JP4047884B2 (ja) * 2005-10-26 2008-02-13 Necインフロンティア株式会社 無線lanシステム及びそのアクセスポイント接続切り替え方法並びにその制御プログラム
JP2007251654A (ja) * 2006-03-16 2007-09-27 Nec Corp 無線lan移動局、無線lanシステム、ハンドオーバ制御方法及びハンドオーバ制御プログラム
CN101141335A (zh) * 2006-09-07 2008-03-12 日电(中国)有限公司 基于用户终端的快速越区切换的方法和设备
KR100790415B1 (ko) * 2006-09-27 2008-01-02 삼성전자주식회사 핸드오버 히스토리를 이용한 핸드오버 방법 및 장치
WO2008102504A1 (ja) * 2007-02-19 2008-08-28 Nec Corporation 無線端末および無線端末のハンドオーバー方法
US8630637B2 (en) * 2008-05-15 2014-01-14 Microsoft Corporation Inter-controller roam management and prediction for voice communications
IT1390946B1 (it) * 2008-08-13 2011-10-27 Thales Security Solutions & Services S P A Sistema di comunicazione a banda larga tra uno o più centri di controllo e una o più unità mobili
JP5075088B2 (ja) 2008-10-28 2012-11-14 キヤノン株式会社 通信装置、通信制御方法及びプログラム
US8570993B2 (en) * 2010-05-20 2013-10-29 At&T Mobility Ii Llc Wi-Fi intelligent selection engine
CN101977382B (zh) 2010-10-27 2013-07-10 福州星网视易信息系统有限公司 音视频集成控制电路及其接入接入点的方法
US9485672B2 (en) * 2012-01-25 2016-11-01 Draeger Medical Systems, Inc. Context aware wireless data access point changeover
US9572183B2 (en) 2012-02-16 2017-02-14 Sony Corporation Wireless communication apparatus, program, and communication control method
US20130265958A1 (en) * 2012-04-06 2013-10-10 Suitable Technolgies, Inc. System for wireless connectivity continuity and quality
US9008045B2 (en) * 2012-04-12 2015-04-14 Time Warner Cable Enterprises Llc Handoffs between access points in a Wi-Fi environment
JP6309507B2 (ja) * 2012-04-18 2018-04-11 テルコム・ベンチャーズ・エルエルシー ローカルエリアネットワークを利用したロケーション決定のためのシステム及び方法
CN103634943B (zh) 2012-08-20 2018-09-11 中兴通讯股份有限公司 一种WiFi接入方法及装置
CN103686899A (zh) 2012-09-25 2014-03-26 东莞宇龙通信科技有限公司 移动数据业务网络与wifi网络切换的方法及移动终端
WO2014049950A1 (en) * 2012-09-27 2014-04-03 Nec Corporation Scan control system, method and program
JP5977196B2 (ja) * 2013-05-17 2016-08-24 京セラ株式会社 携帯機器、並びに携帯機器の制御プログラム及び制御方法
JP6149519B2 (ja) * 2013-06-06 2017-06-21 富士ゼロックス株式会社 通信機器、及び、通信プログラム
US9401874B2 (en) 2013-08-14 2016-07-26 Qualcomm Incorporated Minimizing coverage holes in a communication network
US20150117399A1 (en) * 2013-10-29 2015-04-30 Qualcomm Incorporated Baton handover with receive diversity in td-scdma
CN103607780B (zh) 2013-11-19 2018-03-20 惠州Tcl移动通信有限公司 移动设备及其网络连接方法
US20160014664A1 (en) * 2014-07-10 2016-01-14 Sprint Communications Company L.P. Hand-over control between wireless fidelity (wifi) systems and long term evolution (lte) systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917424A (zh) * 2012-10-25 2013-02-06 陕西科技大学 一种WiFi通信中AP切换的方法
WO2014148860A1 (en) * 2013-03-22 2014-09-25 Lg Electronics Inc. Method and apparatus for performing handover procedure in wireless communication system
WO2015031271A2 (en) * 2013-08-30 2015-03-05 Interdigital Patent Holdings, Inc. Methods, apparatus and systems for distributed mobility management using enhanced converged gateway
CN103686896A (zh) * 2013-12-12 2014-03-26 广州市地下铁道总公司 无线接入点的切换方法和终端

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018165293A (ja) * 2017-03-28 2018-10-25 古河電気工業株式会社 粘着テープ

Also Published As

Publication number Publication date
JP2018515008A (ja) 2018-06-07
EP3280181A1 (en) 2018-02-07
US10959143B2 (en) 2021-03-23
US20180027463A1 (en) 2018-01-25
DK3522602T3 (da) 2023-09-25
JP6646063B2 (ja) 2020-02-14
CN106576277B (zh) 2021-05-18
EP3280181B1 (en) 2019-05-08
CN106576277A (zh) 2017-04-19
ES2732464T3 (es) 2019-11-22
EP3522602A1 (en) 2019-08-07
EP3522602B1 (en) 2023-07-12
EP3280181A4 (en) 2018-03-07

Similar Documents

Publication Publication Date Title
US20210029766A1 (en) Data transmission method and system and related apparatus
US10959143B2 (en) Communication connection control method, and device
US9226135B2 (en) Communication device, communication method, and computer program for causing computer to execute communication method
WO2017080378A1 (zh) 一种授权频谱辅助接入方法,网络设备及终端设备
JP5901841B2 (ja) 省エネルギー管理のためのインターratカバレッジの決定
US9794734B2 (en) Terminal switching method, access device, terminal, and system
US10172031B2 (en) Wireless assistance method, apparatus and system
WO2017076255A1 (zh) 一种无线网络负载均衡的方法,网络设备以及终端设备
WO2014025465A1 (en) Systems and methods for service set identifier-based location detection
JP2013537775A (ja) 異機種ネットワーク間接続変更方法を支援するポリシー提供装置及び端末装置
CN113301669B (zh) 建立热点连接的方法和终端设备
CN107846723B (zh) 无线局域网扫描方法、装置、计算机设备及存储介质
US9408111B2 (en) Time-sliced WiFi associations for make-before-break handover
CN105472038A (zh) 文件传输的控制方法、装置以及系统
CN107820302B (zh) 移动终端无线局域网扫描方法和装置、计算机设备
CN103945499A (zh) Wifi模块工作模式的切换方法及装置
WO2013189401A2 (zh) 通信终端、通信系统及通信连接方法
CN103052142A (zh) 网络选择方法、移动终端及基站
CN104995965A (zh) 用于控制无线局域网的方法和装置
CN112449305B (zh) WiFi连接方法、控制方法、移动终端、设备及服务器
CN114007248B (zh) Wi-Fi漫游的方法、电子设备及存储介质
CN112788703B (zh) 一种小区驻留控制方法、终端及存储介质
CN114390610B (zh) 小区切换方法、通信装置及存储介质
CN113891391B (zh) 搜网方法、装置、终端设备及存储介质
WO2021238381A1 (zh) 一种搜网方法与电子设备

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017551316

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE