CN114585054B - WIFI connection control method, device and storage medium - Google Patents
WIFI connection control method, device and storage medium Download PDFInfo
- Publication number
- CN114585054B CN114585054B CN202210167877.4A CN202210167877A CN114585054B CN 114585054 B CN114585054 B CN 114585054B CN 202210167877 A CN202210167877 A CN 202210167877A CN 114585054 B CN114585054 B CN 114585054B
- Authority
- CN
- China
- Prior art keywords
- wifi
- connection
- connection request
- hardware layer
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000004044 response Effects 0.000 claims abstract description 51
- 230000002159 abnormal effect Effects 0.000 claims description 74
- 238000012545 processing Methods 0.000 description 25
- 238000004891 communication Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000001186 cumulative effect Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000008054 signal transmission Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The disclosure relates to a WIFI connection control method, a device and a storage medium. The method is applied to a first device, the first device comprising: the WIFI system comprises a WIFI hardware layer, a WIFI driving layer and a WIFI architecture layer; the method comprises the following steps: after receiving a WIFI connection request sent by a second device, a WIFI hardware layer determines whether the first device meets a connection rejection condition for rejecting the WIFI connection request; and if the first equipment meets the connection rejection condition, the WIFI hardware layer sends a connection rejection response to the second equipment.
Description
Technical Field
The disclosure relates to the technical field of terminals, and in particular relates to a WIFI connection control method, a device and a storage medium.
Background
With the continuous development of the current intelligent terminal technology and information technology, wireless-Fidelity (WIFI) hotspot technology is widely used; more and more terminal devices have a WIFI hotspot function. After the terminal equipment starts the WIFI hotspot function, the received network signals (such as GPRS signals, 3G, 4G or 5G signals) are converted into WIFI signals and transmitted out, so that other terminal equipment in the surrounding environment can access the WIFI hotspot.
In the related art, the method for processing the received WIFI connection request by the terminal device may cause significant increase in power consumption of the terminal device (especially, the terminal device in the off-screen state), and shorten the duration of the terminal device.
Disclosure of Invention
The disclosure provides a WIFI connection control method, a device and a storage medium.
According to a first aspect of embodiments of the present disclosure, there is provided a connection control method of a WIFI hotspot, applied to a first device, where the first device includes: the WIFI system comprises a WIFI hardware layer, a WIFI driving layer and a WIFI architecture layer; comprising the following steps:
after receiving a WIFI connection request sent by a second device, a WIFI hardware layer determines whether the first device meets a connection rejection condition for rejecting the WIFI connection request;
and if the first equipment meets the connection rejection condition, the WIFI hardware layer sends a connection rejection response to the second equipment.
Optionally, the rejecting connection condition includes:
the number of the devices connected with the first device at present reaches the maximum number of the connections allowed by the first device;
and/or the number of the groups of groups,
and the connection parameters carried by the WIFI connection request indicate that the second device is the device of which the first device refuses to connect.
Optionally, the WIFI hardware layer determines whether the first device meets a connection rejection condition for rejecting the WIFI connection request, including:
based on the acquired connection state information of the first device, the WIFI hardware layer determines whether the first device meets the connection rejection condition; the connection state information is at least used for indicating whether the number of devices currently connected with the first device reaches the maximum number of connections allowed by the first device.
Optionally, the WIFI hardware layer stores: abnormal equipment information;
the WIFI hardware layer determining whether the first device meets a connection rejection condition for rejecting the WIFI connection request, including:
the WIFI hardware layer acquires equipment address information and signal strength information carried by the WIFI connection request;
matching the equipment address information with the address information in the abnormal equipment information to obtain a first result;
comparing the signal intensity information with a preset intensity threshold value to obtain a second result;
and according to the first result and the second result, the WIFI hardware layer determines whether the second device indicated by the WIFI connection request is an abnormal device of which the first device refuses to connect.
Optionally, the method further comprises:
if the first device does not meet the connection rejection condition, the WIFI hardware layer sends the WIFI connection request to the WIFI driving layer;
the WIFI driving layer authenticates the second equipment indicated by the WIFI connection request, and establishes WIFI connection with the second equipment after successful authentication;
if the WIFI connection fails to be established, and the signal strength information carried by the WIFI connection request indicates that the signal strength of the WIFI connection request is smaller than or equal to the strength threshold, the WIFI driving layer updates accumulated failure information corresponding to the second device; the accumulated failure information corresponding to the second device is at least used for indicating the possibility degree that the second device is the abnormal device of the first device.
Optionally, the method further comprises:
if the updated accumulated failure information indicates that the accumulated connection failure times of the second device are greater than or equal to an accumulated failure threshold, the WIFI driving layer sends device address information of the second device to the WIFI hardware layer;
and based on the equipment address information of the second equipment, the WIFI hardware layer updates the stored abnormal equipment information.
Optionally, the WIFI hardware layer stores: blacklist device information;
the WIFI hardware layer determining whether the first device meets a connection rejection condition for rejecting the WIFI connection request, including:
the WIFI hardware layer acquires the equipment address information carried by the WIFI connection request;
matching the address information of the equipment with the address information in the blacklist equipment information to obtain a third result;
and according to the third result, the WIFI hardware layer determines whether the second device indicated by the WIFI connection request is a blacklist device of which the first device refuses to connect.
Optionally, the method further comprises:
responding to the updating operation of the user on the blacklist equipment information, and acquiring the equipment address information of the second equipment indicated by the updating operation by the WIFI framework layer;
the WIFI architecture layer sends the device address information of the second device indicated by the updating operation to the WIFI hardware layer through the WIFI driving layer;
and based on the device address information of the second device indicated by the updating operation, the WIFI hardware layer updates the blacklist device information.
According to a second aspect of the embodiments of the present disclosure, there is provided a WIFI connection control device, including: the WIFI system comprises a WIFI hardware layer, a WIFI driving layer and a WIFI architecture layer;
The WIFI hardware layer is used for determining whether the first device meets a connection refusing condition for refusing the WIFI connection request after receiving the WIFI connection request sent by the second device; and if the first equipment meets the connection rejection condition, the WIFI hardware layer sends a connection rejection response to the second equipment.
Optionally, the rejecting connection condition includes:
the number of the devices connected with the first device at present reaches the maximum number of the connections allowed by the first device;
and/or the number of the groups of groups,
and the connection parameters carried by the WIFI connection request indicate that the second device is the device of which the first device refuses to connect.
Optionally, the WIFI hardware layer is configured to:
based on the acquired connection state information of the first device, the WIFI hardware layer determines whether the first device meets the connection rejection condition; the connection state information is at least used for indicating whether the number of devices currently connected with the first device reaches the maximum number of connections allowed by the first device.
Optionally, the WIFI hardware layer stores: abnormal equipment information;
the WIFI hardware layer is used for:
the WIFI hardware layer acquires equipment address information and signal strength information carried by the WIFI connection request;
Matching the equipment address information with the address information in the abnormal equipment information to obtain a first result;
comparing the signal intensity information with a preset intensity threshold value to obtain a second result;
and according to the first result and the second result, the WIFI hardware layer determines whether the second device indicated by the WIFI connection request is an abnormal device of which the first device refuses to connect.
Optionally, the WIFI hardware layer is configured to:
if the first device does not meet the connection rejection condition, the WIFI hardware layer sends the WIFI connection request to the WIFI driving layer;
the WIFI driving layer is used for:
the WIFI driving layer authenticates the second equipment indicated by the WIFI connection request, and establishes WIFI connection with the second equipment after successful authentication;
if the WIFI connection fails to be established, and the signal strength information carried by the WIFI connection request indicates that the signal strength of the WIFI connection request is smaller than or equal to the strength threshold, the WIFI driving layer updates accumulated failure information corresponding to the second device; the accumulated failure information corresponding to the second device is at least used for indicating the possibility degree that the second device is the abnormal device of the first device.
Optionally, the WIFI driving layer is configured to:
if the updated accumulated failure information indicates that the accumulated connection failure times of the second device are greater than or equal to an accumulated failure threshold, the WIFI driving layer sends device address information of the second device to the WIFI hardware layer;
the WIFI driving layer is used for:
and based on the equipment address information of the second equipment, the WIFI hardware layer updates the stored abnormal equipment information.
Optionally, the WIFI hardware layer stores: blacklist device information;
the WIFI hardware layer is used for:
the WIFI hardware layer acquires the equipment address information carried by the WIFI connection request;
matching the address information of the equipment with the address information in the blacklist equipment information to obtain a third result;
and according to the third result, the WIFI hardware layer determines whether the second device indicated by the WIFI connection request is a blacklist device of which the first device refuses to connect.
Optionally, the WIFI architecture layer is configured to:
responding to the updating operation of the user on the blacklist equipment information, and acquiring the equipment address information of the second equipment indicated by the updating operation by the WIFI framework layer;
The WIFI architecture layer sends the device address information of the second device indicated by the updating operation to the WIFI hardware layer through the WIFI driving layer;
the WIFi hardware layer is used for:
and based on the device address information of the second device indicated by the updating operation, the WIFI hardware layer updates the blacklist device information.
According to a third aspect of the embodiments of the present disclosure, there is provided a WIFI connection control apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: the executable instructions, when executed, implement the steps in the method according to the first aspect of the embodiments of the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium, which when executed by a processor of a WIFI connection control device, causes the WIFI connection control device to perform the steps in the method according to the first aspect of embodiments of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
after the first device receives a WIFI connection request sent by any second device, the WIFI hardware layer of the first device determines whether the first device meets a connection rejection condition for rejecting the WIFI connection request or not, and when the first device meets the connection rejection condition, the WIFI hardware layer directly sends a connection rejection response; therefore, when the first equipment is in the screen-off state, the WIFI hardware layer does not need to forward the WIFI connection request to the WIFI driving layer for processing for the WIFI connection request which is received by the first equipment and meets the connection rejection condition, and the main control chip of the first equipment is not required to be awakened, so that the power consumption of the first equipment in the screen-off state is reduced, the endurance time of the first equipment is prolonged, and the use experience of a user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart illustrating a WIFI connection control method according to an exemplary embodiment.
Fig. 2 is a schematic diagram illustrating a structure of a first apparatus according to an exemplary embodiment.
Fig. 3 is a schematic diagram one of a WIFI connection scenario, according to an example embodiment.
Fig. 4 is a schematic diagram two of a WIFI connection scenario, according to an example embodiment.
Fig. 5 is a flowchart two of a WIFI connection control method according to an exemplary embodiment.
Fig. 6 is a flowchart three of a WIFI connection control method according to an exemplary embodiment.
Fig. 7 is a flowchart four of a WIFI connection control method according to an exemplary embodiment.
Fig. 8 is a flowchart five illustrating a WIFI connection control method according to an exemplary embodiment.
Fig. 9 is a flowchart six of a WIFI connection control method according to an exemplary embodiment.
Fig. 10 is a flowchart of a WIFI connection control method according to an exemplary embodiment.
Fig. 11 is a block diagram illustrating a WIFI connection control apparatus according to an example embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
The embodiment of the disclosure provides a WIFI connection control method. Fig. 1 is a schematic flow diagram of a WIFI connection control method according to an exemplary embodiment, as shown in fig. 1, where the method includes:
step S101, after receiving a WIFI connection request sent by a second device, a WIFI hardware layer determines whether the first device meets a connection rejection condition for rejecting the WIFI connection request;
step S102, if the first device meets the connection rejection condition, the WIFI hardware layer sends a connection rejection response to the second device.
The connection control method of the WIFI shown in the embodiment of the disclosure can be applied to the first device; the first device includes: WIFI hardware layer, WIFI drive layer and WIFI framework layer.
It should be noted that, the WIFI hardware layer is located in the WIFI chip module of the first device; the WIFI driving layer and the WIFI framework layer are located on a main control chip module of the first device.
The WIFI hardware layer is responsible for transmitting the received WIFI connection request to the WIFI driving layer and sending a response message of the WIFI connection request of the WIFI driving layer to the second device indicated by the WIFI connection request.
The WIFI driving layer is responsible for processing the WIFI connection request and sending out a response message based on the WIFI connection request.
The WIFI architecture layer is responsible for associating all the connection devices of the first device, maintaining blacklist device information of the first device, and disconnecting the first device from the WIFI of the blacklist device.
Here, the first device may be a terminal device having a WIFI hotspot sharing function; the first device may be: smart phones, tablet computers, or wearable electronic devices, etc.
In step S101, after the first device starts the WIFI hotspot sharing function, after any second device in the surrounding environment of the first device detects a WIFI signal, a WIFI connection request may be sent to the first device; after the WIFI hardware layer in the first device receives the WIFI connection request, determining whether the first device meets a connection rejection condition for rejecting the WIFI connection request.
Here, the second device is a terminal device capable of being connected to a WIFI hotspot, and the second device may be: smart phones, tablet computers, or wearable electronic devices, etc.
It can be understood that the second device is internally provided with a wireless network card or a WIFI chip, and after the WIFI connection of the second device is set to be in an on state, that is, the second device is in a detection state for WIFI signals; the second device can detect a hotspot identifier of a WIFI signal in the surrounding environment by using the WIFI chip, and initiate a WIFI connection request for the WIFI hotspot so as to establish connection with the WIFI hotspot.
It should be noted that, as shown in fig. 2, fig. 2 is a schematic structural diagram of a first apparatus according to an exemplary embodiment. Wherein the first device comprises: WIFI chip module and main control chip module. The WIFI chip module includes: a WIFI hardware layer; the main control chip module comprises a WIFI driving layer and a WIFI architecture layer.
In the related art, after the WIFI hardware layer of the WIFI chip module in the first device receives the WIFI connection request sent by any second device, the WIFI connection request is directly sent to the WIFI driving layer of the main control chip module, and the WIFI driving layer processes the WIFI connection request.
After the second device sends the WIFI connection request to the first device, if the WIFI connection with the first device is not successfully established, the second device still continues to send the WIFI connection request to the first device.
Because the WIFI hardware layer only forwards the WIFI connection request, the WIFI hardware layer needs to continuously send the WIFI connection request to the WIFI driving layer in the main control chip for processing; even when the first equipment is in the off-screen state, namely the main control chip is in the dormant state, the WIFI hardware layer needs to wake up the main control chip frequently, so that the power consumption of the first equipment in the off-screen state is obviously increased, and the duration of the first equipment is shortened.
Based on this, in the embodiment of the disclosure, after the WIFI hardware layer in the first device receives the WIFI connection request sent by any second device, the WIFI hardware layer first determines the second device that sends the WIFI connection request.
The WIFI hardware layer can determine whether the first device meets the connection rejection condition for rejecting the WIFI connection request according to parameters carried by the WIFI connection request, and further determine whether the WIFI connection request of the second device needs to be sent to the WIFI driving layer for processing.
The connection rejection condition may be user-defined, for example, the connection rejection condition may be: the second device is the device with the continuous rejection times of the first device being more than or equal to 3 times, and the like. The connection rejection condition may be set according to actual requirements, and the connection rejection conditions of different first devices may be different, which is not limited in the embodiment of the present disclosure.
In step S102, if the WIFI hardware layer determines that the first device meets the connection rejection condition, that is, the second device is a device that the first device rejects connection, the WIFI hardware layer may directly send a connection rejection response to the second device, and reject WIFI access of the second device.
It can be understood that, the WIFI hardware layer determines, according to parameters carried by the WIFI connection request, that the second device indicated by the WIFI connection request meets the connection rejection condition of the first device, and the WIFI hardware layer directly sends a connection rejection response for the WIFI connection request to the second device, without sending the WIFI connection request to the WIFI driving layer for processing.
So, when first equipment is in the state of turning off the screen, to the WIFI connection request that first equipment received satisfying refusal connection condition, the WIFI hardware layer need not forward the WIFI connection request to the WIFI driver layer and handle, just also need not wake up the main control chip of first equipment, reduces the consumption when first equipment is in the state of turning off the screen, promotes the duration of first equipment, promotes user's use experience.
In other embodiments, if the WIFI hardware layer determines that the first device does not meet the connection rejection condition for rejecting the WIFI connection request, the WIFI hardware layer sends the WIFI connection request of the second device to the WIFI driving layer, and the WIFI driving layer authenticates the second device indicated by the WIFI connection request.
In the embodiment of the disclosure, the WIFI hardware layer determines, according to parameters carried by the WIFI connection request, that the second device indicated by the WIFI connection request does not meet the connection rejection condition of the first device, and the WIFI hardware layer needs to forward the WIFI connection request of the second device to the WIFI driving layer, so that the WIFI driving layer authenticates the WIFI connection request.
Here, the WIFI connection request carries password information; after receiving the WIFI connection request forwarded by the WIFI hardware layer, the WIFI driving layer verifies the password information in the WIFI connection request, and if the verification result indicates that the password information is the password corresponding to the WIFI hotspot of the first device, the second device is successfully authenticated; and if the verification result indicates that the password information is not the password corresponding to the WIFI hotspot of the first device, the second device fails to authenticate.
And the WIFI driving layer sends the authentication result to the WIFI hardware layer as a response message aiming at the WIFI connection request, and the WIFI hardware layer forwards the authentication result to the second device.
Optionally, the rejecting connection condition includes:
the number of the devices connected with the first device at present reaches the maximum number of the connections allowed by the first device;
And/or the number of the groups of groups,
and the connection parameters carried by the WIFI connection request indicate that the second device is the device of which the first device refuses to connect.
In the embodiment of the present disclosure, the maximum number of connections allowed by the first device may be a default setting of the first device, or may also be a user-defined setting of the user. For example, the maximum number of connections allowed by the first device is 3.
It should be noted that, as shown in fig. 3, fig. 3 is a schematic diagram of a WIFI connection scenario according to an exemplary embodiment. The mobile device 1 (i.e. the first device) starts a WIFI hotspot sharing function and transmits a WIFI signal to the surrounding environment; after the mobile device 2-5 (i.e. the second device) detects the hotspot identification of the WIFI signal, the mobile device 2-5 sends WIFI connection requests to the mobile device 1 respectively.
Since the maximum number of allowed connections of the mobile device 1 is 2, the mobile device 1 receives the WIFI connection request sent by the mobile device 2-5, establishes a WIFI connection with two mobile devices (e.g., the mobile device 2-3) therein, and rejects the WIFI connection request of the mobile device 4-5.
After receiving the connection rejection response of the WIFI connection request, the mobile device 4-5 may further continuously send the WIFI connection request to the mobile device 1. In the related art, after receiving the WIFI connection request, the WIFI hardware layer directly forwards the connection request to the WIFI driving layer for processing, so that the WIFI driving layer in the mobile device 1 still receives the WIFI connection request forwarded by the WIFI hardware layer frequently even if the number of devices connected to the mobile device 1 at present reaches the maximum number of connections allowed by the mobile device 1.
Based on this, the embodiment of the present disclosure sets the connection rejection condition of the first device as: the number of devices currently connected to the first device reaches the maximum number of connections allowed by the first device.
Therefore, after the WIFI hardware layer of the first device receives the WIFI connection request, after the fact that the number of devices connected to the first device at present reaches the maximum number of connections allowed by the first device is determined, a connection rejection response can be directly sent to the second device indicated by the WIFI connection request, and the WIFI connection request is not required to be sent to the WIFI driving layer.
In the embodiment of the present disclosure, the device for rejecting connection of the first device may be a terminal device for rejecting connection preset by the first device. Specifically, the refusal to connect device may be user-defined, e.g., a user-set blacklisted device list.
It should be noted that, in the related art, even after the WIFI hardware layer receives the WIFI connection request sent by the device that the first device refuses to connect, the WIFI hardware layer directly forwards the connection request to the WIFI driving layer to process, and the WIFI driving layer determines whether to refuse to connect. The connection rejection device in the surrounding environment of the first device may continuously send the WIFI connection request to the first device even if receiving the connection rejection response, so the WIFI driver layer may frequently receive the WIFI connection request of the connection rejection device forwarded by the WIFI hardware layer.
Based on this, the embodiment of the present disclosure sets the connection rejection condition of the first device to: and the connection parameters carried by the WIFI connection request indicate that the second device is the device of which the first device refuses to connect.
After a WIFI hardware layer of a first device receives a WIFI connection request, determining whether a second device indicated by the WIFI connection request is a device of which the first device refuses to connect according to connection parameters carried by the WIFI connection request; if the connection parameters carried by the WIFI connection request indicate that the second device is the device of the first device refusing connection, the WIFI hardware layer can directly send a refusing connection response to the second device without sending the WIFI connection request to the WIFI driving layer.
Here, the connection parameters may include: device identification information of the second device, signal strength information of the WIFI connection request, device address information of the second device and the like.
The device to which the first device refuses to connect may be a default setting of the first device;
for example, the device to which the first device refuses to connect may be a device in which the signal strength of the WIFI connection request is less than a preset strength threshold; after the WIFI hardware layer of the first device receives the WIFI connection request, determining whether the signal intensity of the WIFI connection request is smaller than a preset intensity threshold according to the signal intensity information in the WIFI connection request, and accordingly determining whether the second device indicated by the WIFI connection request is a device of which the first device refuses to be connected.
Or the device to which the first device refuses to connect may be a user-defined setting of the user;
for example, the device to which the first device refuses to connect may be a blacklisted device set by the user; after the WIFI hardware layer of the first device receives the WIFI connection request, whether the device identification information and/or the device address information of the WIFI connection request are matched with the device identification information and/or the device address information of the blacklist device or not is determined according to the device identification information and/or the device address information in the WIFI connection request, and whether the second device indicated by the WIFI connection request is a device of which the first device refuses to connect or not is determined.
Optionally, the WIFI hardware layer determines whether the first device meets a connection rejection condition for rejecting the WIFI connection request, including:
based on the acquired connection state information of the first device, the WIFI hardware layer determines whether the first device meets the connection rejection condition; the connection state information is at least used for indicating whether the number of devices currently connected with the first device reaches the maximum number of connections allowed by the first device.
In an embodiment of the present disclosure, the connection status information may include: a permission connection state and a restriction connection state.
It may be understood that if the connection status information of the first device is an allowable connection status, it indicates that the number of devices currently connected to the first device does not reach the maximum number of connections allowed by the first device. And if the connection state information of the first device is the limiting connection state, indicating that the number of the devices connected with the first device currently reaches the maximum number of the connections allowed by the first device.
After the WIFI hardware layer receives a WIFI connection request sent by any second device, connection state information of the first device can be obtained from the WIFI driving layer; based on the connection status information, it is determined whether the first device satisfies the connection rejection condition.
If the connection state information of the first device is a connection permission state, namely the first device does not meet the connection rejection condition, the WIFI hardware layer forwards the WIFI connection request to the WIFI driving layer for processing; if the connection state information of the first device is the connection state limiting, that is, the first device meets the connection refusing condition, the WIFI hardware layer directly sends a connection refusing response of the WIFI connection request to the second device, and the WIFI connection request does not need to be forwarded to the WIFI driving layer.
It can be understood that, each time the WIFI driving layer in the first device authenticates the WIFI connection request, the number of devices that the first device is currently connected to can be recorded; the connection state information is adjusted according to the number of the devices connected with the first device currently; and actively sending the connection state information to the WIFI hardware layer.
Or, the WIFI driving layer may actively send the changed connection state information to the WIFI hardware layer when the connection state information is changed; or after receiving the WIFI connection request, the WIFI hardware layer sends a message to the WIFI driving layer to obtain the current connection state information of the first device.
In the embodiment of the disclosure, after receiving a WIFI connection request, a WIFI hardware layer obtains connection status information of a first device, and determines whether the number of devices currently connected to the first device reaches a maximum number of connections allowed by the first device according to the connection status information, so as to determine whether the WIFI connection request needs to be forwarded to a WIFI driving layer; when the number of the devices connected with the first device reaches the maximum number of the connections allowed by the first device, the WIFI hardware layer directly replies a refusal connection response to the received WIFI connection request, and the WIFI connection request is not required to be sent to the WIFI driving layer.
Optionally, the WIFI hardware layer stores: abnormal equipment information;
the WIFI hardware layer determining whether the first device meets a connection rejection condition for rejecting the WIFI connection request, including:
the WIFI hardware layer acquires equipment address information and signal strength information carried by the WIFI connection request;
matching the equipment address information with the address information in the abnormal equipment information to obtain a first result;
comparing the signal intensity information with a preset intensity threshold value to obtain a second result;
and according to the first result and the second result, the WIFI hardware layer determines whether the second device indicated by the WIFI connection request is an abnormal device of which the first device refuses to connect.
In an embodiment of the present disclosure, the device for rejecting the connection by the first device may include: an abnormality device; the WIFI hardware layer may store abnormal device information. The abnormal device information includes: address information of at least one abnormal device. For example, the address information may be a mac address of the abnormal device.
It should be noted that, in the embodiment of the present disclosure, the abnormal device is a device that allows connection for the first device, but connects with an abnormality.
It can be understood that after the WIFI driving layer of the first device receives a WIFI connection request of a certain second device and replies a connection response, connection with the second device is not successfully established; the WIFI driving layer can determine the second device as an abnormal device and record address information of the abnormal device.
For example, as shown in fig. 4, fig. 4 is a schematic diagram two of a WIFI connection scenario according to an exemplary embodiment. The mobile device 1 (i.e. the first device) starts a WIFI hotspot sharing function and transmits a WIFI signal to the surrounding environment; after the mobile device 2 (i.e. the second device) detects the hotspot identifier of the WIFI signal, a WIFI connection request is sent to the mobile device 1. However, the mobile device 1 cannot normally receive the WIFI connection request sent by the mobile device 2 because the distance between the mobile device 2 and the mobile device 1 is long; or, the mobile device 1 receives the WIFI connection request and replies a connection response to the mobile device 1, but the mobile device 2 cannot normally receive the connection response, so that the mobile device 2 cannot be successfully connected; at this time, the mobile device 2 is an abnormal device of the mobile device 1.
In the related art, because the abnormal device can detect the WIFI signal transmitted by the first device, but cannot be successfully connected, the abnormal device continuously sends a WIFI connection request to the first device until the abnormal device is successfully connected to the WIFI hotspot of the first device; the WIFI driving layer of the first device is caused to continuously receive the WIFI connection request of the abnormal device forwarded by the WIFI hardware layer.
In the embodiment of the disclosure, after the WIFI hardware layer receives a WIFI connection request sent by any second device, device address information and signal strength information carried in the WIFI connection request are obtained; and determining whether the second device indicated by the WIFI connection request belongs to an abnormal device of which the first device refuses to connect or not based on the device address information and the signal intensity information.
It can be appreciated that, after determining the abnormal device, the WIFI driving layer may send device information of the abnormal device to the WIFI hardware layer, so that the WIFI hardware layer determines, based on the abnormal device information, whether the second device indicated by the WIFI connection request is the abnormal device.
And the embodiment of the present disclosure considers that the signal strength transmitted between the abnormal device and the first device may change (for example, the signal strength increases due to the decrease of the distance between the first device and the abnormal device), that is, the abnormal device can normally establish the connection with the first device; therefore, the WIFI hardware layer determines whether the second device indicated by the WIFI connection request belongs to the abnormal device that the first device refuses to connect, and then determines according to the device address information and the signal strength information of the second device.
If the first result indicates that the device address information carried by the WIFI connection request is matched with address information in the abnormal device information stored in advance in the WIFI hardware layer, and the second result indicates that the signal strength of the WIFI connection request is smaller than or equal to a preset strength threshold, the WIFI hardware layer determines that the second device indicated by the WIFI connection request is an abnormal device that the first device refuses to connect, and the WIFI hardware layer can directly send a refused connection response of the WIFI connection request to the second device.
If the first result indicates that the device address information carried by the WIFI connection request is not matched with the address information in the abnormal device information stored in advance in the WIFI hardware layer, and/or the second result indicates that the signal strength of the WIFI connection request is greater than a preset strength threshold, the WIFI hardware layer determines that the second device indicated by the WIFI connection request is not the abnormal device of which the first device refuses to connect, and sends the WIFI connection request to the WIFI driving layer for processing.
Here, the preset intensity threshold may be a default device of the first device, or may be a user-defined setting, for example, the intensity threshold is-75 dBm; the embodiments of the present disclosure are not limited in this regard.
According to the embodiment of the disclosure, a WIFI hardware layer determines whether a second device indicated by a WIFI connection request is an abnormal device of which the first device refuses to connect according to device address information and signal strength information in the WIFI connection request; and the interference of the WIFI connection request frequently sent by the abnormal equipment on the WIFI driving layer is reduced.
Optionally, the method further comprises:
if the first device does not meet the connection rejection condition, the WIFI hardware layer sends the WIFI connection request to the WIFI driving layer;
the WIFI driving layer authenticates the second equipment indicated by the WIFI connection request, and establishes WIFI connection with the second equipment after successful authentication;
if the WIFI connection fails to be established, and the signal strength information carried by the WIFI connection request indicates that the signal strength of the WIFI connection request is smaller than or equal to the strength threshold, the WIFI driving layer updates accumulated failure information corresponding to the second device; the accumulated failure information corresponding to the second device is at least used for indicating the possibility degree that the second device is the abnormal device of the first device.
In the embodiment of the disclosure, after determining that the first device does not meet a connection rejection condition, a WIFI hardware layer in the first device sends the WIFI connection request to the WIFI driving layer for processing; and the WIFI driving layer authenticates the second equipment indicated by the WIFI connection request, and sends a connection response of the WIFI connection request to the second equipment through the WIFI hardware layer after the authentication is successful so as to establish the WIFI connection with the second equipment.
If the WIFI driving layer does not successfully establish the WIFI connection with the second device within the preset time after the connection response is sent, and the signal strength of the WIFI connection request is smaller than or equal to the strength threshold value, the WIFI driving layer updates accumulated failure information corresponding to the second device.
Here, the cumulative failure information includes at least: and accumulating the connection failure times. And the WIFI driving layer does not successfully establish the WIFI connection with the second equipment within the preset time after the connection response is sent, the signal strength of the WIFI connection request is smaller than or equal to the strength threshold value, and the WIFI driving layer can add one to the accumulated connection failure times.
It can be understood that if the WIFI driving layer does not successfully establish the WIFI connection with the second device within the preset time after the connection response is sent, and the signal strength of the WIFI connection request is less than or equal to the preset strength threshold, this indicates that the signal transmission between the first device and the second device is unstable, and the second device may be an abnormal device of the first device.
It can be understood that the more the number of accumulated connection failures corresponding to the second device, the greater the degree of possibility that the second device is an abnormal device of the first device is explained; otherwise, the fewer the accumulated connection failure times corresponding to the second device, the less the possibility that the second device is an abnormal device of the first device is indicated.
Optionally, the method further comprises:
if the updated accumulated failure information indicates that the accumulated connection failure times of the second device are greater than or equal to an accumulated failure threshold, the WIFI driving layer sends device address information of the second device to the WIFI hardware layer;
and based on the equipment address information of the second equipment, the WIFI hardware layer updates the stored abnormal equipment information.
In the embodiment of the present disclosure, after the WIFI driving layer updates the accumulated failure information of the second device, if the updated accumulated failure information indicates that the accumulated connection failure frequency of the second device is greater than or equal to an accumulated failure threshold, the second device may be determined to be an abnormal device; and sending the device address information of the abnormal device to a WIFI hardware layer.
Here, the cumulative failure threshold may be a default setting of the first device, or may be user-defined. For example, the cumulative failure threshold may be 3 times.
After receiving the device address information of the abnormal device, the WIFI hardware layer can store the device address information of the abnormal device into the abnormal device information, so that whether the connection request is refused or not can be determined according to the signal strength of the WIFI connection request after receiving the WIFI connection request sent by the abnormal device later.
Optionally, the WIFI hardware layer stores: blacklist device information;
the WIFI hardware layer determining whether the first device meets a connection rejection condition for rejecting the WIFI connection request, including:
the WIFI hardware layer acquires the equipment address information carried by the WIFI connection request;
matching the address information of the equipment with the address information in the blacklist equipment information to obtain a third result;
and according to the third result, the WIFI hardware layer determines whether the second device indicated by the WIFI connection request is a blacklist device of which the first device refuses to connect.
In an embodiment of the present disclosure, the first device refusing to connect to a device may include: a blacklist device; the WIFI hardware layer may store blacklist device information. The blacklist device information includes: address information of at least one blacklisted device. For example, the address information may be a mac address of the blacklisted device.
It can be understood that the blacklist device may be a terminal device that is preset by the user and that denies WIFI access.
After receiving a WIFI connection request sent by a second device, the WIFI hardware layer may match device address information carried in the WIFI connection request with address information of pre-stored blacklist device information, and determine whether the second device indicated by the WIFI connection request is a blacklist device that the first device refuses to connect according to a matching result.
If the device address information carried in the WIFI connection request is matched with the address information of the prestored blacklist device information, that is, the second device is the blacklist device that the first device refuses to connect, the WIFI hardware layer may directly send a refusal connection response of the WIFI connection request to the second device.
If the device address information carried in the WIFI connection request is not matched with the address information of the prestored blacklist device information, that is, the second device is not the blacklist device of which the connection is refused by the second device, the WIFI hardware layer needs to forward the WIFI connection request to the WIFI driving layer for processing.
It should be noted that, in the related art, blacklist device information of the first device is stored in the WIFI architecture layer, and is maintained by the WIFI architecture layer; even if the WIFI hardware layer receives a WIFI connection request sent by the blacklist device, the WIFI connection request is forwarded to the WIFI driving layer for processing; and after the WIFI driving layer successfully authenticates the WIFI connection request, establishing the WIFI connection with the blacklist equipment.
And the WIFI architecture layer disconnects the WIFI connection between the first device and the blacklist device after determining the blacklist device from the connected device of the first device based on address information in the prestored blacklist device information. However, after the blacklist device disconnects the WIFI connection, a WIFI connection request may be continuously sent to the first device, and the WIFI architecture layer of the first device needs to be continuously disconnected from the WIFI connection of the blacklist device.
Based on this, the embodiment of the disclosure stores blacklist device information in the WIFI hardware layer, so that after receiving a WIFI connection request sent by any second device, the WIFI hardware layer determines whether the second device is a blacklist device of the first device, and when determining that the second device is the blacklist device, the WIFI hardware layer directly sends a connection rejection response to the second device, without participation of a WIFI driving layer and a WIFI architecture layer.
Optionally, the method further comprises:
responding to the updating operation of the user on the blacklist equipment information, and acquiring the equipment address information of the second equipment indicated by the updating operation by the WIFI framework layer;
the WIFI architecture layer sends the device address information of the second device indicated by the updating operation to the WIFI hardware layer through the WIFI driving layer;
and based on the device address information of the second device indicated by the updating operation, the WIFI hardware layer updates the blacklist device information.
In the embodiment of the disclosure, a user may update blacklist device information of a first device, and a WIFI architecture layer of the first device responds to an update operation of the blacklist device information by the user, and obtains device address information of a second device indicated by the update operation.
It should be noted that, the update operation at least includes: an operation to be performed and address information of an object to be performed. Here, the operation to be performed includes: an add operation and a delete operation.
The WIFI architecture layer can send the device address information of the second device to the WIFI driving layer, and the WIFI driving layer sends the device address information of the second device to the WIFI hardware layer; and after receiving the device address information of the second device, the WIFI hardware layer updates the pre-stored blacklist device information. And in the subsequent process, based on the updated blacklist device information, determining whether the second device indicated by the received WIFI connection request is the blacklist device to which the first device refuses to connect.
For example, a user may determine a device within the devices to which the first device has been connected as a blacklisted device; the WIFI architecture layer of the first device responds to the operation of a user and disconnects the WIFI connection with the blacklist device; and transmitting the device address information of the blacklist device to a WIFI hardware layer through a WIFI driving layer, and adding the device address information of the blacklist device into the blacklist device information by the WIFI hardware layer.
The present disclosure also provides the following embodiments:
fig. 5 is a flowchart two of a WIFI connection control method according to an exemplary embodiment, as shown in fig. 5, where the method is applied to a first device, and the method includes:
step S201, after receiving a WIFI connection request sent by a second device, a WIFI hardware layer acquires connection state information of the first device sent by the WIFI driving layer, and determines whether the first device meets a connection rejection condition or not based on the connection state information of the first device; wherein, the connection refusal condition is: the number of the devices connected with the first device at present reaches the maximum number of the connections allowed by the first device;
in this example, the first device is in an off-screen state;
after the first device starts the WIFI hotspot sharing function, the first device converts the received network signals into WIFI signals and transmits the WIFI signals, and after a second device in the surrounding environment where the first device is located detects the hotspot identification of the WIFI signals, a WIFI connection request is sent to the first device.
It should be noted that, in the related art, the WIFI hardware layer is responsible for transmitting the received WIFI connection request to the WIFI driving layer, and sending a response message of the WIFI connection request of the WIFI driving layer to the second device indicated by the WIFI connection request. The WIFI driving layer is responsible for processing the WIFI connection request and sending out a response message based on the WIFI connection request.
When the first equipment is in the off-screen state, namely the main control chip module of the first equipment is in the dormant state, if the equipment connected with the WIFI hot spot of the first equipment reaches the maximum connection quantity allowed by the first equipment, a new second equipment sends a WIFI connection request to the first equipment, the WIFI hardware layer can forward the WIFI connection request to the WIFI driving layer and is refused by the WIFI driving layer, and therefore the WIFI hardware layer can wake up the main control chip module, and power consumption of the first equipment in the off-screen state is increased.
After a WIFI hardware layer in a WIFI chip module of a first device receives a WIFI connection request sent by any second device, acquiring connection state information of the first device from a WIFI driving layer; and determining whether the number of the devices connected with the first device currently reaches the maximum number of the connections allowed by the first device according to the connection state information of the first device.
Step S202, if the connection state information of the first device indicates that the number of devices connected to the first device at present does not reach the maximum number of connections allowed by the first device, the WIFI hardware layer sends the WIFI connection request to a WIFI driving layer, and the WIFI driving layer authenticates the WIFI connection request;
In this example, the WIFI hardware layer obtains connection status information of the first device from the WIFI driving layer, and if the connection status information is in a connection permission status, that is, the number of devices currently connected to the first device does not reach the maximum number of connections permitted by the first device, the WIFI hardware layer wakes up the main control chip module, and forwards the WIFI connection request to the WIFI driving layer in the main control chip module.
After receiving the WIFI connection request, the WIFI driving layer authenticates the WIFI connection request, and sends a response message of the WIFI connection request to the WIFI hardware layer based on an authentication result, and the WIFI hardware layer sends the response message to the second device indicated by the WIFI connection request.
Step 203, if the WIFI connection request is successfully authenticated, the WIFI driving layer establishes a WIFI connection with the second device, and records the number of connected devices of the first device; after the number of connected devices of the first device reaches the maximum number of connections allowed by the first device, changing the connection state information of the first device;
in this example, if the authentication result of the WIFI connection request is that the authentication is successful, the WIFI driving layer sends a connection response to the WIFI hardware layer, and the WIFI hardware layer sends the connection response to the second device; and after receiving the connection response, the second device establishes WIFI connection with the first device.
After the WIFI driving layer successfully establishes the WIFI connection with the second equipment, recording the number of the equipment currently connected with the first equipment; and determining whether the number of devices currently connected by the first device reaches a maximum number of connections allowed by the first device.
If the number of the devices connected with the first device reaches the maximum number of the connections allowed by the first device, the WIFI driving layer can change the connection state information of the first device from the allowed connection state to the limited connection state; and informing the WIFI hardware layer of the connection state information of the first equipment.
Step S204, if the connection state information of the first device indicates that the number of devices currently connected to the first device reaches the maximum number of connections allowed by the first device, the WIFI hardware layer sends a connection rejection response to the second device;
in this example, after receiving a WIFI connection request of any second device, the WIFI hardware layer obtains connection status information of the first device, and if the connection status information of the first device is a connection status, that is, the number of devices that are currently connected by the first device reaches the maximum number of connections allowed by the first device; the WIFI hardware layer directly sends a refusal connection response of the WIFI connection request to the second device, and the WIFI connection request is not required to be transmitted to the WIFI driving layer, so that the main control chip module is not required to be awakened, the power consumption of the first device in a screen-off state is reduced, and the effect of saving electricity is achieved.
Illustratively, as shown in fig. 6, fig. 6 is a flowchart three of a WIFI connection control method according to an exemplary embodiment. The method comprises the following steps:
step S301, the first device opens a WIFI hotspot;
step S302, a WIFI driving layer of a first device processes authentication and association requests of any second device forwarded by a WIFI hardware layer;
step S303, the WIFI driving layer establishes WIFI connection with the second device, records the number of devices connected with the first device, and determines whether the number of the devices connected with the first device reaches the maximum number of connections;
step S304, if the number of the devices connected with the first device reaches the maximum connection number, the WIFI driving layer informs the WIFI hardware layer that the number of the devices connected with the first device reaches the maximum connection number;
step S305, after receiving the authentication and association request of any second device, the WIFI hardware layer determines whether the number of devices connected to the first device reaches the maximum number of connections, and whether the first device is in a screen-off state;
step S306, if the number of devices connected with the first device reaches the maximum number of connections, and the first device is in a screen-off state, the WIFI hardware layer refuses the authentication and association request of the second device;
Step S307, if the number of devices connected to the first device does not reach the maximum number of connections, and/or the first device is not in the off-screen state, the WIFI hardware layer reports the authentication and association request of the second device to the WIFI driving layer for processing.
Fig. 7 is a flowchart four of a WIFI connection control method according to an exemplary embodiment. As shown in fig. 7, the method includes:
step S401, after receiving a WIFI connection request sent by a second device, the WIFI hardware layer acquires device address information and signal strength information carried by the WIFI connection request; determining whether the first device meets a connection rejection condition based on the device address information and the signal strength information; wherein, the connection refusal condition is: the equipment address information is matched with pre-stored abnormal equipment information, and the signal strength information indicates that the signal strength of the second equipment is smaller than a preset strength threshold;
in this example, the first device is in an off-screen state; the intensity threshold is-75 dBm.
After the first device starts the WIFI hotspot sharing function, the first device converts the received network signals into WIFI signals and transmits the WIFI signals, and after a second device in the surrounding environment where the first device is located detects the hotspot identification of the WIFI signals, a WIFI connection request is sent to the first device.
It should be noted that, in the related art, when the first device is in the off-screen state, that is, the main control chip module of the first device is in the dormant state, if the distance between the second device sending the WIFI connection request to the first device and the first device is far, the signal transmission is unstable, and after the authentication of the WIFI connection request is easy to appear, the WIFI connection between the first device and the second device cannot be successfully established.
The second device can frequently send WIFI connection requests to the first device, and the WIFI hardware layer can frequently wake up the main control chip module and forward the WIFI connection requests to a WIFI driving layer in the main control chip module.
In this example, the WIFI hardware layer in the WIFI chip module of the first device stores abnormal device information in advance, and after receiving a WIFI connection request sent by any second device, the WIFI hardware layer obtains device address information and signal strength information carried in the WIFI connection request.
After acquiring the equipment address information and the signal intensity information in the WIFI connection request, the WIFI hardware layer matches the equipment address information with the address information in the abnormal equipment information to obtain a first result; comparing the signal intensity information with a preset intensity threshold value to obtain a second result;
And according to the first result and the second result, the WIFI hardware layer determines whether the first device meets a connection refusal condition, namely whether the second device is an abnormal device refused to connect by the first device.
Step S402, if the first device does not meet the connection rejection condition, the WIFI hardware layer sends the WIFI connection request to a WIFI driving layer, and the WIFI driving layer authenticates the WIFI connection request;
in this example, if the first result indicates that the device address information is not matched with the address information in the abnormal device information, and/or the signal strength information indicates that the signal strength of the second device is greater than the strength threshold, the WIFI hardware layer wakes up the main control chip, and forwards the WIFI connection request to the WIFI driving layer.
After receiving the WIFI connection request, the WIFI driving layer authenticates the WIFI connection request, and sends a response message of the WIFI connection request to the WIFI hardware layer based on an authentication result, and the WIFI hardware layer sends the response message to the second device indicated by the WIFI connection request.
Step S403, the WIFI driving layer establishes a WIFI connection with the second device after authentication is successful, if the WIFI connection establishment fails, and the signal strength information carried by the WIFI connection request indicates that the signal strength of the WIFI connection request is less than or equal to the strength threshold, the WIFI driving layer updates accumulated failure information corresponding to the second device;
In this example, if the authentication result of the WIFI connection request is that the authentication is successful, the WIFI driving layer sends a connection response to the WIFI hardware layer, and the WIFI hardware layer sends the connection response to the second device;
if the first device does not successfully establish the WIFI connection with the second device within the preset time after the connection response is sent, the signal strength information carried by the WIFI connection request indicates that the signal strength of the WIFI connection request is smaller than or equal to the strength threshold, and the WIFI driving layer updates accumulated failure information corresponding to the second device.
Step S404, if the updated accumulated failure information indicates that the accumulated connection failure times of the second device is greater than or equal to an accumulated failure threshold, the WIFI driving layer sends device address information of the second device to the WIFI hardware layer; based on the device address information of the second device, the WIFI hardware layer updates the stored abnormal device information;
in this example, the cumulative failure threshold is 3 times.
If the updated accumulated failure information indicates that the accumulated connection failure times of the second device are greater than or equal to 3 times, the WIFI driving layer determines that the second device is an abnormal device and sends the device address information of the second device to the WIFI hardware layer.
And after receiving the device address information of the second device, the WIFI hardware layer adds the device address information of the second device into the pre-stored abnormal device information.
Step S405, if the first device meets the connection rejection condition, the WIFI hardware layer sends a connection rejection response to the second device.
In this example, after receiving a WIFI connection request of any second device, the WIFI hardware layer obtains device address information and signal strength information carried in the WIFI connection request; if the first result indicates that the device address information is matched with the address information in the abnormal device information, and the signal strength information indicates that the signal strength of the second device is smaller than the strength threshold value, the WIFI hardware layer directly sends a refused connection response of the WIFI connection request to the second device, and the WIFI connection request is not required to be transmitted to the WIFI driving layer, so that a main control chip module is not required to be awakened, the power consumption of the first device in a screen-off state is reduced, and the effect of saving electricity is achieved.
Illustratively, as shown in fig. 8, fig. 8 is a flowchart five of a WIFI connection control method according to an exemplary embodiment. The method comprises the following steps:
Step S501, the first device opens a WIFI hotspot;
step S502, a WIFI driving layer of a first device processes authentication and association requests of any second device forwarded by a WIFI hardware layer;
step S503, the WIFI driving layer establishes the WIFI connection with the second device after authentication is successful, and determines whether the accumulated connection failure times of the second device are more than 3 times, and whether the signal strength of the authentication and association request of the second device is less than-75 dBm;
step S504, if the number of accumulated connection failures of the second device is greater than 3, and the signal strength of the authentication and association request of the second device is less than-75 dBm, the WIFI driving layer informs the WIFI hardware layer that the second device is an abnormal device;
step S505, after receiving an authentication and association request of any second device, the WIFI hardware layer determines whether the mac address of the second device is the mac address of an abnormal device, whether the signal strength of the authentication and association request is less than-75 dBm, and whether the first device is in a screen-off state;
step S506, if the mac address of the second device is the mac address of the abnormal device, the signal strength of the authentication and association request is less than-75 dBm, and the first device is in the off-screen state, and the WIFI hardware layer refuses the authentication and association request of the second device;
Step S507, if the mac address of the second device is not the mac address of the abnormal device, the signal strength of the authentication and association request is greater than-75 dBm, and/or the first device is not in the off-screen state, and the WIFI hardware layer reports the authentication and association request of the second device to the WIFI driving layer for processing.
Fig. 9 is a flowchart six of a WIFI connection control method according to an exemplary embodiment. As shown in fig. 9, the method includes:
step S601, after receiving a WIFI connection request sent by a second device, the WIFI hardware layer acquires device address information carried by the WIFI connection request; determining whether the first device meets a connection rejection condition based on the device address information; wherein, the connection refusal condition is: the equipment address information is matched with address information in pre-stored blacklist equipment information;
in this example, the first device is in an off-screen state;
after the first device starts the WIFI hotspot sharing function, the first device converts the received network signals into WIFI signals and transmits the WIFI signals, and after a second device in the surrounding environment where the first device is located detects the hotspot identification of the WIFI signals, a WIFI connection request is sent to the first device.
It should be noted that, in the related art, the WIFI architecture layer in the main control chip module is responsible for associating all the connection devices of the first device, maintaining the blacklist device information of the first device, and disconnecting the WIFI connection between the first device and the blacklist device.
When the first device is in a screen-off state, namely the main control chip module of the first device is in a dormant state, a plurality of blacklist devices around the first device can continuously send WIFI connection requests to the first device, the WIFI hardware layer can wake up the main control chip module frequently and forward the WIFI connection requests to a WIFI driving layer in the main control chip module; the WIFI architecture layer may be frequently disconnected after the WIFI connection is established.
In this example, a WIFI hardware layer in a WIFI chip module of the first device stores blacklist device information in advance, and after receiving a WIFI connection request sent by any second device, the WIFI hardware layer obtains device address information carried in the WIFI connection request.
After acquiring the device address information in the WIFI connection request, the WIFI hardware layer matches the device address information with the address information in the blacklist device information; and determining whether the first device meets a connection rejection condition according to a matching result, namely whether the second device is a blacklist device of which the first device rejects connection.
Step S602, if the first device does not meet the connection rejection condition, the WIFI hardware layer sends the WIFI connection request to a WIFI driving layer, and the WIFI driving layer authenticates the WIFI connection request;
in this example, if the device address information does not match the address information in the blacklist device information, the WIFI hardware layer wakes up the main control chip, and forwards a WIFI connection request to the WIFI driving layer.
After receiving the WIFI connection request, the WIFI driving layer authenticates the WIFI connection request, and sends a response message of the WIFI connection request to the WIFI hardware layer based on an authentication result, and the WIFI hardware layer sends the response message to the second device indicated by the WIFI connection request.
Step S603, in response to an update operation of the blacklist device information by the user, the WIFI architecture layer obtains device address information of the second device indicated by the update operation; the WIFI architecture layer sends the device address information of the second device indicated by the updating operation to the WIFI hardware layer through the WIFI driving layer, and the WIFI hardware layer updates the blacklist device information;
in this example, the user may update (i.e., add or delete) the blacklisted device information for the first device; when a user updates the blacklist equipment information, responding to the updating operation of the user on the blacklist equipment information, and disconnecting the WIFI connection between the second equipment and the first equipment indicated by the updating operation by the WIFI framework layer; and the WIFI architecture layer acquires the device address information of the second device indicated by the updating operation and sends the device address information to the WIFI hardware layer.
And after receiving the device address information of the second device, the WIFI hardware layer updates the pre-stored blacklist device information.
In step S604, if the first device meets the connection rejection condition, the WIFI hardware layer sends a connection rejection response to the second device.
In this example, after receiving the WIFI connection request of any second device, the WIFI hardware layer obtains the device address information carried in the WIFI connection request, if the device address information is matched with the address information in the prestored blacklist device information, the WIFI hardware layer directly sends a reject connection response of the WIFI connection request to the second device, and does not need to transfer the WIFI connection request to the WIFI driving layer, so that the main control chip module is not required to be awakened, power consumption of the first device in a screen-off state is reduced, and an effect of saving electricity is achieved.
Illustratively, as shown in fig. 10, fig. 10 is a flowchart seven of a WIFI connection control method according to an exemplary embodiment. The method comprises the following steps:
step S701, the first device opens a WIFI hotspot;
step S702, a user adds/deletes a blacklist device to/from blacklist device information of a first device;
Step S703, in response to the user' S add/delete operation, the WIFI architecture layer updates the blacklist device information, and sends the mac address of the blacklist device to be added/deleted to the WIFI driving layer;
step S704, the WIFI driving layer receives the mac address of the blacklist equipment to be added/deleted and sends the mac address to the WIFI hardware layer;
step S705, the WIFI hardware layer stores the mac address of the blacklist device into blacklist device information;
step S706, after receiving the authentication and association request of any second device, the WIFI hardware layer determines whether the mac address of the second device is the mac address of the blacklist device, and whether the first device is in an off-screen state;
step S707, if the mac address of the second device is the mac address of the blacklisted device and the first device is in the off-screen state, the WIFI hardware layer refuses the authentication and association request of the second device;
step S708, if the mac address of the second device is not the mac address of the blacklisted device, and/or the first device is in the off-screen state, the WIFI hardware layer reports the authentication and association request of the second device to the WIFI driving layer for processing.
The embodiment of the disclosure also provides a WIFI connection control device; the WIFI connection control device comprises: the WIFI system comprises a WIFI hardware layer, a WIFI driving layer and a WIFI architecture layer;
The WIFI hardware layer is used for determining whether the first device meets a connection refusing condition for refusing the WIFI connection request after receiving the WIFI connection request sent by the second device; and if the first equipment meets the connection rejection condition, the WIFI hardware layer sends a connection rejection response to the second equipment.
Optionally, the rejecting connection condition includes:
the number of the devices connected with the first device at present reaches the maximum number of the connections allowed by the first device;
and/or the number of the groups of groups,
and the connection parameters carried by the WIFI connection request indicate that the second device is the device of which the first device refuses to connect.
Optionally, the WIFI hardware layer is configured to:
based on the acquired connection state information of the first device, the WIFI hardware layer determines whether the first device meets the connection rejection condition; the connection state information is at least used for indicating whether the number of devices currently connected with the first device reaches the maximum number of connections allowed by the first device.
Optionally, the WIFI hardware layer stores: abnormal equipment information;
the WIFI hardware layer is used for:
the WIFI hardware layer acquires equipment address information and signal strength information carried by the WIFI connection request;
Matching the equipment address information with the address information in the abnormal equipment information to obtain a first result;
comparing the signal intensity information with a preset intensity threshold value to obtain a second result;
and according to the first result and the second result, the WIFI hardware layer determines whether the second device indicated by the WIFI connection request is an abnormal device of which the first device refuses to connect.
Optionally, the WIFI hardware layer is configured to:
if the first device does not meet the connection rejection condition, the WIFI hardware layer sends the WIFI connection request to the WIFI driving layer;
the WIFI driving layer is used for:
the WIFI driving layer authenticates the second equipment indicated by the WIFI connection request, and establishes WIFI connection with the second equipment after successful authentication;
if the WIFI connection fails to be established, and the signal strength information carried by the WIFI connection request indicates that the signal strength of the WIFI connection request is smaller than or equal to the strength threshold, the WIFI driving layer updates accumulated failure information corresponding to the second device; the accumulated failure information corresponding to the second device is at least used for indicating the possibility degree that the second device is the abnormal device of the first device.
Optionally, the WIFI driving layer is configured to:
if the updated accumulated failure information indicates that the accumulated connection failure times of the second device are greater than or equal to an accumulated failure threshold, the WIFI driving layer sends device address information of the second device to the WIFI hardware layer;
the WIFI driving layer is used for:
and based on the equipment address information of the second equipment, the WIFI hardware layer updates the stored abnormal equipment information.
Optionally, the WIFI hardware layer stores: blacklist device information;
the WIFI hardware layer is used for:
the WIFI hardware layer acquires the equipment address information carried by the WIFI connection request;
matching the address information of the equipment with the address information in the blacklist equipment information to obtain a third result;
and according to the third result, the WIFI hardware layer determines whether the second device indicated by the WIFI connection request is a blacklist device of which the first device refuses to connect.
Optionally, the WIFI architecture layer is configured to:
responding to the updating operation of the user on the blacklist equipment information, and acquiring the equipment address information of the second equipment indicated by the updating operation by the WIFI framework layer;
The WIFI architecture layer sends the device address information of the second device indicated by the updating operation to the WIFI hardware layer through the WIFI driving layer;
the WIFi hardware layer is used for:
and based on the device address information of the second device indicated by the updating operation, the WIFI hardware layer updates the blacklist device information.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 11 is a block diagram illustrating a WIFI connection control apparatus according to an example embodiment. For example, the device 200 may be a mobile phone, a mobile computer, or the like.
Referring to fig. 11, the apparatus 200 may include one or more of the following components: a processing component 202, a memory 204, a power supply component 206, a multimedia component 208, an audio component 210, an input/output (I/O) interface 212, a sensor component 214, and a communication component 216.
The processing component 202 generally controls overall operation of the apparatus 200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 202 can include one or more modules that facilitate interactions between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
The memory 204 is configured to store various types of data to support operations at the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phonebook data, messages, pictures, videos, and the like. The memory 204 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 206 provides power to the various components of the device 200. The power supply components 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 200.
The multimedia component 208 includes a screen between the device 200 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front-facing camera and/or a rear-facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 200 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 210 is configured to output and/or input audio signals. For example, the audio component 210 includes a Microphone (MIC) configured to receive external audio signals when the device 200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 204 or transmitted via the communication component 216. In some embodiments, audio component 210 further includes a speaker for outputting audio signals.
The I/O interface 212 provides an interface between the processing assembly 202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 214 includes one or more sensors for providing status assessment of various aspects of the apparatus 200. For example, the sensor assembly 214 may detect the on/off state of the appliance 200, the relative positioning of the components, such as the display and keypad of the device 200, the sensor assembly 214 may also detect a change in position of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration/deceleration of the device 200, and a change in temperature of the device 200. The sensor assembly 214 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 216 is configured to facilitate communication between the apparatus 200 and other devices in a wired or wireless manner. The device 200 may access a wireless network based on a communication standard, such as Wi-Fi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication component 216 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 204, including instructions executable by processor 220 of apparatus 200 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (11)
1. The WIFI connection control method is characterized by being applied to first equipment, wherein the first equipment comprises: the WIFI system comprises a WIFI hardware layer, a WIFI driving layer and a WIFI architecture layer; the method comprises the following steps:
after receiving a WIFI connection request sent by a second device, a WIFI hardware layer determines whether the first device meets a connection rejection condition for rejecting the WIFI connection request;
And if the first equipment meets the connection rejection condition, the WIFI hardware layer sends a connection rejection response to the second equipment.
2. The method of claim 1, wherein the refusing the connection condition comprises:
the number of the devices connected with the first device at present reaches the maximum number of the connections allowed by the first device;
and/or the number of the groups of groups,
and the connection parameters carried by the WIFI connection request indicate that the second device is the device of which the first device refuses to connect.
3. The method of claim 2, wherein the WIFI hardware layer determining whether the first device satisfies a denial of connection condition that denies the WIFI connection request, comprises:
based on the acquired connection state information of the first device, the WIFI hardware layer determines whether the first device meets the connection rejection condition; the connection state information is at least used for indicating whether the number of devices currently connected with the first device reaches the maximum number of connections allowed by the first device.
4. The method of claim 2, wherein the WIFI hardware layer stores: abnormal equipment information;
The WIFI hardware layer determining whether the first device meets a connection rejection condition for rejecting the WIFI connection request, including:
the WIFI hardware layer acquires equipment address information and signal strength information carried by the WIFI connection request;
matching the equipment address information with the address information in the abnormal equipment information to obtain a first result;
comparing the signal intensity information with a preset intensity threshold value to obtain a second result;
and according to the first result and the second result, the WIFI hardware layer determines whether the second device indicated by the WIFI connection request is an abnormal device of which the first device refuses to connect.
5. The method according to claim 4, further comprising:
if the first device does not meet the connection rejection condition, the WIFI hardware layer sends the WIFI connection request to the WIFI driving layer;
the WIFI driving layer authenticates the second equipment indicated by the WIFI connection request, and establishes WIFI connection with the second equipment after successful authentication;
if the WIFI connection fails to be established, and the signal strength information carried by the WIFI connection request indicates that the signal strength of the WIFI connection request is smaller than or equal to the strength threshold, the WIFI driving layer updates accumulated failure information corresponding to the second device; the accumulated failure information corresponding to the second device is at least used for indicating the possibility degree that the second device is the abnormal device of the first device.
6. The method according to claim 5, further comprising:
if the updated accumulated failure information indicates that the accumulated connection failure times of the second device are greater than or equal to an accumulated failure threshold, the WIFI driving layer sends device address information of the second device to the WIFI hardware layer;
and based on the equipment address information of the second equipment, the WIFI hardware layer updates the stored abnormal equipment information.
7. The method of claim 2, wherein the WIFI hardware layer stores: blacklist device information;
the WIFI hardware layer determining whether the first device meets a connection rejection condition for rejecting the WIFI connection request, including:
the WIFI hardware layer acquires the equipment address information carried by the WIFI connection request;
matching the address information of the equipment with the address information in the blacklist equipment information to obtain a third result;
and according to the third result, the WIFI hardware layer determines whether the second device indicated by the WIFI connection request is a blacklist device of which the first device refuses to connect.
8. The method of claim 7, wherein the method further comprises:
Responding to the updating operation of the user on the blacklist equipment information, and acquiring the equipment address information of the second equipment indicated by the updating operation by the WIFI framework layer;
the WIFI architecture layer sends the device address information of the second device indicated by the updating operation to the WIFI hardware layer through the WIFI driving layer;
and based on the device address information of the second device indicated by the updating operation, the WIFI hardware layer updates the blacklist device information.
9. A connection control apparatus for a WIFI hotspot, applied to a first device, the apparatus comprising: the WIFI system comprises a WIFI hardware layer, a WIFI driving layer and a WIFI architecture layer;
the WIFI hardware layer is used for determining whether the first device meets a connection refusing condition for refusing the WIFI connection request after receiving the WIFI connection request sent by the second device; and if the first equipment meets the connection rejection condition, the WIFI hardware layer sends a connection rejection response to the second equipment.
10. A WIFI connection control device, comprising:
a processor;
a memory for storing executable instructions;
wherein the processor is configured to: the WIFI connection control method according to any one of claims 1-8 is implemented when executing executable instructions stored in the memory.
11. A non-transitory computer-readable storage medium, characterized in that instructions in the storage medium, when executed by a processor of a connection control device of a WIFI hotspot, enable the connection control device of the WIFI hotspot to perform the WIFI connection control method of any of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210167877.4A CN114585054B (en) | 2022-02-23 | 2022-02-23 | WIFI connection control method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210167877.4A CN114585054B (en) | 2022-02-23 | 2022-02-23 | WIFI connection control method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114585054A CN114585054A (en) | 2022-06-03 |
CN114585054B true CN114585054B (en) | 2023-11-14 |
Family
ID=81773889
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210167877.4A Active CN114585054B (en) | 2022-02-23 | 2022-02-23 | WIFI connection control method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114585054B (en) |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050001243A (en) * | 2003-06-27 | 2005-01-06 | 엘지전자 주식회사 | Method for rejecting receiption in a mobile phone |
CN101287036A (en) * | 2008-05-29 | 2008-10-15 | 德信无线通讯科技(北京)有限公司 | Method and device for preventing mobile phone from being woke-up in stand-by state |
WO2012112331A2 (en) * | 2011-02-14 | 2012-08-23 | Microsoft Corporation | Dormant background applications on mobile devices |
CN103052135A (en) * | 2012-11-30 | 2013-04-17 | 东莞宇龙通信科技有限公司 | Mobile terminal and method for processing data of wireless fidelity (Wi-Fi) used on mobile terminal |
CN104598308A (en) * | 2014-12-29 | 2015-05-06 | 广东欧珀移动通信有限公司 | Mode switching control method and device |
CN204442374U (en) * | 2015-01-26 | 2015-07-01 | 北京搜狗科技发展有限公司 | A kind of NFC device |
CN105474129A (en) * | 2013-08-22 | 2016-04-06 | 三星电子株式会社 | Method for performing power saving mode in electronic device and electronic device thereof |
CN105635102A (en) * | 2015-10-30 | 2016-06-01 | 东莞酷派软件技术有限公司 | Wi-Fi hot spot connection setting method and device |
CN106231533A (en) * | 2016-07-20 | 2016-12-14 | 华为技术有限公司 | The method and apparatus of short haul connection |
CN107302789A (en) * | 2017-06-21 | 2017-10-27 | 上海集赫电子商务有限公司 | A kind of method and system for improving Android device battery durable ability |
CN109994999A (en) * | 2017-12-29 | 2019-07-09 | 丰田自动车株式会社 | Protection control device and its control method for power conversion circuit |
CN110913424A (en) * | 2019-11-14 | 2020-03-24 | 华为技术有限公司 | Network connection control method and device, terminal and computer storage medium |
WO2020151468A1 (en) * | 2019-01-22 | 2020-07-30 | 岳秀兰 | Vehicle remote driving system established by primary and secondary wireless devices by means of internet of things connection |
CN112738794A (en) * | 2021-01-07 | 2021-04-30 | 展讯半导体(成都)有限公司 | Network residing method, chip, mobile terminal and storage medium |
CN113031751A (en) * | 2019-12-09 | 2021-06-25 | Oppo广东移动通信有限公司 | Electronic device |
CN113965889A (en) * | 2020-07-03 | 2022-01-21 | 阿里巴巴集团控股有限公司 | Data processing, filtering information quantity determining and configuring method, equipment and medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11314317B2 (en) * | 2016-10-31 | 2022-04-26 | Microsoft Technology Licensing, Llc | Supervisory control of power management |
US11343260B2 (en) * | 2018-03-01 | 2022-05-24 | Google Llc | Gradual credential disablement |
-
2022
- 2022-02-23 CN CN202210167877.4A patent/CN114585054B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050001243A (en) * | 2003-06-27 | 2005-01-06 | 엘지전자 주식회사 | Method for rejecting receiption in a mobile phone |
CN101287036A (en) * | 2008-05-29 | 2008-10-15 | 德信无线通讯科技(北京)有限公司 | Method and device for preventing mobile phone from being woke-up in stand-by state |
WO2012112331A2 (en) * | 2011-02-14 | 2012-08-23 | Microsoft Corporation | Dormant background applications on mobile devices |
CN103052135A (en) * | 2012-11-30 | 2013-04-17 | 东莞宇龙通信科技有限公司 | Mobile terminal and method for processing data of wireless fidelity (Wi-Fi) used on mobile terminal |
CN105474129A (en) * | 2013-08-22 | 2016-04-06 | 三星电子株式会社 | Method for performing power saving mode in electronic device and electronic device thereof |
CN104598308A (en) * | 2014-12-29 | 2015-05-06 | 广东欧珀移动通信有限公司 | Mode switching control method and device |
CN204442374U (en) * | 2015-01-26 | 2015-07-01 | 北京搜狗科技发展有限公司 | A kind of NFC device |
CN105635102A (en) * | 2015-10-30 | 2016-06-01 | 东莞酷派软件技术有限公司 | Wi-Fi hot spot connection setting method and device |
CN106231533A (en) * | 2016-07-20 | 2016-12-14 | 华为技术有限公司 | The method and apparatus of short haul connection |
CN107302789A (en) * | 2017-06-21 | 2017-10-27 | 上海集赫电子商务有限公司 | A kind of method and system for improving Android device battery durable ability |
CN109994999A (en) * | 2017-12-29 | 2019-07-09 | 丰田自动车株式会社 | Protection control device and its control method for power conversion circuit |
WO2020151468A1 (en) * | 2019-01-22 | 2020-07-30 | 岳秀兰 | Vehicle remote driving system established by primary and secondary wireless devices by means of internet of things connection |
CN110913424A (en) * | 2019-11-14 | 2020-03-24 | 华为技术有限公司 | Network connection control method and device, terminal and computer storage medium |
CN113031751A (en) * | 2019-12-09 | 2021-06-25 | Oppo广东移动通信有限公司 | Electronic device |
CN113965889A (en) * | 2020-07-03 | 2022-01-21 | 阿里巴巴集团控股有限公司 | Data processing, filtering information quantity determining and configuring method, equipment and medium |
CN112738794A (en) * | 2021-01-07 | 2021-04-30 | 展讯半导体(成都)有限公司 | Network residing method, chip, mobile terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114585054A (en) | 2022-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112166634B (en) | Paging cause sending method and device, and paging cause obtaining method and device | |
CN104683248B (en) | The method and apparatus of switching working mode | |
CN112189352B (en) | Response indication method and device, response determination method and device | |
CN110771196B (en) | MDT information notification method and device, MDT information receiving method and device | |
US20220256497A1 (en) | Methods and apparatuses for receiving paging signaling, and methods and apparatuses for transmitting paging signaling | |
CN112237036B (en) | Problem reporting method and problem reporting device | |
CN107911831B (en) | Method, device, equipment and storage medium for reminding user to replace router | |
CN110622534A (en) | MDT (minimization drive test) information sending method and device and MDT information receiving method and device | |
CN107454660B (en) | Network residing method and device after authentication failure | |
CN109451840B (en) | Cell residence method and device and user equipment | |
CN110337826B (en) | Network switching resource determining method and network switching resource configuration method | |
CN108028810B (en) | Method and device for establishing service connection | |
CN110637502B (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
CN114585054B (en) | WIFI connection control method, device and storage medium | |
CN112636402A (en) | Charging method and device and electronic equipment | |
CN112640569B (en) | Connection establishment method and device | |
WO2022052070A1 (en) | Connection control method and connection control apparatus | |
CN114980257B (en) | Method, device, mobile terminal and storage medium for displaying network identification information | |
CN106125595B (en) | The method and device of controlling terminal application | |
US20240090068A1 (en) | Request information sending method and device, and request information receiving method and device | |
US20220225473A1 (en) | Network switching resource determining method and network switching resource configuration method | |
CN108696914B (en) | Method and device for scanning intelligent equipment and storage medium | |
CN111800836A (en) | Communication method, communication device, electronic equipment and storage medium | |
US20230389118A1 (en) | Method for connection indication, method for connection adjustment and electronic device | |
CN115039510B (en) | Capability sending method and device, capability receiving method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |