WO2021052178A1 - Procédé et dispositif de connexion wi-fi - Google Patents

Procédé et dispositif de connexion wi-fi Download PDF

Info

Publication number
WO2021052178A1
WO2021052178A1 PCT/CN2020/113063 CN2020113063W WO2021052178A1 WO 2021052178 A1 WO2021052178 A1 WO 2021052178A1 CN 2020113063 W CN2020113063 W CN 2020113063W WO 2021052178 A1 WO2021052178 A1 WO 2021052178A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
configuration information
probe response
frame
response frame
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.)
Ceased
Application number
PCT/CN2020/113063
Other languages
English (en)
Chinese (zh)
Inventor
贺安超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2021052178A1 publication Critical patent/WO2021052178A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Definitions

  • This application relates to the field of communications, and in particular to a wireless fidelity (Wi-Fi) connection method and device.
  • Wi-Fi wireless fidelity
  • Wi-Fi technology is a wireless local area network technology established by the Wi-Fi Alliance in the Institute of Electrical and Electronic Engineers (IEEE) 802.11 standard. Wi-Fi technology usually involves two types of devices: access point (Access Point, AP) and station (station, STA). Among them, the AP can also be called a wireless access point, which is a Wi-Fi network provider, allows other wireless devices to access, and provides data access for the connected devices. A device connected to a Wi-Fi network can be called an STA. For example, electronic devices that support Wi-Fi functions, such as mobile phones, tablets, and laptops, can be used as STAs.
  • the process of STA (for example, STA is a mobile phone) accessing the Wi-Fi network provided by the AP is: the user selects the Wi-Fi network that the mobile phone wants to access on the mobile phone. For example, the user can select the service set identifier (SSID) of the Wi-Fi network that the mobile phone wants to access in the wireless local area network setting interface of the mobile phone.
  • the mobile phone displays a password input interface for the user to enter the Wi-Fi network access password. After the user enters the access password, the mobile phone can carry the Wi-Fi configuration information in the connection request and transmit it to the AP that provides the Wi-Fi network.
  • SSID service set identifier
  • the Wi-Fi configuration information includes at least the access password input by the user and the SSID of the Wi-Fi network.
  • the AP verifies the Wi-Fi configuration information in the connection request. If the verification is passed, the access of the mobile phone is approved, and if the verification fails, the access of the mobile phone is rejected.
  • the user manually inputting the access password is a prerequisite for the STA to access the Wi-Fi network, and this affects the speed at which the STA can access the Wi-Fi network.
  • the embodiment of the present application provides a Wi-Fi connection method and device, which solves the problem of the slow speed of STA accessing the Wi-Fi network.
  • an embodiment of the present application provides a Wi-Fi connection method.
  • the method may include: the electronic device sends a probe request frame; the electronic device receives a probe response frame from the AP, and the probe response The frame carries the Wi-Fi configuration information of the Wi-Fi network provided by the AP, which is used for the electronic device to access the Wi-Fi network provided by the AP; the electronic device according to the Wi-Fi configuration information carried in the received probe response frame, Access the Wi-Fi network provided by the AP.
  • the electronic device can broadcast a probe request frame to scan for available APs around it. After the AP detects the probe request frame, it can reply to the electronic device a probe response frame carrying the Wi-Fi configuration information of the Wi-Fi network provided by the AP. The electronic device can access the Wi-Fi network provided by the AP according to the Wi-Fi configuration information in the probe response frame. In this way, the user does not need to manually enter the access password, and only needs to receive a probe response frame to obtain the Wi-Fi configuration information required to access the Wi-Fi network to complete the access, which improves the access of the electronic device to the Wi-Fi network. The speed of the Fi network. There is no need for the user to perform multiple operations, which improves the user's operating experience.
  • the method may further include: the electronic device parses the probe response frame, and determines When the probe response frame contains a field carrying Wi-Fi configuration information, the field is decrypted according to a preset encryption key to obtain Wi-Fi configuration information. By encrypting the Wi-Fi configuration information and carrying it in the probe response frame, the security of secret-free access is increased.
  • the above Wi-Fi configuration information may include: the SSID and access password of the Wi-Fi network provided by the AP.
  • the probe response frame includes: a media access control (MAC) header, a frame entity and a frame check (FCS) field; the above Wi-Fi configuration information is contained in a reserved field of the frame entity.
  • MAC media access control
  • FCS frame check
  • the method may further include: the electronic device receives an operation of the user to enable the Wi-Fi function of the electronic device.
  • an embodiment of the present application provides a Wi-Fi connection method.
  • the method may include: the AP receives a probe request frame from an electronic device; the AP sends a probe response frame to the electronic device, and the probe response frame carries the information provided by the AP.
  • the Wi-Fi configuration information of the Wi-Fi network is used for electronic devices to access the Wi-Fi network provided by the AP.
  • the AP monitors the probe request frame from the electronic device, it can reply to the electronic device a probe response frame carrying the Wi-Fi configuration information of the Wi-Fi network provided by the AP. So that the electronic device accesses the Wi-Fi network provided by the AP according to the Wi-Fi configuration information in the probe response frame. In this way, the user does not need to manually enter the access password, and only needs to receive a probe response frame to obtain the Wi-Fi configuration information required to access the Wi-Fi network to complete the access, which improves the access of the electronic device to the Wi-Fi network. The speed of the Fi network. There is no need for the user to perform multiple operations, which improves the user's operating experience.
  • the above-mentioned AP sending a probe response frame to the electronic device may include: when it is determined that the secret-free access rule is satisfied, the AP sends a probe response frame carrying Wi-Fi configuration information to the electronic device; where , Meeting the secret-free access rule includes one or more of the following situations: the identity of the electronic device is included in the whitelist; the distance between the electronic device and the AP is less than or equal to the preset distance; or the probe request frame of the electronic device is that the AP is in the Received within a specific time period.
  • the AP can reply to the electronic device a probe response frame carrying Wi-Fi configuration information after determining that the set secret-free access rule is satisfied, which can ensure the security of secret-free access.
  • the whitelist includes at least one of the first identifier and the second identifier; the first identifier is: before the Wi-Fi configuration information of the Wi-Fi network provided by the AP is changed, successful The identifier of the device that has accessed the Wi-Fi network provided by the AP; the second identifier is received by the AP from the first device, and the first device has management authority to the AP.
  • the MAC address of the smart home device can be added to the whitelist for secret-free access, so that the user can achieve Wi-Fi always online through only one operation, which improves the user’s Use experience.
  • the method may further include: the AP encrypts the Wi-Fi configuration information according to a preset encryption key. By encrypting the Wi-Fi configuration information and carrying it in the probe response frame, the security of secret-free access is further increased.
  • the Wi-Fi configuration information may include: the SSID and access password of the Wi-Fi network provided by the AP.
  • the probe response frame may include: a MAC header, a frame entity, and an FCS field; Wi-Fi configuration information is included in a reserved field of the frame entity.
  • inventions of the present application provide an electronic device.
  • the electronic device may include a processor, a memory, and a communication interface.
  • the memory and the communication interface are coupled to the processor.
  • the communication interface is used to communicate with other devices.
  • the other devices include APs.
  • the memory is used to store computer program code, and the computer program code includes computer instructions.
  • an embodiment of the present application provides a computer-readable storage medium, including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute any of the first aspect or the possible implementation manners of the first aspect.
  • the embodiments of the present application provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute the first aspect or any one of the possible implementation manners of the first aspect Wi-Fi connection method.
  • an embodiment of the present application provides an AP, including: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is used to store computer program codes, and the computer program codes include computer instructions.
  • the AP executes the Wi-Fi connection method according to the second aspect or any one of the possible implementation manners of the second aspect.
  • an embodiment of the present application provides a computer-readable storage medium, including computer instructions, which when the computer instructions run on the AP, cause the AP to execute any one of the second aspect or the possible implementation manners of the second aspect The described Wi-Fi connection method.
  • the embodiments of the present application provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute the second aspect or any one of the possible implementation manners of the second aspect Wi-Fi connection method.
  • an embodiment of the present application provides a device that has the function of implementing the behavior of the electronic device in the methods of the foregoing aspects.
  • the function can be realized by hardware, or the corresponding software can be executed by hardware.
  • the hardware or software includes one or more modules corresponding to the above functions, for example, a receiving unit or module, a sending unit or module, a connecting unit or module, and so on.
  • an embodiment of the present application provides a device that has the function of implementing AP behaviors in the methods of the foregoing aspects.
  • the function can be realized by hardware, or the corresponding software can be executed by hardware.
  • the hardware or software includes one or more modules corresponding to the above functions, for example, a sending unit or module, a receiving unit or module, an encryption unit or module, and so on.
  • an embodiment of the present application provides a system, and the system may include an electronic device and an AP.
  • Electronic devices can be used to send probe request frames
  • APs can be used to receive probe request frames from electronic devices, and send probe response frames to the electronic devices.
  • the probe response frames carry Wi-Fi configuration information of the Wi-Fi network provided by the AP.
  • the electronic device is also used to receive the probe response frame from the AP, and access the Wi-Fi network provided by the AP according to the Wi-Fi configuration information carried in the probe response frame.
  • FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of this application.
  • FIG. 2 is a schematic flowchart of a Wi-Fi connection method provided by an embodiment of this application.
  • FIG. 3 is a schematic diagram of an operation of turning on the Wi-Fi function provided by an embodiment of the application
  • FIG. 4 is a schematic diagram of another operation of turning on the Wi-Fi function provided by an embodiment of the application.
  • FIG. 5 is a schematic diagram of an example of a frame structure of a Wi-Fi frame provided by an embodiment of the application.
  • FIG. 6 is a schematic diagram of a display interface of an electronic device provided by an embodiment of the application.
  • first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with “first” and “second” may explicitly or implicitly include one or more of these features. In the description of the present embodiment, unless otherwise specified, "plurality" means two or more.
  • the Wi-Fi network provided by the AP is usually encrypted. That is, before the electronic device as a STA accesses the Wi-Fi network provided by the AP, the AP needs to authenticate the Wi-Fi configuration information carried in the connection request sent by the electronic device. If the authentication is passed, the electronic device is allowed to access, otherwise the electronic device is rejected.
  • the Wi-Fi configuration information includes at least: the SSID and access password of the Wi-Fi network.
  • the Wi-Fi configuration information may also include the encryption method of the Wi-Fi network.
  • the access password can be manually input by the user.
  • manually entering the access password will affect the speed at which the electronic device accesses the Wi-Fi network.
  • more and more smart home devices support Wi-Fi functions.
  • Some smart home devices, such as desk lamps, speakers, air conditioners, etc. do not have a display screen, that is, they cannot provide a password input interface for users to enter the access password. Therefore, if users are allowed to avoid entering the access password on the side of the electronic device as a STA, it will not only increase the speed of the electronic device accessing Wi-Fi network, but also provide a way for electronic devices without a display screen to access the Wi-Fi network. It's possible.
  • the prior art provides a solution for preventing the user from inputting the access password on the side of the electronic device serving as the STA.
  • the electronic device as a desk lamp as an example
  • the specific process is as follows: First, the user presses the factory reset button of the desk lamp. In response to the user's operation of the button, the desk lamp broadcasts a Wi-Fi beacon frame.
  • the AP When the AP is working, it will monitor all the channels that can be used for Wi-Fi transmission. Therefore, the AP can receive the Wi-Fi beacon frame broadcast by the desk lamp. After that, the prompt light corresponding to the AP will flash, prompting the user that there is a device that needs to be accessed.
  • the user can operate the corresponding button set on the AP to indicate that the device is allowed to access.
  • the AP In response to the user's operation of the corresponding button on the AP, the AP encrypts the Wi-Fi configuration information (such as including SSID, access password, and encryption method) of the Wi-Fi network provided by it and stores the fragments in multiple multicast packets ( At least dozens of multicast packets are required to send the last two bytes of the destination Internet Protocol (IP) address, and send these multiple multicast packets.
  • IP Internet Protocol
  • the encryption key is pre-configured in the AP and lamp. After the desk lamp receives these multiple multicast packets, it splices the multiple multicast packets, and uses the preset encryption key to parse them to obtain the Wi-Fi configuration information. Finally, the desk lamp sends a connection request carrying Wi-Fi configuration information to the AP. After the AP receives the connection request, it authenticates the Wi-Fi configuration information. After the authentication is passed, the desk lamp is allowed to access. So far, the desk lamp has successfully connected to the Wi-Fi network provided by the AP.
  • the electronic device as the STA needs to receive multiple multicast packets for splicing to obtain the corresponding Wi-Fi configuration information, which still cannot be used.
  • Electronic devices quickly connect to Wi-Fi networks.
  • the access process requires the user to perform multiple operations, and the user experience is not good.
  • the embodiment of the present application provides a Wi-Fi connection method.
  • the electronic device can broadcast a probe request frame to scan for available APs around it.
  • the AP detects the probe request frame, it may reply to the electronic device a probe response frame carrying Wi-Fi configuration information of the Wi-Fi network provided by the AP.
  • the electronic device can access the Wi-Fi network provided by the AP according to the Wi-Fi configuration information in the probe response frame.
  • the user does not need to manually enter the access password, and only needs to receive a probe response frame to obtain the Wi-Fi configuration information required to access the Wi-Fi network to complete the access, which improves the access of the electronic device to the Wi-Fi network.
  • the speed of the Fi network In addition, there is no need for the user to perform multiple operations, which improves the user's operating experience.
  • the electronic devices described in the embodiments of the present application may be mobile phones, tablet computers, desktop computers, laptops, handheld computers, notebook computers, ultra-mobile personal computers (UMPC), and netbooks.
  • PDAs personal digital assistants
  • smart home devices such as desk lamps, speakers, air conditioners, rice cookers, televisions, and augmented reality (AR) ⁇ virtual reality (VR) devices, etc.
  • AR augmented reality
  • VR virtual reality
  • the AP may be a router.
  • the AP may also be an electronic device with AP capability (for example, capable of providing a Wi-Fi network), such as a mobile phone, that is, an electronic device with AP capability may be used as an AP.
  • the embodiments of the present application do not impose special restrictions on the specific forms of the AP and the electronic device that is used as a STA to access the Wi-Fi network provided by the AP.
  • FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of this application.
  • the electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, and a battery 142, Antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, A display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and the environment Light sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device.
  • the electronic device may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait.
  • AP application processor
  • modem processor modem processor
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller can be the nerve center and command center of the electronic device.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that the processor 110 has just used or used cyclically. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter/receiver (universal asynchronous) interface.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter/receiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM interface SIM interface
  • USB interface universal asynchronous transmitter/receiver
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G and the like applied to electronic devices.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on electronic devices including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellite systems. (global navigation satellite system, GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the wireless communication module 160 may be used to send a probe request frame, and may also be used to receive a probe response frame from an AP.
  • the probe response frame can carry Wi-Fi configuration information of the Wi-Fi network provided by the AP.
  • the antenna 1 of the electronic device is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the electronic device realizes the display function through the GPU, the display screen 194, and the application processor.
  • the GPU is a microprocessor for image processing, which is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, and the like.
  • the display screen 194 includes a display panel.
  • the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • emitting diode AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the electronic device may include one or N display screens 194, and N is a positive integer greater than one.
  • Electronic equipment can achieve shooting functions through ISP, camera 193, video codec, GPU, display 194, and application processor.
  • the ISP is used to process the data fed back by the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and is projected to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device may include 1 or N cameras 193, and N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device selects the frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device can support one or more video codecs.
  • the electronic device can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG moving picture experts group
  • NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • NPU can realize the intelligent cognition of electronic equipment and other applications, such as: image recognition, face recognition, speech recognition, text understanding, etc.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device by running instructions stored in the internal memory 121. For example, in the embodiment of the present application, the processor 110 may run an instruction stored in the internal memory 121 to cause the electronic device to send a probe request frame and receive a probe response frame from the AP. If the received probe response frame carries Wi-Fi configuration information, the Wi-Fi configuration information in the probe response frame can be used to access the Wi-Fi network provided by the AP.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function.
  • the data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • the electronic device can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the electronic device answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C.
  • the electronic device may be provided with at least one microphone 170C.
  • the electronic device may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals.
  • the electronic device may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • the capacitive pressure sensor may include at least two parallel plates with conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device determines the strength of the pressure based on the change in capacitance. When a touch operation acts on the display screen 194, the electronic device detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device may also calculate the touched position based on the detection signal of the pressure sensor 180A.
  • touch operations that act on the same touch position but have different touch operation strengths may correspond to different operation instructions. For example, when a touch operation whose intensity of the touch operation is less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
  • the gyro sensor 180B can be used to determine the movement posture of the electronic device.
  • the angular velocity of the electronic device around three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyroscope sensor 180B detects the angle of the shake of the electronic device, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device through a reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device can use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the electronic device when the electronic device is a flip machine, the electronic device can detect the opening and closing of the flip according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device in various directions (generally three axes). When the electronic device is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and apply to applications such as horizontal and vertical screen switching, pedometers and so on.
  • Distance sensor 180F used to measure distance.
  • Electronic equipment can measure distance through infrared or laser.
  • the electronic device may use the distance sensor 180F to measure the distance to achieve fast focusing.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device emits infrared light to the outside through the light-emitting diode.
  • Electronic devices use photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device. When insufficient reflected light is detected, the electronic device can determine that there is no object near the electronic device.
  • the electronic device can use the proximity light sensor 180G to detect that the user holds the electronic device close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the electronic device can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device is in the pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints. Electronic devices can use the collected fingerprint characteristics to unlock fingerprints, access application locks, take photos with fingerprints, and answer calls with fingerprints.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device uses the temperature detected by the temperature sensor 180J to execute the temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device executes to reduce the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the electronic device when the temperature is lower than another threshold, the electronic device heats the battery 142 to avoid abnormal shutdown of the electronic device due to low temperature.
  • the electronic device boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the electronic device, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
  • the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
  • the button 190 includes a power-on button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the electronic device can receive key input, and generate key signal input related to user settings and function control of the electronic device.
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
  • touch operations that act on different applications can correspond to different vibration feedback effects.
  • Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminding, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device.
  • the electronic device can support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 may also be compatible with external memory cards.
  • the electronic device interacts with the network through the SIM card to realize functions such as call and data communication.
  • the electronic device adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
  • FIG. 2 is a schematic flowchart of a Wi-Fi connection method provided by an embodiment of the application. As shown in Figure 2, the method may include:
  • the electronic device After the Wi-Fi function of the electronic device is turned on, the electronic device sends a probe request frame.
  • the electronic device can broadcast a probe request frame on a channel that can be used for Wi-Fi transmission to scan for available APs around it.
  • the electronic device may enable the Wi-Fi function of the electronic device after receiving the user's first operation.
  • the first operation is an operation for the user to turn on the Wi-Fi function of the electronic device.
  • the first operation may be an operation of a button for turning on the Wi-Fi function of the electronic device by the user.
  • the button may be a virtual button displayed on the display screen of the electronic device, or may be a physical button set in the electronic device.
  • the first operation is an operation of a virtual button displayed on the display screen of the mobile phone, such as a switch button of a wireless local area network.
  • the user can click the switch button 302 of the wireless LAN in the wireless LAN setting interface 301 of the mobile phone.
  • the mobile phone can turn on the Wi-Fi function of the mobile phone.
  • the mobile phone can broadcast a probe request frame on a channel that can be used for Wi-Fi transmission to scan for available APs around it.
  • the first operation is the operation of a physical button set in the desk lamp, such as a factory reset button.
  • the user can operate the factory reset button 401 of the desk lamp.
  • the desk lamp can turn on the Wi-Fi function of the desk lamp.
  • the desk lamp can broadcast probe request frames on the channels available for Wi-Fi transmission to scan for available APs around it.
  • the AP receives a probe request frame from the electronic device.
  • the AP When the AP is working, it will monitor all channels available for Wi-Fi transmission. Therefore, after the electronic device broadcasts the probe request frame on a channel that can be used for Wi-Fi transmission, the AP can receive the probe request frame from the electronic device. Combining the example in S201, for example, the AP may receive a probe request frame from a mobile phone. For another example, the AP may receive the probe request frame from the desk lamp.
  • the AP sends a probe response frame to the electronic device, where the probe response frame carries Wi-Fi configuration information of the Wi-Fi network provided by the AP.
  • the Wi-Fi configuration information is used for the electronic device to access the Wi-Fi network provided by the AP.
  • the Wi-Fi configuration information includes at least: the SSID and access password of the Wi-Fi network.
  • the Wi-Fi configuration information may also include the encryption method of the Wi-Fi network.
  • the Wi-Fi configuration information of the Wi-Fi network provided by the AP may be carried in the probe response frame and sent to the electronic device.
  • the AP may carry the Wi-Fi configuration information of the Wi-Fi network provided by the AP in the probe response when determining that it meets the secret-free access rule.
  • the frame is sent to the electronic device.
  • secret-free access rules can be set on the AP side.
  • the AP may carry the Wi-Fi configuration information required to access the Wi-Fi network in a probe response frame and send it to the electronic device.
  • the secret-free access rules set on the AP side may include one or more of the following: electronic devices in the whitelist allow secret-free access, electronic devices located within a certain distance from the AP allow secret-free access, and during a specific time period It allows secret-free access of electronic devices, etc.
  • the whitelist may include one or more identities of electronic devices that allow secret-free access.
  • the identifier can be a MAC address.
  • the AP can determine whether the MAC address of the electronic device is included in the whitelist. If the MAC address of the electronic device is included in the whitelist, the Wi-Fi configuration information required to access the Wi-Fi network can be carried in a probe response frame and sent to the electronic device. If the MAC address of the electronic device is not included in the whitelist, a probe response frame that does not carry Wi-Fi configuration information is sent.
  • the identifiers in the above whitelist may be manually added by the user.
  • the mobile phone (the mobile phone may be the first device in this application) has the management authority of the router.
  • the mobile phone can configure or control the router, and it can be said that the mobile phone has the management authority to the router.
  • an application for controlling the router can be installed in the mobile phone, and the router can be configured or controlled through the application.
  • the mobile phone can open the control interface of the router through the webpage, and the router can be configured or controlled in the control interface.
  • the mobile phone can obtain the MAC address of the lamp.
  • the user can use the application to manually enter the MAC address of the lamp, and the mobile phone can obtain the MAC address of the lamp. Later, when the mobile phone is connected to the Wi-Fi network provided by the router, the mobile phone can send the MAC address of the lamp to the router.
  • the router After the router receives the MAC address of the lamp, it can save the MAC address of the lamp in the whitelist. In this way, combined with the example in S201, after the desk lamp broadcasts the probe request frame on the channel that can be used for Wi-Fi transmission, the router receives the probe request frame of the desk lamp. The router can determine that the MAC address of the lamp is included in the whitelist. At this time, the router sends a probe response frame containing Wi-Fi configuration information to the lamp.
  • the identifiers in the above whitelist may also be automatically added by the AP.
  • the router can save its MAC address.
  • the Wi-Fi configuration information of the Wi-Fi network provided by the router is changed, for example, the user changes the SSID of the Wi-Fi network, or changes the access password, usually the user is required to manually re-enter the password before it can be used again.
  • the router can automatically add the MAC addresses of electronic devices that have successfully accessed the router into the whitelist before the Wi-Fi configuration information is changed.
  • the whitelist includes the MAC addresses of electronic devices that have successfully accessed the router before the Wi-Fi configuration information is changed.
  • the router adds the MAC address of the mobile phone to the whitelist.
  • the router can determine that the MAC address of the mobile phone is included in the whitelist after receiving the probe request frame broadcast on the channel available for Wi-Fi transmission by the mobile phone.
  • the router can send a probe response frame containing Wi-Fi configuration information to the mobile phone.
  • the AP can determine whether the distance between the electronic device and the AP is less than or equal to the preset distance. If the distance between the electronic device and the AP is less than or equal to the preset distance, the Wi-Fi configuration information required to access the Wi-Fi network can be carried in a probe response frame and sent to the electronic device. If the distance between the electronic device and the AP is greater than the preset distance, a probe response frame that does not carry Wi-Fi configuration information is sent.
  • the AP can determine whether the distance between the electronic device and the AP is less than or equal to the preset distance according to the signal strength of the probe request frame sent by the electronic device. For example, when the AP determines that the signal strength of the probe request frame sent by the electronic device is greater than the preset strength, it determines that the distance between the electronic device and the AP is less than or equal to the preset distance, that is, determines that the electronic device is located within a certain distance of the AP.
  • the AP determines that the signal strength of the probe request frame sent by the electronic device is less than the preset strength, it determines that the distance between the electronic device and the AP is greater than the preset distance, that is, it determines that the electronic device is not located within a certain distance range of the AP.
  • the specific time period can be predefined, such as a certain time period every day (such as 6 pm to 7 pm). Take the specific time period from 6 pm to 7 pm as an example.
  • the AP can determine whether the time when the probe request frame is received is included in the specific time period, that is, whether it is a probe request frame received between 6 pm and 7 pm. If the probe request frame is received between 6 pm and 7 pm, the Wi-Fi configuration information required to access the Wi-Fi network can be carried in the probe response frame and sent to the electronic device. If it is not the probe request frame received between 6 pm and 7 pm, the probe response frame without Wi-Fi configuration information is sent.
  • the specific time period may also be a time period triggered by the user to start timing, and the duration is equal to the preset duration.
  • a button in the AP it is used to trigger the device's secret-free access.
  • the AP starts timing after receiving the user's operation on the button, and allows the device to gain secret-free access within a preset period of time. That is to say, if the AP receives the probe request frame from the electronic device within the preset time period after receiving the user's operation on the button, it sends the probe response frame carrying the Wi-Fi configuration information to the electronic device.
  • the user can set the time period for secret-free access in the management interface of the AP, or trigger the device to allow secret-free access and start timing.
  • the secret-free access rule set on the AP side includes a rule.
  • the AP may send a portable packet to the electronic device when it determines that one of the rules is satisfied or when it is determined that these multiple rules are satisfied at the same time.
  • Probe response frame of Wi-Fi configuration information For example, the secret-free access rules set on the AP side include: electronic devices located within a certain distance of the AP allow secret-free access, and allow electronic devices to be secret-free access within a specific time period as an example.
  • the AP after the AP receives the probe request frame from the electronic device, it may be included when determining that the distance between the electronic device and the AP is less than or equal to a preset distance, or when determining that the probe request frame is received Within a specific time period, send a probe response frame carrying Wi-Fi configuration information to the electronic device. In some other embodiments, after the AP receives the probe request frame from the electronic device, it may determine that the distance between the electronic device and the AP is less than or equal to the preset distance, and when it determines that the probe request frame is received, it includes In a specific time period, a probe response frame carrying Wi-Fi configuration information is sent to the electronic device.
  • a new field can be extended in the probe response frame to carry Wi-Fi configuration information.
  • a new field can be extended in the reserved field of the probe response frame to carry Wi-Fi configuration information.
  • the field carrying Wi-Fi configuration information in the probe response frame may be predefined.
  • the Wi-Fi frame 500 may include: a frame header (ie, a MAC header) 501, a frame body (frame body) 502, and a frame check sequence (FCS) field 503.
  • a frame header ie, a MAC header
  • a frame body frame body
  • FCS frame check sequence
  • the above-mentioned MAC header 501 is a media access control (media access control, MAC) header.
  • the aforementioned MAC header 501 may include a frame control field (frame control) 5011, a duration/identification (duration/ID) 5012, an address field (address) 5013, a sequence control field (sequence control) 5014, etc. .
  • frame control frame control
  • duration/identification duration/identification
  • address field address field
  • sequence control sequence control
  • the frame control field 5011 may include a protocol version field (protocol version) 501a, a type field 501b, and so on.
  • the protocol version field 501a is used to indicate the protocol version followed by the Wi-Fi frame 500, and the protocol version is usually 0.
  • the type field 501b may include Type and Subtype.
  • Type is used to indicate whether the corresponding frame is a management frame, a data frame, or a control frame.
  • the address field 5013 may include address information such as a source address, a destination address, a transmitting workstation address, and a receiving workstation address.
  • the frame entity 502 includes an SSID field 5021, a supported rate (supported Rates) 5022, an extended supported rate (extended supported rates) 5023, a reserved field 5024, and so on.
  • the supported rate 5022 and the extended supported rate 5023 are used to indicate the set of rates supported by the electronic device or AP.
  • the frame entity 502 can carry The Wi-Fi configuration information of the Wi-Fi network provided by the AP.
  • the reserved field 5024 of the frame entity 502 can be used to carry Wi-Fi configuration information.
  • the field used to indicate Wi-Fi configuration information in the probe response frame includes three parts: type, length, and value.
  • the content of the type (type) may be 0x51, which is used to indicate the attribute type of the field, that is, it is used to indicate that the field is Wi-Fi configuration information.
  • the length of the type can be 1 byte. Of course, the type can also be other content, and the specific content can be predefined or negotiated between the electronic device and the AP.
  • the content of length can be 0x08, which is used to indicate the length of value.
  • the length of the type can be 1 byte.
  • the content of the length is determined by the length of the value, and is not limited to 0x08, and can also be other content.
  • the content of the value is specifically determined by the Wi-Fi configuration information of the Wi-Fi network provided by the AP.
  • the Wi-Fi configuration information carried in the probe response frame of the AP may be encrypted.
  • the encryption key used to encrypt the Wi-Fi configuration information can be pre-configured in the AP and the electronic device.
  • the encryption keys of different electronic devices may be the same or different, and the embodiment of the present application does not make specific restrictions here.
  • the electronic device receives a probe response frame from the AP, and the Wi-Fi configuration information carried in the probe response frame is used for the electronic device to access the Wi-Fi network provided by the AP.
  • the electronic device parses the probe response frame. If the electronic device determines that the probe response frame contains a field for carrying Wi-Fi configuration information, it indicates that the AP is guiding itself to access.
  • the electronic device may send a connection request to the AP, and the connection request includes the Wi-Fi configuration information.
  • the AP authenticates the Wi-Fi configuration information in the connection request.
  • the electronic device is allowed to access.
  • the electronic device accesses the Wi-Fi network provided by the AP.
  • the desk lamp can receive the probe response frame carrying Wi-Fi configuration information from the AP, and the desk lamp can send a connection request containing the Wi-Fi configuration information to the AP at this time.
  • the desk lamp can successfully access the Wi-Fi network provided by the AP.
  • the electronic device when the electronic device is currently connected to another Wi-Fi network, the electronic device can disconnect from the Wi-Fi network, and then send the Wi-Fi configuration information to the AP. Connection request in order to access the Wi-Fi network provided by the AP.
  • the electronic device is an electronic device with a display screen (such as a mobile phone), as shown in FIG. 6, the electronic device may display prompt information 601 for prompting the user that there is currently an AP to guide access, and asking the user whether to agree to access. If the user agrees to access, the electronic device can disconnect from the current Wi-Fi network, and then send a connection request carrying the Wi-Fi configuration information to the AP, so as to access the Wi-Fi network provided by the AP.
  • the electronic device can save the Wi-Fi configuration information. Later, when the user chooses to access the Wi-Fi network, the electronic device can use the stored Wi-Fi configuration information to access the Wi-Fi network provided by the AP without the user having to manually enter the access password.
  • the electronic device can use the preset encryption key pair after determining that the probe response frame contains a field for carrying Wi-Fi configuration information This field is parsed to obtain Wi-Fi configuration information.
  • the electronic device can broadcast a probe request frame to scan for available APs around it.
  • the AP detects the probe request frame, it can reply to the electronic device a probe response frame carrying Wi-Fi configuration information of the Wi-Fi network provided by the AP.
  • the electronic device can access the Wi-Fi network provided by the AP according to the Wi-Fi configuration information in the probe response frame.
  • the user does not need to manually enter the access password, and only needs to receive a probe response frame to obtain the Wi-Fi configuration information required to access the Wi-Fi network to complete the access, which improves the access of the electronic device to the Wi-Fi network.
  • the speed of the Fi network There is no need for the user to perform multiple operations, which improves the user's operating experience.
  • the AP can reply the probe response frame carrying Wi-Fi configuration information to the electronic device after determining that the set secret-free access rules are satisfied, which can ensure the security of secret-free access .
  • the AP can also be in a dominant position in access, and the device can be guided to automatically access without secret, which improves the ease of use.
  • the MAC address of the smart home device can be added to the whitelist for secret-free access, so that the user can achieve Wi-Fi always online through only one operation, which improves the user experience.
  • the electronic device may include a processor, a memory, and a communication interface.
  • the memory and the communication interface are coupled to the processor.
  • the communication interface is used to communicate with other devices, and the other devices include APs.
  • the memory is used to store computer program codes.
  • the computer program codes include computer instructions.
  • the computer storage medium may include computer instructions.
  • the computer instructions run on an electronic device, the electronic device executes the execution of the electronic device in the embodiment shown in FIG. 2 The various steps.
  • FIG. 2 Another embodiments of the present application also provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute each step performed by the electronic device in the embodiment shown in FIG. 2.
  • FIG. 2 Other embodiments of the present application also provide a device that has the function of realizing the behavior of the electronic device in the corresponding embodiment in FIG. 2 above.
  • the function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions, for example, a sending unit or module, a receiving unit or module, a connecting unit or module, and so on.
  • the AP may include a processor and a memory, the memory is coupled to the processor, and the memory is used to store computer program codes.
  • the computer program codes include computer instructions.
  • the computer storage medium may include computer instructions.
  • the AP executes the steps performed by the AP in the embodiment shown in FIG. 2 .
  • FIG. 2 Another embodiments of the present application also provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute each step executed by the AP in the embodiment shown in FIG. 2.
  • FIG. 2 Other embodiments of the present application also provide a device that has the function of realizing the AP behavior in the corresponding embodiment in FIG. 2 above.
  • the function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions, for example, a sending unit or module, a receiving unit or module, an encryption unit or module, and so on.
  • the disclosed device and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be divided. It can be combined or integrated into another device, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate parts may or may not be physically separate.
  • the parts displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. . Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product, and the software product is stored in a storage medium. It includes several instructions to make a device (may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

La présente invention concerne un procédé et dispositif de connexion Wi-Fi, se rapportant au domaine de la communication, et utilisés pour résoudre le problème de la faible vitesse des dispositifs électroniques accédant à un réseau Wi-Fi. Après avoir émis une trame de demande de sonde, un dispositif électronique reçoit une trame de réponse de sonde en provenance d'un point d'accès, la trame de réponse de sonde transportant des informations de configuration Wi-Fi d'un réseau Wi-Fi fournies par le point d'accès, utilisées pour que le dispositif électronique accède au réseau Wi-Fi; et, sur la base des informations de configuration Wi-Fi transportées dans la trame de réponse de sonde, le dispositif électronique peut accéder au réseau Wi-Fi.
PCT/CN2020/113063 2019-09-16 2020-09-02 Procédé et dispositif de connexion wi-fi Ceased WO2021052178A1 (fr)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201910872247 2019-09-16
CN201910872247.5 2019-09-16
CN201911205382.0 2019-11-29
CN201911205382.0A CN111132137A (zh) 2019-09-16 2019-11-29 一种Wi-Fi连接方法及设备

Publications (1)

Publication Number Publication Date
WO2021052178A1 true WO2021052178A1 (fr) 2021-03-25

Family

ID=70496405

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/113063 Ceased WO2021052178A1 (fr) 2019-09-16 2020-09-02 Procédé et dispositif de connexion wi-fi

Country Status (2)

Country Link
CN (1) CN111132137A (fr)
WO (1) WO2021052178A1 (fr)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116471707A (zh) * 2023-02-21 2023-07-21 荣耀终端有限公司 一种路由器的连接方法、装置及系统
CN116668583A (zh) * 2023-08-02 2023-08-29 荣耀终端有限公司 一种WiFi的连接方法、电子设备、存储介质和芯片
CN117715150A (zh) * 2023-05-31 2024-03-15 荣耀终端有限公司 网络连接方法和相关装置
CN119255408A (zh) * 2024-02-05 2025-01-03 荣耀终端有限公司 网络连接的方法及终端设备

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151818B (zh) * 2018-08-07 2021-08-17 西安易朴通讯技术有限公司 一种终端验证方法、ap设备、终端及系统
CN111132137A (zh) * 2019-09-16 2020-05-08 华为技术有限公司 一种Wi-Fi连接方法及设备
CN111885598B (zh) * 2020-06-02 2024-05-03 普联国际有限公司 一种Wi-Fi设备的事件发送实现系统及方法
EP4162629A1 (fr) * 2020-06-08 2023-04-12 ARRIS Enterprises LLC Procédé de rapport d'intensité de signal reçu par trame dans un réseau wi-fi
CN111741463B (zh) * 2020-07-08 2022-12-13 Oppo广东移动通信有限公司 一种通信连接方法、相关设备以及存储介质
US12170667B2 (en) 2020-07-21 2024-12-17 Arris Enterprises Llc Fast access to local area network (LAN) graphical user interface (GUI) by client device
CN114698057B (zh) * 2020-12-31 2024-10-22 奇点新源国际技术开发(北京)有限公司 一种无线网络接入方法及通信系统
CN114884970B (zh) * 2021-02-05 2024-11-29 Oppo广东移动通信有限公司 一种信息处理方法及设备、存储介质
CN115412887B (zh) * 2021-05-27 2025-10-17 北京小米移动软件有限公司 配网方法、装置、系统、设备及存储介质
CN113438102B (zh) * 2021-06-04 2022-07-26 荣耀终端有限公司 网络配置系统、网络配置方法、电子设备及路由设备
CN115706958B (zh) * 2021-07-20 2025-11-07 华为技术有限公司 数据处理方法及电子设备
CN114189950A (zh) * 2021-11-24 2022-03-15 北京小米移动软件有限公司 信息交互方法、信息交互装置、服务器及存储介质
CN116744276A (zh) * 2022-03-03 2023-09-12 华为技术有限公司 一种Wi-Fi P2P连接的方法、装置以及系统
CN116939610A (zh) * 2022-03-31 2023-10-24 华为技术有限公司 一种接入控制方法、系统及可读存储介质
CN116056185B (zh) * 2022-05-27 2023-10-27 荣耀终端有限公司 一种连接Wi-Fi网络的方法、电子设备及Wi-Fi网络连接系统
CN117202228A (zh) * 2022-05-31 2023-12-08 华为技术有限公司 修复wlan信息的方法、主配置器、物联网设备和系统
CN117714983B (zh) * 2023-05-18 2025-03-14 荣耀终端股份有限公司 电子设备的控制方法、电子设备、无线路由器及存储介质
CN121619594A (zh) * 2026-02-03 2026-03-06 深圳壹秘科技有限公司 无线配网方法、设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140112198A1 (en) * 2012-08-24 2014-04-24 Huawei Device Co., Ltd. Method, Related Device, and System for Configuring Wireless Local Area Network Device
CN106571985A (zh) * 2016-10-09 2017-04-19 美的智慧家居科技有限公司 家用电器的配网方法、系统、家用电器和路由器
CN107846685A (zh) * 2017-11-16 2018-03-27 北京小米移动软件有限公司 配置信息的传输方法、装置及系统、存储介质
CN107948974A (zh) * 2017-11-29 2018-04-20 江苏省未来网络创新研究院 一种WiFi安全认证方法
CN111132137A (zh) * 2019-09-16 2020-05-08 华为技术有限公司 一种Wi-Fi连接方法及设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140112198A1 (en) * 2012-08-24 2014-04-24 Huawei Device Co., Ltd. Method, Related Device, and System for Configuring Wireless Local Area Network Device
CN106571985A (zh) * 2016-10-09 2017-04-19 美的智慧家居科技有限公司 家用电器的配网方法、系统、家用电器和路由器
CN107846685A (zh) * 2017-11-16 2018-03-27 北京小米移动软件有限公司 配置信息的传输方法、装置及系统、存储介质
CN107948974A (zh) * 2017-11-29 2018-04-20 江苏省未来网络创新研究院 一种WiFi安全认证方法
CN111132137A (zh) * 2019-09-16 2020-05-08 华为技术有限公司 一种Wi-Fi连接方法及设备

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116471707A (zh) * 2023-02-21 2023-07-21 荣耀终端有限公司 一种路由器的连接方法、装置及系统
CN116471707B (zh) * 2023-02-21 2024-03-29 荣耀终端有限公司 一种路由器的连接方法、装置及系统
CN117715150A (zh) * 2023-05-31 2024-03-15 荣耀终端有限公司 网络连接方法和相关装置
CN116668583A (zh) * 2023-08-02 2023-08-29 荣耀终端有限公司 一种WiFi的连接方法、电子设备、存储介质和芯片
CN116668583B (zh) * 2023-08-02 2023-11-14 荣耀终端有限公司 一种WiFi的连接方法、电子设备、存储介质和芯片
CN119255408A (zh) * 2024-02-05 2025-01-03 荣耀终端有限公司 网络连接的方法及终端设备

Also Published As

Publication number Publication date
CN111132137A (zh) 2020-05-08

Similar Documents

Publication Publication Date Title
WO2021052178A1 (fr) Procédé et dispositif de connexion wi-fi
CN114710768B (zh) 一种蓝牙回连方法及相关装置
WO2021036835A1 (fr) Procédé et système de recherche bluetooth, et appareil associé
CN111373713B (zh) 一种消息传输方法及设备
WO2021027616A1 (fr) Dispositif terminal, procédé et système pour réaliser une projection sur écran par toucher unique par télécommande
WO2020224486A1 (fr) Procédé, dispositif et système d'appel
WO2020133183A1 (fr) Dispositif et procédé de synchronisation de données audio
CN114339698A (zh) 设备间触碰建立无线连接的方法、电子设备及芯片
WO2021043198A1 (fr) Procédé d'appariement bluetooth, et dispositif associé
WO2021175268A1 (fr) Procédé et appareil pour partager un point d'accès sans fil de réseau mobile, et dispositif de partage de point d'accès sans fil
EP4336356A1 (fr) Procédé de projection d'écran et appareil associé
WO2021043045A1 (fr) Procédé et dispositif de configuration d'informations de configuration de réseau
US12262198B2 (en) Data transmission method and device
WO2021104448A1 (fr) Procédé de synchronisation d'informations de clé, système et dispositif
WO2021093855A1 (fr) Procédé et dispositif de gestion de dispositif mobile
WO2021000923A1 (fr) Procédé de configuration de routeur, terminal et routeur
WO2021027623A1 (fr) Procédé de découverte de capacité de dispositif et dispositif p2p
EP4247030A1 (fr) Procédé de distribution de dispositif réseau, terminal mobile et support de stockage
WO2021175266A1 (fr) Procédé et appareil de vérification d'identité, et dispositifs électroniques
CN115550919A (zh) 设备配对认证方法、装置、发送方设备及接收方设备
WO2022143156A1 (fr) Procédé et appareil d'appel chiffré, terminal et support de stockage
EP4550856A1 (fr) Procédé de communication et appareil associé
CN115703006A (zh) 设备连接方法、装置及系统
WO2021227942A1 (fr) Procédé de partage d'informations, dispositifs électroniques et système
CN115802326B (zh) 一种蓝牙连接方法及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20866511

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20866511

Country of ref document: EP

Kind code of ref document: A1