CN114585036A - Control method and device and electronic equipment - Google Patents

Control method and device and electronic equipment Download PDF

Info

Publication number
CN114585036A
CN114585036A CN202210246505.0A CN202210246505A CN114585036A CN 114585036 A CN114585036 A CN 114585036A CN 202210246505 A CN202210246505 A CN 202210246505A CN 114585036 A CN114585036 A CN 114585036A
Authority
CN
China
Prior art keywords
communication network
network
currently used
data transmission
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210246505.0A
Other languages
Chinese (zh)
Inventor
尹志璐
胡睿
孙越
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202210246505.0A priority Critical patent/CN114585036A/en
Publication of CN114585036A publication Critical patent/CN114585036A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/165Performing reselection for specific purposes for reducing network power consumption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a control method, a control device and an electronic device, which are used for detecting and judging the network state of a communication network currently used by the electronic device, in the case where it is determined that the network status of the currently used communication network satisfies the network status condition, candidate communication networks are determined, wherein the network state condition is used for representing that the signal quality of the network meets the quality condition but the data transmission state does not meet the performance condition, and determines a target communication network having data transmission performance higher than that of the currently used communication network from among the candidate communication networks, the communication network switching method for the electronic equipment has the advantages that the network switching efficiency of the electronic equipment is improved, the first time of data transmission problems of the electronic equipment can be guaranteed, the problems can be timely and efficiently solved, the high transmission performance of the communication network of the electronic equipment is guaranteed, and the influence on the normal network use of a user is avoided.

Description

Control method and device and electronic equipment
Technical Field
The present application belongs to the field of communications technologies, and in particular, to a control method, an apparatus, and an electronic device.
Background
At present, when a user terminal is connected with a Wi-Fi network, the Wi-Fi signal on the terminal is displayed well, but the terminal is actually on line very slowly or cannot be on line at all.
For the situation, the user usually needs to switch to another communication network to solve the above problems, for example, the user selects to turn off Wi-Fi, and switches to a mobile network (such as 4G/5G) to better implement an internet function, however, the solution at least has the defects of low network switching efficiency, difficulty in timely solving the network problem of the terminal device, and influence on normal use of the network by the user.
Disclosure of Invention
Therefore, the application discloses the following technical scheme:
a control method, comprising:
acquiring a network state of a communication network currently used by the electronic equipment;
if the network state of the currently used communication network meets the network state condition, determining a candidate communication network; wherein the network state condition is used for representing that the signal quality of the network meets the quality condition but the data transmission state does not meet the performance condition;
determining a target communication network from the candidate communication networks; the data transmission performance of the target communication network is higher than that of the currently used communication network;
and switching the communication network currently used by the electronic equipment to the target communication network.
Optionally, the communication network currently used by the electronic device and the target communication network are the same type of communication network;
the target communication network and the communication network currently used by the electronic device correspond to different service set identifiers respectively, or correspond to the same service set identifier respectively but correspond to different basic service sets respectively.
Optionally, the determining the network state of the currently used communication network includes:
acquiring received signal strength indication information and data transmission parameters of the currently used communication network;
determining the signal quality of the currently used communication network according to the received signal strength indication information;
and determining the data transmission state of the currently used communication network according to the data transmission parameters.
Optionally, the acquiring the received signal strength indication information and the data transmission parameter of the currently used communication network includes:
acquiring received signal strength indication information returned by the electronic equipment at a wireless access point of the currently used communication network;
and acquiring data transmission parameters and/or data receiving parameters of the currently used communication network from a communication module driver or firmware of the electronic equipment corresponding to the currently used communication network.
Optionally, the determining the data transmission state of the currently used communication network according to the data transmission parameter includes:
and determining whether the data transmission of the currently used communication network is blocked or not and the blocking rate under the condition of the blocking according to the data sending parameters and/or the data receiving parameters.
Optionally, the determining the candidate communication network includes:
determining a communication network which the electronic equipment can be connected currently;
evaluating the data transmission performance of at least part of the networks in the current connectable communication network to obtain the data transmission performance evaluation result of the at least part of the networks;
and determining candidate communication networks according to the data transmission performance evaluation result of the at least partial network.
Optionally, the method further includes:
recording the identifier of the currently used communication network at least based on the condition that the currently used communication network meets the network state condition, and setting a timing duration to represent that the data transmission of the currently used communication network is blocked in the timing duration.
A control device, comprising:
the acquisition module is used for acquiring the network state of a communication network currently used by the electronic equipment;
a first determining module, configured to determine a candidate communication network if a network state of the currently used communication network satisfies a network state condition; wherein the network state condition is used for representing that the signal quality meets the quality condition but the data transmission state does not meet the performance condition;
a second determining module for determining a target communication network from the candidate communication networks; the data transmission performance of the target communication network is higher than that of the currently used communication network;
and the switching module is used for switching the communication network currently used by the electronic equipment to the target communication network.
Optionally, the network state of the communication network includes a signal quality and a data transmission state of the network, and the obtaining module is specifically configured to:
acquiring received signal strength indication information and data transmission parameters of the currently used communication network;
determining the signal quality of the currently used communication network according to the received signal strength indication information;
and determining the data transmission state of the currently used communication network according to the data transmission parameters.
An electronic device, comprising:
a communication component;
a memory for storing at least one set of instructions;
a processor for calling and executing said set of instructions in said memory, said control method as described in any of the above being implemented by executing said set of instructions.
According to the scheme, the control method, the control device and the electronic equipment disclosed by the application detect and judge the network state of the communication network currently used by the electronic equipment, determine the candidate communication network under the condition that the network state of the communication network currently used is judged to meet the network state condition, wherein the network state condition is used for representing that the signal quality of the network meets the quality condition but the data transmission state does not meet the performance condition, and determine the target communication network with the data transmission performance higher than that of the communication network currently used from the candidate communication network for switching the communication network of the electronic equipment.
Therefore, the network quality of the electronic equipment can be detected in time, the network problem of poor actual data transmission performance can be detected, the electronic equipment is automatically and efficiently switched to a target communication network with higher data transmission performance, the network switching efficiency of the electronic equipment is improved, the problem is timely and efficiently solved in the first time when the network problem occurs, the high transmission performance of the communication network of the electronic equipment is ensured, and the influence on the normal network use of a user is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic flow chart of a control method provided herein;
FIG. 2 is a schematic diagram of a process for determining a network status of a communication network currently used by an electronic device provided herein;
FIG. 3 is a schematic diagram of a process for determining candidate communication networks as provided herein;
FIG. 4 is a schematic flow chart of another control method provided herein;
fig. 5 is a structural view of the control device provided in the present application;
fig. 6 is a structural diagram of the electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The application discloses a control method, a control device and electronic equipment, which are used for timely and efficiently solving the problems that network signals of a communication network used by the electronic equipment are good, but actually the network performance is poor (for example, the network is very slow to access or the network cannot be accessed at all). The control method of the present application is applicable to electronic devices capable of providing communication functions, such as but not limited to devices in numerous general purpose or special purpose computing device environments or configurations with communication capabilities, for example: personal computers, server computers, hand-held or portable devices, tablet-type devices, AR/VR devices, multi-processor devices, etc. having a Wi-Fi module and/or a mobile communication module.
The processing procedure of the control method disclosed in the embodiment of the present application is shown in fig. 1, and specifically includes:
step 101, acquiring a network state of a communication network currently used by the electronic equipment.
The communication network currently used by the electronic device may be, but is not limited to, a Wi-Fi network, or a mobile communication network such as 4G, 5G, etc.
Optionally, the electronic device may detect and determine a network state of the communication network currently used by the electronic device according to a preset policy, for example, a periodic detection policy based on a certain time interval (e.g., 3s or 5s, etc.), during the process of using the current communication network. But not limited to this, the electronic device may also detect and determine the network state of the communication network currently used by the electronic device according to a preset policy under the condition that the current communication network is used and the device state meets a preset device state condition, so that the electronic device obtains the network state of the communication network currently used by the electronic device.
The device status condition may be set to any one of, but not limited to:
11) the electronic equipment is in a bright screen state;
12) the electronic device is in a bright screen state and runs a pre-configured specific application.
Preferably, the specific application is an application having a high requirement on data transmission performance of the communication network, such as a game application, an instant messaging application, and the like, and in practical applications, application information (such as an application package name) of such an application may be configured in the device system in advance through user configuration operation and/or system default configuration.
In the embodiment of the present application, the network state of the communication network includes a signal quality and a data transmission state of the communication network. Accordingly, referring to fig. 2, the process of detecting and determining the network status of the communication network currently used by the electronic device may be further implemented as:
step 201, obtaining the received signal strength indication information and the data transmission parameters of the communication network currently used by the electronic device.
The received Signal Strength indication information of the communication network currently used by the electronic device is rssi (received Signal Strength indication) of the currently used communication network; the data transmission parameters of the communication network currently used by the electronic device include data transmission parameters and/or data reception parameters.
The scheme will be mainly described by taking a Wi-Fi network as an example of a communication network currently used by the electronic device. Optionally, in response to the electronic device using the corresponding communication network, or in response to the electronic device using the corresponding communication network and satisfying the device status condition, the electronic device scans (e.g., periodically scans based on a certain time interval) its Access AP (Access Point) in the current communication network, such as a Wi-Fi network, and obtains, through AP scanning, received signal strength indication information of the currently used communication network returned by the Access AP.
Meanwhile, optionally, the electronic device further reads the data transmission parameters and/or the data reception parameters of the communication network from the communication driver/firmware of the currently used communication network, such as Wi-Fi driver/firmware, to obtain the data transmission parameters of the currently used communication network. Specifically, but not limited to, reading TX (transmission) packet information and/or RX (reception) packet information of transmission success/failure/retransmission of the currently connected AP, and reading information such as frequency of the currently connected AP, link speed of TX/RX, and the like.
Step 202, determining the signal quality of the communication network currently used by the electronic equipment according to the received signal strength indication information.
The received signal strength indication information, i.e. RSSI, can be used to characterize the signal strength/power of a signal receiving end in a communication network, and this embodiment determines the signal quality of the communication network currently used by the electronic device based on the RSSI of the currently used communication network, e.g. a Wi-Fi network (i.e. the RSSI value returned by an AP in the scanning result of an access AP).
The determined signal quality is consistent with the signal quality displayed on the electronic device interface (e.g., Wi-Fi signals displayed on the electronic device interface are in a full or near full state, which correspondingly indicates that the Wi-Fi signals are good).
And step 203, determining the data transmission state of the communication network currently used by the electronic equipment according to the data transmission parameters.
Meanwhile, the electronic device determines the data transmission state of the currently used communication network based on the read data transmission parameter and/or data reception parameter. The determined data transmission status includes, but is not limited to, whether data transmission of the currently used communication network is blocked or not, and a blocking rate in case of the blocking.
Taking an example that the electronic device currently uses the Wi-Fi network, optionally, for the series of data transmission/reception parameters read from the Wi-Fi driver/firmware, the electronic device may specifically calculate, according to a frequency of the currently connected AP and a time interval of the periodic polling, whether data transmission and/or data reception (TX/RX) of the currently used Wi-Fi network is blocked or not, and a blocking rate in a case of the current Wi-Fi network being blocked, to obtain a data transmission state of the currently used Wi-Fi network.
Step 102, determining whether the network state of the communication network currently used by the electronic equipment meets the network state condition.
The network state condition is used for representing that the signal quality of the network meets the quality condition but the data transmission state does not meet the performance condition. The quality condition may be, but is not limited to, that the signal strength/power of the receiving end represented by the RSSI of the communication network reaches a preset threshold value indicating that the signal strength/power is higher, or is within a preset value range/interval indicating that the signal strength/power is higher. Similarly, the performance condition may be, but is not limited to, setting the blocking rate of the communication network to be higher than a preset blocking rate threshold, or to be in a preset blocking rate range/interval indicating that the blocking rate is higher.
By setting the network state conditions, the network state of the communication network currently used by the electronic equipment is judged, so that the phenomenon that the network signal display of the communication network on the electronic equipment is good (for example, the Wi-Fi signal displayed on the equipment interface is in a full state or close to the full state, and correspondingly, the network quality is good) can be effectively detected, but the network is very slow or the network cannot be connected at all.
And 103, if the network state of the communication network currently used by the electronic equipment meets the network state condition, determining a candidate communication network.
If the network state of the communication network currently used by the electronic equipment meets the network state condition, the signal quality of the communication network currently used is characterized to meet the quality condition but the data transmission state does not meet the performance condition, and the electronic equipment determines a candidate communication network for communication network switching in response to the judgment result. Otherwise, if the network state of the communication network currently used by the electronic device does not satisfy the network state condition, the current communication network is maintained without executing subsequent processing.
Optionally, as shown in fig. 3, the process of determining the candidate communication network may be specifically implemented as:
step 301, determining a communication network which the electronic device can be currently connected to.
The communication network to which the electronic device is currently capable of connecting includes, but is not limited to, any one or more of the following:
21) a communication network to which the electronic device is currently connected but not actually in use;
for example, in the case where the electronic device actually uses a Wi-Fi network, a 4G/5G mobile network that is in a connected state but not used by the electronic device.
22) The electronic equipment is not connected at present but has the connection information thereof, and the corresponding access point and the electronic equipment meet the preset position relationship, thereby supporting the electronic equipment to automatically realize the communication network of network access.
The connection information of the communication network includes information such as a login account and a password of the communication network, for example, an SSID (Service Set Identifier) and a password of a Wi-Fi network.
For example, assuming that the electronic device has historically connected one or more other Wi-Fi networks different from the currently used Wi-Fi network, and the electronic device is located within the AP coverage of the other Wi-Fi network, the other Wi-Fi network may be determined as a communication network to which the electronic device is currently able to connect.
The other Wi-Fi networks and the Wi-Fi network currently used by the electronic device may be different Wi-Fi networks respectively corresponding to different APs of the same router, or may also be different Wi-Fi networks respectively corresponding to different APs of different routers, which is not limited herein.
For example, in an environment such as a work or a shopping mall, a plurality of APs (provided by the same router or different routers) are present to provide Wi-Fi network services for a user, and when the network state of a current AP to which the user equipment is connected in the environment meets the above network state condition, a Wi-Fi network corresponding to another AP to which the user equipment has been historically connected in the environment is determined as a communication network to which the electronic equipment can be currently connected, so as to be used for determining a candidate communication network.
23) The electronic equipment is currently connected with network services provided by other basic service sets different from the currently used basic service set in the used communication network.
For example, the Wi-Fi network currently being used by the electronic device includes multiple BSSs (Basic Service Set), and optionally, when the network status of a currently used BSS in the Wi-Fi network currently used by the electronic device satisfies the above network status condition, determining the network Service provided by the other BSSs in the current Wi-Fi network as the communication network to which the electronic device can currently connect, so as to be used for determining the candidate communication network.
In implementation, the electronic device may obtain a Wi-Fi scanning list through Wi-Fi scanning, and obtain SSIDs of the scanned APs and BSSIDs (Basic Service Set identifiers) corresponding to the SSIDs from the Wi-Fi scanning list. If the SSID in the Wi-Fi scan list is previously connected but not currently connected, the Wi-Fi network corresponding to the SSID can be used as a communication network to which the electronic device can currently connect, and if the SSID is the SSID of the currently connected Wi-Fi network and corresponds to multiple BSSIDs, the network service provided by the BSSs that are not currently used under the SSID can be further used as the communication network to which the electronic device can currently connect.
Step 302, evaluating data transmission performance of at least part of networks in a communication network which can be currently connected with the electronic device to obtain a data transmission performance evaluation result of the at least part of networks.
The data transmission performance of the communication network may be evaluated from any one or more dimensions of, but not limited to, throughput rate of the communication network, security/reliability attributes of the network (e.g., whether the APP recommends a temporary network or a user-saved network, whether the network is a secure network or an open network, etc.), whether traffic is restricted, etc.
Taking data transmission performance evaluation of the Wi-Fi network as an example, specifically, SSID, BSSID, current RSSI, used Wi-Fi standard (e.g., 802.11ax/802.11ac …), frequency (e.g., 2.4/5Ghz), bandwidth (e.g., 20/40/80/160Mhz), and other information of each AP may be read from a Wi-Fi scan list, and for each SSID/BSSID, a corresponding RSSI score is calculated according to its current RSSI value, a throughput rate of Wi-Fi is calculated according to its adopted Wi-Fi standard, frequency, and bandwidth, a throughput rate score is further calculated according to the throughput rate, and meanwhile, according to whether the network is a temporary network recommended by APP or a user-saving network, whether the network is an open network, whether the network limits traffic, and other information, scores of corresponding dimensions are given, and finally scores of various dimensions are synthesized, and obtaining the data transmission performance score of the Wi-Fi provided by each SSID/BSSID, and realizing the data transmission performance evaluation of the Wi-Fi network provided by each SSID/BSSID.
Step 303, determining a candidate communication network according to the data transmission performance evaluation result of the at least part of networks.
And on the basis of evaluating the data transmission performance of at least part of the networks, screening out each communication network with the data transmission performance higher than that of the communication network currently used by the electronic equipment from the at least part of the networks as a candidate communication network.
And step 104, determining a target communication network from the candidate communication networks.
And then, further selecting a target communication network for replacing the currently used communication network of the electronic equipment from the candidate communication networks based on a preset selection strategy. The communication network currently used by the electronic device and the target communication network may be the same type of communication network or different types of communication networks, which is not limited herein.
Under the condition that the target communication network and the electronic equipment are the same type of communication network, the target communication network and the communication network currently used by the electronic equipment correspond to different service set identifications respectively, or correspond to the same service set identification respectively but correspond to different basic service sets respectively.
The preset selection policy may be, but is not limited to, set to any one of the following:
31) selecting a communication network with highest data transmission performance from the candidate communication networks;
32) selecting any communication network from the communication networks with data transmission performance top _ k in the candidate communication networks;
33) and selecting a communication network of the same type (for example, Wi-Fi network) as the currently used communication network of the electronic device from the communication networks of the candidate communication networks with the data transmission performance top _ k.
For example, when the communication network currently used by the electronic device is a Wi-Fi network, in this manner 33, a corresponding Wi-Fi network is selected from the candidate communication networks as a target communication network, and the SSID of the selected Wi-Fi network used as the target communication network may be different from the SSID of the currently used Wi-Fi network, or may be the same as the SSID of the currently used Wi-Fi network but different from the adopted BSS, which is not limited thereto.
In this embodiment, the aforementioned embodiment 33) is preferable, and the target communication network is determined.
Wherein k is an integer greater than 1 and is less than the total number of candidate communication networks.
And 105, switching the communication network currently used by the electronic equipment to a target communication network.
And further switching the communication network currently used by the electronic equipment to the target communication network on the basis of determining the target communication network. For example, the electronic equipment is switched from the currently used Wi-Fi network to the Wi-Fi network determined from the candidate communication network or the mobile communication network such as 4G/5G, and it is easy to understand that the data transmission performance of the target communication network is higher than that of the currently used communication network, and the high transmission performance of the communication network of the electronic equipment is ensured through the communication network switching operation of the electronic equipment.
Taking the example that the target communication network and the current communication network used by the electronic device are both Wi-Fi networks, if the target Wi-Fi network and the current Wi-Fi network used by the electronic device correspond to different SSIDs, the electronic device is disconnected from the current Wi-Fi network, and the target Wi-Fi network is accessed based on the connection information (such as the SSID and the password of the AP of the target Wi-Fi network) of the target Wi-Fi network, so as to implement Wi-Fi network switching. And if the target Wi-Fi network corresponds to the same SSID and different BSSs as the Wi-Fi network currently used by the electronic equipment, directly switching the Wi-Fi firmware of the electronic equipment to the target BSS indicated by the target Wi-Fi network under the condition of maintaining the current Wi-Fi connection.
According to the scheme, the method can detect the network problem that the network quality of the electronic equipment is good but the actual data transmission performance is poor in time, and automatically and efficiently switches the electronic equipment to the target communication network with higher data transmission performance to improve the network switching efficiency of the electronic equipment, ensure that the problem is timely and efficiently solved in the first time when the network problem occurs, ensure the high transmission performance of the communication network of the electronic equipment and avoid the influence on the normal network use of a user.
In addition, it should be noted that, currently, some chipset vendors may set an algorithm in their Wi-Fi FW (Firmware) to detect the signal quality of the used Wi-Fi network, and switch to the Wi-Fi network with higher signal quality when the signal quality is low, however, the determination and processing method based on the signal quality cannot obtain the actual data transmission state of the device, and cannot solve the problem that the Wi-Fi signal on the terminal is well displayed, but the terminal is actually on the internet very slowly or cannot access the internet at all, for example, in the environment such as a market/office, the number of devices simultaneously accessing to an AP is huge, and each device seizes due to network resources, although the signal quality of the Wi-Fi network is good, the data transmission is actually blocked.
According to the method and the device, the network state of the communication network currently used by the electronic equipment is detected and judged based on the network state condition, and the communication network switching processing is carried out on the electronic equipment under the condition that the signal quality of the network meets the quality condition but the data transmission state does not meet the performance condition, so that the loophole of the processing mode is effectively solved, and the high transmission performance of the communication network of the electronic equipment can be ensured.
In an embodiment, referring to the flowchart of the control method provided in fig. 4, the control method disclosed in the present application may further include the following processes:
and 106, recording the identifier of the currently used communication network at least based on the condition that the currently used communication network of the electronic equipment meets the network state condition, and setting the timing duration to represent that the data transmission of the currently used communication network is blocked in the set timing duration.
Specifically, at the time when it is determined that the communication network currently used by the electronic device satisfies the network state condition, or at the time when the communication network currently used by the electronic device is switched to the target communication network, an identifier of the currently used communication network is recorded (fig. 4 only shows the latter case), for example, an SSID (or an SSID and a BSSID) of a Wi-Fi network currently used by the electronic device is written into a pre-constructed block list, and the electronic device is prohibited from being switched to the Wi-Fi network recorded in the use block list during a time period when a time period of the time period does not reach a set time period value (for example, 10 minutes).
And when the timing duration reaches a set duration value, removing the SSID (or SSID and BSSID) of the Wi-Fi recorded in the block list from the block list, and correspondingly enabling the electronic equipment to switch to use the Wi-Fi network based on requirements.
In the environments of shopping malls, offices and the like, the number of devices simultaneously accessing an AP is dynamically changed, and in this embodiment, by adding the identifier of the communication network satisfying the above network state condition to the blocking list and reasonably setting the timing duration for prohibiting use, it is possible to prevent the ping-pong effect caused by the electronic device switching back to the communication network again in a short time, and also to avoid the change caused by the number of devices accessing an AP over time, so that the communication network adding the blocking list actually has a higher data transmission performance and has a certain stability but is still forbidden.
Corresponding to the above control method, an embodiment of the present application further provides a control device, where a composition structure of the control device is shown in fig. 5, and the control device specifically includes:
an obtaining module 501, configured to obtain a network state of a communication network currently used by an electronic device;
a first determining module 502, configured to determine a candidate communication network if the network state of the currently used communication network meets a network state condition; wherein the network state condition is used for representing that the signal quality meets the quality condition but the data transmission state does not meet the performance condition;
a second determining module 503, configured to determine a target communication network from the candidate communication networks; the data transmission performance of the target communication network is higher than that of the currently used communication network;
a switching module 504, configured to switch a communication network currently used by the electronic device to the target communication network.
In one embodiment, the communication network currently used by the electronic device and the target communication network are the same type of communication network;
the target communication network and the communication network currently used by the electronic device correspond to different service set identifiers respectively, or correspond to the same service set identifier respectively but correspond to different basic service sets respectively.
In an embodiment, the network status of the communication network includes a signal quality and a data transmission status of the network, and the obtaining module 501 is specifically configured to: acquiring received signal strength indication information and data transmission parameters of the currently used communication network; determining the signal quality of the currently used communication network according to the received signal strength indication information; and determining the data transmission state of the currently used communication network according to the data transmission parameters.
In an embodiment, the obtaining module 501, when obtaining the received signal strength indication information and the data transmission parameter of the currently used communication network, is specifically configured to:
acquiring received signal strength indication information returned by the electronic equipment at a wireless access point of the currently used communication network;
and acquiring data transmission parameters and/or data receiving parameters of the currently used communication network from a communication module driver or firmware of the electronic equipment corresponding to the currently used communication network.
In an embodiment, when determining the data transmission state of the currently used communication network according to the data transmission parameter, the obtaining module 501 is specifically configured to:
and determining whether the data transmission of the currently used communication network is blocked or not and the blocking rate under the condition of the blocking according to the data sending parameters and/or the data receiving parameters.
In an embodiment, the first determining module 502, when determining the candidate communication network, is specifically configured to:
determining a communication network which can be currently connected with the electronic equipment;
evaluating the data transmission performance of at least part of networks in the communication network which can be connected currently to obtain the data transmission performance evaluation result of the at least part of networks;
and determining candidate communication networks according to the data transmission performance evaluation result of at least part of the networks.
In one embodiment, the apparatus further comprises:
and the processing module is used for recording the identifier of the currently used communication network at least based on the condition that the currently used communication network meets the network state condition, and setting timing duration to represent that the data transmission of the currently used communication network is blocked in the timing duration.
In addition, embodiments of the present application also disclose an electronic device, which may be, but is not limited to, a device having numerous general purpose or special purpose computing device environments or configurations with communication capabilities. As shown in fig. 6, the structure of the electronic device at least includes:
a memory 10 for storing a set of computer instructions;
the set of computer instructions may be embodied in the form of a computer program.
Processor 20 for implementing the control method as disclosed in any of the above method embodiments by executing a set of computer instructions.
The processor 20 may be a Central Processing Unit (CPU), an application-specific integrated circuit (ASIC), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device.
Optionally, the electronic device further includes a camera assembly and/or is connected with an external camera assembly.
Besides, the electronic device may further include a communication interface, a communication bus, and the like. The memory, the processor and the communication interface communicate with each other via a communication bus.
The communication interface is used for communication between the electronic device and other devices. The communication bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like, and may be divided into an address bus, a data bus, a control bus, and the like.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
For convenience of description, the above system or apparatus is described as being divided into various modules or units by function, respectively. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application or portions thereof that contribute to the prior art may be embodied in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, or the like, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute the method according to the embodiments or some portions of the embodiments of the present application.
Finally, it is further noted that, herein, relational terms such as first, second, third, fourth, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A control method, comprising:
acquiring a network state of a communication network currently used by the electronic equipment;
if the network state of the currently used communication network meets the network state condition, determining a candidate communication network; wherein the network state condition is used for representing that the signal quality of the network meets the quality condition but the data transmission state does not meet the performance condition;
determining a target communication network from the candidate communication networks; the data transmission performance of the target communication network is higher than that of the currently used communication network;
and switching the communication network currently used by the electronic equipment to the target communication network.
2. The method of claim 1, wherein the communication network currently used by the electronic device and the target communication network are the same type of communication network;
the target communication network and the communication network currently used by the electronic device correspond to different service set identifiers respectively, or correspond to the same service set identifier respectively but correspond to different basic service sets respectively.
3. The method of claim 1, the network state of the communication network comprising a signal quality and a data transmission state of the network, the determining the network state of the currently used communication network comprising:
acquiring received signal strength indication information and data transmission parameters of the currently used communication network;
determining the signal quality of the currently used communication network according to the received signal strength indication information;
and determining the data transmission state of the currently used communication network according to the data transmission parameters.
4. The method of claim 3, the obtaining received signal strength indication information and data transmission parameters of the currently used communication network comprising:
acquiring received signal strength indication information returned by the electronic equipment at a wireless access point of the currently used communication network;
and acquiring data transmission parameters and/or data receiving parameters of the currently used communication network from a communication module driver or firmware of the electronic equipment corresponding to the currently used communication network.
5. The method of claim 4, the determining a data transmission status of the currently used communication network from the data transmission parameters, comprising:
and determining whether the data transmission of the currently used communication network is blocked or not and the blocking rate under the condition of the blocking according to the data sending parameters and/or the data receiving parameters.
6. The method of claim 1 or 2, the determining a candidate communication network, comprising:
determining a communication network which the electronic equipment can be connected currently;
evaluating the data transmission performance of at least part of networks in the communication network which can be connected currently to obtain the data transmission performance evaluation result of the at least part of networks;
and determining candidate communication networks according to the data transmission performance evaluation result of at least part of the networks.
7. The method of claim 1 or 5, further comprising:
recording the identifier of the currently used communication network at least based on the condition that the currently used communication network meets the network state condition, and setting a timing duration to represent that the data transmission of the currently used communication network is blocked in the timing duration.
8. A control device, comprising:
the acquisition module is used for acquiring the network state of a communication network currently used by the electronic equipment;
a first determining module, configured to determine a candidate communication network if a network state of the currently used communication network satisfies a network state condition; the network state condition is used for representing that the signal quality meets the quality condition but the data transmission state does not meet the performance condition;
a second determining module for determining a target communication network from the candidate communication networks; the data transmission performance of the target communication network is higher than that of the currently used communication network;
and the switching module is used for switching the communication network currently used by the electronic equipment to the target communication network.
9. The apparatus according to claim 8, wherein the network status of the communication network includes a signal quality and a data transmission status of the network, and the obtaining module is specifically configured to:
acquiring received signal strength indication information and data transmission parameters of the currently used communication network;
determining the signal quality of the currently used communication network according to the received signal strength indication information;
and determining the data transmission state of the currently used communication network according to the data transmission parameters.
10. An electronic device, comprising:
a communication component;
a memory for storing at least one set of instructions;
a processor for invoking and executing said set of instructions in said memory, said control method of any one of claims 1-7 being implemented by executing said set of instructions.
CN202210246505.0A 2022-03-14 2022-03-14 Control method and device and electronic equipment Pending CN114585036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210246505.0A CN114585036A (en) 2022-03-14 2022-03-14 Control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210246505.0A CN114585036A (en) 2022-03-14 2022-03-14 Control method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114585036A true CN114585036A (en) 2022-06-03

Family

ID=81780917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210246505.0A Pending CN114585036A (en) 2022-03-14 2022-03-14 Control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114585036A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174437A (en) * 2022-06-27 2022-10-11 广州鲁邦通物联网科技股份有限公司 Network connection stability detection method and system
CN117729209A (en) * 2024-02-08 2024-03-19 广州基医云计算有限公司 Cloud computing-based health management data intelligent management system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050018613A1 (en) * 2003-05-30 2005-01-27 Kyocera Corporation Communication system switching method, and terminal device using this method
CN102823299A (en) * 2010-04-07 2012-12-12 上海贝尔股份有限公司 Base station, mobile euipment and method in wireless heterogeneous network
CN103582062A (en) * 2012-07-18 2014-02-12 三星电子株式会社 Network connection control apparatus and method of mobile terminal
CN105813123A (en) * 2016-03-25 2016-07-27 广东顺德中山大学卡内基梅隆大学国际联合研究院 Heterogeneous network access selecting method for pre-screening network based on predictive call blocking rate
CN106131930A (en) * 2016-08-15 2016-11-16 广东欧珀移动通信有限公司 A kind of WiFi network connection control method, device and terminal
KR101745580B1 (en) * 2015-12-24 2017-06-20 창신대학교 산학협력단 Method for selecting access network among different types of network
CN108337707A (en) * 2018-04-17 2018-07-27 Oppo广东移动通信有限公司 A kind of switching method of wireless network, mobile terminal and storage medium
US20180279108A1 (en) * 2017-03-25 2018-09-27 Ruckus Wireless, Inc. Technique for Establishing a Mesh Network
CN111065140A (en) * 2019-12-31 2020-04-24 深圳市乐途宝网络科技有限公司 Automatic switching method for equipment GSM signal, terminal equipment and readable storage medium
US20200252838A1 (en) * 2017-12-30 2020-08-06 Intel Corporation Handover-related technology, apparatuses, and methods

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050018613A1 (en) * 2003-05-30 2005-01-27 Kyocera Corporation Communication system switching method, and terminal device using this method
CN102823299A (en) * 2010-04-07 2012-12-12 上海贝尔股份有限公司 Base station, mobile euipment and method in wireless heterogeneous network
CN103582062A (en) * 2012-07-18 2014-02-12 三星电子株式会社 Network connection control apparatus and method of mobile terminal
KR101745580B1 (en) * 2015-12-24 2017-06-20 창신대학교 산학협력단 Method for selecting access network among different types of network
CN105813123A (en) * 2016-03-25 2016-07-27 广东顺德中山大学卡内基梅隆大学国际联合研究院 Heterogeneous network access selecting method for pre-screening network based on predictive call blocking rate
CN106131930A (en) * 2016-08-15 2016-11-16 广东欧珀移动通信有限公司 A kind of WiFi network connection control method, device and terminal
US20180279108A1 (en) * 2017-03-25 2018-09-27 Ruckus Wireless, Inc. Technique for Establishing a Mesh Network
US20200252838A1 (en) * 2017-12-30 2020-08-06 Intel Corporation Handover-related technology, apparatuses, and methods
CN108337707A (en) * 2018-04-17 2018-07-27 Oppo广东移动通信有限公司 A kind of switching method of wireless network, mobile terminal and storage medium
CN111065140A (en) * 2019-12-31 2020-04-24 深圳市乐途宝网络科技有限公司 Automatic switching method for equipment GSM signal, terminal equipment and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174437A (en) * 2022-06-27 2022-10-11 广州鲁邦通物联网科技股份有限公司 Network connection stability detection method and system
CN117729209A (en) * 2024-02-08 2024-03-19 广州基医云计算有限公司 Cloud computing-based health management data intelligent management system

Similar Documents

Publication Publication Date Title
US10341877B2 (en) System, apparatus and method for managing client devices within a wireless network
CN110831112B (en) Network connection method, intelligent household equipment, intelligent gateway and electronic equipment
US8000308B2 (en) Containment of rogue systems in wireless network environments
KR101069328B1 (en) Improved vertical roaming in wireless networks through improved quality of service measures
KR101069346B1 (en) Improved vertical roaming in wireless networks through improved wireless network cell boundary detection
US8612567B2 (en) Apparatus for providing policy and terminal device for changing network in heterogeneous networks
US9565610B2 (en) Pico cell wireless local area network (WLAN)
CN110383870A (en) A kind of processing method and terminal of radio frequency resource
CN114585036A (en) Control method and device and electronic equipment
US20200359288A1 (en) Cell reselection method and device, and computer storage medium
US10848979B2 (en) System, apparatus and method for managing client devices within a wireless network
KR20130099532A (en) Terminal and method for determining priority of connection wiht wifi access point
US9491658B2 (en) Systems and methods for determining congestion in wireless networks
CN107466078A (en) A kind of method and terminal of automatic switchover WiFi network
CN107484212A (en) Router side WiFi switching methods and router
US20200383045A1 (en) Access point selection from a set of candidates during connection with a station
US20050169294A1 (en) Dynamic network load balancing method and system
CN111278071B (en) Personal hotspot opening method and system
CN111970750A (en) Multi-frequency WiFi identification method and device
CN113055962B (en) Multi-network switching method and system of intelligent terminal and computer readable storage medium
WO2022068527A1 (en) Multi-mode terminal communication method and communication apparatus
CN113453306B (en) Wireless network access method and related equipment
Kaljahi Performance evaluation of wi-fi networks
CN109618394B (en) Wireless network access method, device, terminal equipment and storage medium
CN116456428A (en) Wireless scanning method, wireless scanning device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination