CN115623454A - Pairing method and device, pairing system and readable storage medium - Google Patents

Pairing method and device, pairing system and readable storage medium Download PDF

Info

Publication number
CN115623454A
CN115623454A CN202110783430.5A CN202110783430A CN115623454A CN 115623454 A CN115623454 A CN 115623454A CN 202110783430 A CN202110783430 A CN 202110783430A CN 115623454 A CN115623454 A CN 115623454A
Authority
CN
China
Prior art keywords
paired
pairing
information
bluetooth connection
searching
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
CN202110783430.5A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110783430.5A priority Critical patent/CN115623454A/en
Publication of CN115623454A publication Critical patent/CN115623454A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a pairing method, a pairing device, a pairing system and a computer-readable storage medium. The pairing method comprises the steps of searching a second device to be paired which is located within a preset distance of a first device to be paired; if the second equipment to be paired exists in the preset distance, exchanging information of the first equipment to be paired and the second equipment to be paired; and establishing the Bluetooth connection between the first device to be paired and the second device to be paired based on the exchanged information. The first device to be paired searches for a second device to be paired in a preset distance in real time, and when the second device to be paired is located in the preset distance of the first device to be paired, information of the second device to be paired is exchanged, so that Bluetooth connection is established based on the exchanged information, a user can quickly realize pairing and Bluetooth connection establishment only by enabling the second device to be paired to be close to the preset distance of the first device to be paired, the user does not need to manually call a Bluetooth pairing interface, bluetooth searching time is saved, operation is simple, and pairing efficiency is high.

Description

Pairing method and device, pairing system and readable storage medium
Technical Field
The present application relates to the field of image technologies, and in particular, to a pairing method, a pairing apparatus, a pairing system, and a non-volatile computer-readable storage medium.
Background
The smart television is an important part of smart home, and infrared remote control and Bluetooth remote control are available in the control of a smart television remote controller, and are increasingly connected and controlled through the Bluetooth remote controller at present. To realize the bluetooth connection, need pair the equipment that carries out the bluetooth connection earlier, and the bluetooth equipment in the intelligence house is more (like a plurality of bluetooth remote controllers, bluetooth speaker, bluetooth lamp etc.), and the user generally is through opening the pairing list of TV, selects the target remote controller that needs to pair in order to realize pairing, and the operation is comparatively loaded down with trivial details, leads to pairing efficiency also lower.
Disclosure of Invention
Embodiments of the present application provide a pairing method, a pairing apparatus, a pairing system, and a non-volatile computer-readable storage medium.
The pairing method comprises the steps of searching a second device to be paired which is located within a preset distance of a first device to be paired; if the second equipment to be paired exists in the preset distance, exchanging information of the first equipment to be paired and the second equipment to be paired; and establishing the Bluetooth connection between the first device to be paired and the second device to be paired based on the exchanged information.
The pairing device of the embodiment of the application comprises a search module, an exchange module and a connection module. The searching module is used for searching a second device to be paired which is positioned within a preset distance of the first device to be paired; the exchange module is used for exchanging information of the first device to be paired and the second device to be paired when the second device to be paired exists in the preset distance; and the connection module is used for establishing Bluetooth connection between the first device to be paired and the second device to be paired based on the exchanged information.
The pairing system comprises a first device to be paired and a second device to be paired, wherein the first device to be paired is used for searching the second device to be paired located within a preset distance; if the second device to be paired exists in the preset distance, the first device to be paired and the second device to be paired exchange information; and the first device to be paired and the second device to be paired establish Bluetooth connection according to the exchanged information.
A non-transitory computer-readable storage medium embodying a computer program that, when executed by one or more processors, causes the processors to perform a pairing method. The pairing method comprises the steps of searching a second device to be paired which is positioned within a preset distance of a first device to be paired; if the second device to be paired exists in the preset distance, exchanging information of the first device to be paired and the second device to be paired; and establishing the Bluetooth connection between the first to-be-paired device and the second to-be-paired device based on the exchanged information.
In the pairing method, the pairing device, the pairing system and the nonvolatile computer readable storage medium according to the embodiments of the present application, a first device to be paired searches for a second device to be paired within a predetermined distance in the vicinity of the first device to be paired in real time, and when the second device to be paired is located within the predetermined distance of the first device to be paired, information of the second device to be paired and information of the first device to be paired are exchanged, so that a bluetooth connection is established based on the exchanged information, and a user can quickly realize pairing and establishment of the bluetooth connection only by bringing the second device to be paired close to the first device to be paired by the predetermined distance.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a pairing method according to some embodiments of the present application;
FIG. 2 is a block diagram of a pairing apparatus according to some embodiments of the present application;
FIG. 3 is a schematic plan view of a pairing system according to certain embodiments of the present application;
FIG. 4 is a schematic flow chart of a pairing method according to some embodiments of the present application;
FIG. 5 is a schematic diagram of a scenario of a pairing method according to some embodiments of the present application;
FIG. 6 is a schematic flow chart of a pairing method according to some embodiments of the present application;
FIG. 7 is a schematic flow chart of a pairing method according to some embodiments of the present application;
FIG. 8 is a schematic flow chart of a pairing method according to some embodiments of the present application;
FIG. 9 is a schematic flow chart of a pairing method according to some embodiments of the present application;
FIG. 10 is a schematic diagram of a connection between a processor and a computer-readable storage medium according to some embodiments of the present application.
Detailed Description
Embodiments of the present application will be further described below with reference to the accompanying drawings. The same or similar reference numbers in the drawings identify the same or similar elements or elements having the same or similar functionality throughout. In addition, the embodiments of the present application described below in conjunction with the accompanying drawings are exemplary and are only for the purpose of explaining the embodiments of the present application, and are not to be construed as limiting the present application.
At present, when the bluetooth remote controller is paired with a television, the bluetooth remote controller and the smart television need to be paired and bound firstly, when the bluetooth remote controller is bound, the bluetooth of the television needs to be opened, a pairing page is called out on the television, and the pairing can be realized only by carrying out related operations on a pairing interface and the remote controller, so that the operation is complex, and the pairing efficiency is low.
Referring to fig. 1 to 3, a pairing method according to an embodiment of the present disclosure includes the following steps:
011: searching for a second device to be paired 30 located within a predetermined distance of the first device to be paired 20;
012: if the second device to be paired 30 exists within the predetermined distance, exchanging information of the first device to be paired 20 and the second device to be paired 30; and
013: based on the exchanged information, a bluetooth connection of the first device to be paired 20 and the second device to be paired 30 is established.
The pairing apparatus 10 of the embodiment of the present application includes a search module 11, an exchange module 12, and a connection module 13. The search module 11, the exchange module 12 and the connection module 13 are configured to perform step 011, step 012 and step 013, respectively. Namely, the searching module 11 is configured to search for a second device to be paired 30 located within a predetermined distance from the first device to be paired 20; the exchanging module 12 is configured to exchange information of the first device to be paired 20 and the second device to be paired 30 if the second device to be paired 30 exists within a predetermined distance; the connection module 13 is configured to establish a bluetooth connection between the first device to be paired 20 and the second device to be paired 30 based on the exchanged information.
The pairing system 100 of the embodiment of the present application includes a first device to be paired 20 and a second device to be paired 30, where the first device to be paired 20 is configured to search for the second device to be paired 30 located within a predetermined distance; if the second device to be paired 30 exists within the predetermined distance, the first device to be paired 20 and the second device to be paired 30 exchange information; the first device to be paired 20 and the second device to be paired 30 establish a bluetooth connection according to the exchanged information. That is, step 011 can be implemented by the first to-be-paired device 20, and steps 012 and 013 can be implemented by the first to-be-paired device 20 cooperating with the second to-be-paired device 30.
Specifically, the first device to be paired 20 and the second device to be paired 30 may be a television, a remote controller, a mobile phone, a tablet computer, a notebook computer, a teller machine, a gate, a smart watch, a head-up display device, a game console, and the like. As shown in fig. 3, in the embodiment of the present application, the first device to be paired 20 is a television as an example, and it is understood that the specific form of the first device to be paired 20 is not limited to a television, and may be any device capable of performing bluetooth connection. In this embodiment, the first device to be paired 20 is a television, and the second device to be paired 30 is a remote controller.
The first device to be paired 20 may automatically search for a nearby second device to be paired 30 after being powered on. For example, the first device to be paired 20 may start proximity pairing after powering on based on a low-power transmission protocol (e.g., ANT + protocol), search for the second device to be paired 30 in a proximity area (i.e., within a predetermined distance from the first device to be paired 20, where the predetermined distance may be 0.5 meter, 1 meter, 2 meters, and the like), and perform continuous and low-power search, so that when the second device to be paired 30 comes within the predetermined distance from the first device to be paired 20, it is searched, thereby improving subsequent pairing efficiency.
The distance between the first device to be paired 20 and the second device to be paired 30 can be determined by the strength of the signal of the second device to be paired 30 received by the first device to be paired 20.
Then, after the second device to be paired 30 is searched (i.e., the second device to be paired 30 exists within the predetermined distance), the first device to be paired 20 and the second device to be paired 30 start pairing.
Pairing is the process of establishing contact between two nodes that need to communicate (e.g., between the first device to be paired 20 and the second device to be paired 30). The specific operation of pairing comprises: the slave (such as the first device to be paired 20) searches for the master channel and synchronizes; the slave computer obtains the channel information of the host computer; the slave sets the channel parameters of the slave to be matched with the master, and then establishes an ANT channel to start communication. The obtained host channel information may be regarded as a successful pairing flag. The obtained channel information may be stored in the first device to be paired 20 for multiple uses, so that the pairing may be permanent or may last for a preset time (for example, the channel information is deleted after being stored for the preset time, for example, the preset time is 30 minutes, 1 hour, 1 day, and the like).
After the point-to-point communication channels of the first to-be-paired device 20 and the second to-be-paired device 30 are established, the first to-be-paired device 20 and the second to-be-paired device 30 exchange information required for performing bluetooth connection, where the exchanged information includes device information, channel information, and the like of the first to-be-paired device 20 and the second to-be-paired device 30. Then, the first device to be paired 20 and the second device to be paired 30 can establish bluetooth connection therebetween according to the exchanged information.
In the pairing method, the pairing device 10 and the pairing system 100 according to the embodiment of the application, the first device to be paired 20 searches for the second device to be paired 30 within the predetermined distance in the vicinity in real time, and when the second device to be paired 30 is located within the predetermined distance of the first device to be paired 20, information of the second device to be paired and the first device to be paired is exchanged, so that the bluetooth connection is established based on the exchanged information, and a user can quickly pair and establish the bluetooth connection only by approaching the second device to be paired 30 to the first device to be paired 20 within the predetermined distance. In addition, due to the limitation of the predetermined distance, the probability that a plurality of second devices to be paired 30 appear in the predetermined distance range of the first device to be paired 20 is low, so that the situation that the first device to be paired 20 is paired to a device which is not desired by the user can be prevented, and the user experience is improved.
Referring to fig. 2, 4 and 5, in some embodiments, step 011 includes:
0111: searching for one or more third devices to be paired 40 located within a predetermined distance; and
0112: the third device to be paired 40 having the smallest distance from the first device to be paired 20 is determined as the second device to be paired 30.
In some embodiments, the search module 14 is configured to perform steps 0111 and 0112. That is, the searching module 14 is configured to search for one or more third devices to be paired 40 located within a predetermined distance; and determining the third device to be paired 40 with the minimum distance from the first device to be paired 20 as the second device to be paired 30.
In some embodiments, the first device to be paired 20 is used to search for one or more third devices to be paired 40 located within a predetermined distance; and determining the third device to be paired 40 with the minimum distance from the first device to be paired 20 as the second device to be paired 30. That is, step 0111 and step 0112 may be implemented by the first device to be paired 20.
Specifically, if the predetermined distance is large, there may be a plurality of remote controllers located within the predetermined distance of the television, so that the television is matched with the plurality of remote controllers at the same time, resulting in an abnormal pairing. Therefore, the first to-be-paired device 20 may obtain one or more third to-be-paired devices 40 within a predetermined distance, then calculate the distance between each third to-be-paired device 40 and the first to-be-paired device 20, and determine that the third to-be-paired device 40 with the smallest distance to the first to-be-paired device 20 is the second to-be-paired device 30, thereby ensuring that the first to-be-paired device 20 and the second to-be-paired device 30 realize point-to-point pairing and preventing abnormal pairing.
Referring to fig. 2, 4 and 6, in some embodiments, step 0112 includes the following steps:
01121: determining a distance value between the third device to be paired 40 and the first device to be paired 20 according to the signal strength of the third device to be paired 40;
01122: and determining the second device to be paired 30 according to the distance value.
In some embodiments, the search module 11 is further configured to perform steps 01121 and 01122. That is, the searching module 11 is further configured to determine a distance value between the third device to be paired 40 and the first device to be paired 20 according to the signal strength of the third device to be paired 40; and determining the second device to be paired 30 according to the distance value.
In some embodiments, the first device to be paired 20 is further configured to determine a distance value between the third device to be paired 40 and the first device to be paired 20 according to the signal strength of the third device to be paired 40; and determining the second device to be paired 30 according to the distance value. That is, step 01121 and step 01122 may be implemented by first device to be paired 20.
Specifically, when determining the third device to be paired 40 closest to the first device to be paired 20, the first device to be paired 20 may first determine a distance value between the third device to be paired 40 and the first device to be paired 20 according to the received signal strength of the signal of the third device to be paired 40; for example, the greater the signal strength, the smaller the distance value, thereby accurately calculating the distance values of the third device to be paired 40 and the first device to be paired 20. The first device to be paired 20 may determine that the third device to be paired 40 corresponding to the minimum distance value is the second device to be paired 30, so as to implement point-to-point pairing between the first device to be paired 20 and the second device to be paired 30, and prevent abnormal pairing.
Referring again to fig. 2, 3 and 7, in some embodiments, step 012 includes:
0121: receiving information of a second device to be paired 30 through the first device to be paired 20; and
0122: the information of the first device to be paired 20 is received by the second device to be paired 30.
In certain embodiments, the exchange module 12 is configured to perform step 0121 and step 0122. Namely, the exchange module 12 is configured to receive information of the second device to be paired 30 through the first device to be paired 20; and receives information of the first device to be paired 20 through the second device to be paired 30.
In some embodiments, the first to-be-paired device 20 is also configured to receive information of the second to-be-paired device 30; and the second device to be paired 30 is used to receive information of the first device to be paired 20. That is, step 0121 may be implemented by the first device to be paired 20, and step 0122 may be implemented by the second device to be paired 30.
Specifically, after the first device to be paired 20 and the second device to be paired 30 establish a communication channel, they can communicate to exchange information, the first device to be paired 20 obtains information used by the second device to be paired 30 to implement bluetooth connection, such as device information, channel information, and the like of the second device to be paired 30, through the communication channel, and the second device to be paired 30 can obtain information used by the first device to be paired 20 to implement bluetooth connection, such as device information, channel information, and the like of the first device to be paired 20, through the communication channel. In this way, the information of the bluetooth connection is obtained through the established communication channel, so that the subsequent first device to be paired 20 and the second device to be paired 30 directly establish the bluetooth connection based on the information exchanged between the two devices.
Referring to fig. 2, fig. 3 and fig. 8, in some embodiments, the pairing method further includes:
014: a long press operation is received to release the bluetooth connection of the first device to be paired 20 and the second device to be paired 30.
In certain embodiments, the pairing apparatus 10 further comprises a release module 14. The release module 14 is configured to perform step 014. That is, the release module 14 is configured to receive a long press operation to release the bluetooth connection between the first device to be paired 20 and the second device to be paired 30.
In some embodiments, the second device to be paired 30 is configured to receive a long press operation to release the bluetooth connection between the first device to be paired 20 and the second device to be paired 30. That is, step 014 may be implemented by the second device to be paired 30. In other embodiments, step 014 may also be implemented by the first device to be paired 20.
Specifically, the first device to be paired 20 and/or the second device to be paired 30 are provided with an unlocking key, and a long-time pressing operation of the user on the unlocking key can be received through the unlocking key, so that it is determined that the user wants to release the bluetooth connection between the first device to be paired 20 and the second device to be paired 30, and the bluetooth connection between the first device to be paired 20 and the second device to be paired 30 is quickly released, thereby facilitating the bluetooth connection between the second device to be paired 30 and other devices.
Releasing the bluetooth connection of the first device to be paired 20 and the second device to be paired 30 may be: the bluetooth connection between the first device to be paired 20 and the second device to be paired 30 is disconnected, and the connection information of the second device to be paired 30 in the first device to be paired 20 and the connection information of the first device to be paired 20 in the information of the second device to be paired 30 are cleared. The connection information is information exchanged after the first device to be paired 20 and the second device to be paired 30 establish a communication channel based on the low power consumption transmission protocol, for example, the connection information of the first device to be paired 20 is device information, channel information, and the like of the first device to be paired 20, and the connection information of the second device to be paired 30 is device information, channel information, and the like of the second device to be paired 30.
Referring to fig. 2, fig. 3 and fig. 9, in some embodiments, the pairing method further includes:
015: within a preset time after the Bluetooth connection is established, the Bluetooth connection is disconnected, and the Bluetooth connection is established again according to the exchanged information.
In certain embodiments, the pairing apparatus 10 further comprises a reconnect module 15. The reconnect module 15 is configured to perform step 015. That is, the reconnection module 15 is configured to disconnect the bluetooth connection within a predetermined time period after the bluetooth connection is established, and establish the bluetooth connection again according to the exchanged information.
In some embodiments, the first to-be-paired device 20 and the second to-be-paired device 30 are configured to disconnect the bluetooth connection within a predetermined time after the bluetooth connection is established, and establish the bluetooth connection again according to the exchanged information. That is, step 014 may be implemented by the first device to be paired 20 mating with the second device to be paired 30.
Specifically, after the bluetooth connection is established, if the bluetooth connection is disconnected within a predetermined time (e.g., 20 seconds, 30 seconds, 50 seconds, etc.), at this time, the user generally still uses the first device to be paired 20 and the second device to be paired 30 normally, and the bluetooth connection is disconnected due to network fluctuation, so the first device to be paired 20 and the second device to be paired 30 re-establish the bluetooth connection according to the exchanged information, thereby implementing automatic reconnection. If the bluetooth connection is disconnected after the predetermined time after the bluetooth connection is established, at this time, the user may not use the first device to be paired 20 and the second device to be paired 30 any more, and the second device to be paired 30 is moved outside the maximum range of the bluetooth connection of the first device to be paired 20, and at this time, if the second device to be paired 30 enters the maximum range of the bluetooth connection of the first device to be paired 20 again, the first device to be paired 20 and the second device to be paired 30 may establish the bluetooth connection again according to the exchanged information, thereby implementing automatic reconnection.
Certainly, each first device to be paired 20 may exchange information with multiple second devices to be paired 30, and in order to ensure that the devices connected by bluetooth each time are the second devices to be paired 30 that the user desires to connect to, if the bluetooth connection is disconnected after a predetermined time period after the bluetooth connection is established, the first device to be paired 20 searches for the second devices to be paired 30 nearby again, so as to ensure that only the second devices to be paired 30 within a predetermined distance can be paired with the first device to be paired 20 and establish the bluetooth connection quickly.
Referring to fig. 10, a non-transitory computer-readable storage medium 300 storing a computer program 302 according to an embodiment of the present disclosure, when the computer program 302 is executed by one or more processors 50, causes the processor 50 to perform the pairing method according to any of the embodiments.
For example, referring to fig. 1, the computer program 302, when executed by the one or more processors 50, causes the processors 50 to perform the steps of:
011: searching for a second device to be paired 30 located within a predetermined distance of the first device to be paired 20;
012: if the second device to be paired 30 exists within the predetermined distance, exchanging information of the first device to be paired 20 and the second device to be paired 30; and
013: based on the exchanged information, a bluetooth connection of the first device to be paired 20 and the second device to be paired 30 is established.
For another example, referring to fig. 9, when the computer program 302 is executed by the one or more processors 50, the processors 50 may further perform the steps of:
0111: searching for one or more third devices to be paired 40 located within a predetermined distance; and
0112: the third device to be paired 40 having the smallest distance from the first device to be paired 20 is determined as the second device to be paired 30.
In the description herein, references to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example" or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more program modules for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes additional implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
Although embodiments of the present application have been shown and described above, it is to be understood that the above embodiments are exemplary and not to be construed as limiting the present application, and that changes, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (13)

1. A pairing method, comprising:
searching a second device to be paired which is positioned within a preset distance of the first device to be paired;
if the second equipment to be paired exists in the preset distance, exchanging information of the first equipment to be paired and the second equipment to be paired; and
and establishing the Bluetooth connection between the first device to be paired and the second device to be paired based on the exchanged information.
2. The pairing method as claimed in claim 1, wherein the searching for a second device to be paired located within a predetermined distance of the first device to be paired further comprises:
and searching the second to-be-paired equipment based on a low-power-consumption transmission protocol.
3. The pairing method according to claim 1, wherein the searching for a second device to be paired located within a predetermined distance of the first device to be paired comprises:
searching one or more third devices to be paired which are positioned within the preset distance; and
and determining the third device to be paired with the minimum distance to the first device to be paired as the second device to be paired.
4. The pairing method according to claim 3, wherein the determining that the third device to be paired that is the smallest distance from the first device to be paired is the second device to be paired, includes:
determining a distance value between the third device to be paired and the first device to be paired according to the signal strength of the third device to be paired;
and determining the second equipment to be paired according to the distance value.
5. The pairing method according to claim 1, wherein the exchanging information of the first device to be paired and the second device to be paired comprises:
receiving information of the second device to be paired through the first device to be paired; and
and receiving the information of the first device to be paired through the second device to be paired.
6. The pairing method according to claim 1, further comprising:
and receiving a long press operation to release the Bluetooth connection between the first device to be paired and the second device to be paired.
7. The pairing method according to claim 6, wherein the releasing the Bluetooth connection between the first device to be paired and the second device to be paired includes:
and clearing the connection information of the second equipment to be paired in the first equipment to be paired and the connection information of the first equipment to be paired in the information of the second equipment to be paired.
8. The pairing method according to claim 1, further comprising:
and within a preset time after the Bluetooth connection is established, the Bluetooth connection is disconnected, and the Bluetooth connection is established again according to the exchanged information.
9. The pairing method according to claim 1, further comprising:
after the preset time after the Bluetooth connection is established, the Bluetooth connection is disconnected, and the step of searching for a second device to be paired located within the preset distance of the first device to be paired is carried out again.
10. A pairing apparatus, comprising:
the searching module is used for searching a second device to be paired which is positioned within a preset distance of the first device to be paired;
the exchange module is used for exchanging information of the first device to be paired and the second device to be paired when the second device to be paired exists in the preset distance; and
and the connection module is used for establishing the Bluetooth connection between the first device to be paired and the second device to be paired based on the exchanged information.
11. A pairing system is characterized by comprising a first device to be paired and a second device to be paired, wherein the first device to be paired is used for searching the second device to be paired within a preset distance; if the second device to be paired exists in the preset distance, the first device to be paired and the second device to be paired exchange information; and the first device to be paired and the second device to be paired establish Bluetooth connection according to the exchanged information.
12. The pairing system of claim 11, wherein the first device to be paired comprises a television and the second device to be paired comprises a remote control.
13. A non-transitory computer readable storage medium containing a computer program which, when executed by a processor, causes the processor to perform the pairing method of any one of claims 1-9.
CN202110783430.5A 2021-07-12 2021-07-12 Pairing method and device, pairing system and readable storage medium Pending CN115623454A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110783430.5A CN115623454A (en) 2021-07-12 2021-07-12 Pairing method and device, pairing system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110783430.5A CN115623454A (en) 2021-07-12 2021-07-12 Pairing method and device, pairing system and readable storage medium

Publications (1)

Publication Number Publication Date
CN115623454A true CN115623454A (en) 2023-01-17

Family

ID=84855462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110783430.5A Pending CN115623454A (en) 2021-07-12 2021-07-12 Pairing method and device, pairing system and readable storage medium

Country Status (1)

Country Link
CN (1) CN115623454A (en)

Similar Documents

Publication Publication Date Title
EP3468068B1 (en) Method for establishing classic bluetooth connection between dual-mode bluetooth devices, and dual-mode bluetooth device
US11310848B2 (en) Pairing method, unpairing method, terminal device, and externally-connected device
CN107889092B (en) Bluetooth device communication control method, device, terminal device and storage medium
CN102857272B (en) Short-range wireless communication apparatus
US20150201440A1 (en) BLUETOOTH Device Connection Method and Device
CN108781473B (en) Method and equipment for sharing files among different terminals
US20160323826A1 (en) Multimode and power-saving method of multimedia transmission and system thereof
US7532903B2 (en) Method for performing TRS communication in a mobile communication terminal
EP2941058B1 (en) Near field communication method and device
WO2011016218A1 (en) In-vehicle terminal apparatus and radio connection program for in-vehicle terminal apparatus
CN104853406A (en) Service set identifier SSID providing method, acquiring method and device
US9258672B2 (en) Short-range wireless communication device
CN103597805A (en) Techniques for facilitating interoperation between an accessory and multiple devices
CN113395690B (en) Bluetooth equipment automatic connection method, device, equipment and storage medium
CN105392169A (en) File transmission method, device and system
CN110288820A (en) A kind of connection method of remote control equipment and host
EP3182787A1 (en) Communication method and device
CN110337827A (en) Cell switching method, device and storage medium
CN112269086A (en) Charging cable identification method and device, charging cable and readable storage medium
EP3001278B1 (en) Wireless connection switching method, wireless terminal and system thereof
CN110337826B (en) Network switching resource determining method and network switching resource configuration method
US10356666B2 (en) Communication device and communication control method
CN111866823B (en) Wireless earphone charging equipment, interaction method and storage medium
CN115623454A (en) Pairing method and device, pairing system and readable storage medium
CN104853371A (en) Mobile terminal monitoring method and system, and corresponding mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination