Rapid pairing method and system for wireless devices
By reading and comparing the initial address code of the wireless device and updating the address code, the problem that wireless devices cannot be quickly paired in complex environments is solved, and automatic pairing of wireless devices and PCs is realized, improving user experience.
Patent Information
- Application Number
- CN202411195079.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-20
AI Technical Summary
In complex environments, when users use wireless devices, the devices are easily placed at will, resulting in the inability to quickly pair, affecting the user experience and requiring manual rematch.
By reading the device initial address code of the wireless device and the pre-stored address code, if it is consistent, a shutdown command will be sent; if it is inconsistent, a communication connection will be searched and a communication connection will be established, and the address code will be updated to achieve fast pairing.
The rapid pairing of wireless devices and PCs in complex environments reduces manual intervention and improves user experience.
Smart Images

Figure CN119172867A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wireless device communication connection, and in particular to a method and system for fast pairing of wireless devices. Background Art
[0002] At present, wireless devices used in PCs are mainly connected by 2.4G wireless technology. Such wireless devices need to set up a transmitter on the PC motherboard and a receiver on the wireless device (computer wireless devices usually refer to headphones, mice, and keyboards). When the wireless device is used for the first time, it is necessary to manually match the PC and the wireless device one-to-one. Only after the matching is successful can the PC directly use the wireless device when it is turned on. However, in places with complex environments and intensive use of wireless devices (such as Internet cafes), users often place the wireless devices randomly after using them, which will cause the wireless device to be unable to match with the PC, resulting in subsequent users being unable to connect to the computer when using the wireless device. It is necessary to manually re-match the wireless device and the PC one-to-one, affecting the user experience. Summary of the invention
[0003] The embodiments of the present invention provide a method and system for rapid pairing of wireless devices, aiming to solve the problem in the prior art that wireless devices cannot be rapidly paired in a complex environment.
[0004] In a first aspect, an embodiment of the present invention provides a method for fast pairing of wireless devices, comprising:
[0005] Reading an initial device address code of the wireless device, and determining whether the initial device address code is consistent with a first pre-stored address code;
[0006] If the initial address code of the device is consistent with the first pre-stored address code, sending a shutdown command to the receiver module in the wireless device to control the wireless device to shut down;
[0007] If the device initial address code is inconsistent with the first pre-stored address code, searching for a receiver signal corresponding to the wireless device according to the device initial address code;
[0008] A communication connection is established with a receiver module in the wireless device according to the receiver signal, a shutdown instruction is sent to the receiver module, and an initial device address code of the wireless device is updated to a first pre-stored address code.
[0009] In a second aspect, an embodiment of the present invention provides a wireless device fast pairing system, which includes: a transmitter module and a receiver module;
[0010] The transmitter module is used to read the device initial address code of the wireless device and determine whether the device initial address code is consistent with the first pre-stored address code;
[0011] The transmitter module is also used to send a shutdown instruction to the receiver module in the wireless device to control the wireless device to shut down if the initial address code of the device is consistent with the first pre-stored address code;
[0012] The transmitter module is further configured to search for a receiver signal corresponding to the wireless device according to the initial address code of the device if the initial address code of the device is inconsistent with the first pre-stored address code;
[0013] The transmitter module is also used to establish a communication connection with a receiver module in the wireless device according to the receiver signal, send a shutdown instruction to the receiver module, and update the initial device address code of the wireless device to a first pre-stored address code;
[0014] The receiver module is used to establish a communication connection with the transmitter module, receive a shutdown instruction sent by the transmitter module, and control the wireless device to shut down.
[0015] The embodiment of the present invention provides a method and system for fast pairing of wireless devices, the method comprising: reading the initial device address code of the wireless device, and determining whether the initial device address code is consistent with the first pre-stored address code; if the initial device address code is consistent with the first pre-stored address code, sending a shutdown command to the receiver module in the wireless device to control the shutdown of the wireless device; if the initial device address code is inconsistent with the first pre-stored address code, searching for a receiver signal corresponding to the wireless device according to the initial device address code; establishing a communication connection with the receiver module in the wireless device according to the receiver signal, sending a shutdown command to the receiver module, and updating the initial device address code of the wireless device to the first pre-stored address code. The embodiment of the present invention obtains the initial device address code of the wireless device through a transmitter module and compares it with the first pre-stored address code, thereby performing fast pairing according to the comparison result, solving the problem that the PC and the wireless device cannot be quickly paired in a complex environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0017] Figure 1 A schematic diagram of a flow chart of a method for rapid pairing of wireless devices provided by an embodiment of the present invention;
[0018] Figure 2 A schematic block diagram of a wireless device fast pairing system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0021] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0022] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0023] See also Figure 1 , Figure 1 A schematic flow chart of a method for rapid pairing of wireless devices provided in an embodiment of the present invention, the method comprising steps S101 to S104.
[0024] S101, reading an initial device address code of a wireless device, and determining whether the initial device address code is consistent with a first pre-stored address code;
[0025] S102, if the initial address code of the device is consistent with the first pre-stored address code, sending a shutdown instruction to the receiver module in the wireless device to control the wireless device to shut down;
[0026] S103, if the device initial address code is inconsistent with the first pre-stored address code, searching for a receiver signal corresponding to the wireless device according to the device initial address code;
[0027] S104: Establish a communication connection with a receiver module in the wireless device according to the receiver signal, send a shutdown instruction to the receiver module, and update the initial device address code of the wireless device to a first pre-stored address code.
[0028] In this embodiment, the transmitter module reads the device initial address code of the wireless device, and compares the read device initial address code with the first pre-stored address code of the transmitter module to determine whether the read device initial address code is consistent with the first pre-stored address code. If they are consistent, the wireless device is determined to be a wireless device currently communicating, and a shutdown command is sent to the receiver module in the wireless device to control the wireless device to shut down; if they are inconsistent, the wireless device is determined to be an unpaired wireless device, and at this time, the receiver signal corresponding to the wireless device is searched according to the read device initial address code, and a communication connection is established with the receiver module of the wireless device according to the receiver signal. After the connection is successful, a shutdown command is sent to the receiver module to control the wireless device to shut down, and the read device initial address code is updated to the first pre-stored address code.
[0029] In a specific application scenario, the transmitter module is installed in a charging base, the charging base is connected to a computer PC, the wireless device is a headset, and the receiver module is arranged in the headset. When the headset is placed in the charging base by the user, the transmitter module arranged in the charging base reads the device initial address code corresponding to the headset, and determines whether the device initial address code is consistent with the first pre-stored address code of the transmitter module. If they are consistent, a shutdown command is sent to the receiver module of the headset to shut down the headset and charge it in the charging base; if they are inconsistent, a communication connection is first established with the receiver module in the headset through the device initial address code, and then a shutdown command is sent to the receiver module of the headset to shut down the headset and charge it in the charging base, and the device initial address code is updated to the first pre-stored address code of the transmitter module.
[0030] In a specific implementation method, before the transmitter module establishes a communication connection with the receiver module in the wireless device according to the receiver signal, the transmitter module sends a communication disconnection signal and the device initial address code of the wireless device to the receiver module currently in communication connection. After the receiver module currently in communication connection receives the communication disconnection signal and the device initial address code of the wireless device, it disconnects the communication connection with the transmitter module, searches for the charging base corresponding to the device initial address code according to the device initial address code of the wireless device, and sends a communication connection request to the transmitter module in the charging base corresponding to the device initial address code.
[0031] In a specific embodiment, before reading the device initial address code of the wireless device, the method includes:
[0032] The corresponding base initial address code and device initial address code are pre-set for the initially paired transmitter module and receiver module, and the device initial address code is used as the first pre-stored address code of the transmitter module, and the base initial address code is used as the second pre-stored address code of the receiver module.
[0033] In this embodiment, the transmitter module and the receiver module of the initial pairing are set with corresponding base initial address codes and device initial address codes, and the device initial address code is used as the first pre-stored address code of the transmitter module, and the base initial address code is used as the second pre-stored address code of the receiver module. Specifically in the application scenario, the transmitter module is set in the charging base, and the receiver module is set in the headset. The charging base and the headset are set with corresponding initial address codes when leaving the factory, so that the charging base and the headset can be paired.
[0034] In one embodiment, after establishing a communication connection with a receiver module in the wireless device according to the receiver signal, the method further comprises:
[0035] Sending a corresponding base initial address code to the receiver module;
[0036] After receiving the base initial address code, the receiver module updates the base initial address code to a second pre-stored address code.
[0037] In this embodiment, after the transmitter module establishes a communication connection with the receiver module, the transmitter module sends the base initial address code of the charging base corresponding to the transmitter module to the receiver module. After the receiver module receives the base initial address code, the base initial address code is updated to the second pre-stored address code.
[0038] In one embodiment, before reading the device initial address code of the wireless device, the method further includes:
[0039] sending a contact detection signal to the first contact unit;
[0040] If a contact connection signal returned by the first contact unit is received, then reading the device initial address code of the wireless device;
[0041] If the contact connection signal returned by the first contact unit is not received, the contact detection signal is continuously sent to the first contact unit.
[0042] In this embodiment, the transmitter module sends a contact detection signal to the first contact unit. If the transmitter module receives a contact connection signal returned by the first contact unit, the device initial address code of the wireless device is read, otherwise the contact detection signal is continuously sent to the first contact unit. In a specific application scenario, the transmitter module is arranged in a charging base, and the receiver module is arranged in an earphone. A first contact unit is arranged on the charging base, and a second contact unit is arranged on the earphone. When the earphone is placed on the charging base for charging, the first contact unit contacts the second contact unit, and a contact connection is established between the earphone and the charging base. The transmitter module located on the charging base and the receiver module located in the earphone communicate through the contact connection. At this time, the first contact unit returns a contact connection signal to the transmitter module, and the transmitter module reads the device initial address code of the receiver module and compares the device initial address code with the first pre-stored address code.
[0043] In one embodiment, the wireless device fast pairing method further includes:
[0044] When the transmitter module detects the disconnection signal fed back by the first contact unit, it sends a communication connection signal to the receiver module corresponding to the first pre-stored address code, so that the transmitter module and the receiver module establish a communication connection.
[0045] In this embodiment, when the transmitter module receives the disconnection signal returned by the first contact unit, it sends a communication connection signal to the receiver module corresponding to the first pre-stored address code to communicate with the receiver module. In a specific application scenario, when the headset is picked up from the charging base, the first contact unit and the second contact unit are separated, and the first contact unit returns a disconnection signal to the transmitter module. At this time, the transmitter module sends a communication connection request to the activated receiver module to establish a communication connection.
[0046] In a specific embodiment, the wireless device fast pairing method further includes:
[0047] When the receiver module detects the disconnection signal fed back by the second contact unit, the start-up procedure is executed to start the wireless device, and the communication connection signal sent by the transmitter module is received;
[0048] A communication connection is established with the transmitter module according to the communication connection signal, and a communication connection success signal is returned to the transmitter module.
[0049] In this embodiment, when the first contact unit and the second contact unit are disconnected, the first contact unit sends a disconnection signal to the transmitter module, and the second contact unit sends a disconnection signal to the receiver module. After receiving the disconnection signal, the receiver module executes a pre-set startup program to start the wireless device, and receives the communication connection signal sent by the transmitter module. After establishing a communication connection with the transmitter module, it returns a communication connection success signal to the transmitter module.
[0050] See also Figure 2 , Figure 2 A schematic block diagram of a wireless device fast pairing system provided by an embodiment of the present invention, the wireless device fast pairing system 200 comprises: a transmitter module 201 and a receiver module 202;
[0051] The transmitter module 201 is used to read the initial device address code of the wireless device and determine whether the address code is consistent with the first pre-stored address code;
[0052] The transmitter module 201 is also used to send a shutdown command to the receiver module in the wireless device to control the wireless device to shut down if the address code is consistent with the first pre-stored address code;
[0053] The transmitter module 201 is also used to search for a receiver signal corresponding to the wireless device according to the address code if the address code is inconsistent with the first pre-stored address code;
[0054] The transmitter module 201 is also used to establish a communication connection with the receiver module in the wireless device according to the receiver signal, send a shutdown command to the receiver module, and update the initial device address code of the wireless device to the first pre-stored address code;
[0055] The receiver module 202 is used to establish a communication connection with the transmitter module, receive a shutdown instruction sent by the transmitter module, and control the wireless device to shut down.
[0056] In one embodiment, the transmitter module 201 is further used to send a contact detection signal to the first contact unit;
[0057] The transmitter module 201 is further configured to read the device initial address code of the wireless device if a contact connection signal returned by the first contact unit is received;
[0058] The transmitter module 201 is further configured to continuously send a contact detection signal to the first contact unit if no contact connection signal returned by the first contact unit is received.
[0059] In one embodiment, the transmitter module 201 is further used to send a communication connection signal to a receiver module corresponding to the first pre-stored address code when a disconnection signal fed back by the first contact unit is detected, so that the transmitter module and the receiver module establish a communication connection.
[0060] In one embodiment, the receiver module 202 is further configured to execute a startup procedure to start the wireless device when a disconnection signal fed back by the second contact unit is detected, and receive a communication connection signal sent by the transmitter module;
[0061] The receiver module 202 is further configured to establish a communication connection with the transmitter module according to the communication connection signal, and return a communication connection success signal to the transmitter module.
[0062] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
[0063] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
Claims
1. A method for quickly pairing wireless devices. It is characterized in that include: Reading an initial device address code of the wireless device, and determining whether the initial device address code is consistent with a first pre-stored address code; If the initial address code of the device is consistent with the first pre-stored address code, sending a shutdown instruction to the receiver module in the wireless device to control the wireless device to shut down; If the device initial address code is inconsistent with the first pre-stored address code, searching for a receiver signal corresponding to the wireless device according to the device initial address code; A communication connection is established with a receiver module in the wireless device according to the receiver signal, a shutdown instruction is sent to the receiver module, and an initial device address code of the wireless device is updated to a first pre-stored address code.
2. The wireless device fast pairing method according to claim 1, It is characterized in that Before reading the initial address code of the wireless device, the method includes: The corresponding base initial address code and device initial address code are pre-set for the initially paired transmitter module and receiver module, and the device initial address code is used as the first pre-stored address code of the transmitter module, and the base initial address code is used as the second pre-stored address code of the receiver module.
3. The wireless device fast pairing method according to claim 2, It is characterized in that After establishing a communication connection with a receiver module in the wireless device according to the receiver signal, the method includes: Sending a corresponding base initial address code to the receiver module; After receiving the base initial address code, the receiver module updates the base initial address code to a second pre-stored address code.
4. The wireless device fast pairing method according to claim 1, It is characterized in that Before reading the initial address code of the wireless device, the method further includes: sending a contact detection signal to the first contact unit; If a contact connection signal returned by the first contact unit is received, then reading the device initial address code of the wireless device; If the contact connection signal returned by the first contact unit is not received, the contact detection signal is continuously sent to the first contact unit.
5. The wireless device fast pairing method according to claim 4, It is characterized in that Also includes: When the transmitter module detects the disconnection signal fed back by the first contact unit, it sends a communication connection signal to the receiver module corresponding to the first pre-stored address code, so that the transmitter module and the receiver module establish a communication connection.
6. The wireless device fast pairing method according to claim 5, It is characterized in that Also includes: When the receiver module detects the disconnection signal fed back by the second contact unit, the start-up procedure is executed to start the wireless device, and the communication connection signal sent by the transmitter module is received; A communication connection is established with the transmitter module according to the communication connection signal, and a communication connection success signal is returned to the transmitter module.
7. A wireless device fast pairing system, It is characterized in that include: Transmitter module and receiver module; The transmitter module is used to read the device initial address code of the wireless device and determine whether the device initial address code is consistent with the first pre-stored address code; The transmitter module is also used to send a shutdown instruction to the receiver module in the wireless device to control the wireless device to shut down if the initial address code of the device is consistent with the first pre-stored address code; The transmitter module is further configured to search for a receiver signal corresponding to the wireless device according to the initial address code of the device if the initial address code of the device is inconsistent with the first pre-stored address code; The transmitter module is also used to establish a communication connection with a receiver module in the wireless device according to the receiver signal, send a shutdown instruction to the receiver module, and update the initial device address code of the wireless device to a first pre-stored address code; The receiver module is used to establish a communication connection with the transmitter module, receive a shutdown instruction sent by the transmitter module, and control the wireless device to shut down.
8. The wireless device rapid pairing system according to claim 7, It is characterized in that The transmitter module is also used to send a contact detection signal to the first contact unit; The transmitter module is further configured to read the device initial address code of the wireless device if a contact connection signal returned by the first contact unit is received; The transmitter module is further configured to continuously send a contact detection signal to the first contact unit if no contact connection signal returned by the first contact unit is received.
9. The wireless device rapid pairing system according to claim 8, It is characterized in that The transmitter module is also used to send a communication connection signal to the receiver module corresponding to the first pre-stored address code when detecting the disconnection signal fed back by the first contact unit, so that the transmitter module and the receiver module establish a communication connection.
10. The wireless device rapid pairing system according to claim 9, It is characterized in that The receiver module is also used to execute a startup procedure to start the wireless device when detecting a disconnection signal fed back by the second contact unit, and receive a communication connection signal sent by the transmitter module; The receiver module is further configured to establish a communication connection with the transmitter module according to the communication connection signal, and return a communication connection success signal to the transmitter module.
