Method and device of pairing connection of equipment
A device and consistent technology, applied in the field of wireless communication, can solve the problems of cumbersome pairing operation process and long pairing time, and achieve the effect of improving user experience and efficiency
Active Publication Date: 2013-03-20
XIAOMI INC
5 Cites 125 Cited by
AI-Extracted Technical Summary
Problems solved by technology
[0006] Embodiments of the present invention provide a method and device for device pairing and connection, which are used to solve the problem that ...
Abstract
The invention relates to the technical field of wireless communication, in particular to a method and a device of paring connection of equipment. The method and the device of the pairing connection of the equipment is used for solving the problems that a pairing operation process is verbose when short distance of information transmission is carried out by the equipment, and time of pairing is long. The method of the paring connection of equipment comprises detecting equipment in a preset range through short distance communication technology, reading corresponding identification information of the detected equipment, comparing read identification information and the corresponding identification information of beforehand selected equipment and judging whether the read identification information and the corresponding identification information of the beforehand selected equipment are consistent or not, and building up communication connection with the detected equipment when the read identification information and the corresponding identification information of beforehand selected equipment are consistent. Therefore, automatic pairing connection with the beforehand selected equipment is achieved without the need of manual search and lookup of bluetooth equipment by a user, efficiency of the pairing connection and user experience are improved.
Application Domain
Near-field transmissionConnection management
Technology Topic
Information transmissionShort distance +3
Image
Examples
- Experimental program(1)
Example Embodiment
[0023] The embodiment of the present invention detects devices within a predetermined range through short-distance communication technology, reads the identification information corresponding to the detected devices, and compares whether the read identification information is consistent with the identification information corresponding to the pre-selected device. If they are consistent, then A communication connection is established with the detected device, thereby realizing an automatic pairing connection with a pre-selected device, without the user having to manually search and find a Bluetooth device, which improves the efficiency of the pairing connection and improves the user experience.
[0024] The technical solution of the present invention will be described in detail and clearly below in conjunction with the accompanying drawings of the specification.
[0025] Such as figure 1 Shown is a flowchart of a device pairing connection method provided by an embodiment of the present invention, including:
[0026] S101: Detect devices within a predetermined range through short-range communication technology;
[0027] S102: Read identification information corresponding to the detected device;
[0028] S103: Compare whether the read identification information is consistent with the identification information corresponding to the pre-selected device, if they are consistent, go to step S104, otherwise, go to step S105;
[0029] S104: Establish a communication connection with the detected device;
[0030] S105: Do not establish a communication connection with the detected device.
[0031] Preferably, the identification information includes the identity of the user who uses the device;
[0032] Here, when the device is a mobile phone, the identity of the user who uses the device may specifically be a mobile phone number;
[0033] Preferably, the identification information also includes hardware information of the device and/or software information of the device.
[0034] The technical solutions provided by the embodiments of the present invention can be applied to any short-range technologies such as Bluetooth technology, Near Field Communication (NFC), Radio Frequency Identification (RFID), and Wireless Fidelity (WIFI). Distance wireless communication technology. For ease of description, the embodiment of the present invention takes Bluetooth technology as an example for specific description. In specific implementation, the Bluetooth device in the embodiment of the present invention may be any terminal device with Bluetooth function installed such as a mobile phone or a computer; the above-mentioned predetermined range refers to It is the range within which the Bluetooth device can detect other Bluetooth devices. The pre-selected device refers to the device to be paired and connected;
[0035] In the specific implementation process, the identification information can be the identity of the user who uses the Bluetooth device, for example, it can be the address book information of the user who uses the Bluetooth device. For the mobile phone with the Bluetooth function, the mobile phone number can be selected as the identification information. The phone number of the mobile phone user’s contact is stored in the mobile phone address book, and the mobile phone address book can be used to establish a connection with the other’s mobile phone; the identification information can also include the hardware information of the Bluetooth device, such as memory, central processing unit CPU, production Manufacturer's information, etc., can also be information about software installed in Bluetooth devices;
[0036] Preferably, reading the identification information corresponding to the detected device includes:
[0037] Send identification request information to the detected device;
[0038] Receive the locally stored identification information found according to the request information returned by the detected device.
[0039] Here, after the user selects the pairing partner, when the user's own Bluetooth device detects other Bluetooth devices, it sends identification request information to the detected other Bluetooth devices, that is, requests to obtain identification information corresponding to other Bluetooth devices, and the requested party is receiving After the identification request information is obtained, the locally stored identification information can be searched and returned to the Bluetooth device that sent the identification request information;
[0040] In the specific implementation process, after receiving the identification request information, other Bluetooth devices can also display the identification request information to the user to which they belong, and the user further confirms whether to accept the identification information request. After the user confirms that the identification information request is accepted, Search in the locally stored identification information, and return the found identification information to the Bluetooth device that sent the request; here, the sent identification request information may request specific identification information, for example, for a mobile phone with Bluetooth function installed, You can send a request to the detected mobile phone to obtain the information of the mobile phone number of the other party. After receiving the mobile phone number request information, the requested party displays the mobile phone number request information to the user. After the user confirms that the mobile phone number request information is accepted, look up Locally store the mobile phone number, and return the found mobile phone number to the mobile phone that sent the mobile phone number request information.
[0041] Preferably, before reading the identification information corresponding to the detected device, the method further includes:
[0042] Obtain the identification information corresponding to the pre-selected device, and bind it with the pre-selected device.
[0043] In the specific implementation process, the identification information corresponding to the pre-selected Bluetooth device, that is, the identification information corresponding to the Bluetooth device that needs to be paired and connected by the user, for example, for a mobile phone with Bluetooth installed, the mobile phone number is selected as the identification information The mobile phone can obtain the mobile phone number of the counterparty selected by the user to be paired and connected, and establish a binding relationship with the device corresponding to the mobile phone number, that is, preset the device corresponding to the mobile phone number as the device to be paired and connected.
[0044] Preferably, obtaining identification information corresponding to the pre-selected device and binding with the pre-selected device includes:
[0045] Provide users with an identification record interface containing identification information corresponding to the device;
[0046] Determine whether there is identification information corresponding to the pre-selected device in the identification record interface;
[0047] When the identification record interface contains identification information corresponding to the pre-selected device, when the user moves the switch button for starting the pairing connection provided on the identification record interface to the identification information corresponding to the pre-selected device, and activates the switch button , Bind with a pre-selected device; or, when the user clicks on the identification information corresponding to the pre-selected device, a pop-up box on the identification record interface displays a switch button to start the pairing connection, and when the switch button is activated, Binding with pre-selected equipment;
[0048] When the identification record interface does not contain the identification information corresponding to the pre-selected device, the information input interface is provided to the user, the identification information corresponding to the pre-selected device input by the user through the information input interface is received, and the user inputs the information on the interface The provided switch button for starting the pairing connection is moved to the identification information corresponding to the pre-selected device, and when the switch button is started, it is bound with the pre-selected device.
[0049] For example, for a mobile phone equipped with a Bluetooth function, the above-mentioned identification record interface may be a mobile phone address book interface. In the specific implementation process, a switch button for starting the pairing connection can be set at the address book entry of the mobile phone to which the connection relationship is to be established. The button is also a switch button to turn on the Bluetooth function of the mobile phone. Specifically, the switch button can be added to the drop-down menu of the corresponding address book entry. Here, after the user clicks the mobile phone number of the other party's mobile phone to be paired to establish a connection, pull down The menu mode pops up the switch button to start the pairing connection. Since the switch button corresponds to the mobile phone number of the other party's mobile phone to be paired, the mobile phone starts its own Bluetooth function after confirming that the user activates the switch button, and selects the other party at the same time The mobile phone is used as the pairing object to establish the connection relationship, that is, the binding relationship with the other mobile phone is established;
[0050] The switch button for starting the pairing connection can also be a floating switch button, which is added to the phone address book interface. When the user selects a pairing object, the button can be moved to the address book entry corresponding to the selected pairing object. Then start the switch by clicking the button. At this time, the mobile phone obtains the user's start switch behavior and establishes the binding relationship with the pairing object selected by the user, that is, the user moves the switch button for starting the pairing connection provided on the address book interface. Go to the mobile phone number corresponding to the mobile phone that needs to be paired, and when the switch is activated, bind with the mobile phone that needs to be paired and connected;
[0051] In addition to setting the switch button to start the pairing connection in the phone's address book entry, you can also add this button to other interfaces that record the pairing objects selected by the user, such as call records;
[0052] When there is no mobile phone number of the pairing partner selected by the user on the user interface such as the address book interface and the call log interface of the mobile phone, an input interface can be provided so that the user can input the mobile phone number of the pairing partner, and add a start pairing connection on the input interface When the user enters the mobile phone number of the pairing partner, the mobile phone moves the switch button that initiates the pairing connection to the entered mobile phone number, and activates the switch button, it can start its own Bluetooth function, and select the user input The mobile phone corresponding to the mobile phone number is used as the pairing object, that is, the mobile phone corresponding to the mobile phone number input by the user is bound.
[0053] When the user's own Bluetooth device detects other Bluetooth devices, read the identification information corresponding to the detected Bluetooth device. If the read identification information is consistent with the identification information of the bound Bluetooth device, it can be the same as the detected one. The Bluetooth device establishes a connection. On the contrary, if the read identification information is inconsistent with the identification information of the bound Bluetooth device, it is determined that the detected Bluetooth device is not the pairing object selected by the user, and the detected Bluetooth device will not be paired with the detected Bluetooth device. The connection is established. At this time, you can set to continue to read the identification information corresponding to the other Bluetooth devices detected, and use the same method to confirm whether the other Bluetooth devices are the pairing objects selected by the user. In actual applications, because the Bluetooth connection is generally established The users who belong to the Bluetooth device know each other, and the two parties can make the distance between the Bluetooth devices used, such as within 10 meters, so that one Bluetooth device can detect the other party's Bluetooth device, and then can read the other party's Bluetooth device. The identification information corresponding to the device is compared and the read identification information is consistent with the identification information selected by the user, and the Bluetooth devices of both parties can establish a connection. Under special circumstances, it may happen that the Bluetooth device selected by the user is not within the detection range. For this situation, if you are performing a combination of the identification information of all detected Bluetooth devices with the identification information of the bound Bluetooth device After the comparison, if the Bluetooth device to be paired and connected by the user is still not found, the operation can be ended, or the user may be prompted that the selected identification information is not within the Bluetooth transmission range, and the user can choose to abandon the operation or continue to detect other Bluetooth devices.
[0054] Preferably, the method further includes:
[0055] After establishing a communication connection with the detected device, perform information transmission with the detected device;
[0056] If the communication connection is interrupted during the information transmission, the progress of the current transmitted information is recorded, so that after the communication connection with the detected device is re-established, the transmission of the information will continue from the recorded progress.
[0057] In specific implementation, if the location of the connected device changes during information transmission, for example, the distance between two Bluetooth devices exceeds 10 meters, the information transmission may be interrupted. At this time, the progress of the current transmitted information can be recorded , After the two Bluetooth devices re-establish the connection, the information transmission will continue from the recorded progress to improve the efficiency of information transmission.
[0058] Such as figure 2 Shown is a flowchart of a method for pairing and connecting Bluetooth devices provided by an embodiment of the present invention, including:
[0059] S201: The first Bluetooth device obtains identification information corresponding to the second Bluetooth device pre-selected by the user;
[0060] Here, taking a mobile phone with Bluetooth function as an example, a mobile phone number can be selected as the identification information. Specifically, a switch button for initiating the pairing connection can be added in the address book of the first Bluetooth device corresponding to the mobile phone numbers of other Bluetooth devices. A Bluetooth device obtains the mobile phone number of the second Bluetooth device after the user activates the switch button corresponding to the second Bluetooth device, and binds it with the second Bluetooth device corresponding to the mobile phone number, that is, selects the second Bluetooth device as Match with.
[0061] S202: The first Bluetooth device detects other Bluetooth devices within a predetermined range;
[0062] The predetermined range here refers to the range within which the first Bluetooth device can detect other Bluetooth devices.
[0063] S203: The first Bluetooth device sends identification request information to other detected Bluetooth devices;
[0064] For example, when the Bluetooth device is a mobile phone, the first Bluetooth device may send mobile phone number request information to other detected Bluetooth devices.
[0065] S204: The first Bluetooth device receives identification information returned by other Bluetooth devices according to the request information;
[0066] S205: The first Bluetooth device compares whether the returned identification information is consistent with the identification information corresponding to the second Bluetooth device input by the user. If they are consistent, go to step S206; otherwise, go to step S207;
[0067] S206: The first Bluetooth device establishes a connection with the detected Bluetooth device to perform information transmission;
[0068] In the specific implementation process, the first Bluetooth device can detect other Bluetooth devices after turning on its own Bluetooth function, and the first Bluetooth device can send identification request information to other detected Bluetooth devices; because the detected other Bluetooth devices may not be The Bluetooth device that the user chooses to pair, and even the detected Bluetooth device may not belong to other users known to the user. Therefore, after other Bluetooth devices receive the identification request information, they may reject the request information. However, This does not affect the use of the solution of this embodiment for Bluetooth transmission, because the two parties performing Bluetooth transmission generally know each other. After the first Bluetooth device detects the second Bluetooth device and sends identification request information to it, the second Bluetooth device Then you can accept the identification request information, and find the identification information requested by the first Bluetooth device in the locally stored identification information. For example, when the Bluetooth device is a mobile phone, the first Bluetooth device sends it to the second Bluetooth device after detecting it. Mobile phone number request, the second Bluetooth device can accept the request, send the locally stored mobile phone number to the first Bluetooth device, the first Bluetooth device receives the mobile phone number, and preselects the received mobile phone number with the previously obtained user Compare the mobile phone numbers of the two, and confirm that the comparison results are consistent, the first Bluetooth device and the second Bluetooth device can establish a connection and perform information transmission.
[0069] S207: The first Bluetooth device continues to read the identification information of other detected Bluetooth devices, and repeats step S205;
[0070] Here, if the first Bluetooth device detects that there are multiple Bluetooth devices within the Bluetooth signal transmission range, after failing to read the identification information of the detected Bluetooth device for the first time, or after the results of the first comparison are inconsistent, You can continue to read the identification information of other detected Bluetooth devices. If after comparing the identification information of all the detected Bluetooth devices with the identification information selected by the user, the Bluetooth corresponding to the identification information selected by the user is still not found Device, you can end the operation, or prompt the user that the selected identification information is not within the Bluetooth transmission range, and the user can choose to abandon the operation or continue to detect the Bluetooth device.
[0071] Based on the same inventive concept, the embodiments of the present invention also provide a device for device pairing connection corresponding to the aforementioned device pairing connection method. Since the principle of the problem solved by the device is similar to the aforementioned device pairing connection method, the implementation of the device can be Refer to the implementation of the foregoing method, and the repetition will not be repeated.
[0072] Such as image 3 Shown is a structural diagram of a device for pairing and connecting devices provided by an embodiment of the present invention, and the device includes:
[0073] The detection module 31 is used to detect devices within a predetermined range through short-range communication technology;
[0074] The reading module 32 is used to read the identification information corresponding to the detected device;
[0075] The comparison module 33 is configured to compare whether the identification information read by the reading module 32 is consistent with the identification information corresponding to the pre-selected device;
[0076] The connection module 34 is configured to establish a communication connection with the detected device when the identification information compared by the comparison module 33 is consistent.
[0077] Preferably, the identification information includes the identity of the user who uses the device.
[0078] Preferably, the identification information also includes: hardware information of the device and/or software information of the device.
[0079] Preferably, the reading module 32 can be specifically used to:
[0080] Send identification request information to the detected device;
[0081] Receive the locally stored identification information found according to the request information returned by the detected device.
[0082] Preferably, the device further includes:
[0083] The obtaining module 35 is configured to obtain identification information corresponding to the pre-selected device and bind it with the pre-selected device.
[0084] Preferably, the acquisition module 35 can be specifically used for:
[0085] Provide users with an identification record interface containing identification information corresponding to the device;
[0086] Determine whether there is identification information corresponding to the pre-selected device in the identification record interface;
[0087] When the identification record interface contains identification information corresponding to the pre-selected device, when the user moves the switch button for starting the pairing connection provided on the identification record interface to the identification information corresponding to the pre-selected device, and activates the switch button , Bind with a pre-selected device; or, when the user clicks on the identification information corresponding to the pre-selected device, a pop-up box on the identification record interface displays a switch button to start the pairing connection, and when the switch button is activated, Binding with pre-selected equipment;
[0088] When the identification record interface does not contain the identification information corresponding to the pre-selected device, the information input interface is provided to the user, the identification information corresponding to the pre-selected device input by the user through the information input interface is received, and the user inputs the information The switch button for starting the pairing connection provided on the interface is moved to the identification information corresponding to the pre-selected device, and when the switch button is activated, it is bound with the pre-selected device.
[0089] Preferably, the device further includes:
[0090] The information transmission module 36 is used to transmit information with the detected device after establishing a communication connection with the detected device;
[0091] If the communication connection is interrupted during the information transmission, the progress of the current transmitted information is recorded, so that after the communication connection with the detected device is re-established, the transmission of the information will continue from the recorded progress.
[0092] The embodiment of the present invention also provides a terminal, including a device for pairing and connecting any of the above devices, and the terminal may specifically be a user such as a mobile phone.
[0093] Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0094] The present invention is described with reference to flowcharts and/or block diagrams of methods, devices (equipment), and computer program products according to embodiments of the present invention. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing devices to generate a machine, so that instructions executed by the processors of the computer or other programmable data processing devices are generated In the process Figure one Process or multiple processes and/or boxes Figure one A device with functions specified in a block or multiple blocks.
[0095] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device is implemented in the process Figure one Process or multiple processes and/or boxes Figure one Functions specified in a box or multiple boxes.
[0096] These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of operating steps are executed on the computer or other programmable device to produce computer-implemented processing, so that the computer or other programmable device is executed Instructions are provided to implement the process Figure one Process or multiple processes and/or boxes Figure one Steps of functions specified in a box or multiple boxes.
[0097] Although the preferred embodiments of the present invention have been described, those skilled in the art can make additional changes and modifications to these embodiments once they learn the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present invention.
[0098] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. In this way, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these modifications and variations.
PUM


Description & Claims & Application Information
We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
Similar technology patents
Incremental map generation, refinement and extension with GPS traces
Owner:TOMTOM GLOBAL CONTENT
Image reading apparatus
Owner:FUJIFILM BUSINESS INNOVATION CORP
Method predicting view synthesis in multi-view video coding and method for constituting merge candidate list by using same
Owner:LG ELECTRONICS INC
Method and device for updating data in distributed storage system
Owner:SHANDA INTERACTIVE ENTERTAINMENT
Pre-ordering based on location of a customer
Owner:BANK OF AMERICA CORP
Classification and recommendation of technical efficacy words
- Improve efficiency
- Improve user experience
Video coding methods and apparatuses
Owner:MICROSOFT TECH LICENSING LLC
Dynamic player groups for interest management in multi-character virtual environments
Owner:MICROSOFT TECH LICENSING LLC
Method and apparatus for controlling a selectable voltage audio power output stage
Owner:CIRRUS LOGIC INC
Wireless power transmitter and power transmission method thereof
Owner:LG INNOTEK CO LTD
Touch processing method and portable mobile terminal
Owner:LENOVO (BEIJING) CO LTD
Method, device and equipment for displaying multiple application windows on mobile terminal
InactiveCN102968243AImprove information acquisition efficiency and ease of operationImprove user experience
Owner:SHENZHEN YUNYINGGU TECH CO LTD
Content recommending method and device based on user characteristics
Owner:BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Method, apparatus, and system for voice call fallback to circuit switched domain
Owner:HUAWEI TECH CO LTD
Cloud pushing method, system and device
Owner:BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD