[go: up one dir, main page]

CN104144380A - Wireless terminal pairing method and device based on range information - Google Patents

Wireless terminal pairing method and device based on range information Download PDF

Info

Publication number
CN104144380A
CN104144380A CN201410342713.6A CN201410342713A CN104144380A CN 104144380 A CN104144380 A CN 104144380A CN 201410342713 A CN201410342713 A CN 201410342713A CN 104144380 A CN104144380 A CN 104144380A
Authority
CN
China
Prior art keywords
wireless
terminal
pairing
networking
receiving terminal
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
CN201410342713.6A
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.)
Wuhan Tai Rui Science And Technology Ltd
Original Assignee
Wuhan Tai Rui Science And Technology 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 Wuhan Tai Rui Science And Technology Ltd filed Critical Wuhan Tai Rui Science And Technology Ltd
Priority to CN201410342713.6A priority Critical patent/CN104144380A/en
Publication of CN104144380A publication Critical patent/CN104144380A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a wireless terminal pairing method and device based on range information. The wireless terminal pairing method based on range information includes the steps that a wireless receiving terminal receives networking pairing information sent by a plurality of wireless sending terminals, wherein the networking pairing information at least comprises identifications of the wireless sending terminals; the range information between the wireless sending terminals and the wireless receiving terminal is obtained according to the networking pairing information sent by the wireless sending terminals; according to the obtained range information between the wireless sending terminals and the wireless receiving terminal, the wireless sending terminal the minimum distance away from the wireless receiving terminal is determined as a wireless sending terminal for networking pairing.

Description

Wireless terminal pairing method and device based on distance information
Technical Field
The invention relates to the technical field of wireless communication, in particular to a wireless terminal pairing method and device based on distance information.
Background
For communication and control of wireless terminals, pairing or pairing-like operation procedures need to be adopted, so that a wireless receiving terminal can control or communicate with a specific wireless transmitting terminal. Currently, the main methods for pairing wireless terminals are:
in the first method, a wireless transmitting terminal (e.g. a bluetooth device) enters a pairing state by using a key of the wireless transmitting terminal, and a wireless receiving terminal (also referred to as a controller, such as a mobile phone or a remote controller) receives and verifies terminal information of the wireless transmitting terminal in the pairing state (with or without a password), thereby completing pairing operation. The paired wireless transmitting terminal and wireless receiving terminal can perform data connection at any time.
In the second method, a serial ID of a wireless transmitting terminal or a pairing method of a two-dimensional code (which is also a serial ID in nature) scanned by the wireless transmitting terminal is input through a wireless receiving terminal (such as a mobile phone). The essence is to obtain the wireless transmitting terminal serial ID (omitting the manual key) to make the wireless terminal complete the pairing process.
Currently, most bluetooth devices adopt the first mode, active pairing operation needs to be performed on a wireless transmitting terminal and a wireless receiving terminal, pairing protection can be performed by using a mode of inputting a verification code, safety is improved, and mispairing or unauthorized pairing can be avoided. However, the pairing process is complicated by adopting the method, an operator needs to operate both sides of the wireless transmitting terminal and the wireless receiving terminal, and a special pairing key or a combination key is needed to perform pairing operation.
The WIFI terminal or the internet of things terminal is usually paired in a second manner, and unlike the bluetooth device, the WIFI terminal and the internet of things terminal are actively connected by selecting and joining a searched network (for example, a WIFI password may be used). However, when multiple terminal devices are in parallel and are in the same position (such as multiple sensors), especially products of the same model of the same company, it is difficult to judge how to network. This is particularly prominent when different families use the same type of terminal device, and it is difficult for users to judge whether the terminal device is at home or in an adjacent home, so networking pairing can only be performed by using an ID verification method, otherwise, the possibility of wireless terminal networking between homes occurs. Referring to fig. 1, if a networking pairing method of ID verification is not adopted, it is difficult for a wireless receiving terminal to determine whether received terminal information belongs to a free terminal to be controlled or a terminal of an adjacent home. And the networking pairing mode of ID verification is adopted, and from the production perspective, the sequence ID needs to be marked separately for each wireless device, so that the production cost is greatly increased.
In order to solve the above problems, a method is currently adopted, in which a user brings a wireless transmitting terminal and a wireless receiving terminal that need to be paired close to each other, then a plurality of wireless transmitting terminals transmit wireless signals to the wireless receiving terminal, the wireless receiving terminal detects the strength of the received wireless signals, and the wireless transmitting terminal with the highest strength of the corresponding wireless signals is considered as the wireless transmitting terminal paired with the wireless receiving terminal in a networking manner. By adopting the method, the automatic pairing of the wireless terminals can be realized, the pairing can be completed without simultaneously operating the wireless transmitting terminal and the wireless receiving terminal, and in addition, the problem of mispairing of the wireless transmitting terminal at home or at the neighboring home can be avoided. However, the pairing of the wireless terminals is completed by simply detecting the strength of the wireless signal, and the wireless transmitting terminal needs to transmit the wireless signal to the wireless receiving terminal, so that the wireless transmitting terminal has limitations and lacks flexibility.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a wireless terminal pairing method and device based on distance information, which can reduce the complexity of the pairing process and also can reduce the production, test, inspection and other costs of a wireless terminal equipment provider caused by marking the sequence ID of the wireless terminal equipment; in addition, the distance information is acquired in multiple modes, and the method has considerable flexibility.
According to an aspect of the present invention, there is provided a wireless terminal pairing method based on distance information, including:
the method comprises the steps that a wireless receiving terminal receives networking pairing information sent by a plurality of wireless sending terminals, wherein the networking pairing information at least comprises identification of the wireless sending terminals;
acquiring distance information between the wireless transmitting terminal and the wireless receiving terminal according to the networking pairing information transmitted by the wireless transmitting terminal;
and determining the wireless transmitting terminal with the minimum distance to the wireless receiving terminal as a networking matched wireless transmitting terminal according to the acquired distance information between the wireless transmitting terminal and the wireless receiving terminal.
According to another aspect of the present invention, there is provided a wireless terminal pairing apparatus based on distance information, including:
the pairing information receiving module is used for calling the wireless transmitting terminals to receive networking pairing information transmitted by the plurality of wireless transmitting terminals, and the networking pairing information at least comprises the identification of the wireless transmitting terminals;
the distance information acquisition module is used for acquiring distance information between the wireless transmitting terminal and the wireless receiving terminal according to the networking pairing information transmitted by the wireless transmitting terminal;
and the determining module is used for determining the wireless transmitting terminal with the minimum distance with the wireless receiving terminal as the wireless transmitting terminal paired with the network according to the acquired distance information between the wireless transmitting terminal and the wireless receiving terminal.
According to the wireless terminal pairing method and device based on the distance information, a wireless receiving terminal receives networking pairing information sent by a plurality of wireless sending terminals, obtains the distance information between the wireless sending terminals and the wireless receiving terminals according to the received networking pairing information, and determines the wireless sending terminal with the minimum distance to the wireless receiving terminal as the wireless sending terminal which is in networking pairing with the wireless receiving terminal. The method avoids the steps of pressing keys, inputting the ID of the wireless transmitting terminal or scanning the two-dimensional code by using App and the like in the networking matching process, and reduces the complexity of the networking matching process; because information such as ID or two-dimensional code which corresponds to each wireless terminal device does not need to be marked, the production, test, inspection and other costs of wireless terminal device providers caused by the ID of the marking device are reduced.
Drawings
Fig. 1 is a schematic diagram of networking pairing of a WIFI terminal or an internet terminal in the prior art;
fig. 2 is a flowchart of a method for pairing a wireless terminal based on distance information according to a first embodiment of the present invention;
fig. 3 is a flowchart illustrating a networking pairing process initiated by a wireless transmitting terminal in a distance information-based wireless terminal pairing method according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a networking pairing process initiated by a wireless receiving terminal in a distance information-based wireless terminal pairing method according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a wireless terminal pairing apparatus based on distance information according to a second embodiment of the present invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
The embodiment I provides a wireless terminal pairing method based on distance information. The method provided by the present invention is described in detail below with reference to fig. 2-4.
In fig. 2, in S201, a wireless receiving terminal receives networking pairing information sent by a plurality of wireless sending terminals, where the networking pairing information at least includes an identifier of the wireless sending terminal.
Specifically, the networking pairing process in this embodiment may be initiated by the wireless sending terminal, or may be initiated by the wireless receiving terminal.
In a specific implementation, when a networking pairing process is initiated by a wireless transmitting terminal, referring to fig. 3, a plurality of wireless transmitting terminals transmit networking pairing information to a wireless receiving terminal according to a predetermined time interval, for example, a plurality of wireless transmitting terminals transmit networking pairing information to a wireless receiving terminal every 1 second. The networking pairing information at least includes an identifier of the wireless sending terminal, and may be one of a wireless signal, a sound signal, an ultrasonic signal, or an infrared signal, which is not limited to these signals, and may also include other forms of signals. The wireless transmitting terminal identifier may be carried in the above signals, and is sent to the wireless receiving terminal together with the signals, where the wireless transmitting terminal identifier may be a Serial Number (Serial Number) of the wireless transmitting terminal, and may also be a Media Access Control Address (MAC) of the wireless transmitting terminal, or referred to as a hardware Address); the wireless signals can be wireless signals such as WIFI, Bluetooth, 3G/4G and the like. The identification of the wireless transmitting terminal corresponds to the wireless transmitting terminal one by one, so that when the wireless receiving terminal receives the networking pairing information transmitted by the wireless transmitting terminal, the wireless receiving terminal can know which wireless transmitting terminal transmits the networking pairing information. When the user operates the wireless receiving terminal to make the wireless receiving terminal enter the networking pairing mode, for example, the user may operate a pairing key on the wireless receiving terminal to make the wireless receiving terminal enter the networking pairing state. In addition, the wireless receiving terminal is provided with a plurality of icons of the wireless transmitting terminals, and if a user wants to perform networking pairing on the wireless receiving terminal and a certain wireless transmitting terminal, the icon of the wireless transmitting terminal can be selected on the wireless receiving terminal. Then, the user brings the wireless receiving terminal close to the wireless transmitting terminal to be paired in a networking manner, and receives networking pairing information transmitted by a plurality of wireless transmitting terminals.
When the networking pairing process is initiated by the wireless receiving terminal, the user can make the wireless receiving terminal approach the wireless transmitting terminal to be networked paired, and start the wireless receiving terminal to make the wireless receiving terminal enter a networking pairing mode, referring to fig. 4, the wireless receiving terminal transmits a networking pairing information packet to the wireless transmitting terminal, all the wireless transmitting terminals receiving the networking pairing information packet start to transmit networking pairing information to the wireless receiving terminal, and the wireless receiving terminal receives the networking pairing information from the wireless transmitting terminals.
S202, acquiring distance information between the wireless transmitting terminal and the wireless receiving terminal according to the networking pairing information transmitted by the wireless transmitting terminal.
Specifically, in step S201, the wireless receiving terminal receives networking pairing information sent by the wireless sending terminal, and in this step, distance information between the wireless sending terminal and the wireless receiving terminal is obtained according to the networking pairing information sent by the wireless sending terminal. The networking pairing information sent by the wireless sending terminal can be one of various signals such as a wireless signal, a sound signal, an ultrasonic signal or an infrared signal, and therefore the wireless receiving terminal can acquire the distance information between the wireless sending terminal and the wireless receiving terminal in various modes.
In the specific implementation, the first mode is that the wireless receiving terminal detects the strength of a wireless signal received by the wireless receiving terminal after the wireless signal is stable according to the wireless signal sent by the wireless sending terminal, so as to obtain the distance information between the wireless sending terminal and the wireless receiving terminal; the second mode is that the wireless receiving terminal detects the intensity of the received sound signal according to the sound signal sent by the wireless sending terminal to obtain the distance information between the wireless sending terminal and the wireless receiving terminal; the third mode is that the wireless receiving terminal detects the time delay of the received ultrasonic signal according to the ultrasonic signal sent by the wireless sending terminal to obtain the distance information between the wireless sending terminal and the wireless receiving terminal; the fourth mode is that the wireless receiving terminal detects the intensity of the received infrared signal according to the infrared signal sent by the wireless sending terminal, and obtains the distance information between the wireless sending terminal and the wireless receiving terminal.
When the wireless transmitting terminal transmits a wireless signal or a sound signal to the wireless receiving terminal, the greater the intensity of the wireless signal or the sound signal or the infrared signal received by the wireless receiving terminal is, the smaller the distance between the wireless transmitting terminal and the wireless receiving terminal is, and conversely, the greater the distance between the wireless transmitting terminal and the wireless receiving terminal is; when the wireless transmission terminal transmits an ultrasonic signal to the wireless reception terminal, the longer the time (also referred to as a time delay) required for the ultrasonic signal received by the wireless transmission terminal, the greater the distance between the wireless transmission terminal and the wireless reception terminal, and conversely, the smaller the distance between the wireless transmission terminal and the wireless reception terminal.
It should be noted that the signal (including a wireless signal, a sound signal, an ultrasonic signal, or an infrared signal) transmitted by each wireless transmitting terminal received by the wireless receiving terminal may be unstable, and therefore, after the signal received by the wireless receiving terminal is stable, the distance between the wireless receiving terminal and the wireless transmitting terminal is detected.
S103, according to the acquired distance information between the wireless transmitting terminal and the wireless receiving terminal, the wireless transmitting terminal with the minimum distance with the wireless receiving terminal is determined to be the wireless transmitting terminal paired with the networking.
Specifically, in step S102, the wireless receiving terminal detects the distance between the wireless transmitting terminal and the wireless receiving terminal according to the received networking pairing information sent by the wireless transmitting terminal, and this step determines that the wireless transmitting terminal with the smallest distance from the wireless transmitting terminal is the wireless transmitting terminal that is paired with the wireless receiving terminal in a networking manner.
It should be noted that, in the process of determining the wireless transmitting terminals paired in networking, a user may hold the wireless receiving terminal to move near the wireless transmitting terminal to be paired in networking, or the distances between two or more wireless transmitting terminals and the wireless receiving terminal are not very different, and it is impossible to distinguish which wireless transmitting terminal is detected to be closer to the wireless receiving terminal or avoid detection error by the wireless receiving terminal according to the received signals (including wireless signals, sound signals, ultrasonic signals or infrared signals) transmitted by the wireless transmitting terminal, therefore, in this embodiment, the wireless receiving terminal performs detection on the signals transmitted by a plurality of wireless transmitting terminals for a predetermined number of times (i.e. detecting the distance between the wireless transmitting terminal and the wireless receiving terminal), when the detected distance between a certain wireless transmitting terminal and the wireless receiving terminal is the smallest number of times in the detection for the predetermined number of times, and the wireless receiving terminal determines that the wireless transmitting terminal is a wireless transmitting terminal paired with the wireless receiving terminal in a networking way. In addition, if in an application environment where there are significant differences in the distances between a plurality of wireless transmitting terminals and a wireless receiving terminal, the predetermined number of times may be one, that is, it can be distinguished which wireless transmitting terminal is the smallest distance between the wireless transmitting terminal and the wireless receiving terminal by one detection of the distance.
After the wireless receiving terminal determines the wireless transmitting terminal paired with the networking, the wireless receiving terminal sends a prompt message of successful pairing to the wireless transmitting terminal, and a user can know which wireless transmitting terminal is paired with the wireless receiving terminal. If the user finds that two or more wireless transmitting terminals are successfully paired with the wireless receiving terminal or the wireless transmitting terminal successfully paired with the wireless receiving terminal is not the wireless transmitting terminal which the user wants to be paired with the wireless receiving terminal, the user can perform the networking pairing process again until the pairing is correct. And when the wireless transmitting terminal is correctly paired with the wireless receiving terminal, the wireless receiving terminal exits the networking pairing mode. When the wireless receiving terminal is correctly paired with the wireless transmitting terminal, the wireless receiving terminal can control the operation of the wireless transmitting terminal, and the mutual data transmission between the wireless receiving terminal and the wireless transmitting terminal can also be realized.
In addition, it should be noted that, during the networking pairing process, the user will bring the wireless receiving terminal close to the wireless transmitting terminal to be networked and paired, therefore, because the wireless receiving terminal is far away from the wireless transmitting terminal of the neighboring house, the wireless signal or the sound signal or the infrared signal transmitted by the wireless transmitting terminal of the neighboring house received by the wireless receiving terminal is usually weak or even is possibly completely shielded, and the time for the wireless receiving terminal to receive the ultrasonic signal transmitted by the wireless transmitting terminal of the neighboring house is relatively long or even cannot be received at all, therefore, the distance between the wireless transmitting terminal and the wireless receiving terminal is detected by detecting the signal transmitted by the wireless transmitting terminal and received by the wireless receiving terminal so as to determine the wireless transmitting terminal paired with the networking, and the condition of misoperation caused by the misnetworking pairing of the wireless transmitting terminal equipment of the adjacent house can be avoided.
The second embodiment is a wireless terminal pairing device based on distance information. The apparatus provided by the present invention will be described in detail with reference to fig. 5.
In fig. 5, the apparatus provided by the present invention includes a pairing information receiving module 501, a distance information obtaining module 502, a determining module 503, and an information prompting module 504. The pairing information receiving module 501 includes a first pairing information receiving submodule 5011 and a second pairing information receiving submodule 5012; the distance information acquiring module 502 includes a first distance information acquiring sub-module 5021, a second distance information acquiring sub-module 5022, a third distance information acquiring sub-module 5023, and a fourth distance information acquiring sub-module 5024.
Specifically, the pairing information receiving module 501 is mainly used for calling the wireless receiving terminal to receive networking pairing information sent by a plurality of wireless sending terminals, where the networking pairing information at least includes an identifier of the wireless sending terminal.
The pairing information receiving module 501 includes a first pairing information receiving submodule 5011, configured to call the wireless receiving terminal to receive the networking pairing information sent by the wireless sending terminal when the wireless sending terminal sends the networking pairing information to the wireless receiving terminal according to a predetermined time interval and under the condition that the wireless receiving terminal is in a networking pairing mode.
The pairing information receiving module 501 further includes a second pairing information receiving submodule 5012, configured to, when the wireless receiving terminal is in the networking pairing mode, send a networking pairing information packet to the wireless transmitting terminal, where the wireless transmitting terminal that receives the networking pairing information packet sends networking pairing information to the wireless receiving terminal, and invokes the wireless receiving terminal to receive the networking pairing information sent by the wireless transmitting terminal.
The networking pairing information sent by the wireless sending terminal can be a wireless signal, a sound signal, an ultrasonic signal or an infrared signal.
The distance information obtaining module 502 is mainly configured to obtain distance information between the wireless transmitting terminal and the wireless receiving terminal according to the networking pairing information sent by the wireless transmitting terminal and received by the pairing information receiving module 501.
The distance information obtaining module 502 includes a first distance information obtaining submodule 5021, configured to detect, according to a wireless signal sent by the wireless sending terminal and after the wireless signal is stable, the strength of the received wireless signal, and obtain distance information between the wireless sending terminal and the wireless receiving terminal.
The distance information acquiring module 502 further includes a second distance information acquiring submodule 5022, configured to detect the strength of the received sound signal according to the sound signal sent by the wireless sending terminal, and acquire distance information between the wireless sending terminal and the wireless receiving terminal.
The distance information acquiring module 502 further includes a third distance information acquiring submodule 5023, configured to detect a time delay of a received ultrasonic signal according to the ultrasonic signal sent by the wireless sending terminal, and acquire distance information between the wireless sending terminal and the wireless receiving terminal.
The distance information acquiring module 502 further includes a fourth distance information acquiring submodule 5024, configured to detect the strength of the received infrared signal according to the infrared signal sent by the wireless sending terminal, and acquire distance information between the wireless sending terminal and the wireless receiving terminal.
The determining module 503 is mainly configured to determine, according to the distance information between the wireless transmitting terminal and the wireless receiving terminal acquired by the distance information acquiring module 502, that the wireless transmitting terminal with the smallest distance to the wireless receiving terminal is the wireless transmitting terminal paired in the networking.
Specifically, the distance information obtaining module 502 performs detection on the distance between the wireless transmitting terminal and the wireless receiving terminal for a predetermined number of times according to networking pairing information transmitted by the wireless transmitting terminal, and the determining module 503 determines that the wireless transmitting terminal, the distance between which and the wireless receiving terminal is the smallest in the detection for the predetermined number of times, is the networking paired wireless transmitting terminal.
In addition, the apparatus provided by the present invention further includes an information prompting module 504, which is mainly used for the wireless receiving terminal to send a prompt message of successful pairing to the wireless sending terminal when the determining module 503 successfully determines the wireless sending terminal paired by networking.
According to the prompt information of the information prompt module 504, if the user finds that the wireless transmitting terminal of the networking pairing determined by the wireless receiving terminal is incorrect, the user will perform networking pairing again until the wireless transmitting terminal of the networking pairing is the wireless transmitting terminal which the user needs to pair.
According to the wireless terminal pairing method and device based on the distance information, a wireless receiving terminal receives networking pairing information sent by a plurality of wireless sending terminals, the distance information between the wireless sending terminals and the wireless receiving terminals is detected according to the received networking pairing information, and the wireless sending terminal with the minimum distance to the wireless receiving terminal is determined to be the wireless sending terminal which is paired with the wireless receiving terminal in a networking mode. The method avoids the steps of pressing keys, inputting the ID of the wireless transmitting terminal or scanning the two-dimensional code by using App and the like in the networking matching process, and reduces the complexity of the networking matching process; because information such as ID or two-dimensional code which corresponds to each wireless transmitting terminal device does not need to be marked, the cost of production, test, inspection and the like caused by marking the ID of the device by a wireless terminal device provider is reduced; in addition, when the distance detection is carried out according to the signals (including wireless signals, sound signals, ultrasonic signals or infrared signals and the like) sent by the wireless sending terminal and received by the wireless receiving terminal, the signals are detected after being stabilized, and the distance information is detected for multiple times, so that the wireless sending terminal with the maximum number of times and the minimum distance from the wireless receiving terminal in the multiple times of detection is determined to be the wireless sending terminal matched with the wireless receiving terminal, and the matching accuracy is ensured; the wireless receiving terminal sends a prompt message of successful pairing to the wireless sending terminal which is successfully paired in the networking mode, so that a user can check whether the wireless sending terminal is the wireless sending terminal which needs to be paired, and if not, the pairing process can be restarted for correction; finally, the distance between the wireless transmitting terminal and the wireless receiving terminal is detected in various modes, the mode of detecting the strength of a wireless signal in the prior art is enriched, the flexibility is realized in distance detection, and further the flexibility is realized in a pairing method of the wireless terminal.
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 that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A wireless terminal pairing method based on distance information is characterized by comprising the following steps:
step S101, a wireless receiving terminal receives networking pairing information sent by a plurality of wireless sending terminals, wherein the networking pairing information at least comprises identification of the wireless sending terminals;
step S102, acquiring distance information between the wireless transmitting terminal and the wireless receiving terminal according to networking pairing information transmitted by the wireless transmitting terminal;
and step S103, determining the wireless transmitting terminal with the minimum distance to the wireless receiving terminal as the wireless transmitting terminal paired with the network according to the acquired distance information between the wireless transmitting terminal and the wireless receiving terminal.
2. The wireless terminal pairing method of claim 1, wherein step S101 comprises:
the wireless transmitting terminal transmits networking pairing information to the wireless receiving terminal according to a preset time interval, and the wireless receiving terminal receives the networking pairing information transmitted by the wireless transmitting terminal under the condition that the wireless receiving terminal is in a networking pairing mode;
or,
under the condition that the wireless receiving terminal is in a networking pairing mode, the wireless receiving terminal sends a networking pairing information packet to the wireless sending terminal, the wireless sending terminal which receives the networking pairing information packet sends networking pairing information to the wireless receiving terminal, and the wireless receiving terminal receives the networking pairing information sent by the wireless sending terminal.
3. The wireless terminal pairing method of claim 1 or 2, wherein the networking pairing information is a wireless signal, or a sound signal, or an ultrasonic signal, or an infrared signal.
4. The method of claim 3, wherein the obtaining of the distance information between the wireless transmitting terminal and the wireless receiving terminal specifically comprises:
according to the wireless signal sent by the wireless sending terminal, after the wireless signal is stable, detecting the intensity of the received wireless signal to obtain the distance information between the wireless sending terminal and the wireless receiving terminal;
or,
detecting the intensity of the received sound signal according to the sound signal sent by the wireless sending terminal to obtain the distance information between the wireless sending terminal and the wireless receiving terminal;
or,
detecting the time delay of the received ultrasonic signal according to the ultrasonic signal sent by the wireless sending terminal to obtain the distance information between the wireless sending terminal and the wireless receiving terminal;
or,
and detecting the intensity of the received infrared signal according to the infrared signal sent by the wireless sending terminal to obtain the distance information between the wireless sending terminal and the wireless receiving terminal.
5. The wireless terminal pairing method of claim 1, wherein step S103 comprises:
and detecting the distance between the wireless transmitting terminal and the wireless receiving terminal for a preset number of times according to networking pairing information transmitted by the wireless transmitting terminal, and determining the wireless transmitting terminal with the distance between the wireless transmitting terminal and the wireless receiving terminal, wherein the maximum number of times is the minimum distance in the detection of the preset number of times, as the networking pairing wireless transmitting terminal.
6. The method for pairing wireless terminals according to claim 1, wherein the step S103 is followed by further comprising:
under the condition that the wireless transmitting terminal paired by the networking is successfully determined, the wireless receiving terminal transmits prompt information of successful pairing to the wireless transmitting terminal;
and according to the prompt message, when the wireless transmitting terminal which is determined by the wireless receiving terminal to be networked and paired is incorrect, the networking and pairing are carried out again.
7. A wireless terminal pairing apparatus based on distance information, comprising:
the pairing information receiving module is used for calling the wireless receiving terminals to receive networking pairing information sent by a plurality of wireless sending terminals, and the networking pairing information at least comprises the identification of the wireless sending terminals;
the distance information acquisition module is used for acquiring distance information between the wireless transmitting terminal and the wireless receiving terminal according to the networking pairing information transmitted by the wireless transmitting terminal;
and the determining module is used for determining the wireless transmitting terminal with the minimum distance with the wireless receiving terminal as the wireless transmitting terminal paired with the networking according to the acquired distance information between the wireless transmitting terminal and the wireless receiving terminal.
8. The wireless terminal pairing apparatus of claim 7, wherein the pairing information receiving module comprises:
the first pairing information receiving submodule is used for calling the wireless receiving terminal to receive networking pairing information sent by the wireless sending terminal when the wireless sending terminal sends the networking pairing information to the wireless receiving terminal according to a preset time interval and under the condition that the wireless receiving terminal is in a networking pairing mode;
or,
and the second pairing information receiving submodule is used for sending a networking pairing information packet to the wireless sending terminal by the wireless receiving terminal under the condition that the wireless receiving terminal is in the networking pairing mode, sending networking pairing information to the wireless receiving terminal by the wireless sending terminal receiving the networking pairing information packet, and calling the wireless receiving terminal to receive the networking pairing information sent by the wireless terminal.
9. The wireless terminal pairing apparatus of claim 7, wherein the networking pairing information is a wireless signal, a sound signal, an ultrasonic signal, or an infrared signal, and the distance information acquiring module comprises:
the first distance information acquisition submodule is used for detecting the strength of a received wireless signal after the wireless signal is stable according to the wireless signal sent by the wireless sending terminal to obtain the distance information between the wireless sending terminal and the wireless receiving terminal;
or,
the second distance information acquisition submodule is used for detecting the strength of the received sound signal according to the sound signal sent by the wireless sending terminal and acquiring the distance information between the wireless sending terminal and the wireless receiving terminal;
or,
the third distance information acquisition submodule is used for detecting the time delay of the received ultrasonic signal according to the ultrasonic signal sent by the wireless sending terminal and acquiring the distance information between the wireless sending terminal and the wireless receiving terminal;
or,
and the fourth distance information acquisition submodule is used for detecting the intensity of the received infrared signal according to the infrared signal sent by the wireless sending terminal and acquiring the distance information between the wireless sending terminal and the wireless receiving terminal.
10. The wireless terminal pairing apparatus of claim 7, further comprising:
the information prompting module is used for sending a prompt message of successful pairing to the wireless sending terminal by the wireless receiving terminal under the condition that the wireless sending terminal paired by the networking is successfully determined;
and according to the prompt message, when the wireless transmitting terminal which is determined by the wireless receiving terminal to be networked and paired is incorrect, the networking and pairing are carried out again.
CN201410342713.6A 2014-07-18 2014-07-18 Wireless terminal pairing method and device based on range information Pending CN104144380A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410342713.6A CN104144380A (en) 2014-07-18 2014-07-18 Wireless terminal pairing method and device based on range information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410342713.6A CN104144380A (en) 2014-07-18 2014-07-18 Wireless terminal pairing method and device based on range information

Publications (1)

Publication Number Publication Date
CN104144380A true CN104144380A (en) 2014-11-12

Family

ID=51853431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410342713.6A Pending CN104144380A (en) 2014-07-18 2014-07-18 Wireless terminal pairing method and device based on range information

Country Status (1)

Country Link
CN (1) CN104144380A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506211A (en) * 2014-12-30 2015-04-08 李俊涛 Mobile terminal based magnetic pairing communication method and system
CN105589345A (en) * 2014-11-18 2016-05-18 小米科技有限责任公司 Apparatus control method and device
CN106102043A (en) * 2016-06-02 2016-11-09 上海新时达电气股份有限公司 WIFI equipment and transmission system
CN106304113A (en) * 2016-08-15 2017-01-04 周红林 A kind of data group network system
CN106325705A (en) * 2016-08-09 2017-01-11 北京云知声信息技术有限公司 Method and device for adjusting display style
CN106455134A (en) * 2016-10-17 2017-02-22 国动物联网技术(上海)有限公司 LoRaWAN ad-hoc network equipment
CN108615531A (en) * 2018-04-28 2018-10-02 上海与德科技有限公司 A kind of speaker control method, device, terminal and computer-readable medium
CN109377745A (en) * 2018-12-26 2019-02-22 浙江西盈科技股份有限公司 Closely to the method for code under a kind of rf-mode
CN110232848A (en) * 2019-05-29 2019-09-13 长江大学 A kind of ultrasound instructional device and system
CN111901788A (en) * 2020-08-27 2020-11-06 深圳创维-Rgb电子有限公司 Bluetooth connection method, device, equipment and storage medium
CN112312375A (en) * 2020-11-17 2021-02-02 Oppo广东移动通信有限公司 Device connection method, first device, second device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257326A (en) * 2007-02-27 2008-09-03 深圳Tcl新技术有限公司 Method and system for matching pair of wireless transmitting kit and wireless receiving kit
CN101286265A (en) * 2007-04-10 2008-10-15 索尼株式会社 Remote controls, electronic devices and remote control systems
CN101799545A (en) * 2010-03-26 2010-08-11 北京物资学院 Ultrasonic based dynamic distance measurement method and system
CN102149167A (en) * 2010-02-10 2011-08-10 正崴精密工业股份有限公司 Automatic pairing method for wireless network
CN102273106A (en) * 2008-10-31 2011-12-07 三星电子株式会社 Method and apparatus for wireless communication using acoustic signals
WO2012123868A1 (en) * 2011-03-16 2012-09-20 Koninklijke Philips Electronics N.V. Pairing between wireless devices
CN103139586A (en) * 2011-11-21 2013-06-05 三星电子株式会社 Glasses and method for pairing thereof
CN103596292A (en) * 2013-11-26 2014-02-19 广东欧珀移动通信有限公司 Method for rapid Bluetooth pairing connection through sound
CN103716436A (en) * 2014-01-13 2014-04-09 联想(北京)有限公司 Electronic device and information processing method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257326A (en) * 2007-02-27 2008-09-03 深圳Tcl新技术有限公司 Method and system for matching pair of wireless transmitting kit and wireless receiving kit
CN101286265A (en) * 2007-04-10 2008-10-15 索尼株式会社 Remote controls, electronic devices and remote control systems
CN102273106A (en) * 2008-10-31 2011-12-07 三星电子株式会社 Method and apparatus for wireless communication using acoustic signals
CN102149167A (en) * 2010-02-10 2011-08-10 正崴精密工业股份有限公司 Automatic pairing method for wireless network
CN101799545A (en) * 2010-03-26 2010-08-11 北京物资学院 Ultrasonic based dynamic distance measurement method and system
WO2012123868A1 (en) * 2011-03-16 2012-09-20 Koninklijke Philips Electronics N.V. Pairing between wireless devices
CN103139586A (en) * 2011-11-21 2013-06-05 三星电子株式会社 Glasses and method for pairing thereof
CN103596292A (en) * 2013-11-26 2014-02-19 广东欧珀移动通信有限公司 Method for rapid Bluetooth pairing connection through sound
CN103716436A (en) * 2014-01-13 2014-04-09 联想(北京)有限公司 Electronic device and information processing method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105589345A (en) * 2014-11-18 2016-05-18 小米科技有限责任公司 Apparatus control method and device
CN104506211A (en) * 2014-12-30 2015-04-08 李俊涛 Mobile terminal based magnetic pairing communication method and system
CN106102043A (en) * 2016-06-02 2016-11-09 上海新时达电气股份有限公司 WIFI equipment and transmission system
CN106325705A (en) * 2016-08-09 2017-01-11 北京云知声信息技术有限公司 Method and device for adjusting display style
CN106304113A (en) * 2016-08-15 2017-01-04 周红林 A kind of data group network system
CN106455134A (en) * 2016-10-17 2017-02-22 国动物联网技术(上海)有限公司 LoRaWAN ad-hoc network equipment
CN108615531A (en) * 2018-04-28 2018-10-02 上海与德科技有限公司 A kind of speaker control method, device, terminal and computer-readable medium
CN109377745A (en) * 2018-12-26 2019-02-22 浙江西盈科技股份有限公司 Closely to the method for code under a kind of rf-mode
CN110232848A (en) * 2019-05-29 2019-09-13 长江大学 A kind of ultrasound instructional device and system
CN111901788A (en) * 2020-08-27 2020-11-06 深圳创维-Rgb电子有限公司 Bluetooth connection method, device, equipment and storage medium
CN111901788B (en) * 2020-08-27 2023-09-26 深圳创维-Rgb电子有限公司 Bluetooth connection method, device, equipment and storage medium
CN112312375A (en) * 2020-11-17 2021-02-02 Oppo广东移动通信有限公司 Device connection method, first device, second device and storage medium
WO2022105339A1 (en) * 2020-11-17 2022-05-27 Oppo广东移动通信有限公司 Device connection method, first device, second device, and storage medium

Similar Documents

Publication Publication Date Title
CN104144380A (en) Wireless terminal pairing method and device based on range information
US11816980B2 (en) Method of pairing a remote control
KR102060547B1 (en) Method and apparatus for registering wireless device in wireless communication system
US9066326B2 (en) Automatic user notification, with quick response (QR) code generation following failed NFC device pairing
US10091047B2 (en) Connecting devices to networks
EP2798887B1 (en) Low cost proximity pairing mechanism in wireless personal area networks
CN104902500B (en) Method and system for automatic connection between wireless network device and wireless access device
US10516774B2 (en) Method for configuring a wireless device
CN104023412A (en) Wireless terminal pairing method and device thereof
US20150081859A1 (en) Method, apparatus and system for connecting devices to a network
US20130178163A1 (en) Systems for Facilitating Wireless Communication and Related Methods
US20130184017A1 (en) Communication apparatus, communication method therefor, and program
CN107730859B (en) Wireless device pairing method, device and storage medium
JP2011254469A (en) Method, device and system for configuring wifi parameter
CN105072012A (en) Quick network access method of intelligent device
CN106681774B (en) Software upgrading method of Bluetooth loudspeaker and intelligent terminal
KR102214940B1 (en) Method and apparatus for registering wireless device in wireless communication system
CN104731066A (en) Intelligent household system and control method thereof
US20150050882A1 (en) User equipment, communication method, program, and communication system
CN102547972A (en) Method, equipment and system for registering intelligent home appliance
US11258859B2 (en) Systems and methods for pairing network devices
CN106886159B (en) Configuration method and device of household appliance
US11915249B2 (en) Mobile terminal and method for registering electronic device by mobile terminal
JP4853870B2 (en) Repeater, wireless communication terminal, communication system, communication method and program
KR20210018387A (en) Method and apparatus for registering wireless device in wireless communication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20141112

RJ01 Rejection of invention patent application after publication