CN116056252A - Method for establishing wireless communication connection, electronic equipment and access point equipment - Google Patents

Method for establishing wireless communication connection, electronic equipment and access point equipment Download PDF

Info

Publication number
CN116056252A
CN116056252A CN202211713053.9A CN202211713053A CN116056252A CN 116056252 A CN116056252 A CN 116056252A CN 202211713053 A CN202211713053 A CN 202211713053A CN 116056252 A CN116056252 A CN 116056252A
Authority
CN
China
Prior art keywords
wireless communication
connection
access point
communication connection
establishing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211713053.9A
Other languages
Chinese (zh)
Inventor
辛洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zeku Technology Shanghai Corp Ltd
Original Assignee
Zeku Technology Shanghai Corp 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 Zeku Technology Shanghai Corp Ltd filed Critical Zeku Technology Shanghai Corp Ltd
Priority to CN202211713053.9A priority Critical patent/CN116056252A/en
Publication of CN116056252A publication Critical patent/CN116056252A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • 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
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a method for establishing wireless communication connection, an electronic device and an access point device, wherein the method for establishing wireless communication connection is applied to the electronic device, and comprises the following steps: establishing a first wireless communication connection with access point equipment, wherein the communication distance supported by the first wireless communication connection is greater than the communication distance corresponding to near field communication; receiving a connection parameter sent by the access point device through the first wireless communication connection, wherein the connection parameter is used for establishing a second wireless communication connection based on wireless fidelity (WiFi) with the access point device; and establishing the second wireless communication connection with the access point equipment according to the connection parameters. According to the scheme, the WiFi connection parameters can be acquired from the access point device in a comfortable distance space by utilizing the first wireless communication connection, so that WiFi automatic connection is realized, and user experience is improved.

Description

Method for establishing wireless communication connection, electronic equipment and access point equipment
Technical Field
The embodiment of the application relates to the technical field of wireless communication, and more particularly relates to a method for establishing wireless communication connection, electronic equipment and access point equipment.
Background
Wireless fidelity (wireless fidelity, wiFi) is a technology by which terminal devices can be connected to each other wirelessly, and devices with wireless-to-wired bridging function are called Access Point (AP) devices. Currently, when a terminal device and an access point device establish WiFi communication connection, a password is usually required to be manually input, and once a user forgets the password, parameters of the access point device must be reset, so that the flow is complicated.
To facilitate the establishment of WiFi communication connection, a manner of connecting WiFi using near field communication (near field communication, NFC) is proposed in the related art. The terminal equipment can acquire the connection parameters such as service set identification (service set identifier, SSID), wiFi password and the like of the access point equipment through the NFC label close to the access point equipment, so that the aim of not inputting the password manually is fulfilled. However, because of the different home layouts, the APs may be placed at a lower or higher location, and are inconvenient for the user to contact, and there is a limitation.
Disclosure of Invention
The embodiment of the application provides a method for establishing wireless communication connection, electronic equipment and access point equipment. Various aspects related to embodiments of the present application are described below.
In a first aspect, a method for establishing a wireless communication connection is provided, and is applied to an electronic device, and the method includes: establishing a first wireless communication connection with access point equipment, wherein the communication distance supported by the first wireless communication connection is greater than the communication distance corresponding to near field communication; receiving a connection parameter sent by the access point device through the first wireless communication connection, wherein the connection parameter is used for establishing a second wireless communication connection based on wireless fidelity (WiFi) with the access point device; and establishing the second wireless communication connection with the access point equipment according to the connection parameters.
In a second aspect, a method for establishing a wireless communication connection is provided, applied to an access point device, the method comprising: establishing a first wireless communication connection with the electronic equipment, wherein the communication distance supported by the first wireless communication connection is greater than the communication distance corresponding to near field communication; transmitting connection parameters to the electronic equipment through the first wireless communication connection, wherein the connection parameters are used for establishing a second wireless communication connection based on wireless fidelity (WiFi) with the electronic equipment; and in response to the electronic device inputting the connection parameters, establishing the second wireless communication connection with the electronic device.
In a third aspect, there is provided an electronic device comprising: the first wireless communication module is used for establishing a first wireless communication connection, and the communication distance supported by the first wireless communication connection is larger than the communication distance corresponding to near field communication; the second wireless communication module is used for establishing a second wireless communication connection based on wireless fidelity (WiFi); a processor for controlling the first wireless communication module and the second wireless communication module to perform the following operations: establishing a first wireless communication connection with an access point device; connection parameters sent to the access point device through the first wireless communication connection, the connection parameters being used to establish the second wireless communication connection with the access point device; and in response to the electronic device inputting the connection parameters, establishing the second wireless communication connection with the access point device.
In a fourth aspect, an access point device is provided, comprising: the first wireless communication module is used for establishing a first wireless communication connection, and the communication distance supported by the first wireless communication connection is larger than the communication distance corresponding to near field communication; the second wireless communication module is used for establishing a second wireless communication connection based on wireless fidelity (WiFi); a processor for controlling the first wireless communication module and the second wireless communication module to perform the following operations: establishing a first wireless communication connection with an electronic device; transmitting connection parameters to the electronic equipment through the first wireless communication connection, wherein the connection parameters are used for establishing the second wireless communication connection with the electronic equipment; and in response to the electronic device inputting the connection parameters, establishing the second wireless communication connection with the electronic device.
In a fifth aspect, there is provided a computer readable storage medium having stored thereon executable code which when executed is capable of carrying out the method of the first or second aspect.
The embodiment of the application provides a method for establishing wireless communication connection, which is applied to electronic equipment and comprises the following steps: establishing a first wireless communication connection with the access point equipment, wherein the communication distance supported by the first wireless communication connection is greater than the communication distance corresponding to near field communication; receiving connection parameters sent by the access point equipment through the first wireless communication connection, wherein the connection parameters are used for establishing a second wireless communication connection based on wireless fidelity (WiFi) with the access point equipment; and establishing a second wireless communication connection with the access point device according to the connection parameters. According to the scheme, the WiFi connection parameters can be acquired from the access point device in a comfortable distance space by utilizing the first wireless communication connection, so that WiFi automatic connection is realized, and user experience is improved.
Drawings
Fig. 1 is a flow chart of a method for establishing a wireless communication connection according to an embodiment of the present application.
Fig. 2 is a flow chart of a method for establishing a wireless communication connection according to another embodiment of the present application.
Fig. 3 is a flow chart of a method for establishing a wireless communication connection on the electronic device side shown in fig. 2.
Fig. 4 is a flow chart of a method of establishing a wireless communication connection at the access point device side shown in fig. 2.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an access point device according to an embodiment of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments.
Note that, the electronic device in the embodiment of the present application may also be referred to as a User Equipment (UE), an access Terminal, a Mobile Terminal (MT), a user Terminal, a wireless communication device, or the like. The electronic device in the embodiment of the present application may be a handheld device with a wireless connection function, such as a mobile phone, a tablet (Pad), a notebook, a palm computer, a mobile internet device (mobile internet device, MID), or other handheld devices, such as a watch, an in-ear earphone, a pendant, a headset, and so on. The electronic device in the embodiment of the application may also be a wearable electronic device, such as an electronic glasses, an electronic garment, an electronic bracelet, an electronic necklace, an electronic tattoo, an electronic device, a smart watch or a head mounted display (head mount display, HMD), etc. This is not particularly limited in the embodiments of the present application.
WiFi is a technology that can connect terminal devices to each other in a wireless manner, and a device having a wireless-to-wired bridging function is called an access point device, and may be, for example, an access point device such as a wireless router or a wireless repeater.
In recent years, with the continuous development of wireless local area network technology, wireless local area network WiFi covers most families, and more elderly people also have own smart phones, so that the use frequency of home WiFi is also higher and higher.
Currently, when electronic devices such as smart phones and computers are connected to WiFi, a password is usually required to be manually input. Because the current electronic devices such as smart phones and computers all have the function of memorizing the connected network, users can easily forget the password of the home Wi-Fi, and when a new device is accessed to the home Wi-Fi or a visitor wants to access the home Wi-Fi, the user is inconvenient. It can be understood that, for the manner of manually inputting the password, if the user sets a relatively well remembered password, the password will be relatively simple and the security is not high. In addition, once the user forgets the password, the access point device parameters must be reset, the flow is complicated, and the user experience is poor.
In order to facilitate the establishment of WiFi communication connection, a manner of connecting WiFi using NFC is proposed in the related art. The electronic equipment can activate and use NFC to carry out communication interaction through the NFC label close to the access point equipment, and the access point equipment can transmit connection parameters such as service set identification SSID, wiFi password and the like to the electronic equipment through NFC, so that the aim of not needing to manually input the password is fulfilled. It will be appreciated that the maximum communication distance supported by NFC communication is 10cm, so by way of NFC-connected WiFi, it is necessary for the access point device to be placed where the user can routinely touch. However, due to different home layouts, the access point device may be placed at a lower or higher position, which is inconvenient for the user to touch, and has a certain limitation and poor user experience.
In view of the foregoing, an embodiment of the present application provides a method for establishing a wireless communication connection, applied to an electronic device, where the method includes: establishing a first wireless communication connection with the access point equipment, wherein the communication distance supported by the first wireless communication connection is greater than the communication distance corresponding to near field communication; receiving connection parameters sent by the access point equipment through the first wireless communication connection, wherein the connection parameters are used for establishing a second wireless communication connection based on wireless fidelity (WiFi) with the access point equipment; and establishing a second wireless communication connection with the access point device according to the connection parameters. According to the scheme, the WiFi connection parameters can be acquired from the access point device in a comfortable distance space by utilizing the first wireless communication connection, so that WiFi automatic connection is realized, and user experience is improved.
Fig. 1 is a flowchart of a method for establishing a wireless communication connection according to an embodiment of the present application. The method shown in fig. 1 may be applied to an electronic device as well as to an access point device. The electronic device may be any of the aforementioned electronic devices, such as a cell phone, tablet computer, etc., and the access point device may be a wireless router, for example. The method shown in fig. 1 includes steps S120 to S160.
At step 120: a first wireless communication connection is established between the electronic device and the access point device.
According to the method and the device for establishing the first communication connection, the communication distance supported by the first wireless communication connection is larger than the communication distance corresponding to the near field communication NFC, so that the electronic device can establish the first communication connection with the access point device within a comfortable space distance range, and user experience is improved.
In some embodiments, the electronic device may obtain the code scanning information by scanning a device association code set by the access point; and then, according to the code scanning information, establishing a first wireless communication connection with the access point. It is understood that the code scanning information may include device information of the access point device, such as a device name, device identification information, and the like, which is not specifically limited in this application.
In some embodiments, the first wireless communication connection may be a bluetooth connection, the code scanning information may include a bluetooth device name of the access point device, and establishing the first wireless communication connection with the access point device according to the code scanning information may include: according to the Bluetooth equipment name of the access point equipment, carrying out Bluetooth pairing with the access point equipment; in response to the bluetooth pairing being successful, a first wireless communication connection is established with the access point device.
In some embodiments, the electronic device may send multiple bluetooth pairing requests to the access point device to establish a bluetooth connection with the access point device. It may be appreciated that if the number of bluetooth pairing times between the electronic device and the access point device exceeds a preset threshold, the bluetooth connection between the electronic device and the access point device is disconnected, for example, the preset threshold of the number of bluetooth pairing times may be set to 3, which is not specifically limited in the present application.
In some embodiments, in response to a scanning operation of the device association code by the electronic device, the electronic device may receive a hint information that may be used to hint to turn on a WiFi function of the electronic device. It will be appreciated that if the WiFi function of the electronic device is already on, the prompt is not received.
The type of the first wireless communication connection is not particularly limited in the embodiments of the present application, for example, the first wireless communication connection may be a bluetooth connection, an infrared connection, a zigbee connection, or the like.
The device association code type of the access point device in the embodiment of the present application is not particularly limited, and may be, for example, a two-dimensional code, a bar code, etc. of the access point device. The device association code can be provided by an access point device manufacturer, and can be pasted on a wide and convenient place in a family, such as a tea table, a wall and the like.
In step 140: the access point device sends the connection parameters to the electronic device over the first wireless communication connection.
After the first wireless communication connection is successfully established between the electronic device and the access point device, the access point device can send a connection parameter to the electronic device through the first wireless communication connection, wherein the connection parameter can be used for establishing a second wireless communication connection based on wireless fidelity (WiFi) between the electronic device and the access point device. That is, the connection parameter is a WiFi connection parameter, and the second wireless communication connection is a WiFi connection.
In some embodiments, the above-mentioned scan code information may include device identification information, and the access point device sending the connection parameters to the electronic device over the first wireless communication connection may include: in response to the device identification information matching the access point device, the access point device then transmits connection parameters to the electronic device over the first wireless communication connection.
In some embodiments, the device identification information may be a unique identification number of the access point device. For example, the electronic device may first obtain the identification number of the access point device by scanning the device association code; then, the identification number is sent to the access point device through the first wireless communication connection; further, the access point device may match the received identification number with an identification number stored in the access point device, and if the matching is successful, may send the connection parameter to the electronic device. If the match fails, no connection parameters are sent. In this way the uniqueness of the access point device can be verified.
In some embodiments, to ensure data security, the electronic device may send encrypted device identification information to the access point device through the first wireless communication connection, and/or the access point device may send encrypted connection parameters to the electronic device through the first wireless communication connection. In the embodiment of the present application, the data encryption manner is not specifically limited, and the first wireless communication connection is exemplified by bluetooth connection, for example, the data such as the connection parameters and the device identification information may be encrypted by using a bluetooth protocol.
In some embodiments, the device identification information in the access point device may be stored in a non-volatile memory (NVM) such that the device identification information is not lost even if the access point device is powered down.
In some embodiments, the electronic device may also send device identification information to the access point device prior to receiving the connection parameters; further, in response to a time timeout waiting for receipt of the connection parameter, disconnecting the first wireless communication connection between the electronic device and the access point device; and in response to the time waiting for receiving the connection parameters not being overtime and the electronic equipment not receiving the connection parameters sent by the access point equipment, continuing to wait for receiving the connection parameters.
In some embodiments, the connection parameters mentioned above may include parameters such as a service set identification SSID and/or a WiFi password of the access point device.
At step 160: a second wireless communication connection is established between the electronic device and the access point device.
After the electronic device inputs the WiFi connection parameters, a second wireless communication connection may be established between the electronic device and the access point device according to the WiFi connection parameters.
According to the above description, it can be seen that the communication distance supported by the first wireless communication connection is greater than the communication distance corresponding to the near field communication NFC, and by using the first wireless communication connection, the scheme can obtain WiFi connection parameters (for example, service set identifier SSID and/or WiFi password) from the access point device in a comfortable distance space, so as to realize WiFi automatic connection, without requiring a user to manually input password information, and is convenient and fast. In addition, compare with traditional scheme through NFC connection Wi-Fi, reduced the restriction of access point equipment placement position in this application embodiment, that is to say, access point equipment places too high or too low place in the family, also can convenient and fast's automatic realization wiFi connect, further promoted the convenience that the user used, experienced and felt.
In order to further understand the method for establishing a wireless communication connection in the embodiments of the present application, a first wireless communication connection is taken as an example of a bluetooth connection, and a detailed description is given below with reference to fig. 2 to 4.
In some embodiments, the access point device may use a Wi-Fi/BT combo chip, configure a unique identification number at the factory, and write to the NVM region of the chip, thereby ensuring that the identification number is not lost even if the chip is powered down.
As shown in fig. 2, the method of establishing a wireless communication connection may include the steps of:
step 2.1: when the electronic device needs to be connected with Wi-Fi, the two-dimensional code equipped by a manufacturer can be scanned first to obtain the unique identification number of the access point device and the Bluetooth device name.
In some embodiments, when the two-dimensional code is scanned, the electronic device is reminded to start the WiFi function, so that subsequent WiFi connection can be performed. It will be appreciated that if the WiFi function of the electronic device is already on, no prompt is received.
Step 2.2: according to the acquired Bluetooth device name, the electronic device can send a Bluetooth pairing request to the access point device.
Step 2.3: in response to the bluetooth pairing being successful, a bluetooth connection may be established between the electronic device and the access point device. It will be appreciated that if a bluetooth pairing request is sent once, and no pairing is successful, multiple bluetooth pairing requests may be sent to the access point device to establish a bluetooth connection with the access point device.
It may be appreciated that if the number of bluetooth pairing times between the electronic device and the access point device exceeds a preset threshold, the bluetooth connection between the electronic device and the access point device is disconnected, for example, the preset threshold of the number of bluetooth pairing times may be set to 3, which is not specifically limited in the present application.
Step 2.4: after the bluetooth connection is established, the electronic device may send an identification number of the access point device obtained by scanning the two-dimensional code to the access point device.
In some embodiments, to ensure data security, the electronic device may send encrypted identification number data to the access point device via a bluetooth connection, e.g., the identification number data may be encrypted using a bluetooth protocol.
Step 2.5: after the access point device receives the identification number sent by the electronic device, the received identification number can be compared and matched with the identification number stored in the access point device, if the two identification numbers are the same, the matching is successful, and the access point device can send the service set identification SSID and the WiFi password of the access point device to the electronic device. Of course, if the matching fails, the service set identification SSID and the WiFi password of the access point device are not sent to the electronic device.
In some embodiments, to ensure data security, the access point device sends the encrypted service set identification SSID and WiFi password to the electronic device over a bluetooth connection. For example, the service set identification SSID and WiFi password data may be encrypted using a bluetooth protocol.
Step 2.6: and the electronic equipment receives the service set identifier SSID and the WiFi password of the access point equipment, which are sent by the access point equipment.
In some embodiments, if the electronic device receives a wait timeout of the service set identification SSID and the WiFi password from the access point device, the bluetooth connection with the access point device may be disconnected.
Step 2.7: the electronic device may reply to the access point device with acknowledgement of completion of the reception.
Step 2.8: the electronic device may automatically input a service set identifier SSID and a WiFi password of the access point device, and initiate a WiFi connection to the access point device.
As shown in fig. 3, a method for establishing a wireless communication connection at an electronic device side may include the following steps:
step 3.1: when the electronic device needs to be connected with Wi-Fi, the two-dimensional code equipped by a manufacturer can be scanned first to obtain the unique identification number of the access point device and the Bluetooth device name.
In some embodiments, when the two-dimensional code is scanned, the electronic device is reminded to start the WiFi function, so that subsequent WiFi connection can be performed. It will be appreciated that if the WiFi function of the electronic device is already on, no prompt is received.
Step 3.2: according to the acquired Bluetooth device name, the electronic device can send a Bluetooth pairing request to the access point device.
Step 3.3: if the Bluetooth pairing with the access point device is successful, the step is skipped to step 3.5, otherwise the step is skipped to step 3.4.
Step 3.4: and judging whether the Bluetooth pairing times exceed a threshold value. The scheme in this embodiment may agree that the pairing number of times threshold is 3 times, and if the pairing number of times does not exceed the threshold, go to step 3.2. If the limit has been exceeded and pairing has not been successful, the Bluetooth connection is disconnected and the process is exited.
Step 3.5: and responding to the successful Bluetooth pairing, establishing Bluetooth connection between the representative and the access point equipment, and simultaneously sending the identification number of the access point equipment obtained by scanning the two-dimensional code to the access point equipment.
In some embodiments, to ensure data security, the electronic device may send encrypted identification number data to the access point device via a bluetooth connection, e.g., the identification number data may be encrypted using a bluetooth protocol.
Step 3.6: waiting to receive the service set identification SSID and WiFi password sent from the access point device. If the electronic device waits for the time of receiving the service set identification SSID and the WiFi password to timeout, the bluetooth connection with the access point device may be disconnected, and the flow may be exited. If the time waiting to receive the service set identification SSID and WiFi password has not timed out, the process jumps to step 3.7.
Step 3.7: judging whether the service set identification SSID and the WiFi password are received, if the service set identification SSID and the WiFi password are received, jumping to the step 3.8, otherwise jumping to the step 3.6, and continuing to wait for receiving the connection parameters.
Step 3.8: and the electronic equipment stores the service set identifier SSID and the WiFi password to the local, and replies the confirmation information of the completion of the receiving to the access point equipment.
Step 3.9: the electronic device may automatically input a service set identification SSID and a WiFi password of the access point device, and initiate a WiFi association with the access point device to establish a WiFi connection with the access point device.
As shown in fig. 4, for a method for establishing a wireless communication connection at an access point device side, the method may include the following steps:
step 4.1: and after the access point device is started, waiting for a Bluetooth pairing request sent by the electronic device.
Step 4.2: and judging whether the Bluetooth pairing is successful or not. If the Bluetooth pairing fails, the step is skipped to step 4.1, and if the Bluetooth pairing is successful, the step is skipped to step 4.2.
Step 4.3: waiting for receiving the identification number sent by the electronic device.
Step 4.4: after the access point device receives the identification number sent by the electronic device, the received identification number can be compared and matched with the identification number stored in the access point device.
Step 4.5: if the two identification numbers are the same, the matching is successful, and the step 4.6 is skipped, otherwise, the step 4.3 is skipped.
Step 4.6: and sending the service set identification SSID and the WiFi password to the electronic equipment.
In some embodiments, to ensure data security, the access point device sends the encrypted service set identification SSID and WiFi password to the electronic device over a bluetooth connection. For example, the service set identification SSID and WiFi password data may be encrypted using a bluetooth protocol.
Step 4.7: and waiting for confirmation information of the completion of the receiving sent by the electronic equipment. The scheme in this embodiment may agree that the number of waiting times is 3, and if the confirmation message is not received yet beyond the limit, the bluetooth connection with the electronic device is disconnected, and the flow is exited.
Step 4.8: and judging whether a confirmation message of completion of the receiving sent by the electronic equipment is received. If the confirmation message sent by the electronic equipment is received, the Bluetooth connection with the electronic equipment is disconnected, and the step 4.9 is skipped. If the confirmation message sent by the electronic device is not received, the step is skipped to step 4.6.
Step 4.9: wait for a WiFi association to establish a WiFi connection with the electronic device.
According to the embodiment, the service set identification SSID and WiFi password information of the access point equipment are transmitted through Bluetooth connection, so that the service set identification SSID and WiFi password information of the access point equipment are transmitted to the electronic equipment through Bluetooth encryption, and the safety and reliability of information transmission are ensured; the method has the advantages that the step that the user uses the electronic equipment to connect the access point equipment is simplified, the Wi-Fi connection process can be automatically completed only by scanning the two-dimensional code equipped by the manufacturer of the access point equipment, password information is not required to be manually input, and convenience and rapidness are realized. In addition, compare with the scheme of connecting Wi-Fi through NFC, this scheme does not have the restriction to the place of placing of access point equipment, even access point equipment places in too high or too low place, also can convenient and fast's automatic connection access point equipment, has further promoted the convenience that the user used.
Method embodiments of the present application are described above in detail in connection with fig. 1-4, and apparatus embodiments of the present application are described below in detail in connection with fig. 5-6. It is to be understood that the description of the method embodiments corresponds to the description of the device embodiments, and that parts not described in detail can therefore be seen in the preceding method embodiments.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device 500 includes a first wireless communication module 510, a second wireless communication module 520, and a processor 530.
The first wireless communication module 510 may be configured to establish a first wireless communication connection, where a communication distance supported by the first wireless communication connection is greater than a communication distance corresponding to near field communication.
A second wireless communication module 520 is operable to establish a second wireless communication connection based on wireless fidelity WiFi.
A processor 530 operable to control the first wireless communication module and the second wireless communication module to: establishing a first wireless communication connection with an access point device; connection parameters sent to the access point device through the first wireless communication connection, the connection parameters being used to establish the second wireless communication connection with the access point device; and in response to the electronic device inputting the connection parameters, establishing the second wireless communication connection with the access point device.
It is understood that the first wireless communication module 510 and the second wireless communication module 520 in the embodiments of the present application may perform corresponding operations under the control of the processor 530.
Processor 530 may be a general purpose processor or a special purpose processor. For example, the processor 530 may be a central processing unit (central processing unit, CPU). Alternatively, the processor 530 may be another general purpose processor, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), an off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It is understood that the electronic device 500 in embodiments of the present application may also include one or more memories. The memory has stored thereon a program that can be executed by the processor 530 to cause the electronic device 500 to perform the electronic device-side method described in the method embodiments above. The memory may be separate from the processor 530 or may be integrated in the processor 530.
It is understood that the processor 530 may communicate with other devices or chips through a transceiver. For example, the processor 530 may transmit and receive data to and from other devices or chips through a transceiver.
Fig. 6 is a schematic structural diagram of an access point device according to an embodiment of the present application. The access point device 600 includes a first wireless communication module 610, a second wireless communication module 620, and a processor 630.
The first wireless communication module 610 is configured to establish a first wireless communication connection, where a communication distance supported by the first wireless communication connection is greater than a communication distance corresponding to near field communication;
a second wireless communication module 620 operable to establish a second wireless communication connection based on wireless fidelity, wiFi;
a processor 630 operable to control the first wireless communication module and the second wireless communication module to: establishing a first wireless communication connection with an electronic device; transmitting connection parameters to the electronic equipment through the first wireless communication connection, wherein the connection parameters are used for establishing the second wireless communication connection with the electronic equipment; and in response to the electronic device inputting the connection parameters, establishing the second wireless communication connection with the electronic device.
It is understood that the first wireless communication module 610 and the second wireless communication module 620 in the embodiments of the present application may perform corresponding operations under the control of the processor 630.
The processor 630 may be a general purpose processor or a special purpose processor. For example, the processor 630 may be a central processing unit (central processing unit, CPU). Alternatively, the processor 630 may be another general purpose processor, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), an off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It is to be appreciated that the access point device 600 in embodiments of the present application may also include one or more memories. The memory has stored thereon a program that is executable by the processor 630 to cause the access point device 600 to perform the access point device-side method described in the method embodiments above. The memory may be separate from the processor 630 or may be integrated in the processor 630.
It is understood that the processor 630 may communicate with other devices or chips through a transceiver. For example, the processor 630 may transmit and receive data to and from other devices or chips through a transceiver.
Embodiments of the present application also provide a machine-readable storage medium for storing a program. And which causes a computer to perform the methods in the various embodiments of the present application.
Embodiments of the present application also provide a computer program product. The computer program product includes a program. The program causes a computer to perform the methods in the various embodiments of the present application.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any other combination. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present disclosure, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a machine-readable storage medium or transmitted from one machine-readable storage medium to another machine-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The machine-readable storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more servers, data centers, etc. integrated with the available medium. The usable medium may be a magnetic medium (e.g., a floppy Disk, a hard Disk, a magnetic tape), an optical medium (e.g., a digital video disc (Digital Video Disc, DVD)), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The foregoing is merely specific embodiments of the disclosure, but the protection scope of the disclosure is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the disclosure, and it is intended to cover the scope of the disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (16)

1. A method of establishing a wireless communication connection for an electronic device, the method comprising:
establishing a first wireless communication connection with access point equipment, wherein the communication distance supported by the first wireless communication connection is greater than the communication distance corresponding to near field communication;
receiving a connection parameter sent by the access point device through the first wireless communication connection, wherein the connection parameter is used for establishing a second wireless communication connection based on wireless fidelity (WiFi) with the access point device;
and establishing the second wireless communication connection with the access point equipment according to the connection parameters.
2. The method of claim 1, wherein the establishing a first wireless communication connection with an access point device comprises:
scanning the equipment association code of the access point equipment to obtain code scanning information;
and establishing the first wireless communication connection with the access point equipment according to the code scanning information.
3. The method of claim 2, wherein the first wireless communication connection is a bluetooth connection, the scan code information includes a bluetooth device name, and the establishing the first wireless communication connection with the access point device according to the scan code information includes:
according to the name of the Bluetooth device, bluetooth pairing is carried out with the access point device;
and establishing the first wireless communication connection with the access point device in response to the Bluetooth pairing being successful.
4. A method according to claim 2 or 3, wherein the scan code information comprises device identification information, the method further comprising, prior to said receiving the connection parameters sent by the access point device over the first wireless communication connection:
transmitting the device identification information to the access point device;
disconnecting the first wireless communication connection with the access point device in response to a time timeout awaiting receipt of the connection parameter;
and continuing to wait for receiving the connection parameter in response to the time waiting for receiving the connection parameter not being overtime and the connection parameter sent by the access point device not being received.
5. A method according to claim 2 or 3, characterized in that the method further comprises:
and responding to the scanning operation of the equipment association code, and receiving prompt information, wherein the prompt information is used for prompting to open the WiFi function of the electronic equipment.
6. A method according to any of claims 1-3, wherein the receiving, over the first wireless communication connection, connection parameters sent by the access point device, comprises:
and receiving the encrypted connection parameters sent by the access point equipment through the first wireless communication connection.
7. A method according to any of claims 1-3, characterized in that the connection parameters comprise a service set identification SSID and/or a WiFi password of the access point device.
8. A method according to any of claims 1-3, wherein the first wireless communication connection is a bluetooth connection, an infrared connection, or a zigbee connection.
9. A method of establishing a wireless communication connection for an access point device, the method comprising:
establishing a first wireless communication connection with the electronic equipment, wherein the communication distance supported by the first wireless communication connection is greater than the communication distance corresponding to near field communication;
transmitting connection parameters to the electronic equipment through the first wireless communication connection, wherein the connection parameters are used for establishing a second wireless communication connection based on wireless fidelity (WiFi) with the electronic equipment;
and in response to the electronic device inputting the connection parameters, establishing the second wireless communication connection with the electronic device.
10. The method of claim 9, wherein the first wireless communication connection is a bluetooth connection, and wherein the establishing the first wireless communication connection with the electronic device comprises:
receiving a Bluetooth pairing request sent by the electronic equipment;
and responding to the successful Bluetooth pairing, and establishing the Bluetooth connection with the electronic equipment.
11. The method of claim 9, wherein prior to said sending connection parameters to the electronic device over the first wireless communication connection, the method further comprises:
receiving equipment identification information of the access point equipment, which is sent by the electronic equipment;
the sending, by the first wireless communication connection, connection parameters to the electronic device includes:
and transmitting connection parameters to the electronic device over the first wireless communication connection in response to the device identification information matching the access point device.
12. The method according to any of claims 9-11, wherein the sending connection parameters to the electronic device over the first wireless communication connection comprises:
and sending the encrypted connection parameters to the electronic equipment through the first wireless communication connection.
13. The method according to any of claims 9-11, wherein the connection parameters comprise a service set identification, SSID, and/or WiFi password of the access point device.
14. An electronic device, comprising:
the first wireless communication module is used for establishing a first wireless communication connection, and the communication distance supported by the first wireless communication connection is larger than the communication distance corresponding to near field communication;
the second wireless communication module is used for establishing a second wireless communication connection based on wireless fidelity (WiFi);
a processor for controlling the first wireless communication module and the second wireless communication module to perform the following operations:
establishing a first wireless communication connection with an access point device;
connection parameters sent to the access point device through the first wireless communication connection, the connection parameters being used to establish the second wireless communication connection with the access point device;
and in response to the electronic device inputting the connection parameters, establishing the second wireless communication connection with the access point device.
15. An access point device, comprising:
the first wireless communication module is used for establishing a first wireless communication connection, and the communication distance supported by the first wireless communication connection is larger than the communication distance corresponding to near field communication;
the second wireless communication module is used for establishing a second wireless communication connection based on wireless fidelity (WiFi);
a processor for controlling the first wireless communication module and the second wireless communication module to perform the following operations:
establishing a first wireless communication connection with an electronic device;
transmitting connection parameters to the electronic equipment through the first wireless communication connection, wherein the connection parameters are used for establishing the second wireless communication connection with the electronic equipment;
and in response to the electronic device inputting the connection parameters, establishing the second wireless communication connection with the electronic device.
16. A computer readable storage medium having executable code stored thereon, wherein the code, when executed by a processor, is for implementing the method of any of claims 1-13.
CN202211713053.9A 2022-12-29 2022-12-29 Method for establishing wireless communication connection, electronic equipment and access point equipment Pending CN116056252A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211713053.9A CN116056252A (en) 2022-12-29 2022-12-29 Method for establishing wireless communication connection, electronic equipment and access point equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211713053.9A CN116056252A (en) 2022-12-29 2022-12-29 Method for establishing wireless communication connection, electronic equipment and access point equipment

Publications (1)

Publication Number Publication Date
CN116056252A true CN116056252A (en) 2023-05-02

Family

ID=86119288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211713053.9A Pending CN116056252A (en) 2022-12-29 2022-12-29 Method for establishing wireless communication connection, electronic equipment and access point equipment

Country Status (1)

Country Link
CN (1) CN116056252A (en)

Similar Documents

Publication Publication Date Title
KR100735427B1 (en) Method for sharing sim card in a mobile communication terminal
EP3229506B1 (en) Pairing of wireless devices using physical presence
EP2988534A2 (en) Method of configuring wireless connection via near field communication function and image forming apparatus for performing the method
CN103826323A (en) Wireless network connection method, terminal and mobile terminal
CN111246545A (en) Method, medium, control terminal and system for guiding intelligent device to access network
US20100211685A1 (en) Pairing exchange
US11540245B2 (en) Home appliance and mobile terminal having application for registering the home appliance to server
KR20120025331A (en) Method and system for managing communication of a dual stand-by portable terminal
EP4024919A1 (en) Source device switching method and device through bluetooth connection information sharing
CN107079273B (en) Communication between devices without establishing a persistent connection
US20170033989A1 (en) Shareable code objects for accessories and user devices
JP7159761B2 (en) Application programs and mobile terminals
KR102036686B1 (en) Apparatus and method for selecting channel in wireless communication system
KR20110045154A (en) Apparatus and method for connecting the access point in portable communication system
EP4329347A1 (en) Electronic device and method for moving line by using embedded subscriber identification module in electronic device
CN116056252A (en) Method for establishing wireless communication connection, electronic equipment and access point equipment
JP4783615B2 (en) Mobile communication system
WO2014006011A2 (en) A method for communicating data between a first device and a second device, corresponding second device and system
KR20220025532A (en) Electronic device, and method for receiving sms message in electronic device supporting multiple sims
JP2013247400A (en) Radio setting device, radio setting method, and radio setting program
WO2022188538A1 (en) Method for authenticating wi-fi connection, wireless terminal, access node, and storage medium
CN114727272B (en) Emergency networking method, electronic equipment and storage medium
JP2024515008A (en) Electronic device and method for installing an embedded subscriber identity module profile in an electronic device - Patents.com
US20140170974A1 (en) Electronic device and method for establishing communication
KR101498793B1 (en) Method for Creating One Time Password by using Near Field Communication

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