CN114339750A - Automatic association method, device and equipment - Google Patents

Automatic association method, device and equipment Download PDF

Info

Publication number
CN114339750A
CN114339750A CN202111645983.0A CN202111645983A CN114339750A CN 114339750 A CN114339750 A CN 114339750A CN 202111645983 A CN202111645983 A CN 202111645983A CN 114339750 A CN114339750 A CN 114339750A
Authority
CN
China
Prior art keywords
wireless access
equipment
request frame
manufacturer
password
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
CN202111645983.0A
Other languages
Chinese (zh)
Inventor
李梦迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Tianjin Co Ltd
Original Assignee
Spreadtrum Communications Tianjin 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 Spreadtrum Communications Tianjin Co Ltd filed Critical Spreadtrum Communications Tianjin Co Ltd
Priority to CN202111645983.0A priority Critical patent/CN114339750A/en
Publication of CN114339750A publication Critical patent/CN114339750A/en
Pending legal-status Critical Current

Links

Images

Abstract

The present invention relates to the field of computers, and in particular, to a method, an apparatus, and a device for automatically associating devices. The method comprises the steps that terminal equipment sends a detection request frame and receives a detection response frame sent by wireless access equipment, the detection request frame and the detection response frame both carry manufacturer identifications, when the fact that a user requests to access the wireless access equipment to operate is detected, if the two manufacturer identifications are the same, the terminal equipment sends a password request frame to the wireless access equipment to obtain an access key, and the wireless access equipment is connected to the terminal equipment based on the access key. By the method, the devices produced by the same manufacturer are quickly identified based on the manufacturer identification, and the connection can be established without inputting a password when a user selects the devices, so that the time consumption of the connection process can be greatly reduced, and the user experience is improved.

Description

Automatic association method, device and equipment
Technical Field
The present invention relates to the field of computers, and in particular, to a method, an apparatus, and a device for automatically associating devices.
Background
With the development of network technology, wireless Access devices such as wireless routers or wireless Access Points (APs) are becoming an indispensable part of people's daily life. The terminal device can input the password to perform network connection with the wireless access device, and the process of establishing the network connection between the terminal device and the wireless access device is complicated and time-consuming, so that the user experience is influenced.
Disclosure of Invention
The embodiment of the invention provides a device automatic association method, a device and equipment, wherein terminal equipment and wireless access equipment can determine whether the terminal equipment and the wireless access equipment are produced by the same manufacturer or not according to an information frame sent by the opposite side, and if so, the terminal equipment can send a password request frame to the wireless access equipment to acquire an access key and automatically connect to the wireless access equipment based on the access key, so that the efficiency of establishing network connection between the equipment is improved.
In a first aspect, an embodiment of the present invention provides an apparatus automatic association method, where the method is applied to a terminal apparatus, and includes:
sending a detection request frame, wherein the detection request frame carries a first manufacturer identifier of the terminal equipment;
receiving a probe response frame sent by a wireless access device, wherein the probe response frame carries a second manufacturer identifier of the wireless access device, and the wireless access device is the access device which receives the probe request frame;
if the first manufacturer identification is the same as the second manufacturer identification, setting a first identification for the information about the wireless access equipment displayed by an access equipment list, wherein the first identification is used for prompting the wireless access equipment to support the keyless access of the terminal equipment;
and when the operation that a user requests to access the wireless access equipment is detected, acquiring an access key from the wireless access equipment, and connecting to the wireless access equipment based on the access key.
In one implementation, the sending a probe request frame includes:
if the network connection interface runs in the foreground of the terminal equipment, periodically sending the detection request frame according to a first time interval, wherein the network connection interface is an interface used for displaying the access equipment list;
and if the network connection interface is not operated by the terminal equipment or the network connection interface is operated in the background of the terminal equipment, sending the detection request frame in a mode of gradually increasing time intervals.
In one implementation, the sending a probe request frame includes:
transmitting the probe request frame in a broadcast manner; alternatively, the first and second electrodes may be,
after acquiring a device identifier or a connection request of a first wireless access device, sending a probe request frame to the first wireless access device.
In one implementation, when an operation that a user requests to access the wireless access device is detected, acquiring an access key from the wireless access device includes:
when detecting that a user requests to access the wireless access equipment with the first identifier, sending a password request frame to the corresponding wireless access equipment, wherein the password request frame carries the first manufacturer identifier of the terminal equipment, so that the wireless access equipment determines whether the manufacturer identifier of the wireless access equipment is consistent with the manufacturer identifier of the wireless access equipment, and sending a password response frame to the terminal equipment when the manufacturer identifier of the wireless access equipment is consistent with the manufacturer identifier of the wireless access equipment;
and receiving the password response frame sent by the wireless access equipment, wherein the password response frame carries an access key.
In one implementation, after sending the password request frame to the corresponding wireless access device, the method further includes:
and if the password response frame is not received after waiting for the preset time, entering a network authentication interface, wherein the network authentication interface is used for establishing network connection according to the key input by the user.
In a second aspect, an embodiment of the present invention provides a device auto-association method, where the method is applied to a wireless access device, and includes:
when a detection request frame sent by a terminal device is received, sending a detection response frame to the terminal device, wherein the detection response frame carries a second manufacturer identifier of the wireless access device;
receiving a password request frame sent by the terminal equipment, wherein the password request frame carries a first manufacturer identifier of the terminal equipment;
and if the first manufacturer identification is the same as the second manufacturer identification, periodically sending a password response frame to the terminal equipment according to a second time interval, so that the terminal equipment determines an access key according to the password response frame and is connected to the wireless access equipment according to the access key.
In a third aspect, an embodiment of the present invention provides an apparatus for automatically associating devices, where the apparatus is deployed in a terminal device, and includes:
a sending module, configured to send a probe request frame, where the probe request frame carries a first manufacturer identifier of the terminal device;
a receiving module, configured to receive a probe response frame sent by a wireless access device, where the probe response frame carries a second manufacturer identifier of the wireless access device, and the wireless access device is an access device that receives the probe request frame;
a display module, configured to set a first identifier for information about the wireless access device displayed in an access device list if the first manufacturer identifier is the same as the second manufacturer identifier, where the first identifier is used to prompt the wireless access device to support keyless access of the terminal device;
the acquisition module is used for acquiring an access key from the wireless access equipment when detecting that a user requests to access the wireless access equipment, and connecting to the wireless access equipment based on the access key.
In a fourth aspect, an embodiment of the present invention provides an apparatus for automatically associating devices, where the apparatus is deployed in a wireless access device, and includes:
a first sending module, configured to send a probe response frame to a terminal device when receiving a probe request frame sent by the terminal device, where the probe response frame carries a second manufacturer identifier of the wireless access device;
a receiving module, configured to receive a password request frame sent by the terminal device, where the password request frame carries a first manufacturer identifier of the terminal device;
and a second sending module, configured to send a cipher response frame to the terminal device periodically according to a second time interval if the first manufacturer identifier is the same as the second manufacturer identifier, so that the terminal device determines an access key according to the cipher response frame and connects to the wireless access device according to the access key.
In a fifth aspect, an embodiment of the present invention provides an electronic device, including:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor calling the program instructions capable of performing the method provided by the first or second aspect.
In a sixth aspect, the present invention provides a computer-readable storage medium storing computer instructions, which cause the computer to execute the method provided in the first aspect or the second aspect.
In the embodiment of the invention, terminal equipment sends a detection request frame and receives a detection response frame sent by wireless access equipment, wherein the detection request frame and the detection response frame both carry manufacturer identifications, and when the operation that a user requests to access the wireless access equipment is detected, if the two manufacturer identifications are the same, the terminal equipment sends a password request frame to the wireless access equipment to obtain an access key, and is connected to the wireless access equipment based on the access key. By the method, the devices produced by the same manufacturer are quickly identified based on the manufacturer identification, and the connection can be established without inputting a password when a user selects the devices, so that the time consumption of the connection process can be greatly reduced, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of an apparatus auto-association method according to an embodiment of the present invention;
fig. 2 is a flowchart of another method for automatically associating devices according to an embodiment of the present invention;
fig. 3 is a schematic working diagram of an automatic association of devices according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus auto-association apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another apparatus auto-association apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For better understanding of the technical solutions in the present specification, the following detailed description of the embodiments of the present invention is provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only a few embodiments of the present specification, and not all embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step are within the scope of the present specification.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the specification. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
Fig. 1 is a flowchart of an apparatus auto-association method provided in an embodiment of the present invention, where the method is applied to a terminal apparatus, and as shown in fig. 1, the method may include:
step 101, sending a probe request frame, where the probe request frame carries a first manufacturer identifier of a terminal device.
When the terminal device needs to establish network connection with the wireless access device, it needs to scan surrounding wireless access devices first, and the specific manner may include sending a probe request frame in a broadcast manner, or sending the probe request frame to the first wireless access device after acquiring a device identifier or a connection request of the first wireless access device.
In one implementation, if a user needs to establish a network connection with a wireless access device, a network connection interface of a terminal device is opened, and when the network connection interface runs in a foreground of the terminal device, the terminal device periodically sends a probe request frame according to a first time interval, where the probe request frame carries a local area network address and a first manufacturer identifier of the terminal device. If the terminal device does not operate the network connection interface or the network connection interface operates in the background of the terminal device, for example, the terminal device has successfully accessed the wireless access device and exited the network connection interface, or the terminal device has just been powered on but has not opened the network connection interface, in this case, the terminal device will send the probe request frame in a manner of gradually increasing the time interval. It will be appreciated that the terminal device may also scan for wireless access devices if the terminal device does not enter the network connection interface, but the scanning interval may be increased, for example, exponentially, to reduce power consumption.
And 102, receiving a probe response frame sent by the wireless access device, wherein the probe response frame carries a second manufacturer identifier of the wireless access device, and the wireless access device is the access device which receives the probe request frame.
After receiving the probe request frame sent by the terminal device, the wireless access device may obtain a local area network address and a first manufacturer identifier of the terminal device from the probe request frame, and in response, the wireless access device may send a probe response frame to the terminal device according to the local area network address, and the terminal device may obtain a device name and a manufacturer identifier of the wireless access device from the probe response frame.
And 103, if the first manufacturer identification is the same as the second manufacturer identification, setting a first identification for the information about the wireless access equipment displayed by the access equipment list, wherein the first identification is used for prompting the wireless access equipment to support the keyless access of the terminal equipment.
And when receiving the probe response frame sent by the surrounding wireless access equipment, finishing the scanning stage of the terminal equipment. The device name of the wireless access device sending the probe response frame may be displayed on the list of access devices in the network connection interface. And if the first manufacturer identification is the same as the manufacturer identification of some wireless access devices, when the device names of the wireless access devices are displayed in the access device list, the first identification is added beside the device names. The same manufacturer identification means that the terminal device and the wireless access device are produced by the same manufacturer, and since the devices produced by the same manufacturer do not have the network risk problem, the two parties can automatically establish network connection. Adding the first identifier enables the user to distinguish between wireless access devices that may automatically establish a network connection. And determining that the wireless access device is produced by different manufacturers, or that the wireless access device carrying the manufacturer identification is not in the sent detection response frame, and only displaying the device name in the access device list without changing the wireless access device.
And step 104, when detecting that the user requests to access the wireless access equipment, acquiring an access key from the wireless access equipment, and connecting to the wireless access equipment based on the access key.
The user can select the wireless access equipment from the access equipment list to establish network connection, when the terminal equipment detects that the user requests to access the wireless access equipment with the first identifier, a password request frame is sent to the wireless access equipment, the password request frame carries the first manufacturer identifier of the terminal equipment, and the password request frame is used for the wireless access equipment to determine whether the wireless access equipment is consistent with the manufacturer identifier of the wireless access equipment and send a password response frame to the terminal equipment when the wireless access equipment is consistent with the manufacturer identifier of the wireless access equipment. If the terminal device detects that the wireless access device which the user requests to access does not have the first identifier, a password request frame is not sent to the wireless access device and a network authentication interface is accessed, so that the user manually inputs a password to establish network connection with the wireless access device.
Conventional device association may include three phases of scanning, authentication and association, wherein the authentication phase requires a user to manually enter a password for identity authentication. The device association method provided by the embodiment of the invention adds the manufacturer identification in the information frame sent by both sides in the scanning stage, and is used for confirming whether the terminal device and the wireless access device are produced by the same manufacturer, if so, the terminal device sends a password request frame to the wireless access device to obtain an access key before the authentication stage, the access key is usually encrypted and decrypted to obtain a network connection password, and then the existing authentication stage and association stage are carried out.
In the embodiment of the invention, terminal equipment sends a detection request frame and receives a detection response frame sent by wireless access equipment, wherein the detection request frame and the detection response frame both carry manufacturer identifications, and when the operation that a user requests to access the wireless access equipment is detected, if the two manufacturer identifications are the same, the terminal equipment sends a password request frame to the wireless access equipment to obtain an access key, and is connected to the wireless access equipment based on the access key. By the method, the devices produced by the same manufacturer are quickly identified based on the manufacturer identification, and the connection can be established without inputting a password when a user selects the devices, so that the time consumption of the connection process can be greatly reduced, and the user experience is improved.
Fig. 2 is a flowchart of another method for automatically associating devices according to an embodiment of the present invention, where the method is applied to a wireless access device, and as shown in fig. 2, the method may include:
step 201, when receiving a probe request frame sent by a terminal device, sending a probe response frame to the terminal device, where the probe response frame carries a second manufacturer identifier of the wireless access device.
Step 202, receiving a password request frame sent by the terminal device, where the password request frame carries a first manufacturer identifier of the terminal device.
And 203, if the first manufacturer identification is the same as the second manufacturer identification, periodically sending a password response frame to the first terminal device according to a second time interval, so that the terminal device determines an access key according to the password response frame and connects to the wireless access device according to the access key.
In one implementation, the wireless access device may determine the first manufacturer identifier of the terminal device in the password request frame, and if the first manufacturer identifier is the same as the second manufacturer identifier, it indicates that the terminal device and the wireless access device are produced by the same manufacturer, and may automatically establish a network connection, and the wireless access device may send a password response frame to the terminal device. If the first manufacturer identification is different from the second manufacturer identification, the terminal device and the wireless access device are produced by different manufacturers, and the automatic network connection establishment by devices produced by different manufacturers involves a security information problem, so that the wireless access device does not send a password response frame to the terminal device and ends an automatic connection process.
In one implementation, the wireless access device periodically sends a password response frame to the terminal device at a second time interval after confirming that the wireless access device is produced by the same manufacturer as the terminal device. Meanwhile, timing is carried out after the password response frame is sent to the terminal equipment for the first time, and if the automatic connection request sent by the terminal equipment is not received within the preset waiting time, the automatic connection is finished. The automatic connection request is a request in an authentication phase in device association, and ending the automatic connection means that the wireless access device stops sending a password response frame. For example, the second time interval is 0.5 ms, the preset waiting time is 3 seconds, and 3 seconds after the probe response frame is sent for the first time, the wireless access device that sent the multiple password response frames still does not receive the automatic connection request, and then ends the automatic connection, where the specific duration is determined according to the situation.
Fig. 3 is a schematic working diagram of an automatic association of a device according to an embodiment of the present invention, and as shown in fig. 3, the device for performing automatic association may include: the specific steps of the terminal device 310 and the wireless access device 320 may include:
301. a probe request frame is sent.
Firstly, in the inter-device scanning stage, after the terminal device 310 enters the network connection interface, a probe request frame is periodically sent to the wireless access device 320, where the probe request frame carries the first manufacturer identifier of the terminal device 310.
302. A probe response frame is sent.
After receiving the probe request frame, the wireless access device 320 sends a probe response frame to the terminal device 310, where the probe response frame carries the second manufacturer identifier of the wireless access device 320.
303. A password request frame is sent.
When the terminal device 310 wishes to establish a network connection with the wireless access device 320, if it is determined that the first manufacturer id and the second manufacturer id are the same, the terminal device 310 sends a password request frame to the wireless access device, where the password request frame also carries the first manufacturer id. If it is detected that the first manufacturer identification and the second manufacturer identification are different, the authentication phase 305 and the association phase 306 are entered directly.
304. And sending the password response frame.
If the wireless access device 320 confirms that the first manufacturer id and the second manufacturer id are the same, the wireless access device 320 sends a password response frame in response, where the password response frame includes the access key. The terminal device 310 decrypts the access key to obtain the network connection password, and then proceeds to 305, authentication phase and 306, association phase.
By sending the password request frame and the password response frame, the terminal device 310 can acquire the access key to automatically establish network connection with the wireless access device 320, thereby improving the efficiency of establishing network connection between devices.
Fig. 4 is a schematic structural diagram of an apparatus automatic association apparatus according to an embodiment of the present invention, where the apparatus automatic association apparatus according to the embodiment of the present invention may be used as an apparatus automatic association apparatus to implement the apparatus automatic association method according to the embodiment of the present invention. As shown in fig. 4, the device auto-association apparatus may include: a sending module 410, a receiving module 420, a display module 430 and an acquisition module 440.
And the sending module is used for sending a detection request frame, and the detection request frame carries the first manufacturer identification of the terminal equipment.
And the receiving module is used for receiving a detection response frame sent by the wireless access equipment, wherein the detection response frame carries the second manufacturer identification of the wireless access equipment, and the wireless access equipment is the access equipment which receives the detection request frame.
And the display module is used for setting a first identifier according to the information about the wireless access equipment displayed by the access equipment list if the first manufacturer identifier is the same as the second manufacturer identifier, and the first identifier is used for prompting the wireless access equipment to support the keyless access of the terminal equipment.
The acquisition module is used for acquiring an access key from the wireless access equipment when detecting that a user requests to access the wireless access equipment, and connecting to the wireless access equipment based on the access key.
Fig. 5 is a schematic structural diagram of another device auto-association apparatus according to an embodiment of the present invention, as shown in fig. 5, the device auto-association apparatus may include: a first transmitting module 510, a receiving module 520, and a second transmitting module 530.
And the first sending module is used for sending a detection response frame to the terminal equipment when receiving the detection request frame sent by the terminal equipment, wherein the detection response frame carries the second manufacturer identification of the wireless access equipment.
The receiving module is used for receiving a password request frame sent by the terminal equipment, and the password request frame carries the first manufacturer identification of the terminal equipment.
And the second sending module is used for periodically sending a password response frame to the first terminal equipment according to the first time interval if the first manufacturer identification is the same as the second manufacturer identification, so that the terminal equipment determines an access key according to the password response frame and is connected to the wireless access equipment according to the access key.
The specific process can refer to the above method flow chart, and is not further described here.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 6, the electronic device is in the form of a general purpose computing device. Components of the electronic device may include, but are not limited to: one or more processors 610, a memory 630, and a communication bus 640 that couples the various system components (including the memory 630 and the processing unit 610).
Communication bus 640 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. These architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, to name a few.
Electronic devices typically include a variety of computer system readable media. Such media may be any available media that is accessible by the electronic device and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 630 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) and/or cache Memory. The electronic device may further include other removable/non-removable, volatile/nonvolatile computer system storage media. Although not shown in FIG. 6, a disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk Read Only Memory (CD-ROM), a Digital versatile disk Read Only Memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to communication bus 640 by one or more data media interfaces. Memory 630 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility having a set (at least one) of program modules, including but not limited to an operating system, one or more application programs, other program modules, and program data, may be stored in memory 630, each of which examples or some combination may include an implementation of a network environment. The program modules generally perform the functions and/or methodologies of the described embodiments of the invention.
The electronic device may also communicate with one or more external devices, may also communicate with one or more devices that enable a user to interact with the electronic device, and/or may communicate with any device (e.g., network card, modem, etc.) that enables the electronic device to communicate with one or more other computing devices. Such communication may occur via communications interface 620. Furthermore, the electronic device may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the Internet) via a Network adapter (not shown in FIG. 6), which may communicate with other modules of the electronic device via communication bus 640. It should be appreciated that although not shown in FIG. 6, other hardware and/or software modules may be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape Drives, and data backup storage systems, among others.
The processor 610 executes various functional applications and data processing by executing programs stored in the memory 630, for example, implementing the device auto-association method provided by the embodiment of the present invention.
The embodiment of the invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the automatic association method of the equipment provided by the embodiment of the invention.
The computer-readable storage medium described above may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash Memory, an optical fiber, a portable compact disc Read Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for automatically associating equipment is applied to terminal equipment and comprises the following steps:
sending a detection request frame, wherein the detection request frame carries a first manufacturer identifier of the terminal equipment;
receiving a probe response frame sent by a wireless access device, wherein the probe response frame carries a second manufacturer identifier of the wireless access device, and the wireless access device is the access device which receives the probe request frame;
if the first manufacturer identification is the same as the second manufacturer identification, setting a first identification for the information about the wireless access equipment displayed by an access equipment list, wherein the first identification is used for prompting the wireless access equipment to support the keyless access of the terminal equipment;
and when the operation that a user requests to access the wireless access equipment is detected, acquiring an access key from the wireless access equipment, and connecting to the wireless access equipment based on the access key.
2. The method of claim 1, wherein sending the probe request frame comprises:
if the network connection interface runs in the foreground of the terminal equipment, periodically sending the detection request frame according to a first time interval, wherein the network connection interface is an interface used for displaying the access equipment list;
and if the network connection interface is not operated by the terminal equipment or the network connection interface is operated in the background of the terminal equipment, sending the detection request frame in a mode of gradually increasing time intervals.
3. The method of claim 1, wherein sending the probe request frame comprises:
transmitting the probe request frame in a broadcast manner; alternatively, the first and second electrodes may be,
after acquiring a device identifier or a connection request of a first wireless access device, sending a probe request frame to the first wireless access device.
4. The method of claim 1, wherein obtaining an access key from the wireless access device upon detecting an operation of a user requesting access to the wireless access device comprises:
when detecting that a user requests to access the wireless access equipment with the first identifier, sending a password request frame to the corresponding wireless access equipment, wherein the password request frame carries the first manufacturer identifier of the terminal equipment, so that the wireless access equipment determines whether the manufacturer identifier of the wireless access equipment is consistent with the manufacturer identifier of the wireless access equipment, and sending a password response frame to the terminal equipment when the manufacturer identifier of the wireless access equipment is consistent with the manufacturer identifier of the wireless access equipment;
and receiving the password response frame sent by the wireless access equipment, wherein the password response frame carries an access key.
5. The method of claim 4, wherein after sending the password request frame to the respective wireless access device, the method further comprises:
and if the password response frame is not received after waiting for the preset time, entering a network authentication interface, wherein the network authentication interface is used for establishing network connection according to the key input by the user.
6. A method for automatic association of devices, the method being applied to a wireless access device and comprising:
when a detection request frame sent by a terminal device is received, sending a detection response frame to the terminal device, wherein the detection response frame carries a second manufacturer identifier of the wireless access device;
receiving a password request frame sent by the terminal equipment, wherein the password request frame carries a first manufacturer identifier of the terminal equipment;
and if the first manufacturer identification is the same as the second manufacturer identification, periodically sending a password response frame to the terminal equipment according to a second time interval, so that the terminal equipment determines an access key according to the password response frame and is connected to the wireless access equipment according to the access key.
7. An apparatus for automatically associating devices, wherein the apparatus is deployed in a terminal device, and comprises:
a sending module, configured to send a probe request frame, where the probe request frame carries a first manufacturer identifier of the terminal device;
a receiving module, configured to receive a probe response frame sent by a wireless access device, where the probe response frame carries a second manufacturer identifier of the wireless access device, and the wireless access device is an access device that receives the probe request frame;
a display module, configured to set a first identifier for information about the wireless access device displayed in an access device list if the first manufacturer identifier is the same as the second manufacturer identifier, where the first identifier is used to prompt the wireless access device to support keyless access of the terminal device;
the acquisition module is used for acquiring an access key from the wireless access equipment when detecting that a user requests to access the wireless access equipment, and connecting to the wireless access equipment based on the access key.
8. An apparatus for automatic association of devices, the apparatus being deployed in a wireless access device, comprising:
a first sending module, configured to send a probe response frame to a terminal device when receiving a probe request frame sent by the terminal device, where the probe response frame carries a second manufacturer identifier of the wireless access device;
a receiving module, configured to receive a password request frame sent by the terminal device, where the password request frame carries a first manufacturer identifier of the terminal device;
and a second sending module, configured to send a cipher response frame to the terminal device periodically according to a second time interval if the first manufacturer identifier is the same as the second manufacturer identifier, so that the terminal device determines an access key according to the cipher response frame and connects to the wireless access device according to the access key.
9. An electronic device, comprising:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 6.
10. A computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 6.
CN202111645983.0A 2021-12-30 2021-12-30 Automatic association method, device and equipment Pending CN114339750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111645983.0A CN114339750A (en) 2021-12-30 2021-12-30 Automatic association method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111645983.0A CN114339750A (en) 2021-12-30 2021-12-30 Automatic association method, device and equipment

Publications (1)

Publication Number Publication Date
CN114339750A true CN114339750A (en) 2022-04-12

Family

ID=81016114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111645983.0A Pending CN114339750A (en) 2021-12-30 2021-12-30 Automatic association method, device and equipment

Country Status (1)

Country Link
CN (1) CN114339750A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105610866A (en) * 2016-02-18 2016-05-25 四川长虹电器股份有限公司 System and method for automatically accessing intelligent equipment to home wireless local area network
CN105871727A (en) * 2015-12-15 2016-08-17 乐视致新电子科技(天津)有限公司 Method and apparatus for automatically connecting router
CN106851632A (en) * 2017-01-22 2017-06-13 海尔优家智能科技(北京)有限公司 A kind of smart machine accesses the method and device of WLAN
CN113747430A (en) * 2021-08-31 2021-12-03 新华三技术有限公司成都分公司 Network access method, terminal device and AP

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871727A (en) * 2015-12-15 2016-08-17 乐视致新电子科技(天津)有限公司 Method and apparatus for automatically connecting router
CN105610866A (en) * 2016-02-18 2016-05-25 四川长虹电器股份有限公司 System and method for automatically accessing intelligent equipment to home wireless local area network
CN106851632A (en) * 2017-01-22 2017-06-13 海尔优家智能科技(北京)有限公司 A kind of smart machine accesses the method and device of WLAN
CN113747430A (en) * 2021-08-31 2021-12-03 新华三技术有限公司成都分公司 Network access method, terminal device and AP

Similar Documents

Publication Publication Date Title
EP3262862B1 (en) Information processing apparatus, communications system, and communications method
WO2020211714A1 (en) Bluetooth scanning method and electronic device
CN105827600B (en) Method and device for logging in client
CN104780155A (en) Method and device for binding equipment
WO2020216204A1 (en) Information acquisition method and apparatus
CN110351225B (en) Hardware device networking method and system, computing device and readable storage medium
CN110831005A (en) Device adding method of Mesh network, gateway device and storage medium
CN113326013A (en) Information interaction method and device and electronic equipment
CN107548083B (en) Wireless access point function test method and device
WO2020258782A1 (en) Data transmission method applicable to bluetooth card reader, and electronic apparatus
CN113490192A (en) Bluetooth connection method, device, terminal equipment and readable storage medium
CN113993115B (en) Method and device for automatically unlocking screen, electronic equipment and readable storage medium
US20140157372A1 (en) Image forming apparatus, wireless communication system, control method, and computer-readable medium
CN110545542A (en) Main control key downloading method and device based on asymmetric encryption algorithm and computer equipment
US10187506B2 (en) Dual subscriber identity module (SIM) card adapter for electronic device that allows for selection between SIM card(s) via GUI display
CN109474929B (en) Power consumption mode adjusting method and device, electronic equipment and computer readable storage medium
CN114339750A (en) Automatic association method, device and equipment
CN110942304A (en) Payment result acquisition method and device, payment equipment and cash register equipment
CN114827060B (en) Interaction method and device and electronic equipment
CN113162836B (en) Virtual local area network communication method and device, cloud server, medium and electronic equipment
CN111092949B (en) Method and device for registering equipment
CN107743151A (en) Content delivery method, device, mobile terminal and server
CN109543398B (en) Application program account migration method and device and electronic equipment
CN108833568B (en) Message synchronization method, client, server and electronic equipment
CN112395204B (en) Method, system, related device and medium for obtaining test coverage rate

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