Wireless device pairing method and wireless device state configuration device
Through the wireless device pairing system and status configuration device, through pre-connection and status comparison, the error connection problem in multi-device testing on the production assembly line is solved, and fast and accurate device connection is achieved. It is suitable for a variety of device types and statuses, improving Flexibility and accuracy of connections.
Patent Information
- Application Number
- CN202411176909.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2024-12-10
AI Technical Summary
On the production assembly line, misconnection is easily caused during the testing of multiple wireless devices. In the prior art, if the method based on signal strength is used, there is a problem of misconnection, the signal shielding device is expensive and is not suitable for production line operations, and the wired interface is bound The method is limited and inapplicable, and the device has a high risk of label falling off during transportation.
Through the wireless device pairing system, the host is electrically connected to the status configuration device, establish a pre-connection, obtain the device status, and determine whether the device is the same by comparing the target state and the working state, avoiding misconnection, and use preset rules to filter the signal strength to determine the device. , and configure the device status through the status configuration device.
It realizes fast and accurate wireless device connection, avoids misconnection problems, and is suitable for wireless devices of all types and states, with strong versatility and high flexibility.
Smart Images

Figure CN119110319A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless connection, and in particular to a wireless device pairing method and a wireless device status configuration device. Background Art
[0002] On the production line, the wireless signal devices produced need to be tested. During the test, if there are multiple wireless devices in a signal field, if you want to connect to a device, there will be a situation where the connection is incorrect. Especially when there are a large number of wireless devices tested in the entire production line workshop, it is easy to cause the device connected to is not the correct device.
[0003] The existing technology generally includes the following methods: (1) Based on the strength of the wireless signal, the device with the strongest signal is used as the current test object. However, the wireless signals of the devices under test in the field are different. Under the same conditions, some are strong and some are weak. Although the signal is stronger the closer the distance, the distance and signal strength are not linearly related. This means that within a certain distance range, the wireless signal of a device that is slightly farther away is stronger than the signal of a device that is slightly closer. Therefore, the method based on the strongest signal still has the problem of misconnection. (2) Using a signal shielding device, the device under test and the test system are placed in the shielding device to shield other interference information. However, this method has high requirements for the shielding device. If a better shielding effect is to be achieved, the sealing requirements are high, the construction cost is high, and this method is not conducive to production line operation. At the same time, when the shielding effect is not good, the defects of method (1) will still exist. (3) Write a unique identification code to the device through a wired interface, print the identification code label, bind the label to the device, and select the correct device through the identification when wirelessly connecting the device. However, this method has limitations and requires a corresponding hardware interface. Due to space and interface limitations, some products are not suitable for this method. Moreover, after binding, there is a risk that the label will fall off during transportation.
[0004] The prior art does not solve the problem that when there are a large number of wireless devices under test, misconnection may occur easily. Summary of the invention
[0005] The embodiments of the present application provide a wireless device pairing method and a wireless device status configuration device to at least solve the problem of misconnection that is easily caused during wireless device testing in the related art.
[0006] In a first aspect, an embodiment of the present application provides a wireless device pairing method, the method is implemented by a wireless device pairing system, the wireless device pairing system includes a communication-connected host and a state configuration device, the state configuration device is used to electrically connect to a first wireless device and form a working module with the first wireless device; the method is specifically applied to the host, including:
[0007] Acquire wireless signals of all wireless devices, determine a second wireless device from the wireless devices based on a preset rule and the wireless signals, and establish a pre-connection between the host device and the second wireless device;
[0008] Performing state configuration on one of the working module and the second wireless device according to the target state, and obtaining the working state of the other;
[0009] When it is determined that the working state is the same as the target state, it is determined that the second wireless device and the first wireless device are the same device, the pre-connection is converted into a formal connection, and pairing is completed.
[0010] In one embodiment, the state configuration of the working module according to the target state includes:
[0011] A target state is acquired, and a state configuration device is configured according to the target state, so that the state configuration device configures the first wireless device according to the target state.
[0012] In one embodiment, obtaining the working status of the second wireless device includes:
[0013] Acquire data of the second wireless device through the pre-connection, and determine the working state of the second wireless device according to the data;
[0014] Determine whether the working state of the second wireless device is the same as the target state of the working module.
[0015] In one embodiment, performing state configuration on the second wireless device according to the target state includes:
[0016] A control instruction including a target state is sent to the second wireless device, so that the second wireless device presents the target state.
[0017] In one embodiment, obtaining the working status of the working module includes:
[0018] Sending a control instruction to the state configuration device so that the state configuration device obtains the working state of the first wireless device;
[0019] receiving the working state of the first wireless device returned by the state configuration device in response to the control instruction;
[0020] It is determined whether the working state of the first wireless device is the same as the target state of the second wireless device.
[0021] In one embodiment, the determining a connected device from the wireless device based on a preset rule and the wireless signal includes:
[0022] A wireless device whose wireless signal strength is greater than a preset threshold and whose wireless signal strength is the largest is selected as the second wireless device.
[0023] In a second aspect, an embodiment of the present application provides a wireless device status configuration device, the device cooperates with a host device and a first wireless device to implement the wireless device pairing method described in the first aspect, the device is electrically connected to the first wireless device, and the device includes an excitation source or a sensor,
[0024] The stimulus source is used to configure the state of the first wireless device;
[0025] The sensor is used to obtain the state of the first wireless device.
[0026] In one embodiment, the distance between the first wireless device and the host device is smaller than the distance between any wireless device other than the first wireless device and the host device.
[0027] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the wireless device pairing method as described in the first aspect above is implemented.
[0028] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the wireless device pairing method as described in the first aspect above.
[0029] A wireless device pairing method and a wireless device status configuration device provided in the embodiments of the present application have at least the following technical effects.
[0030] The present application establishes a pre-connection with the second wireless device through a pre-connection mechanism, configures or obtains the state of the second wireless device through the pre-connection, and configures or obtains the state of the first wireless device through a state configuration device. By comparing the states of the first wireless device and the second wireless device, it is determined whether the first wireless device and the second wireless device are the same device, thereby avoiding the problem of misconnection during the wireless device test, thereby quickly and accurately connecting the wireless device. The wireless device connection method provided by the present application is flexible in use, applicable to wireless devices of various types and states, and has strong versatility.
[0031] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0033] Figure 1 is a flow chart of a wireless device pairing method according to an exemplary embodiment;
[0034] Figure 2 is a schematic structural diagram of a wireless device status configuration apparatus according to an exemplary embodiment;
[0035] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0037] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as insufficient content disclosed in this application.
[0038] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0039] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation, and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.
[0040] In a first aspect, an embodiment of the present application provides a wireless device pairing method, which is implemented by a wireless device pairing system. The wireless device pairing system includes a communication-connected host and a state configuration device, and the state configuration device is used to electrically connect a first wireless device and form a working module with the first wireless device. Optionally, the wireless device pairing method provided by the present application is used in the production process to test the produced wireless signal equipment. The host can be a mobile phone, a standard Bluetooth module, a Raspberry Pi, and other devices. The state configuration device is used to configure or obtain the state of the first wireless device.
[0041] Figure 1 is a flow chart of a wireless device pairing method according to an exemplary embodiment, the method is specifically applied to a host, and includes:
[0042] Step S101, obtaining wireless signals of all wireless devices, determining a second wireless device from the wireless devices based on a preset rule and the wireless signals, and establishing a pre-connection between the host device and the second wireless device.
[0043] Optionally, the wireless connection in the present application includes but is not limited to wireless technologies such as Bluetooth, WiFi, Long Range Radio (LoRa), Internet of Things (IoT), etc. The wireless signal is roughly screened based on the timeliness principle, the minimum threshold principle, and the maximum value principle to determine the second wireless device that establishes a pre-connection with the host.
[0044] In one example, step S101 includes: selecting a wireless device whose wireless signal is acquired within a preset time and whose signal strength is greater than a preset threshold and whose wireless signal strength is the largest as the second wireless device.
[0045] Optionally, the timeliness principle, the minimum threshold principle and the maximum value principle are followed when selecting the second wireless device. Timeliness principle: The wireless signal searched within the specified time is a valid signal. Minimum threshold principle: The wireless signal strength is greater than the preset threshold to be a valid signal. Structurally, the distance between the host and the second wireless device should be as close as possible to ensure that the wireless signal strength of the second wireless device detected by the host is relatively large. Maximum value principle: Among all wireless signals that meet the timeliness principle and the minimum threshold principle, the device with the largest wireless signal strength is selected as the second wireless device. After completing the pre-connection, the host interacts with the second wireless device. In this way, a pre-connection between the host and the second wireless device is established, which can preliminarily filter out interfering devices and effectively avoid misconnection caused by interference during the wireless connection process.
[0046] Step S102: configure the state of one of the working module and the second wireless device according to the target state, and obtain the working state of the other one.
[0047] Optionally, when the first wireless device itself cannot present a special physical state, a special physical state is generated and applied to it through a state configuration device connected thereto, and the working state of the second wireless device is obtained. When the first wireless device can produce a special physical state, its physical state is obtained through a state configuration device connected thereto, and the state of the second wireless device is configured by the host. Among them, the special state (i.e., the target state) includes but is not limited to: key state, charging state, vibration state, lead state, photosensitive state, etc. The state can be a static state, such as the "on" or "off" state of the key state, the "charging" or "not charging" state; it can also be a dynamic state, such as the dynamic process of the key state changing from "on" to "off", and then from "off" to "on", or it can be a combination of several states, such as satisfying the switch state and the charging state at the same time. Each state and the change of each state are controlled in real time by the host, and the special state can be set and adapted according to the inherent characteristics of the connected object.
[0048] <The first wireless device itself cannot present a special physical state>
[0049] At this time, a special physical state is generated and applied to the first wireless device through a state configuration device connected to the first wireless device. In this case, step S102 is to configure the working module according to the target state and obtain the working state of the second wireless device. In this example, step S102 specifically includes:
[0050] Step S201, acquiring a target state, and configuring a state configuration device according to the target state, so that the state configuration device configures the first wireless device according to the target state.
[0051] Step S202: acquiring data of the second wireless device through pre-connection, and determining the working state of the second wireless device according to the data.
[0052] Step S203, determining whether the working state of the second wireless device is the same as the target state of the working module.
[0053] Optionally, the host obtains the target state and configures the state configuration device to present the target state, and the first wireless device is embedded in the state configuration device and is attached with the same target state as the state configuration device. After establishing a pre-connection with the second wireless device, the host interacts with the second wireless device, obtains the data of the second wireless device, and identifies whether the working state of the second wireless device is the same as the target state of the first wireless device configured by the host based on the data.
[0054] <The first wireless device itself can generate a special physical state>
[0055] At this time, the physical state of the first wireless device is obtained through the state configuration device connected to the first wireless device. In this case, step S102 is to configure the state of the second wireless device according to the target state and obtain the working state of the working module. In this example, step S102 specifically includes:
[0056] Step S204: Send a control instruction including the target state to the second wireless device, so that the second wireless device presents the target state.
[0057] Step S205: Send a control instruction to the state configuration device so that the state configuration device obtains the working state of the first wireless device.
[0058] Step S206: receiving the working state of the first wireless device returned by the state configuration device in response to the control instruction.
[0059] Step S207: determine whether the working state of the first wireless device is the same as the target state of the second wireless device.
[0060] Optionally, after the host establishes a pre-connection with the second wireless device, data interaction is performed, the host issues instructions to make the second wireless device present an identifiable target state, and at the same time sends instructions to the state configuration device to enable the state configuration device to obtain the working state of the first wireless device and determine whether the working state and the target state are the same.
[0061] In this way, the first wireless device is embedded and placed in the state configuration device, and the state of the first wireless device is configured or obtained through the state configuration device. A pre-connection is established with the second wireless device through the pre-connection mechanism, and the state of the second wireless device is configured or obtained through the pre-connection. By comparing the states of the first wireless device and the second wireless device, it is determined whether the first wireless device and the second wireless device are the same device, thereby avoiding the problem of misconnection during the wireless device test, thereby quickly and accurately connecting the wireless device.
[0062] Step S103, when it is determined that the working state is the same as the target state, it is determined that the second wireless device and the first wireless device are the same device, and the pre-connection is converted into a formal connection to complete the pairing.
[0063] Optionally, if the target state of the working module is the same as the working state of the second wireless device, or the working state of the working module is the same as the target state of the second wireless device, it can be determined that the second wireless device is the same device as the first wireless device, indicating that the pre-connected device is the target device, and there is no wrong connection, then the pre-connection is converted to a formal connection to complete the pairing. If the target state of the working module is not the same as the working state of the second wireless device, or the working state of the working module is not the same as the target state of the second wireless device, it indicates that the pre-connected device is not the target device and the connection is wrong. At this time, in order to ensure the test efficiency, you can choose to replace the next first wireless device for testing. If in order to ensure the test accuracy, you can choose to test the same first wireless device multiple times, and the specific upper limit of the number of tests can be set according to actual needs. In this way, by comparing the states of the first wireless device and the second wireless device, it is determined whether the first wireless device and the second wireless device are the same device, avoiding the problem of wrong connection during the wireless device test, thereby quickly and accurately connecting the wireless device.
[0064] In summary, the present application configures or obtains the state of the first wireless device through a state configuration device, establishes a pre-connection with the second wireless device through a pre-connection mechanism, and configures or obtains the state of the second wireless device through pre-connection. By comparing the states of the first wireless device and the second wireless device, it is determined whether the first wireless device and the second wireless device are the same device, thereby avoiding the problem of misconnection during the wireless device test, thereby quickly and accurately connecting the wireless device. The wireless device connection method provided by the present application is flexible in use, applicable to wireless devices of various types and states, and has strong versatility.
[0065] In a second aspect, an embodiment of the present application provides a wireless device status configuration device, which cooperates with a host device and a first wireless device to implement the wireless device pairing method of the first aspect. Figure 2 is a schematic diagram of a structure of a wireless device status configuration apparatus according to an exemplary embodiment. Figure 2 As shown, the device is electrically connected to the first wireless device, and the device includes an excitation source or a sensor, the excitation source is used to configure the state of the first wireless device; the sensor is used to obtain the state of the first wireless device.
[0066] Optionally, the first wireless device is embedded in the state configuration device. When the first wireless device itself cannot present a special physical state, the state configuration device is used to apply a physical state to the first wireless device. At this time, the state configuration device includes an excitation source to generate and apply a physical state to the first wireless device. The excitation source includes but is not limited to at least one of the excitation sources such as light, vibration, power on, and mechanical buttons. When the first wireless device itself can generate a special physical state, the state configuration device includes a sensor to identify the physical state of the first wireless device. The sensor includes but is not limited to at least one of the sensors such as photosensors, vibration sensors, and temperature sensors.
[0067] Wherein, a groove is arranged on the bottom module of the status configuration device for placing the first wireless device. Figure 2 The device is in the open state, and the first wireless device can be placed or taken out when it is opened. When the wireless device is tested, the upper and lower structures of the state configuration device are closed, and the first wireless device is embedded in the state configuration device.
[0068] In one example, the distance between the first wireless device and the host device is smaller than the distance between any wireless device other than the first wireless device and the host device. Optionally, the distance between the first wireless device and the host needs to be as close as possible to ensure that the device with the strongest signal detected by the host is the first wireless device.
[0069] In summary, the present application configures or obtains the state of the first wireless device through a state configuration device to cope with the situation that the first wireless device itself can produce a special physical state, and the first wireless device itself cannot present a physical device. Thereby realizing the wireless device pairing method of the first aspect, solving the problem of misconnection during the wireless device testing process, and quickly and accurately connecting the wireless device. The state configuration device provided by the present application is flexible in use, applicable to wireless devices of various types and states, and has strong versatility.
[0070] In a third aspect, an embodiment of the present application provides an electronic device, Figure 3A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the wireless device pairing method provided in the first aspect when executing the program. Figure 3 The electronic device 60 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0071] The electronic device 60 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 60 may include but are not limited to: at least one processor 61, at least one memory 62, and a bus 63 connecting different system components (including the memory 62 and the processor 61).
[0072] The bus 63 includes a data bus, an address bus, and a control bus.
[0073] The memory 62 may include a volatile memory, such as a random access memory (RAM) 621 and / or a cache memory 622 , and may further include a read-only memory (ROM) 623 .
[0074] The memory 62 may also include a program / utility 625 having a set (at least one) of program modules 624, such program modules 624 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0075] The processor 61 executes various functional applications and data processing by running the computer program stored in the memory 62, such as the wireless device pairing method provided in the first aspect of the present application.
[0076] The electronic device 60 may also communicate with one or more external devices 64 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 65. Furthermore, the model-generated device 60 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 66. As shown, the network adapter 66 communicates with other modules of the model-generated device 60 via a bus 63. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the model-generated device 60, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (RAID) systems, tape drives, and data backup storage systems.
[0077] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.
[0078] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a program stored thereon, and when the program is executed by a processor, the wireless device pairing method provided in the first aspect is implemented.
[0079] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0080] In a possible implementation manner, the present invention may also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the wireless device pairing method provided in the first aspect.
[0081] The program code for executing the present invention may be written in any combination of one or more programming languages, and may be executed entirely on a user device, partially on a user device, as an independent software package, partially on a user device and partially on a remote device, or entirely on a remote device.
[0082] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0083] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A wireless device pairing method, characterized in that: The method is implemented by a wireless device pairing system, the wireless device pairing system includes a host and a state configuration device in communication connection, the state configuration device is used to electrically connect to a first wireless device and form a working module with the first wireless device; The method is specifically applied to the host, including: Acquire wireless signals of all wireless devices, determine a second wireless device from the wireless devices based on a preset rule and the wireless signals, and establish a pre-connection between the host device and the second wireless device; Performing state configuration on one of the working module and the second wireless device according to the target state, and obtaining the working state of the other; When it is determined that the working state is the same as the target state, it is determined that the second wireless device and the first wireless device are the same device, the pre-connection is converted into a formal connection, and pairing is completed.
2. A wireless device pairing method according to claim 1, characterized in that: The working module is configured according to the target state, including: A target state is acquired, and a state configuration device is configured according to the target state, so that the state configuration device configures the first wireless device according to the target state.
3. A wireless device pairing method according to claim 2, characterized in that: Acquiring the working status of the second wireless device includes: Acquire data of the second wireless device through the pre-connection, and determine the working state of the second wireless device according to the data; Determine whether the working state of the second wireless device is the same as the target state of the working module.
4. A wireless device pairing method according to claim 1, characterized in that: Performing state configuration on the second wireless device according to the target state includes: A control instruction including a target state is sent to the second wireless device, so that the second wireless device presents the target state.
5. A wireless device pairing method according to claim 4, characterized in that: Obtaining the working status of the working module includes: Sending a control instruction to the state configuration device so that the state configuration device obtains the working state of the first wireless device; receiving the working state of the first wireless device returned by the state configuration device in response to the control instruction; It is determined whether the working state of the first wireless device is the same as the target state of the second wireless device.
6. A wireless device pairing method according to claim 1, characterized in that: The determining a connection device from the wireless device based on a preset rule and the wireless signal includes: A wireless device whose wireless signal strength is greater than a preset threshold and whose wireless signal strength is the largest among wireless signals acquired within a preset time is selected as the second wireless device.
7. A wireless device status configuration device, characterized in that: The device cooperates with the host device and the first wireless device to implement the wireless device pairing method described in any one of claims 1 to 6. The device is electrically connected to the first wireless device, and the device includes an excitation source or a sensor. The stimulus source is used to configure the state of the first wireless device; The sensor is used to obtain the state of the first wireless device.
8. A wireless device status configuration device according to claim 7, characterized in that: The distance between the first wireless device and the host device is smaller than the distance between any wireless device other than the first wireless device and the host device.
9. An electronic device, characterized in that: include Memory, processor, and A computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the wireless device pairing method according to any one of claims 1 to 6 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the wireless device pairing method according to any one of claims 1 to 6 is implemented.
