CN114173339B - Method and device for quickly connecting WiFi network, storage medium and electronic equipment - Google Patents

Method and device for quickly connecting WiFi network, storage medium and electronic equipment Download PDF

Info

Publication number
CN114173339B
CN114173339B CN202010946766.4A CN202010946766A CN114173339B CN 114173339 B CN114173339 B CN 114173339B CN 202010946766 A CN202010946766 A CN 202010946766A CN 114173339 B CN114173339 B CN 114173339B
Authority
CN
China
Prior art keywords
wifi network
wifi
network card
connection information
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010946766.4A
Other languages
Chinese (zh)
Other versions
CN114173339A (en
Inventor
张旋旋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei Ingenic Technology Co ltd
Original Assignee
Hefei Ingenic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hefei Ingenic Technology Co ltd filed Critical Hefei Ingenic Technology Co ltd
Priority to CN202010946766.4A priority Critical patent/CN114173339B/en
Publication of CN114173339A publication Critical patent/CN114173339A/en
Application granted granted Critical
Publication of CN114173339B publication Critical patent/CN114173339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • H04W48/04Access restriction performed under specific conditions based on user or terminal location or mobility data, e.g. moving direction, speed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a method and a device for quickly connecting a WiFi network, a storage medium and electronic equipment, wherein the method for quickly connecting the WiFi network comprises the following steps: recording and storing WiFi connection information when the equipment is dormant; and when the device is awakened from dormancy, acquiring WiFi connection information, and writing the WiFi connection information into a WiFi network card of the device so as to enable the device to be connected to a WiFi network. Therefore, the method for quickly connecting the WiFi network can reduce the networking time of equipment and the waiting time of a user, and improve the user experience.

Description

Method and device for quickly connecting WiFi network, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of network communication, in particular to a method for quickly connecting a WiFi network, a computer-readable storage medium, electronic equipment and a device for quickly connecting the WiFi network.
Background
Due to the rapid expansion of network communication technology, most of current electronic products such as smart phones, computers and home appliances have been supported by the capability of connecting with WiFi (Wireless Fidelity ), and WiFi wireless networks are used as mobile internet access channels more and more widely, and families, schools, airports, stations, wharfs, markets, libraries and many public places can find WiFi signals. In the related art, a user needs to use a WiFi wireless network, and generally needs to perform the following steps:
(1) The WiFi terminal starts WiFi scanning to find a surrounding WiFi wireless access point list;
(2) Selecting a target connection WiFi wireless access point from the WiFi wireless access point list found in the step 1, and performing connection operation;
(3) If the target WiFi wireless access point needs access authentication, manually inputting an access authentication password;
(4) And the WiFi terminal completes the process of accessing the target WiFi wireless access point and starts to use the WiFi wireless network.
The WiFi terminal performs scanning operation to acquire access related information of the WiFi wireless access point in the area, then selects a target connected WiFi wireless access point, uses the related access information of the WiFi wireless access point acquired through the previous scanning process to connect to the target WiFi wireless access point, and inputs a password to finish subsequent access authentication. The WiFi wireless access point access process described above takes a relatively long time.
In addition, when the traditional technology is reconnected to the wireless access point which is connected once when the device wakes up after dormancy, surrounding WiFi wireless access points still need to be found by rescanning, and the device which stores the connection information is connected, so that the process takes a long time. The WiFi used by the smart device in the fixed use area of the general home does not change frequently, and it is unnecessary to rescan the device connected last time and authenticate through the WiFi wireless azimuth access point.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems in the related art to some extent. Therefore, an object of the present invention is to provide a method for quickly connecting to a WiFi network, which can reduce the networking time of a device and the waiting time of a user, and improve the user experience.
A second object of the present invention is to propose a computer readable storage medium.
A third object of the present invention is to propose an electronic device.
A fourth object of the present invention is to provide an apparatus for fast connecting to a WiFi network.
To achieve the above object, an embodiment of a first aspect of the present invention provides a method for quickly connecting a WiFi network, the method includes: recording and storing WiFi connection information when the equipment is dormant; and when the equipment is awakened from dormancy, acquiring the WiFi connection information, and writing the WiFi connection information into a WiFi network card of the equipment so as to enable the equipment to be connected to a WiFi network.
The method for quickly connecting the WiFi network firstly records and stores WiFi connection information when the equipment is dormant, then can directly acquire the WiFi connection information when the equipment is awakened from the dormancy, and writes the WiFi connection information into the WiFi network card of the equipment, thereby completing the connection between the equipment and the WiFi network. Therefore, the method for quickly connecting the WiFi network can reduce the networking time of equipment and the waiting time of a user, and improve the user experience.
In addition, the method for quickly connecting the WiFi network can also have the following additional technical characteristics:
according to one embodiment of the invention, the WiFi connection information comprises a connection flag bit, and the connection flag bit is set according to whether the WiFi connection before the equipment dormancy is successful or not.
According to one embodiment of the present invention, obtaining the WiFi connection information includes: and after the equipment loads the drive of the WiFi network card, reading the connection zone bit, judging whether the WiFi network card is correctly connected before the equipment is dormant according to the connection zone bit, and reading WiFi connection information stored by the equipment when the WiFi network card is correctly connected.
According to one embodiment of the present invention, before acquiring the WiFi connection information, the method further includes: when the driver of the WiFi network card is loaded, a CMD (Command) 52 Command is adopted to access the WiFi network card, and the existence of the WiFi network card is determined after the correct response of the WiFi network card is received.
According to one embodiment of the invention, in the driving process of loading the WiFi network card, if the device is determined to be awakened from dormancy, the FW version of the WiFi network card is skipped to be downloaded.
To achieve the above object, an embodiment of a second aspect of the present invention provides a computer-readable storage medium having stored thereon a program for quickly connecting to a WiFi network, which when executed by a processor, implements a method for quickly connecting to a WiFi network as in the above embodiment.
According to the storage medium of the embodiment of the invention, when the processor executes the program of the quick-connection WiFi network stored on the storage, which corresponds to the method of the quick-connection WiFi network of the embodiment, the networking time of the equipment and the waiting time of the user can be reduced, and the user experience is improved.
To achieve the above object, an embodiment of a third aspect of the present invention provides an electronic device, where the device includes a memory, a processor, and a program stored on the memory and capable of running on the processor, where the processor executes the program to implement a method for quickly connecting to a WiFi network as in the above embodiment.
According to the electronic device provided by the embodiment of the invention, when the processor executes the program for quickly connecting the WiFi network stored in the memory, the networking time of the device and the waiting time of a user can be reduced, and the user experience is improved.
To achieve the above object, an embodiment of a fourth aspect of the present invention provides an apparatus for quickly connecting to a WiFi network, where the apparatus is applied to an electronic device, the apparatus includes: the storage module is used for recording and storing WiFi connection information when the electronic equipment is dormant; and the quick connection module is used for acquiring the WiFi connection information when the electronic equipment is awakened from dormancy, and writing the WiFi connection information into a WiFi network card of the electronic equipment so as to enable the electronic equipment to be connected to a WiFi network.
The device for quickly connecting the WiFi network is applied to the electronic equipment and comprises a storage module and a quick connection module. The WiFi connection information of the electronic equipment in dormancy is recorded and stored through the storage module, and then when the electronic equipment is awakened from dormancy, the WiFi connection information can be obtained through the quick connection module and written into the WiFi network card of the electronic equipment, so that the electronic equipment can be connected to the WiFi network. Therefore, the device can reduce the networking time of equipment and the waiting time of a user, and improve the user experience.
In addition, the device for quickly connecting the WiFi network of the present invention may further have the following additional technical features:
according to one embodiment of the invention, the WiFi connection information comprises a connection flag bit, and the connection flag bit is set according to whether the WiFi connection before dormancy of the electronic equipment is successful or not.
According to an embodiment of the invention, the quick connection module is further configured to read the connection flag after the electronic device has loaded the driver of the WiFi network card, determine whether the WiFi network card is correctly connected before the device sleeps according to the connection flag, and read WiFi connection information stored in the electronic device when the WiFi network card is correctly connected.
According to an embodiment of the present invention, the quick connection module is further configured to access the WiFi network card by adopting a CMD52 command when the electronic device loads the driver of the WiFi network card, and determine that the WiFi network card exists after receiving a correct response of the WiFi network card.
According to an embodiment of the present invention, the quick connection module is further configured to skip downloading the FW version of the WiFi network card if it is determined that the electronic device is awakened from sleep during the driving process of loading the WiFi network card by the electronic device.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a flowchart of a method of quickly connecting to a WiFi network according to an embodiment of the invention;
fig. 2 is a block diagram of a device for fast connecting to a WiFi network according to an embodiment of the invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
The following describes a method and a device for quickly connecting a WiFi network, a storage medium, and an electronic device according to embodiments of the present invention.
Fig. 1 is a flowchart of a method for quickly connecting to a WiFi network according to an embodiment of the invention.
As shown in fig. 1, the method for quickly connecting to the WiFi network includes the following steps:
s10, recording and storing WiFi connection information when the equipment is dormant.
Specifically, in order to enable the device to have a lower power consumption capability, it may be set that if the device does not have a trigger condition for implementing the setting within a preset time, or if the user does not have a situation that the user uses the device within the preset time, the device may enter a sleep state to reduce consumption of energy, where the preset time may be set by the user according to a use frequency of a specific device. In this embodiment, the WiFi connection information of the device may be recorded and saved when the device enters the sleep state. Optionally, the device may record and save the WiFi connection information connected to the device each time the device enters the sleep state, so as to update the WiFi connection information connected to the device.
It will be appreciated that the WiFi connection information when the device is dormant may be recorded on the WiFi network card of the device.
And S20, when the equipment is awakened from dormancy, acquiring WiFi connection information, and writing the WiFi connection information into a WiFi network card of the equipment so as to enable the equipment to be connected to a WiFi network.
Specifically, after the device enters the sleep state, if the user wants to use the device, the device needs to be controlled to enter a wake-up program, so that the device is restored to the state before sleep, that is, the device is in a networking state, and can be used normally. In this embodiment, when the device wakes up from sleep, the WiFi connection information is acquired and written into the WiFi network card of the device, so that the device can connect to the WiFi network without the WiFi network card rescanning the WiFi connection information, thereby saving a lot of time.
In some examples of the present invention, the WiFi connection information includes a connection flag bit, and the connection flag bit is set according to whether the WiFi connection before the device is dormant is successful or not.
Specifically, whether a device is normally connected before going to sleep is directly related to whether the device can be normally connected into a WiFi network after being awakened. In this embodiment, by setting a connection flag bit in the WiFi connection information, the connection flag bit is used to indicate whether the WiFi network is successfully connected before the device sleeps. For example, when the connection flag bit is 1, it indicates that the device is in normal WiFi connection before dormancy, and if the connection flag bit is not 1, it indicates that the device is not successfully connected to WiFi before dormancy. It can be understood that if the device is in a normal connection state before dormancy, after the device is awakened, the WiFi network card is read, and the WiFi connection information corresponding to the read WiFi network card is acquired to connect; if the device is in an abnormal connection state before dormancy, the device is awakened and then is connected by searching the set WiFi connection information in a normal connection mode.
In this embodiment, acquiring WiFi connection information includes: and after the equipment loads the drive of the WiFi network card, reading the connection zone bit, judging whether the WiFi network card is correctly connected before the equipment is dormant according to the connection zone bit, and reading WiFi connection information stored by the equipment when the WiFi network card is correctly connected.
Specifically, after the device wakes up, wiFi connection information needs to be acquired to enable the device to connect to the WiFi network. In this example, first, after the device wakes up, the driver of the WiFi network card is loaded, and the connection flag bit is read, and according to the flag bit, whether the WiFi network card connected to the device before dormancy is normal is determined. For example, when the connection flag bit is read to be 1, judging that the WiFi network card connected with the device before dormancy is in a normal state; and if the connection flag bit is read to be not 1, judging that the WiFi network card connected with the equipment before dormancy is not in a normal state. In this embodiment, when it is determined that the WiFi network card of the device is in a normal connection state before dormancy, the WiFi connection information recorded and stored in the device is read, so that the device can be connected to the WiFi network through the WiFi connection information.
In some examples of the present invention, before acquiring the WiFi connection information, the method further includes: and when the driver of the WiFi network card is loaded, accessing the WiFi network card by adopting a CMD52 command, and determining that the WiFi network card exists after receiving the correct response of the WiFi network card.
Specifically, before acquiring the WiFi connection information, the driver of the WiFi network card may be loaded first. More specifically, when the driver of the WiFi network card is loaded, the CMD52 command may be used to access the WiFi network card, and if the accessed WiFi network card obtains a correct response, it may be determined that the WiFi network card exists. At this time, the device can directly skip the WiFi power-on and scan the card, i.e. does not need to scan the WiFi network card. In some examples, after the device is determined to wake up from sleep, the FW version of the download network card may also be skipped directly, and the WiFi network card determined to exist through judgment may be directly used to read the WiFi connection information, so that the device can be directly connected to the WiFi network.
In summary, the method for quickly connecting the WiFi network in the embodiment of the invention records and stores the WiFi network card information before the equipment is dormant in the equipment, and the WiFi network card can be written in according to the stored information after the equipment is awakened, so that the equipment can quickly recover WiFi connection, the equipment networking time and the waiting time of a user can be reduced, and the user experience is improved.
Further, the present invention proposes a computer-readable storage medium, on which a program for fast connecting to a WiFi network is stored, which when executed by a processor implements a method for fast connecting to a WiFi network as in the above embodiments.
The computer readable storage medium of the embodiment of the invention can reduce the equipment networking time and the waiting time of a user and improve the user experience when the program of the quick-connection WiFi network corresponding to the method of the quick-connection WiFi network stored on the computer readable storage medium is executed by a processor.
Further, the present invention provides an electronic device, where the device includes a memory, a processor, and a program for quickly connecting to a WiFi network, where the program is stored in the memory and can run on the processor, and when executed by the processor, the processor implements a method for quickly connecting to a WiFi network as in the foregoing embodiment.
The electronic device of the embodiment of the invention comprises the memory and the processor, and when the program of the quick-connection WiFi network corresponding to the method of the quick-connection WiFi network in the embodiment stored on the memory is executed by the processor, the networking time of the device and the waiting time of a user can be reduced, and the user experience is improved.
Fig. 2 is a block diagram of a device for fast connecting to a WiFi network according to an embodiment of the invention.
Further, the present invention proposes a device for quickly connecting to a WiFi network, where the device is applied to an electronic apparatus, as shown in fig. 2, the device 100 includes a storage module 101 and a quick connection module 102.
The storage module 101 is used for recording and storing WiFi connection information when the electronic equipment is dormant; the quick connection module 102 is configured to obtain WiFi connection information when the electronic device wakes up from sleep, and write the WiFi connection information into a WiFi network card of the electronic device, so that the electronic device is connected to the WiFi network.
Specifically, in order to enable the electronic device to have a lower power consumption capability, it may be set that if the electronic device does not have a trigger condition for realizing the setting within a preset time, or if the user does not use the electronic device within the preset time, the electronic device may enter a sleep state to reduce the consumption of energy, where the preset time may be set by the user according to the use frequency of the specific electronic device. In this embodiment, the storage module 101 may be used to record and save WiFi connection information of the electronic device when the electronic device enters a sleep state. Optionally, the electronic device may record and save the WiFi connection information connected to the electronic device each time the electronic device enters the sleep state, so as to update the WiFi connection information connected to the electronic device.
It can be appreciated that the WiFi connection information when the electronic device is dormant may be recorded on a WiFi network card of the electronic device.
After the electronic device enters the sleep state, if the user wants to use the electronic device, the electronic device needs to be controlled to enter a wake-up program, so that the electronic device is restored to the state before sleep, namely, the electronic device is in a networking state and can be used normally. In this embodiment, when the electronic device wakes up from sleep, the WiFi connection information may be obtained through the quick connection module 102 and written into the WiFi network card of the electronic device, so that the electronic device can connect to the WiFi network without the WiFi network card rescanning the WiFi connection information, thereby saving a lot of time.
In some examples of the present invention, the WiFi connection information includes a connection flag bit, where the connection flag bit is set according to whether the WiFi connection before the electronic device is dormant is successful or not.
Specifically, whether a device is normally connected before going to sleep is directly related to whether the device can be normally connected into a WiFi network after being awakened. In this embodiment, by setting a connection flag bit in the WiFi connection information, the connection flag bit is used to indicate whether the WiFi network is successfully connected before the device sleeps. For example, when the connection flag bit is 1, it indicates that the device is in normal WiFi connection before dormancy, and if the connection flag bit is not 1, it indicates that the device is not successfully connected to WiFi before dormancy. It can be understood that if the device is in a normal connection state before dormancy, after the device is awakened, the WiFi network card is read, and the WiFi connection information corresponding to the read WiFi network card is acquired to connect; if the device is in an abnormal connection state before dormancy, the device is awakened and then is connected by searching the set WiFi connection information in a normal connection mode.
In some examples of the present invention, the quick connection module is further configured to, after the electronic device loads the driver of the WiFi network card, read the connection flag, determine, according to the connection flag, whether the WiFi network card is correctly connected before the device sleeps, and read WiFi connection information stored by the electronic device when the WiFi network card is correctly connected.
Specifically, after the device wakes up, wiFi connection information needs to be acquired to enable the device to connect to the WiFi network. In this example, first, after the device wakes up, the driver of the WiFi network card is loaded, and the connection flag bit is read, and according to the flag bit, whether the WiFi network card connected to the device before dormancy is normal is determined. For example, when the connection flag bit is read to be 1, judging that the WiFi network card connected with the device before dormancy is in a normal state; and if the connection flag bit is read to be not 1, judging that the WiFi network card connected with the equipment before dormancy is not in a normal state. In this embodiment, when it is determined that the WiFi network card of the device is in a normal connection state before dormancy, the WiFi connection information recorded and stored in the device is read, so that the device can be connected to the WiFi network through the WiFi connection information.
In some examples of the present invention, the quick connection module is further configured to, when the electronic device loads the driver of the WiFi network card, access the WiFi network card using the CMD52 command, and determine that the WiFi network card exists after receiving a correct response from the WiFi network card.
Specifically, before acquiring the WiFi connection information, the driver of the WiFi network card may be loaded first. More specifically, when the driver of the WiFi network card is loaded, the CMD52 command may be used to access the WiFi network card, and if the accessed WiFi network card obtains a correct response, it may be determined that the WiFi network card exists. At this time, the device can directly skip the WiFi power-on and scan the card, i.e. does not need to scan the WiFi network card. In some examples, after the device is determined to wake up from sleep, the FW version of the download network card may also be skipped directly, and the WiFi network card determined to exist through judgment may be directly used to read the WiFi connection information, so that the device can be directly connected to the WiFi network.
In summary, the method for quickly connecting the WiFi network in the embodiment of the invention records and stores the WiFi network card information before the equipment is dormant in the equipment, and the WiFi network card can be written in according to the stored information after the equipment is awakened, so that the equipment can quickly recover WiFi connection, the equipment networking time and the waiting time of a user can be reduced, and the user experience is improved.
It should be noted that the logic and/or steps represented in the flowcharts or otherwise described herein, for example, may be considered as a ordered listing of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the device or element being referred to must have a specific orientation, be configured and operated in a specific orientation, and therefore should not be construed as limiting the present invention.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly, through intermediaries, or both, may be in communication with each other or in interaction with each other, unless expressly defined otherwise. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
In the present invention, unless expressly stated or limited otherwise, a first feature "up" or "down" a second feature may be the first and second features in direct contact, or the first and second features in indirect contact via an intervening medium. Moreover, a first feature being "above," "over" and "on" a second feature may be a first feature being directly above or obliquely above the second feature, or simply indicating that the first feature is level higher than the second feature. The first feature being "under", "below" and "beneath" the second feature may be the first feature being directly under or obliquely below the second feature, or simply indicating that the first feature is less level than the second feature.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.

Claims (8)

1. A method for fast connecting a WiFi network, comprising:
recording and storing WiFi connection information when the equipment is dormant;
when the equipment is awakened from dormancy, acquiring the WiFi connection information, and writing the WiFi connection information into a WiFi network card of the equipment so as to enable the equipment to be connected to a WiFi network;
before acquiring the WiFi connection information, the method further includes: when loading the drive of the WiFi network card, accessing the WiFi network card by adopting a CMD52 command, and determining that the WiFi network card exists after receiving the correct response of the WiFi network card; and in the driving process of loading the WiFi network card, if the equipment is determined to be awakened from dormancy, skipping downloading the FW version of the WiFi network card.
2. The method of claim 1, wherein the WiFi connection information includes a connection flag bit that is set according to whether a WiFi connection before device dormancy is successful or not.
3. The method of claim 2, wherein obtaining the WiFi connection information comprises:
and after the equipment loads the drive of the WiFi network card, reading the connection zone bit, judging whether the WiFi network card is correctly connected before the equipment is dormant according to the connection zone bit, and reading WiFi connection information stored by the equipment when the WiFi network card is correctly connected.
4. A computer readable storage medium, characterized in that it has stored thereon a program for fast connecting a WiFi network, which when executed by a processor implements a method for fast connecting a WiFi network according to any of claims 1-3.
5. An electronic device comprising a memory, a processor, and a program stored on the memory and executable on the processor for quickly connecting to a WiFi network, the processor, when executing the program, implementing the method for quickly connecting to a WiFi network according to any of claims 1-3.
6. An apparatus for quickly connecting to a WiFi network, the apparatus being applied to an electronic device, the apparatus comprising:
the storage module is used for recording and storing WiFi connection information when the electronic equipment is dormant;
the quick connection module is used for acquiring the WiFi connection information when the electronic equipment is awakened from dormancy, and writing the WiFi connection information into a WiFi network card of the electronic equipment so as to enable the electronic equipment to be connected to a WiFi network;
the quick connection module is also used for accessing the WiFi network card by adopting a CMD52 command when the electronic equipment loads the drive of the WiFi network card and determining that the WiFi network card exists after receiving the correct response of the WiFi network card; and in the driving process of loading the WiFi network card by the electronic equipment, if the electronic equipment is determined to be awakened from dormancy, skipping downloading the FW version of the WiFi network card.
7. The apparatus of claim 6, wherein the WiFi connection information comprises a connection flag bit that is set based on whether a WiFi connection before dormancy of the electronic device was successful.
8. The apparatus of claim 7, wherein the quick connection module is further configured to read the connection flag after the electronic device has loaded the driver of the WiFi network card, determine whether the WiFi network card is correctly connected before the device sleeps according to the connection flag, and read WiFi connection information stored in the electronic device when the WiFi network card is correctly connected.
CN202010946766.4A 2020-09-10 2020-09-10 Method and device for quickly connecting WiFi network, storage medium and electronic equipment Active CN114173339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010946766.4A CN114173339B (en) 2020-09-10 2020-09-10 Method and device for quickly connecting WiFi network, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010946766.4A CN114173339B (en) 2020-09-10 2020-09-10 Method and device for quickly connecting WiFi network, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN114173339A CN114173339A (en) 2022-03-11
CN114173339B true CN114173339B (en) 2023-05-05

Family

ID=80475579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010946766.4A Active CN114173339B (en) 2020-09-10 2020-09-10 Method and device for quickly connecting WiFi network, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114173339B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316555A (en) * 2011-09-19 2012-01-11 华为终端有限公司 Method for scanning wireless fidelity (WiFi) network by mobile terminal and mobile terminal adopting method
CN102622079A (en) * 2012-02-25 2012-08-01 华为终端有限公司 Sleep method, wakening method and mobile terminal device
CN102843781A (en) * 2011-06-24 2012-12-26 宏碁股份有限公司 Method for controlling network connection of wireless network device and associated wireless network device
CN104394582A (en) * 2014-11-24 2015-03-04 上海盈方微电子有限公司 WiFi sleeping method for Android device
EP3136698A1 (en) * 2015-08-31 2017-03-01 Xiaomi Inc. Connection status prompting method and device
CN106604277A (en) * 2016-12-07 2017-04-26 广东欧珀移动通信有限公司 Wireless network access method and mobile terminal
CN107396434A (en) * 2017-08-09 2017-11-24 维沃移动通信有限公司 A kind of connection method of wireless network and mobile terminal
CN109803360A (en) * 2019-02-13 2019-05-24 Oppo广东移动通信有限公司 WiFi dormancy control method, device, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130131959A (en) * 2012-05-25 2013-12-04 삼성전자주식회사 Method and apparatus for controlling dormancy mode in portable terminal
US9247495B2 (en) * 2012-11-06 2016-01-26 Microsoft Technology Licensing, Llc Power saving Wi-Fi tethering
US9871792B2 (en) * 2014-10-03 2018-01-16 Gopro, Inc. Hostless mDNS-SD responder with authenticated host wake service

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843781A (en) * 2011-06-24 2012-12-26 宏碁股份有限公司 Method for controlling network connection of wireless network device and associated wireless network device
CN102316555A (en) * 2011-09-19 2012-01-11 华为终端有限公司 Method for scanning wireless fidelity (WiFi) network by mobile terminal and mobile terminal adopting method
CN102622079A (en) * 2012-02-25 2012-08-01 华为终端有限公司 Sleep method, wakening method and mobile terminal device
CN104394582A (en) * 2014-11-24 2015-03-04 上海盈方微电子有限公司 WiFi sleeping method for Android device
EP3136698A1 (en) * 2015-08-31 2017-03-01 Xiaomi Inc. Connection status prompting method and device
CN106604277A (en) * 2016-12-07 2017-04-26 广东欧珀移动通信有限公司 Wireless network access method and mobile terminal
CN107396434A (en) * 2017-08-09 2017-11-24 维沃移动通信有限公司 A kind of connection method of wireless network and mobile terminal
CN109803360A (en) * 2019-02-13 2019-05-24 Oppo广东移动通信有限公司 WiFi dormancy control method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114173339A (en) 2022-03-11

Similar Documents

Publication Publication Date Title
US9424022B2 (en) Method for updating firmware of an electronic device within a computer
US9703995B2 (en) Portable terminal, imaging apparatus, communication system, communication method of portable terminal, communication method of imaging apparatus, and computer readable storage device
CN101969502A (en) Mobile terminal service recovering method and mobile terminal
US20090054045A1 (en) Device and Method for Warm Boot Persistence
US20130337868A1 (en) Method and terminal for using mobile memory card to boot up mobile phone operating system
CN114173339B (en) Method and device for quickly connecting WiFi network, storage medium and electronic equipment
US20040103172A1 (en) Method of updating an operation system
KR101284057B1 (en) Arithmetic processing device, data erasing method, program, storage medium, and remote operation system
CN110855318A (en) Tire pressure sensor upgrading method, device, equipment and medium
US8130744B2 (en) Communication apparatus and control method, program, and storage medium thereof
CN106603526B (en) WiFi/hotspot starting method and device
US11246091B2 (en) Method and apparatus for scanning access points in a portable terminal
CN109243517B (en) Searching method for NAND Flash bad block and solid state disk
CN103207838B (en) Improve the method for chip performance
CN115269452A (en) Trim command processing method, system, terminal device and storage medium
US20120303925A1 (en) Method and device for configuring memory capacity
US20070064514A1 (en) Control unit and portable terminal
KR102390879B1 (en) Battery management system with plurality of operation mode and mode operation method thereof
CN116450059B (en) Data management method, apparatus, electronic device, storage medium, and program product
US20100049962A1 (en) Method for loading and updating central processing unit microcode into basic input/output system
CN113866651B (en) Low-power detection method and device for remote controller and remote controller
US8362880B2 (en) Method and computer program product for loading and executing program code at micro-processor
CN117270914B (en) System upgrading method, device, equipment and medium of terminal equipment
CN109640300B (en) WiFi antenna configuration method of intelligent terminal, intelligent terminal and storage device
CN114153505B (en) Data interaction method, system, device, equipment and computer storage medium

Legal Events

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