WO2018218541A1 - Connection establishment method and device - Google Patents

Connection establishment method and device Download PDF

Info

Publication number
WO2018218541A1
WO2018218541A1 PCT/CN2017/086701 CN2017086701W WO2018218541A1 WO 2018218541 A1 WO2018218541 A1 WO 2018218541A1 CN 2017086701 W CN2017086701 W CN 2017086701W WO 2018218541 A1 WO2018218541 A1 WO 2018218541A1
Authority
WO
WIPO (PCT)
Prior art keywords
attribute data
user
biometric information
data
connection
Prior art date
Application number
PCT/CN2017/086701
Other languages
French (fr)
Chinese (zh)
Inventor
赵朋
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201780056634.0A priority Critical patent/CN109716854B/en
Priority to PCT/CN2017/086701 priority patent/WO2018218541A1/en
Priority to CN202111034827.0A priority patent/CN113766672B/en
Publication of WO2018218541A1 publication Critical patent/WO2018218541A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0861Network architectures or network communication protocols for network security for authentication of entities using biometrical features, e.g. fingerprint, retina-scan
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/105Multiple levels of security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/80Wireless

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a connection establishing method and device.
  • a wearable device is a portable device that can be worn directly on the user or integrated into the user's clothing or accessories.
  • Common wearable devices include smart watches, bracelets, smart glasses, and more.
  • a wearable device is more than just a hardware device, and it can implement specific functions through software support, data interaction, and cloud interaction.
  • existing wearable devices are limited in cost, product form, and the like, resulting in fewer hardware components that can be carried, making the wearable device limited in function and low in usability.
  • the function of the wearable device is increased by adding hardware, the cost of the wearable device is higher, and the hardware layout of the wearable device needs to be changed, and the implementation is complicated.
  • the embodiment of the present application provides a method and a device for establishing a connection, which are used to solve the problem of low ease of use caused by less wearable device functions in the prior art.
  • a connection establishment method comprising: acquiring, by a first device, attribute data of a third device and transmitting the attribute data to a second device.
  • the second device receives the attribute data sent by the first device and establishes a connection with the third device according to the attribute data.
  • the second device includes a wearable device.
  • the first device acquires the attribute data of the third device, and sends the attribute data to the second device, so that the second device can establish a connection with the third device according to the attribute data.
  • the second device can acquire the attribute data of the third device and according to the attribute data, by means of the first device.
  • the third device establishes a connection.
  • a second aspect provides a connection establishment method, where the method includes: establishing, by a first device, a connection with a second device, where the first device acquires attribute data of the third device.
  • the first device sends the attribute data of the third device to the second device connected to the first device, so that the second device establishes a connection with the third device according to the attribute data of the third device.
  • the second device includes a wearable device.
  • the first device acquires the attribute data of the third device, and sends the attribute data to the second device, so that the second device can establish a connection with the third device according to the attribute data.
  • the second device can acquire the attribute data of the third device and according to the attribute data, by means of the first device.
  • the third device establishes a connection.
  • the acquiring, by the first device, the attribute data of the third device includes: the first device receiving the indication signaling of the second device, where the indication signaling is used to indicate the A device enables the target function.
  • the first device acquires attribute data of the third device by using the target function according to the indication signaling of the second device.
  • the second device sends the indication signaling to the first device, triggering the first device to enable the target function after receiving the indication signaling, and acquiring the attribute data of the third device by using the target function.
  • the acquiring, by the first device, attribute data of the third device includes: the first device receiving an indication operation input by a user, where the indication operation is used to indicate The first device enables the target function; the first device acquires attribute data of the third device according to the indication operation.
  • the user operates the first device, and triggers the first device to obtain the attribute data of the third device according to the user operation enable target function. After the first device acquires the attribute data of the third device, the first device uses the third device. The attribute data is sent to the first device.
  • the target function referred to in the foregoing two implementation manners is a function that the first device has and the second device does not.
  • the first device acquires attribute data of the third device, including: the first device enables the shooting function.
  • the first device scans the information identifier of the third device by using the photographing function, and the information identifier carries the attribute data of the third device. Further, the first device parses the information identification code to obtain attribute data of the third device.
  • the first device acquires the attribute data of the third device, and the first device establishes a near field communication (NFC) connection with the third device, and the first device acquires the third through the established NFC connection.
  • NFC near field communication
  • a method of device connection comprising: establishing a connection between a second device and a first device.
  • the second device receives the attribute data of the third device sent by the first device.
  • the second device establishes a connection with the third device according to the attribute data of the third device.
  • the method before the second device receives the attribute data of the third device that is sent by the first device, the method further includes: the second device sending the indication signaling to the first device The indication signaling is used to indicate that the first device enables the target function.
  • the second device receives the attribute data of the third device sent by the first device, and establishes a connection with the third device according to the attribute data of the third device.
  • the second device can acquire the attribute data of the third device and according to the attribute data, by means of the first device.
  • the third device establishes a connection.
  • an identity verification method comprising: receiving, by a first device, first biometric information input by a user.
  • the first device sends the first data to the second device according to the first biometric information.
  • the second device performs a preset operation according to the first data.
  • an implementation manner is that the first device performs identity verification on the user according to the first biometric information, and the identity verification result is in the form of the first data.
  • Another implementation manner is that the first device sends the first biometric information to the second device, and the second device performs the identity verification on the user according to the first biometric information. Proof and perform the appropriate actions based on the authentication results.
  • the second device can receive the biometric information input by the user by means of the first device, and then the first device or the second device authenticates the user according to the biometric information, and according to the identity verification result. Perform the appropriate action.
  • the second device as the wearable device does not support biometric recognition technologies such as fingerprint recognition and iris recognition, it is possible to "identify" the user with the biometric feature by means of the first device.
  • an authentication method comprising: establishing a connection between a first device and a second device.
  • the first device receives first biometric information input by a user.
  • the first device sends the first data to the second device connected to the first device according to the first biometric information.
  • the second device can receive the biometric information input by the user by means of the first device, and then the first device or the second device authenticates the user according to the biometric information, and performs corresponding according to the identity verification result. Operation. In this way, even if the second device as the wearable device does not support biometric recognition technologies such as fingerprint recognition and iris recognition, it is possible to "identify" the user with the biometric feature by means of the first device.
  • biometric recognition technologies such as fingerprint recognition and iris recognition
  • the method before the first device receives the first biometric information input by the user, the method further includes: the first device receiving the second biometric information input by the user and saving .
  • the first device sends the first data to the second device connected to the first device according to the first biometric information, including: the first device identifying the user according to the first biometric information and the second biometric information Verify and determine the user's access level. Further, the first device sends the first data to the second device, where the first data is used to indicate the access authority level of the user.
  • the first device pre-stores the second biometric feature information entered by the user. After the first device receives the first biometric feature information input by the user, using the second biometric feature information as a reference, comparing the first biometric feature information with the second biometric feature information, and then performing the user Authentication, get the user's access level. Further, the first device sends the access authority level of the user to the second device, so that the second device performs a corresponding operation according to the access authority level of the user.
  • the method before the first device receives the first biometric information input by the user, the method further includes: the first device receiving the second biometric information input by the user.
  • the first device sends the second biometric information to the second device, so that the second device saves the second biometric information.
  • the first device sends the first data to the second device according to the first biometric information, and the first device sends the first biometric information to the second device.
  • the first device pre-records the second biometric information input by the user and sends the second biometric information to the second device to be saved by the second device.
  • the first device sends the first biometric information to the second device, and the second device according to the pre-stored second biometric information and the first device.
  • the biometric information authenticates the user and performs corresponding operations based on the authentication result.
  • an authentication method comprising: establishing, by a second device, a connection with a first device.
  • the second device receives the first data sent by the first device.
  • the second device is according to the The first data performs a preset operation.
  • the second device can receive the biometric information input by the user by means of the first device, and then the first device or the second device authenticates the user according to the biometric information, and performs corresponding according to the identity verification result. Operation. In this way, even if the second device as the wearable device does not support biometric recognition technologies such as fingerprint recognition and iris recognition, it is possible to "identify" the user with the biometric feature by means of the first device.
  • biometric recognition technologies such as fingerprint recognition and iris recognition
  • the second device receives the first data sent by the first device, and performs a preset operation according to the first data, where the second device receives the first The first data sent by the device, the first data is used to indicate the access authority level of the user.
  • the second device performs a preset operation corresponding to the access authority level according to the access authority level of the user.
  • the method before the receiving, by the second device, the first data sent by the first device, the method further includes: receiving, by the second device, second biometric information sent by the first device And save the second biometric information.
  • the second device receives the first data sent by the first device, and performs a preset operation according to the first data, where the second device receives the first biometric information sent by the first device.
  • the second device performs identity verification on the user according to the first biometric information and the second biometric information. When the identity verification is successful, the second device performs a preset operation.
  • a device in a seventh aspect, the device as a first device comprising: a connection unit for establishing a connection with a second device, the second device comprising a wearable device.
  • the obtaining unit is configured to acquire attribute data of the third device.
  • a sending unit configured to send the attribute data of the third device to the second device, so that the second device establishes a connection with the third device according to the attribute data of the third device.
  • the acquiring unit is specifically configured to receive the indication signaling of the second device, where the indication signaling is used to indicate that the first device enables a target function;
  • the indication signaling of the second device is used to acquire attribute data of the third device by using the target function.
  • the acquiring unit is configured to receive an indication operation input by a user, where the indication operation is used to indicate that the first device enables a target function; and according to the indication operation, obtain Attribute data of the third device.
  • the acquiring unit is configured to enable a photographing function of the first device, and scan an information identifier of the third device by using the photographing function.
  • the information identification code carries attribute data of the third device; and the information identification code is parsed to obtain attribute data of the third device.
  • the acquiring unit is configured to establish an NFC connection with the third device by using the connecting unit, and obtain the third by using the established NFC connection.
  • the attribute data of the device is configured to establish an NFC connection with the third device by using the connecting unit, and obtain the third by using the established NFC connection.
  • a device in an eighth aspect, the device as a second device comprising: a connection unit, configured to establish a connection with the first device. And a receiving unit, configured to receive attribute data of the third device that is sent by the first device. The connecting unit is further configured to establish a connection with the third device according to the attribute data of the third device received by the receiving unit.
  • the device further includes: a sending unit, configured to send indication signaling to the first device, where the indication signaling is used to indicate the first device Enable target function.
  • a device in a ninth aspect, the device as a first device comprising: a connection unit, configured to establish a connection with the second device. And a receiving unit, configured to receive first biometric information input by the user. And a sending unit, configured to send the first data to the second device connected to the first device according to the first biometric information.
  • the receiving unit is further configured to receive and save the second biometric information input by the user.
  • the sending unit is further configured to perform identity verification on the user according to the first biometric information and the second biometric information, determine an access permission level of the user, and send the first data to the second device.
  • the first data is used to indicate an access authority level of the user.
  • the receiving unit is further configured to receive second biometric information input by a user, where the sending unit is further configured to send the The second biometric information is configured to facilitate the saving, by the second device, the second biometric information; the sending unit is further configured to send the first biometric information to the second device.
  • a device in a tenth aspect, the device as a second device comprising: a connection unit, configured to establish a connection with the first device. And a receiving unit, configured to receive the first data sent by the first device. And a processing unit, configured to perform a preset operation according to the first data received by the receiving unit.
  • the receiving unit is further configured to receive first data sent by the first device, where the first data is used to indicate an access permission level of the user.
  • the processing unit is further configured to perform a preset operation corresponding to the access permission level according to the access authority level of the user.
  • the receiving unit is further configured to receive the second biometric information sent by the first device and save the second biometric information.
  • the receiving unit is further configured to receive first biometric information sent by the first device.
  • the processing unit is further configured to perform identity verification according to the first biometric information and the second biometric information, and when the identity verification is successful, perform a preset operation.
  • a device comprising a transceiver, one or more processors and a memory, the memory for storing computer program code, the computer program code comprising instructions
  • the apparatus performs the method described in the second aspect above.
  • a device comprising a transceiver, one or more processors and a memory, the memory for storing computer program code, the computer program code comprising instructions
  • the apparatus performs the method described in the third aspect above.
  • a connection establishment system comprising the first device according to the eleventh aspect, the second device and the third device of the thirteenth aspect, the first device is configured to acquire Attribute data of the third device, and sending the attribute data to the second device; the second device is configured to use the third device The attribute data of the device establishes a connection with the third device.
  • a device comprising a transceiver, one or more processors and a memory, the memory for storing computer program code, the computer program code comprising instructions
  • the apparatus performs the method described in the fifth aspect above.
  • a device comprising a transceiver, one or more processors and a memory, the memory for storing computer program code, the computer program code comprising instructions
  • the apparatus performs the method as described in the sixth aspect.
  • an identity verification system comprising the first device of the fourteenth aspect and the second device of the fifteenth aspect.
  • a computer readable storage medium is provided, the instructions being stored in the computer readable storage medium, when executed on a computer, causing the computer to perform the method of the second aspect described above.
  • a computer readable storage medium is provided, the instructions being stored in the computer readable storage medium, when executed on a computer, causing the computer to perform the method described in the third aspect above.
  • a computer readable storage medium is provided, the instructions being stored in the computer readable storage medium, when executed on a computer, causing the computer to perform the method described in the fifth aspect above.
  • a computer readable storage medium is provided, the instructions being stored in the computer readable storage medium, when executed on a computer, causing the computer to perform the method described in the sixth aspect above.
  • a computer program product comprising instructions, when executed on a computer, causing the computer to perform the method of the second aspect described above.
  • a computer program product comprising instructions, when executed on a computer, causing the computer to perform the method of the third aspect described above.
  • a computer program product comprising instructions, when executed on a computer, causing the computer to perform the method of the fifth aspect described above.
  • a computer program product comprising instructions, when executed on a computer, causing a computer to perform the method of the sixth aspect described above.
  • FIG. 1 is a schematic diagram of a composition of a connection establishment system composed of a smart watch, a mobile phone, and a smart desk lamp;
  • FIG. 2 is a schematic structural view of a mobile phone
  • FIG. 3 is a schematic structural view of a smart watch
  • connection establishment method 4 is a schematic flowchart of a connection establishment method according to an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of another connection establishment method according to an embodiment of the present application.
  • FIG. 4b is a schematic flowchart of another connection establishment method according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a specific implementation process of the connection establishment method provided in the system shown in FIG. 1 according to an embodiment of the present application;
  • FIG. 5 is a schematic diagram of a process for a user to operate a smart watch to trigger a function of the mobile phone to scan a two-dimensional code to obtain attribute data of other devices according to an embodiment of the present disclosure
  • FIG. 5 is a schematic diagram of a process for a user to operate a mobile phone to trigger a function of the mobile phone to scan a two-dimensional code to obtain attribute data of a smart desk lamp according to an embodiment of the present disclosure
  • FIG. 5 is a schematic diagram of a process for acquiring an attribute of data of a smart desk lamp by a user operating an application installed on a mobile phone to trigger a function of scanning a two-dimensional code by a mobile phone according to an embodiment of the present disclosure
  • 6a is a schematic diagram of an interface for displaying a prompt message on a smart watch when a smart watch establishes a Bluetooth connection with a smart desk lamp according to an embodiment of the present disclosure
  • 6b is a schematic diagram of an interface for displaying a prompt message on a smart phone when a smart watch establishes a Bluetooth connection with a smart desk lamp according to an embodiment of the present disclosure
  • FIG. 7 is a schematic diagram of a process for a user operating a smart watch to trigger the mobile phone 1 to enable an NFC function to obtain attribute data of the mobile phone 2 according to an embodiment of the present disclosure
  • FIG. 8 is a schematic diagram of a process for a user to operate a mobile phone to trigger a smart watch and other mobile phones to quickly establish a Bluetooth connection according to an embodiment of the present application
  • FIG. 9 is a schematic diagram of a process for a user to operate a mobile phone to trigger a smart watch and other wireless access points to quickly establish a Wi-Fi connection according to an embodiment of the present application;
  • FIG. 10 is a schematic structural diagram of an identity verification system composed of a smart watch and a mobile phone according to an embodiment of the present application
  • FIG. 11 is a schematic flowchart diagram of an identity verification method according to an embodiment of the present application.
  • FIG. 11 is a schematic flowchart of another identity verification method according to an embodiment of the present application.
  • FIG. 11b is a schematic flowchart of still another method for authenticating an identity according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic diagram of an interface for entering a fingerprint for a smart watch on a mobile phone according to an embodiment of the present application
  • FIG. 13 is a schematic diagram of an interface displayed by a smart watch after a user 1 inputs a fingerprint on a mobile phone according to an embodiment of the present disclosure
  • FIG. 14 is a schematic diagram of an interface displayed by a smart watch after a user 2 inputs a fingerprint on a mobile phone according to an embodiment of the present application;
  • FIG. 15 is a schematic structural diagram of a first device according to an embodiment of the present disclosure.
  • FIG. 15 is a schematic structural diagram of another first device according to an embodiment of the present disclosure.
  • FIG. 15b is a schematic structural diagram of still another first device according to an embodiment of the present application.
  • FIG. 16 is a schematic structural diagram of a second device according to an embodiment of the present disclosure.
  • FIG. 16 is a schematic structural diagram of another second device according to an embodiment of the present disclosure.
  • FIG. 16b is a schematic structural diagram of still another second device according to an embodiment of the present disclosure.
  • FIG. 17 is a schematic structural diagram of a connection establishment system according to an embodiment of the present application.
  • FIG. 18 is a schematic structural diagram of a first device according to an embodiment of the present disclosure.
  • FIG. 18 is a schematic structural diagram of another first device according to an embodiment of the present disclosure.
  • FIG. 18b is a schematic structural diagram of still another first device according to an embodiment of the present application.
  • FIG. 19 is a schematic structural diagram of a second device according to an embodiment of the present disclosure.
  • FIG. 19 is a schematic structural diagram of another second device according to an embodiment of the present disclosure.
  • FIG. 19b is a schematic structural diagram of still another second device according to an embodiment of the present application.
  • FIG. 20 is a schematic structural diagram of an identity verification system according to an embodiment of the present application.
  • the embodiment of the present application provides a connection establishment system.
  • the system includes: a first device 101, a second device 102, and a third device 103.
  • the first device 101 and the second device 102 establish a first connection
  • the first device 101 and the third device 103 establish a second connection.
  • the connection manners of the foregoing first connection and the second connection include, but are not limited to, a Bluetooth (BT) connection, a Wireless-Fidelity (Wi-Fi) connection, and a Universal Serial Bus (USB) connection. Wait.
  • BT Bluetooth
  • Wi-Fi Wireless-Fidelity
  • USB Universal Serial Bus
  • the first device 101 is a mobile phone, a tablet computer, a notebook computer, a super mobile personal computer, a netbook, a personal digital assistant, and the like.
  • the second device 102 is a wearable device such as a smart watch or a wristband, and may also be other devices.
  • the first device 101 referred to in the embodiment of the present application supports more hardware and can implement more functions.
  • the second device 102 supports a limited amount of hardware, which has limited functionality.
  • the attribute data of the third device 103 exists in a specific image or a specific format. The other device needs to parse the specific image or the specific format to acquire the attribute data of the third device 103, and establish a connection with the third device 103 according to the attribute data.
  • the third device 103 may be a mobile phone or other wearable device, and may also be a smart home device such as a smart desk lamp or a smart refrigerator.
  • the first device 101 can acquire the specific image by using the supported target hardware, and obtain the attribute data of the third device 103 after parsing the specific image, and then establish a connection with the third device 103 according to the attribute data.
  • the second device 102 cannot establish the connection with the third device 103 because the second device 102 cannot obtain the specific image and cannot obtain the attribute data of the third device 103. .
  • the mobile phone 200 includes: a radio frequency (RF) circuit 210, a memory 220, an input unit 230, a communication module 240, a processor 250, a power supply 260, and a display.
  • the RF circuit 210 can be used for receiving and transmitting signals during the transmission and reception of information or during a call. Specifically, after receiving the downlink information of the base station, the RF 250 is processed by the processor 250. In addition, the uplink data is sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like.
  • RF circuitry 210 can also communicate with the network and other devices via wireless communications provided by communication module 240.
  • the wireless communication may use any communication standard or protocol, including but not limited to global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (code) Division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), e-mail, short messaging service (SMS), and the like.
  • GSM global system of mobile communication
  • GPRS general packet radio service
  • code code division multiple access
  • WCDMA wideband code division multiple access
  • LTE long term evolution
  • SMS short messaging service
  • the memory 220 can be used to store software programs and modules, the processor 250 running the storage The software programs and modules in the memory 220 thereby perform various functional applications and data processing of the mobile phone 200.
  • the memory 220 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application (Application, APP) and the like required for at least one function, such as a sound playing function, an image playing function, and the like; and storing the data.
  • the area may store data (such as audio data, image data, phone book, etc.) created according to the use of the mobile phone 200, and the like.
  • memory 220 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 230 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the handset 200.
  • the input unit 230 may include a touch screen 231 and other input devices 232.
  • the touch screen 231 also referred to as a touch panel, can collect touch operations on or near the user (such as the user's operation on or near the touch screen 231 using any suitable object or accessory such as a finger, a stylus, etc.), and The corresponding connecting device is driven according to a preset program.
  • the touch screen 231 may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 250 is provided and can receive commands from the processor 250 and execute them.
  • the touch screen 231 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 230 may also include other input devices 232.
  • other input devices 232 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, power switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 270 can be used to display information input by the user or information provided to the user and various menus of the mobile phone 200.
  • the display unit 270 can include a display panel 271.
  • the display panel 271 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch screen 231 can cover the display panel 271, and when the touch screen 231 detects a touch operation on or near it, it is transmitted to the processor 250 to determine the type of the touch event, and then the processor 250 displays the panel according to the type of the touch event. A corresponding visual output is provided on the 271.
  • the touch screen 231 and the display panel 271 are implemented as two separate components to implement the input and input functions of the mobile phone 200, in some embodiments, the touch screen 231 may be integrated with the display panel 271 to implement the mobile phone 200. Input and output functions.
  • the photographing unit 280 is configured to collect an image, and send the acquired image to the processor 250, and the image collected by the photographing unit 280 is processed by the processor 250.
  • the photographing unit 280 includes a camera or the like.
  • Audio circuitry 290, speaker 291, microphone 292 can provide an audio interface between the user and handset 200.
  • the audio circuit 290 can transmit the converted electrical data of the received audio data to the speaker 291 for conversion to the sound signal output by the speaker 291; on the other hand, the microphone 292 converts the collected sound signal into an electrical signal by the audio circuit 290. After receiving, it is converted into audio data, and then the audio data is output to the RF circuit 210 for transmission to, for example, another mobile phone, or the audio data is output to the storage.
  • the device 220 is for further processing.
  • the processor 250 is the control center of the handset 200, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 220, and recalling data stored in the memory 220, The various functions and processing data of the mobile phone 200 are executed to perform overall monitoring of the mobile phone.
  • the processor 250 may include one or more processing units; optionally, the processor 250 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and an application. Etc.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 250.
  • the mobile phone 200 also includes a power source 260 (such as a battery) for supplying power to various components.
  • a power source 260 such as a battery
  • the power source can be logically connected to the processor 250 through the power management system to manage functions such as charging, discharging, and power management through the power management system. .
  • the handset 200 also includes sensors such as a gravity sensor, a light sensor, an infrared sensor, and the like.
  • the gravity sensor can detect the magnitude of the acceleration of the mobile phone in various directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetic force). (posture calibration), vibration recognition related functions (such as pedometer, tapping).
  • the light sensor can include an ambient light sensor and a proximity light sensor.
  • the ambient light sensor can adjust the brightness of the display panel 231 according to the brightness of the ambient light; the proximity light sensor can detect whether an object approaches or contacts the mobile phone, and can close the display panel 231 and/or the backlight when the mobile phone 200 moves to the ear.
  • the mobile phone 200 can also be equipped with an antenna, a Wi-Fi module, a near field communication (NFC) unit 282, a Bluetooth module, a speaker, an accelerometer, a gyroscope, a barometer, a hygrometer, and a thermometer.
  • the mobile phone 200 can also be configured with a sensor for implementing biometric identification, such as a fingerprint recognition sensor 281, an iris recognition sensor, etc., and details are not described herein.
  • the smart watch 300 includes: a body and a wristband connected to each other, wherein the watch body may include a front case (not shown in FIG. 3), and the touch panel 301. (also known as touch screen), display 302, bottom case (not shown in FIG. 3), and processor 303, micro control unit (MCU) 304, memory 305, microphone (MIC) 306, Bluetooth module 308, heart rate detecting sensor 310, power source 312 and power management system 313, etc., although not shown, the smart watch may also include an antenna, a WiFi module, a GPS module, a speaker, an accelerometer, a gyroscope, and the like.
  • the smart watch structure illustrated in FIG. 3 does not constitute a limitation to a smart watch, may include more or fewer components than illustrated, or combine some components, or different component arrangements.
  • the touch panel 301 can collect touch operations on the watch user (such as a user using a finger, a stylus, or the like, any suitable object or accessory on or near the touch panel). And the connected device is driven according to a preset program.
  • the touch panel 301 can include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 303 is provided and can receive commands sent by the processor 303 and execute them.
  • touch panels can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the smart watch may also include other input devices, and other input devices may include, but are not limited to, function keys (such as volume control buttons, switch buttons, etc.).
  • Display screen 302 can be used to display information entered by the user or information provided to the user as well as various menus of the watch.
  • the display 302 can be configured in the form of an LCD, an OLED, or the like.
  • the touch panel 301 can cover the display screen 302. When the touch panel 301 detects a touch operation on or near the touch panel 301, it transmits to the processor 303 to determine the type of the touch event, and then the processor 303 according to the touch event. The type provides a corresponding visual output on display screen 302.
  • the touch panel 301 and the display screen 302 function as two separate components to implement the input and output functions of the watch, in some embodiments, the touch panel 301 can be integrated with the display screen 302. Achieve the input and output functions of the watch.
  • the processor 303 is configured to perform system scheduling, control the display screen, touch screen, support processing microphone 306, one or more thin film actuators, Bluetooth module 308, and the like.
  • a microphone 306 also known as a microphone.
  • the microphone 306 can convert the collected sound signal into an electrical signal, which is received by the audio circuit and converted into audio data; the audio circuit can also convert the audio data into an electrical signal, which is transmitted to a speaker and converted into a sound signal output by the speaker.
  • the Bluetooth module 308 can exchange information with other electronic devices (such as mobile phones, tablet computers, etc.) through the Bluetooth module 308, and connect to the network through the above electronic devices, and connect with the server to process functions such as voice recognition.
  • other electronic devices such as mobile phones, tablet computers, etc.
  • the micro control unit 304 is used to control the sensor, perform operations on the sensor data, and communicate with the processor 303.
  • the sensor can be a heart rate detection sensor 310, a barometric pressure sensor, a gravity sensor, a light sensor, a motion sensor, or other sensor.
  • the light sensor can include an ambient light sensor and a proximity sensor.
  • Other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like which are also configurable in the watch will not be described here.
  • the memory 305 is used to store software programs and data, and the processor 303 executes various functional applications and data processing of the watch by running software programs and data stored in the memory.
  • the memory 305 mainly includes a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.); the storage data area can be stored according to the use of the watch.
  • the data created (such as audio data, phone book, etc.).
  • the memory may include a high speed random access memory, and may also include a nonvolatile memory such as a magnetic disk storage device, a flash memory device, or other volatile solid state storage device.
  • the smart watch 300 also includes a power source 312 (such as a battery) that supplies power to the various components.
  • a power source 312 such as a battery
  • the power source 312 can be logically coupled to the processor 303 via the power management system 313 to manage charging, discharging, and power through the power management system 313. Consumption management and other functions.
  • Smart watches mainly support blue Hardware such as teeth, heart rate sensor, motion sensor, etc., can establish Bluetooth connection with other devices, and record user's sleep, heart rate, motion track and other functions, but cannot scan QR code, fingerprint recognition, iris due to lack of related hardware support. Identify and other functions.
  • the first device is a mobile phone
  • the second device is a smart watch
  • the third device 103 is a smart desk lamp.
  • the smart desk lamp is affixed with a two-dimensional code or a barcode
  • the two-dimensional code or barcode is used to carry the smart table lamp.
  • Attribute data such as Bluetooth name, Bluetooth address, etc.
  • the two-dimensional code or barcode can be parsed to obtain attribute data such as a Bluetooth name, a Bluetooth address, and a Bluetooth pairing code of the smart desk lamp, and according to the attribute data and
  • the smart desk lamp establishes a Bluetooth connection, so that the user can operate the mobile phone to control the smart desk lamp.
  • the smart watch does not have a shooting unit and cannot scan the two-dimensional code on the smart desk lamp. Therefore, the smart watch cannot establish a connection with the smart desk lamp, and the user cannot use the smart watch to control the smart desk lamp.
  • connection establishment method which can be applied to the system shown in FIG. 1. As shown in FIG. 4, the method includes the following steps:
  • the first device and the second device establish a first connection.
  • the first connection includes a wireless connection manner such as a Bluetooth connection or a Wi-Fi connection, and the first connection further includes a wired connection manner such as a USB connection.
  • a wireless connection manner such as a Bluetooth connection or a Wi-Fi connection
  • the first connection further includes a wired connection manner such as a USB connection.
  • the embodiment of the present application does not limit the connection manner of the first connection.
  • the first device acquires attribute data of the third device.
  • the attribute data is data used to establish a connection with other devices.
  • the connection includes: Bluetooth connection, Wi-Fi connection and other connection methods.
  • the other device After the other device obtains the attribute data, it can establish a connection with the third device. According to the content of the attribute data, the connection mode established by the other device with the third device after acquiring the attribute data is different.
  • the attribute data includes information required for establishing a Bluetooth connection, such as a Bluetooth identifier of a third device, a Bluetooth Media Access Control (MAC) address, and the like.
  • MAC Bluetooth Media Access Control
  • the first device sends the attribute data of the third device to the second device.
  • the second device establishes a second connection with the third device according to the attribute data of the third device.
  • the second connection includes a connection manner such as a Bluetooth connection or a Wi-Fi connection.
  • the second connection and the first connection may be the same or different, and are not limited in this embodiment.
  • the first device and the second device establish a Bluetooth connection
  • the first device and the third device establish an NFC connection
  • the first device reads the Wi-Fi name and the MAC address of the third device by using the established NFC connection.
  • the attribute data is sent to the second device by the first device, and the second device establishes a Wi-Fi connection with the third device according to the attribute data.
  • the first device acquires the attribute data of the second device, and sends the attribute data of the second device to the third device, where the connection with the second device is initiated by the third device.
  • the first device separately sends the attribute data of the second device to the third device, and the attribute data of the third device is sent to the second device, and any device of the second device and the third device may initiate the connection.
  • the first device and the second device establish a connection, and the first device acquires the genus of the third device.
  • the attribute data is sent to the second device, and the second device can establish a connection with the third device according to the attribute data.
  • the first device that establishes the connection with the second device sends the attribute data of the third device to the second device, and the second device can be based on the attribute data.
  • Establish a connection with the third device when the second device cannot directly obtain the attribute data of the third device, the first device that establishes the connection with the second device sends the attribute data of the third device to the second device, and the second device can be based on the attribute data.
  • the first device can implement control on the third device.
  • the data to be transmitted is encrypted, so that the security is higher when transmitted through the air interface.
  • the specific implementation of the encryption algorithm may refer to the prior art, and details are not described herein again.
  • the step 402 includes the following steps:
  • the first device receives the indication signaling of the second device.
  • the indication signaling is used to indicate that the second device enables the target function.
  • the first device acquires attribute data of the third device by using the target function according to the indication signaling of the second device.
  • the second device sends the indication signaling to the first device, where the indication signaling is used to indicate that the first device enables a certain function on the first device, and the first device according to the indication The function is enabled, and data is acquired by the function.
  • the first device sends the acquired data to the second device.
  • the mapping between the indication signaling and the function is predefined, the second device sends the indication signaling to the first device, and the first device can identify the indication signaling sent by the second device, and enable the corresponding according to the indication signaling.
  • the first device After the first device receives the indication signaling of the second device, the first device performs a corresponding operation and returns an execution result to the second device.
  • the embodiment of the present application defines the correspondence between the indication signaling and the function returned by the second device.
  • the result of returning and identifying the two-dimensional code may be the original data of the two-dimensional code, or may be the second setting
  • the identified attribute data is prepared.
  • the result of returning the identification fingerprint may be the original data of the fingerprint or the result data of the success or failure of the fingerprint identification.
  • the second device when the second device sends the indication signaling of “0001” to the first device, after receiving the indication signaling, the first device according to the indication signaling Determining that the corresponding function is “identifying the two-dimensional code”, the first device enables the shooting function of the shooting unit to recognize the two-dimensional code, and after identifying the two-dimensional code, the second device returns a “1001” indication letter to the first device. Therefore, the indication signaling has a result of carrying the identification two-dimensional code.
  • the indication signaling is added on the basis of not affecting the function of the existing protocol, so that the first The above indication signaling may be transmitted between a device and a second device.
  • the user operates the second device to trigger the second device to send the indication signaling to the first device, where different operations of the user are used to trigger the second device to send different indication signaling.
  • the step 402 includes:
  • the first device receives an indication operation input by a user, the indication operation is used to indicate that the first device enables a target function, and sends data acquired by the target function to the second device;
  • the first device acquires attribute data of the third device according to the indication operation.
  • the user operates the first device such that the first device acquires the attribute data of the third device and transmits the attribute data of the third device to the second device.
  • the first device is a mobile phone
  • the second device is a wearable device
  • the wearable device is specifically a smart watch as an example
  • the third device is a smart home device.
  • the smart home device is specifically a smart desk lamp as an example
  • the smart desk lamp is marked with a two-dimensional code
  • the two-dimensional code carries attribute data such as a Bluetooth name of the smart desk lamp and a Bluetooth MAC address.
  • the smart watch since the smart watch does not have the hardware supporting scanning the two-dimensional code, the two-dimensional code on the smart desk lamp cannot be scanned, and the smart watch cannot directly establish a connection with the smart desk lamp.
  • the mobile phone and the smart watch establish a Bluetooth connection; and since the mobile phone has a shooting unit, the two-dimensional code on the smart desk lamp can be scanned to obtain attribute data such as the Bluetooth name of the smart desk lamp, and the attribute data is obtained.
  • the smart watch can establish a Bluetooth connection with the smart desk lamp according to the attribute data, thereby controlling the smart desk lamp.
  • an application Application, APP
  • the user controls the smart desk lamp by operating the APP, including controlling the opening, closing, brightness, and the like of the smart desk lamp.
  • the user controls the smart desk light by operating a physical button of the smart watch.
  • the smart watch determines the distance between the smart watch and the smart desk lamp according to the signal strength value of the connection with the smart desk lamp. Since the user generally wears the smart watch, the distance can be regarded as the user and the smart desk lamp. The distance can be adjusted according to the distance between the user and the smart desk lamp, and the brightness of the smart desk lamp is adjusted within a certain distance range. The closer the distance is, the higher the brightness of the smart desk lamp exceeds the certain distance, and the control smart desk lamp is automatically turned off. In other implementation manners, the smart watch determines the current scene of the user according to the height, location, and the like.
  • the current location of the user is the location of the desk lamp, such as “bedroom,”
  • the brightness of the user's current environment is detected.
  • the smart watch automatic console light is turned on, and the brightness of the table lamp is adjusted according to the environment or the smart table lamp is turned off.
  • an optional way of triggering the mobile phone to acquire the attribute data of the smart desk lamp and transmitting the attribute data to the smart watch is: loading the smart watch on the display Interface 501 of icons such as "heart rate”, "clock", “set”, etc., when the user selects the icon of "set", the smart watch loads setting interface 502, which includes "Wi-Fi” and "Bluetooth” And the smart watch establishes a connection with the mobile phone identified as “Phone1”, and after the user selects the mobile phone identified as “Phone1”, the smart watch loading interface 503 is loaded with the mobile phone labeled “Phone1” for the smart watch.
  • the smart watch when the user selects the function of “recognize QR code/bar code”, the smart watch sends an instruction to the mobile phone, and after receiving the instruction, the mobile phone automatically calls up the shooting function and loads an interface 504 for scanning the two-dimensional code/barcode. Then, after the user successfully scans the two-dimensional code of the smart desk lamp, the mobile phone sends the attribute data of the smart desk lamp to the smart watch.
  • an optional method for triggering the mobile phone to acquire attribute data of the smart desk lamp and transmitting the attribute data to the smart watch is: loading an application for interacting with the mobile phone on the smart watch (Application, APP), the user operates the APP to send indication signaling to the mobile phone, the indication signaling is used to instruct the mobile phone to enable the function of “identifying the two-dimensional code/bar code”, and the mobile phone opens the camera according to the indication signaling and recognizes the two-dimensional code/bar code After that, the attribute data of the smart desk lamp is sent to the smart watch.
  • Application Application
  • another optional way for triggering the mobile phone to acquire the attribute data of the smart desk lamp and send the attribute data to the smart watch is: the user opens the Bluetooth setting interface 601 of the mobile phone, and all the mobile phones are displayed on the interface.
  • a button is displayed on the right side of the smart watch's logo, and the user clicks on the button to load an interface 602 displaying the user's possible operation on the smart watch, including “ignore the device", “connect with other devices", and “for this purpose”
  • the device obtains data", when the user selects “establish connection with other devices", the display interface 603 displays all possible ways to establish a connection, including the method of "scanning the QR code/bar code", when the mobile phone detects
  • the button of the "Scan QR code/Barcode” mode is selected, the user automatically calls up the shooting function of the mobile phone and loads the interface 604 for scanning the QR code/barcode, so that after the user successfully scans the QR code of the smart desk lamp, Send the attribute data of the smart desk lamp to the smart watch.
  • the user when the user is not accustomed to operating the watch or inconvenient to operate the watch, the user can transmit the attribute data of the smart table lamp to the smart watch by operating the mobile phone, and the smart watch can establish a connection with the smart table lamp.
  • FIG. 5c another optional way of triggering the mobile phone to obtain the attribute data of the smart desk lamp and transmitting the attribute data to the smart watch is as follows: as shown in the interface 701, the application “wearing” is installed on the mobile phone, and the mobile phone is installed. By operating the APP, you can control the management of all wearable devices that establish a connection with the phone. When the user opens the "wear” app, the interface 702 displaying all the wearable devices that are connected to the mobile phone interface is loaded, and when the user selects the wearable device identified as "WATCH1", the interface for managing WATCH1 is loaded.
  • the mobile phone when the user selects the option of “identifying the QR code/barcode”, the mobile phone automatically calls up the shooting function of the mobile phone and loads the interface 704 for scanning the QR code/barcode, so that when the user successfully scans the two-dimensional of the smart desk lamp After the code, send the attribute data of the smart desk lamp to the wisdom Can watch.
  • the mobile phone After the mobile phone scans the two-dimensional code on the smart desk lamp, in one implementation manner, the mobile phone directly sends the two-dimensional code to the smart watch, and the smart watch analyzes the two-dimensional code to obtain the attribute data of the smart desk lamp, and then according to This attribute data establishes a connection with the smart desk lamp. In another implementation manner, the mobile phone parses the two-dimensional code to obtain attribute data of the smart desk lamp, and then sends the attribute data to the smart watch, and the smart watch establishes a Bluetooth connection with the smart desk lamp according to the attribute data.
  • the smart watch when the attribute data obtained by the smart watch includes the Bluetooth name, the Bluetooth MAC address, and the Bluetooth pairing code is not included, after the smart watch acquires the attribute data of the smart table lamp, the smart watch needs to be paired with the smart table lamp first, and the pairing is successful after the pairing is successful.
  • the smart table lamp is connected, and as shown in 801, a prompt box is popped up on the smart watch, and the prompt is displayed.
  • the box is used to prompt the user whether to pair with the smart desk lamp; when the user determines that the device paired with the smart watch is a smart desk lamp, the user can click confirm on the prompt box, and the smart watch detects the user's confirmation operation and then pairs with the smart desk lamp. And establish a connection with the smart desk lamp.
  • a prompt box is displayed on the mobile phone, and the prompt box is used to prompt the user whether to use the smart watch and the smart desk lamp. Pairing, when the user determines to pair the smart watch with the smart table lamp, the user can click confirm on the prompt box, and after the mobile phone detects the user's confirmation operation, the mobile phone lights the attribute data of the smart table lamp to the smart watch, and the smart watch according to the attribute data Pair with a smart desk lamp and establish a Bluetooth connection with the smart desk lamp.
  • the user when the user is not accustomed to or inconvenient to operate the smart watch, the user can establish a connection between the smart watch and the smart table lamp by operating the mobile phone.
  • all the prompt boxes for prompting whether to establish a connection between the smart watch and the smart desk lamp are displayed on the mobile phone, and the user only needs to operate the mobile phone to complete the prompt box. Confirmation, and then establish a connection between multiple smart watches and smart desk lamps.
  • the smart watch when the attribute data sent by the mobile phone includes a Bluetooth pairing code in addition to the Bluetooth name and the Bluetooth MAC address, when the smart watch receives the attribute data of the smart desk lamp, the smart watch automatically establishes a Bluetooth connection with the smart desk lamp according to the attribute data.
  • the smart watch after acquiring the attribute data of the smart table lamp, the smart watch can establish a one-button automatic connection with the smart table lamp, eliminating the process of pairing the smart watch with the smart table lamp and confirming the user, and realizing the smart watch and the smart table lamp. Quick connection.
  • the smart watch when the smart watch cannot directly acquire the attribute data of the smart desk lamp to establish a connection with the smart desk lamp due to lack of hardware support, the smart watch acquires the attribute data of the smart desk lamp by means of the hardware of the mobile phone, and further Establish a connection with a smart desk lamp.
  • NFC-connected devices can be NFC-connected for data transfer as long as they are close to each other.
  • smart watches can obtain the attribute data of other devices by means of the NFC function of the mobile phone, and then quickly establish a connection with other devices.
  • the attribute data includes data used to establish a connection, such as data for establishing a Bluetooth connection or a Wi-Fi connection.
  • the smart watch and the mobile phone 1 establish a connection
  • the smart watch displays an interface 901 displaying icons such as “gallery”, “heart rate”, “clock”, “setting”, etc., when the user selects “set” "This icon, the smart watch loads the setting interface 902, the setting interface includes “Wi-Fi” and “Bluetooth”, and the smart watch and the mobile phone identified as "Phone1" establish a Bluetooth connection, and the user selects the identifier as "Phone1".
  • the smart watch loading interface 903 is loaded with the function that the mobile phone labeled "Phone1" can provide for the smart watch.
  • the smart watch When the user selects the function of "enable NFC", the smart watch sends a notification letter to the mobile phone 1.
  • the indication signaling is used to indicate that the mobile phone 1 enables the NFC function, and after the mobile phone receives the indication signaling, the process 904 is performed: when the user approaches the mobile phone 1 to the mobile phone 2, the mobile phone 1 and the mobile phone 2 establish an NFC connection and acquire the mobile phone 2 Attribute data. Further, the mobile phone 1 transmits the attribute data of the mobile phone 2 to the smart watch, and the smart watch automatically establishes a connection with the mobile phone 2 based on the attribute data.
  • the mobile phone 1 when the mobile phone 1 is close to the mobile phone 2, the mobile phone 1 automatically transmits the attribute data of the smart watch to the mobile phone 2, and the mobile phone 2 automatically initiates connection with the smart watch according to the attribute data.
  • the mobile phone 1 when the mobile phone 1 is close to the mobile phone 2, the mobile phone 1 sends the attribute data of the smart watch to the mobile phone 2, and sends the attribute data of the mobile phone 2 to the smart watch, that is, the smart watch and the mobile phone 2 are exchanged through the mobile phone 1.
  • the attribute data and thus either the smart watch or the mobile phone 2 can initiate a connection based on the acquired attribute data.
  • the user operates the mobile phone 1 to trigger the mobile phone 1 to acquire the attribute data of the mobile phone 2 and send the attribute data of the mobile phone 2 to the smart watch after "touching" with the mobile phone 2.
  • the user selects "Enable NFC function" to trigger the above process.
  • the mobile phone 1 when the smart watch and the mobile phone 2 establish a Bluetooth connection or a Wi-Fi connection, as long as the mobile phone 1 and the mobile phone 2 "touch", the mobile phone 1 can obtain the mobile phone 2 through the NFC connection established with the mobile phone 2.
  • the attribute data transmits the attribute data of the mobile phone 2 to the smart watch, and the smart watch establishes a connection with the mobile phone 2 according to the attribute data of the mobile phone 2.
  • the process of scanning the mobile phone 2 and inputting the password by the smart watch is omitted, and a method for quickly establishing the connection between the smart watch and the mobile phone 2 is provided.
  • the first device and the second device establish a first connection
  • the first device and the third device establish a second connection
  • the first connection and the second connection may be the same or may be different.
  • the second device and the third device establish a connection
  • the user needs to separately operate the second device and the third device, and the implementation process is complicated.
  • the first device and the second device establish a Bluetooth connection
  • the second device establishes a Bluetooth connection with the third device.
  • the second device establishes a Bluetooth connection with the third device
  • the user needs to respectively open the Bluetooth of the second device and the third device. Setting the interface and scanning the Bluetooth-enabled device.
  • the third device is selected to perform Bluetooth pairing and the like to establish a connection with the third device.
  • the second device needs to scan the third device, which may bring a problem that the scanning time is long, so that the second device and the third device establish a connection more time-consuming; or the third device is invisible to the second device.
  • the second device cannot successfully scan the third device, and the user needs to set the operation interface of the third device, and then the third device can be displayed on the second device, and the second device cannot establish a connection with the third device.
  • the first device acquires the number of attributes of the third device.
  • the attribute data of the third device is directly sent to the second device, and the second device can acquire the attribute data of the third device and automatically establish a connection with the second device.
  • the first device is the mobile phone 1
  • the second device is a smart watch
  • the third device is the mobile phone 2.
  • the mobile phone 1 and the smart watch establish a Bluetooth connection
  • the mobile phone 1 and the mobile phone 2 establish a Bluetooth connection.
  • the user opens the Bluetooth setting interface 1001 of the mobile phone 1, and all the mobile phones 1 are displayed on the interface.
  • the identity of the Bluetooth connected device has been established and a button is displayed to the right of the identification of each device, including the identity WATCH1 of the smart watch and the identity Phone2 of the mobile phone 2.
  • the smart watch's logo WATCH1 has a button displayed on the right side.
  • the interface 1003 When the user selects "Connect with other devices", the interface 1003 is displayed.
  • the interface displays all possible ways to establish a connection, including the "Bluetooth” mode, when the mobile phone detects that the user selects "Bluetooth”.
  • the interface 1004 After the mode, the interface 1004 is displayed.
  • the interface 1004 displays the names of all the devices that have saved the Bluetooth attribute data, and each name corresponds to a selection button.
  • the mobile phone 1 will The Bluetooth attribute data of the mobile phone 2 is sent to the smart watch.
  • the smart watch when the Bluetooth attribute data includes the Bluetooth identifier of the mobile phone 2, the Bluetooth MAC address, and does not include the pairing code, the smart watch initiates the Bluetooth pairing process with the mobile phone 2 after receiving the attribute data, when the smart watch and the mobile phone 2 Bluetooth After the pairing is successful, establish a Bluetooth connection.
  • the smart watch When the Bluetooth attribute data includes the Bluetooth identifier of the mobile phone 2, the Bluetooth MAC address, and the Bluetooth pairing code, the smart watch automatically establishes a Bluetooth connection with the mobile phone 2 according to the Bluetooth attribute data of the mobile phone 2.
  • the mobile phone 1 when detecting that the user selects the button on the right side of the identifier Phone2 of the mobile phone 2, the mobile phone 1 transmits the Bluetooth attribute data of the mobile phone 2 to the smart watch, and transmits the Bluetooth attribute data of the smart watch to the mobile phone 2.
  • the smart watch and the mobile phone 2 respectively display prompt information for prompting the user to request a Bluetooth connection between the smart watch and the mobile phone 2, when the user confirms After that, the smart watch and the mobile phone 2 establish a Bluetooth connection.
  • the user can transmit the Bluetooth attribute data of the mobile phone 2 to the smart watch by operating the mobile phone 1, and the smart watch can automatically establish a Bluetooth connection with the mobile phone 2.
  • the step of separately operating the smart watch and the mobile phone 2 is eliminated, and the quick one-touch connection between the smart watch and the mobile phone 2 can be realized.
  • the first device is a mobile phone
  • the second device is a smart watch
  • the third device is a wireless access point (Acess Point, AP)
  • the mobile phone and the smart watch establish a Bluetooth connection
  • the mobile phone and the wireless access point establish a Wi -Fi connection.
  • the smart watch and the wireless access point establish a Wi-Fi connection
  • the user opens the Bluetooth setting interface 1101 of the mobile phone, and all the displays are displayed on the interface.
  • the identity of the device that has established a Bluetooth connection with the phone including the identity WATCH1 of the smart watch.
  • a button is displayed on the right side of the smart watch's logo, and the user clicks the button to load an interface 1102 displaying the user's possible operation on the smart watch, including "ignore the device", “with other devices” Establish a connection and “get data for this device.”
  • the interface 1103 is displayed, which displays all possible ways to establish a connection, including the "Wi-Fi” mode.
  • the mobile phone detects that the user selects the "Wi-Fi” mode and displays the interface 1104 of all the devices that have saved the Wi-Fi attribute data. If the interface 1104 displays AP1, AP2, and AP3, each identifier corresponds to a selection button.
  • the mobile phone When detecting that the user selects the button on the right side of the AP1, the mobile phone sends the Wi-Fi attribute data of the AP1 to the smart watch, where the Wi-Fi attribute data includes the identifier of the device, the address of the device, and the access password of the device.
  • the smart watch automatically establishes a Wi-Fi connection with AP1 based on the Wi-Fi attribute data of AP1.
  • the watch when a smart watch wants to access a wireless access point to establish a Wi-Fi connection with a wireless access point, the watch needs to open a Wi-Fi setting interface, scan the wireless access point, and select the wireless connection. After entering the point and entering the access password, the wireless access point can be successfully accessed.
  • the user operates the mobile phone, and the Wi-Fi attribute data such as the identifier, address, and access password of the wireless access point is sent by the mobile phone to the smart watch, and the smart watch acquires the Wi-Fi attribute data. After that, the Wi-Fi connection is automatically established with the wireless access point according to the Wi-Fi attribute data, so that the smart watch can quickly establish a Wi-Fi connection with the wireless access point.
  • the smart watch pops up a prompt box for prompting the user whether to connect the smart watch to the wireless access point, when detecting the user on the smart watch After the confirmation operation, the smart watch accesses the wireless access point and establishes a Wi-Fi connection with the wireless access point.
  • the mobile phone pops up a prompt box on the mobile phone to prompt the user whether to connect the smart watch to the wireless access point, and after detecting the user's confirmation operation, And transmitting the Wi-Fi attribute data to the smart watch, so that the smart watch accesses the wireless access point according to the Wi-Fi attribute data.
  • Biometric technology refers to the combination of computer and optical, acoustic, biosensor and biostatistical principles, using the inherent physiological characteristics of the human body (such as fingerprints, irises, etc.) and behavioral features (such as handwriting, sound, Gait, etc.) to identify individuals.
  • biometric technology uses biometric technology to implement user authentication, but some devices are limited by hardware implementation or cost, and there is no biometric sensor, and the user cannot be authenticated by using the good characteristics of biometric technology.
  • the system includes a first device 1201 and a second device 1202.
  • the first device 1201 can be connected to the second device 1202.
  • the foregoing connection manners include, but are not limited to, a Bluetooth (BT) connection, a Wireless-Fidelity (Wi-Fi) connection, a Universal Serial Bus (USB) connection, and the like.
  • BT Bluetooth
  • Wi-Fi Wireless-Fidelity
  • USB Universal Serial Bus
  • the first device 1201 supports a biometric function, and the first device may be a mobile phone. Tablets, laptops, ultra-mobile personal computers, netbooks, personal digital assistants and more.
  • the second device 1202 is a wearable device such as a smart watch or a wristband, and may also be other devices that cannot support the biometric function.
  • the structure of the mobile phone can be referred to the foregoing FIG. 2, and details are not described herein again.
  • the second device 1202 as a smart watch as an example, the structure of the smart watch can refer to the foregoing figure. 3, not repeated here.
  • the embodiment of the present application provides an identity verification method, which can be applied to the identity verification system shown in FIG. As shown in FIG. 11, the method includes the following steps:
  • the first device and the second device establish a connection.
  • the first device is a device that supports a biometric function
  • the second device is a device that cannot support a biometric function.
  • the first device is a mobile phone, a PAD, or the like.
  • the second device is a wearable device such as a smart watch or a wristband.
  • the first device receives first biometric information input by a user.
  • the first biometric information includes fingerprint feature information, iris feature information, face feature information, and the like.
  • the first device sends the first data to the second device according to the first biometric information.
  • the first device authenticates the user according to the first biometric information input by the user, and sends the authentication result as the first data to the second device.
  • the first device sends the first biometric information input by the user as the first data to the second device.
  • the second device performs a preset operation according to the first data.
  • the preset operation includes unlocking, enabling a preset function, enabling or disabling a preset APP, and the like.
  • the second device performs a preset operation according to the identity verification result.
  • the first data is biometric information
  • the second device performs identity verification on the user according to the biometric information, and then performs a preset operation according to the identity verification result.
  • the first device can use the biometric technology to authenticate the user by installing a sensor required to support biometrics. Therefore, when the second device cannot support the biometric identification, the second device "by means of" the first device, collects the biometric feature of the user through the first device, performs identity verification on the user according to the biometric feature, and according to the identity verification result. Take the appropriate action. In this way, the second device can authenticate the user with the good characteristics of the biometric technology without supporting the biometric function itself.
  • step 1302 the following steps are further included:
  • the first device receives the second biometric information input by the user in advance and saves.
  • the second biometric information includes fingerprint feature information, iris feature information, and facial feature information.
  • step 1303 in an implementation manner of step 1303, as shown in FIG. 11a, specifically:
  • the first device performs identity verification according to the first biometric information and the pre-stored second biometric information. After the identity verification is successful, the first data is sent to the second device.
  • the first device "authenticates” the second device to authenticate the user, and notifies the second device to the identity verification result, and the second device performs a corresponding operation after receiving the identity verification result.
  • step 1302 the following steps are further included:
  • the first device receives, in advance, second biometric information input by a user.
  • the first device sends the second biometric information to the second device.
  • the second device saves the second biometric information.
  • step 1303 includes:
  • the first device sends the first biometric information to the second device.
  • step 1304 can be specifically implemented as:
  • the second device performs identity verification on the user according to the first biometric information and the pre-stored second biometric information, and performs a preset operation after the identity verification succeeds.
  • the first device sends the second biometric information to the second device, so that the second device pre-stores the second biometric information, and then the second device according to the first biometric information and The pre-stored second biometric information authenticates the user, and performs a preset operation after the identity verification succeeds.
  • the first device is a mobile phone
  • the second device is a wearable device
  • the wearable device is a smart watch as an example
  • the mobile phone supports a biometric function
  • the smart watch Since there is no sensor required for biometric identification, biometrics cannot be performed.
  • the biometric feature as a fingerprint feature
  • the smart watch and the mobile phone establish a Bluetooth connection in advance.
  • the user displays the identity of all devices that establish a Bluetooth connection with the mobile phone in the Bluetooth setting interface 1601 of the mobile phone, and a button is displayed on the right side of the identification of each device.
  • the Bluetooth setting interface of the mobile phone displays the smart watch identifier WATCH1, and when the mobile phone detects that the user selects the button on the right side of the WATCH1, loads the interface 1602 displaying the user's possible operation on the smart watch. Including “Ignore this device”, “Connect to other devices”, “Get data for this device”, and “Enter biometric features for this device”, when the user selects "Enter biometric features for this device",
  • the interface 1604 is loaded to prompt the user to select a biometric to be entered.
  • the fingerprint input interface 1603 to 1605 is loaded, and the user enters a fingerprint on the fingerprint input interface.
  • the mobile phone saves the correspondence between the fingerprint entered by the user and the watch. After the fingerprint entry is successful, the mobile phone loads the input success interface 1606.
  • the fingerprint entered by the user for the mobile phone and the fingerprint entered for the smart watch should be different fingerprints.
  • the mobile phone sends the fingerprint entered by the user for the smart watch as a reference fingerprint to the smart watch.
  • the mobile phone compares the fingerprint input by the user with the pre-saved reference fingerprint to authenticate the user and confirm the device that the user wants to operate. (Mobile phone or smart watch).
  • the mobile phone sends an indication signaling indicating that the fingerprint identification succeeds to the watch, and the watch jumps from the interface 1703 after receiving the indication signaling that the fingerprint identification succeeds.
  • the interface 1704 to the icon displaying the APP indicates that the unlocking is successful, and the user can operate the smart watch.
  • the mobile phone can replace the different devices to authenticate the user and notify the corresponding device after the identity verification succeeds, and the device performs the verification according to the identity verification result sent by the mobile phone.
  • the corresponding operation when fingerprints of multiple different devices are entered on the mobile phone, the mobile phone can replace the different devices to authenticate the user and notify the corresponding device after the identity verification succeeds, and the device performs the verification according to the identity verification result sent by the mobile phone. The corresponding operation.
  • a user can unlock different devices on the phone using different fingerprints.
  • the fingerprint of the mobile phone 2, the fingerprint of the smart watch 1, the fingerprint 3 of the smart watch 2, and the fingerprint 4 of the smart television are respectively recorded on the mobile phone 1.
  • the mobile phone 1 unlocks the mobile phone 2 after successful fingerprint recognition.
  • the mobile phone 1 unlocks the smart watch 1 after successful fingerprint recognition.
  • the mobile phone 1 unlocks the smart watch 2 after successful fingerprint recognition.
  • the mobile phone 1 unlocks the smart watch 2 after successful fingerprint recognition.
  • the mobile phone 1 opens the smart television after successful fingerprint recognition.
  • the fingerprints of different users are entered on the mobile phone for the smart watch, and different operation rights are set for different users.
  • different operation rights are set for different users.
  • the user 1 when the user 1 inputs the fingerprint 1 on the mobile phone, the user 1 is authenticated. After the identity verification of the user 1 is successful, the mobile phone sends an indication to the smart watch, and the smart watch receives the indication. The unlocking is successful and all functions are provided for user 1 to operate, and interface 1704 displays icons for all apps.
  • the mobile phone authenticates the user 2. After the authentication is successful, as shown in 1802, the mobile phone sends an indication to the smart watch. After receiving the indication, the smart watch jumps from the interface 1803 to the interface 1804 to indicate that the unlocking is successful, and provides some functions for the user 2 to operate. Specifically, compared with the interface 1704, the interface 1804 displays only the icons of the two apps "heart rate” and “alarm clock", and the icons of the "set” and “Alipay” APPs are not displayed, indicating that the user cannot change the settings of the smart watch.
  • the Alipay cannot be operated, and the user 2 cannot know the privacy information such as the user's Alipay balance.
  • some of the icons on the smart watch are gray, indicating that the user cannot operate the application corresponding to the gray icon.
  • the rest of the icons are displayed normally, indicating that the user can operate the other icons.
  • the interaction process, the indication signaling, and the like in the embodiments of the present application may be encrypted or unencrypted, which is not limited in this embodiment of the present application.
  • each network element for example, the first device, the second device, etc., in order to implement the above functions, includes corresponding hardware structures and/or software modules for performing the respective functions.
  • the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. Professionals can use different parties for each specific application The described functionality is implemented, but such implementation should not be considered to be beyond the scope of the present application.
  • the embodiment of the present application may divide the function module by using the first device, the second device, and the like according to the foregoing method example.
  • each function module may be divided according to each function, or two or more functions may be integrated into one process.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • FIG. 15 is a schematic diagram showing a possible structure of the first device involved in the foregoing embodiment, where the first device 1900 includes: a connection unit 1901, an acquisition unit 1902, and Transmitting unit 1903.
  • the connection unit 1901 is configured to support the first device 1900 to perform the processes 401, 404 in FIG. 4 above and other processes in the method embodiment.
  • the obtaining unit 1902 is configured to support the first device 1900 to perform the process 402 in FIG. 4, the processes 4021a, 4022a in FIG. 4a, the processes 4021b and 4022b in FIG. 4b, and other processes in the method embodiment.
  • the sending unit 1903 is configured to support the first device 1900 to perform the above process 403 in FIG. 4 and other processes in the method embodiment.
  • FIG. 15a shows a possible structural diagram of the first device involved in the above embodiment.
  • the first device 2000 includes a processing module 2002 and a communication module 2003.
  • the processing module 2002 is configured to perform control management on the actions of the first device.
  • the processing module 2002 is configured to support the first device to perform the processes 401, 402, 404 in FIG. 4, the processes 4021a, 4022a in FIG. 4a, in FIG. 4b. Processes 4021b and 4022b and/or other processes for the techniques described herein.
  • the communication module 2003 is for supporting communication between the first device and other network entities, such as communication with the second device.
  • the first device may further include a storage module 2001 for storing program codes and data of the first device.
  • the processing module 2002 can be a processor or a controller, and can be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication module 2003 can be a transceiver, a transceiver circuit, a communication interface, or the like.
  • the storage module 2001 can be a memory.
  • the processing module 2002 is a processor
  • the communication module 2003 is a transceiver
  • the storage module 2001 is a memory
  • the first device involved in the embodiment of the present application may be the first device shown in FIG. 15b.
  • the first device 2100 includes a processor 2101, a transceiver 2102, a memory 2103, and a bus 2104.
  • the transceiver 2102, the processor 2101, and the memory 2103 are connected to each other through a bus 2104;
  • the bus 2104 may be a peripheral component interconnection standard (Peripheral) Component Interconnect (PCI) bus or extended Industry Standard Architecture (EISA) bus.
  • PCI peripheral component interconnection standard
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 15b, but it does not mean that there is only one bus or one type of bus.
  • FIG. 16 is a schematic diagram showing a possible structure of the second device involved in the foregoing embodiment.
  • the second device 2200 includes a connecting unit 2201 and a receiving unit 2202.
  • the connecting unit 2201 is configured to support the second device 2200 to perform the processes 401, 404 in FIG. 4 above
  • the receiving unit 2202 is configured to support the second device 2200 to perform the process 403 in FIG. 4 described above.
  • FIG. 16a shows a possible structural diagram of the second device involved in the above embodiment.
  • the second device 2300 includes a processing module 2302 and a communication module 2303.
  • the processing module 2302 is configured to control management of actions of the second device, for example, the processing module 2302 is configured to support the second device to perform the processes 401, 402 of FIG. 4 and/or other processes for the techniques described herein.
  • the communication module 2303 is configured to support communication of the second device with other network entities, such as communication with the first device.
  • the second device may further include a storage module 2301 for storing program codes and data of the second device.
  • the processing module 2302 can be a processor or a controller, and can be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication module 2303 can be a transceiver, a transceiver circuit, a communication interface, or the like.
  • the storage module 2301 may be a memory.
  • the processing module 2302 is a processor
  • the communication module 2303 is a transceiver
  • the storage module 2301 is a memory
  • the second device involved in the embodiment of the present application may be the second device shown in FIG. 16b.
  • the second device 2400 includes a processor 2401, a transceiver 2402, a memory 2403, and a bus 2404.
  • the transceiver 2402, the processor 2401, and the memory 2403 are connected to each other through a bus 2404.
  • the bus 2404 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. Wait.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • Wait The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 16b, but it does not mean that there is only one bus or one type of bus.
  • connection establishment system 2500 includes a first device 2501, a second device 2502, and a third device 2503.
  • the first device 2501 is configured to acquire attribute data of the third device 2503, and send the location information to the second device 2502. Attribute data.
  • the second device 2502 is configured to establish a connection with the third device 2503 according to the attribute data of the third device 2503.
  • FIG. 18 is a schematic diagram showing a possible structure of the first device involved in the foregoing embodiment, where the first device 2600 includes: a connection unit 2601, a receiving unit 2602, and Transmitting unit 2603.
  • the connecting unit 2601 is configured to support the first device 2600 to perform the above-described process 1301 in FIG. 11, and the receiving unit 2602 is configured to support the first device 2600 to perform the process 1302 in FIG. 11, the process 1401 in FIG. 11a, and the process 1501 in FIG. 11b.
  • the transmitting unit 2603 is configured to support the first device 2600 to perform the process 1303 in FIG. 11 above, the process 1303a in FIG. 11a, and the processes 1502 and 1303b in FIG. 11b.
  • FIG. 18a shows a possible structural diagram of the first device involved in the above embodiment.
  • the first device 2700 includes a processing module 2702 and a communication module 2703.
  • the processing module 2702 is configured to control and manage the actions of the first device 2700.
  • the processing module 2702 is configured to support the first device to perform the process 1301 in FIG. 11 , the process 1303 a in FIG. 11 a , and/or for the methods described herein. Other processes of technology.
  • the communication module 2703 is configured to support communication between the first device and other network entities, such as communication with the second device.
  • the first device may further include a storage module 2701 for storing program codes and data of the first device.
  • the processing module 2702 may be a processor or a controller, and may be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication module 2703 can be a transceiver, a transceiver circuit, a communication interface, or the like.
  • the storage module 2701 may be a memory.
  • the processing module 2702 is a processor
  • the communication module 2703 is a transceiver
  • the storage module 2701 is a memory
  • the first device involved in the embodiment of the present application may be the first device shown in FIG. 15b.
  • the first device 2800 includes a processor 2801, a transceiver 2802, a memory 2803, and a bus 2804.
  • the transceiver 2802, the processor 2801, and the memory 2803 are connected to each other through a bus 2804.
  • the bus 2804 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. Wait.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • Wait The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 18b, but it does not mean that there is only one bus or one type of bus.
  • FIG. 19 is a schematic diagram showing a possible structure of the second device involved in the foregoing embodiment, where the second device 2900 includes: a connection unit 2901, a receiving unit 2902, and Processing unit 2903.
  • the connection unit 2901 is used to support the second device
  • the preparation unit 2902 is configured to execute the process 1301 in the foregoing FIG. 11
  • the receiving unit 2902 is configured to support the second device 2900 to perform the process 1303 in the foregoing FIG. 11 , the process 1303 a in FIG. 11 a , and the processes 150 2 and 1303 b in FIG. 11 b .
  • the process 1304 in FIG. 11 above is performed in support of the second device 2900.
  • FIG. 19a shows a possible structural diagram of the second device involved in the above embodiment.
  • the second device 3000 includes a processing module 3002 and a communication module 3003.
  • the processing module 3002 is configured to control manage the actions of the second device.
  • the processing module 3002 is configured to support the second device to perform the processes 1301, 1304 in FIG. 11 and/or other processes for the techniques described herein.
  • the communication module 3003 is configured to support communication of the second device with other network entities, such as communication with the first device.
  • the second device may further include a storage module 3001 for storing program codes and data of the second device.
  • the processing module 3002 may be a processor or a controller, and may be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication module 3003 may be a transceiver, a transceiver circuit, a communication interface, or the like.
  • the storage module 3001 may be a memory.
  • the processing module 3002 is a processor
  • the communication module 3003 is a transceiver
  • the storage module 3001 is a memory
  • the second device involved in the embodiment of the present application may be the second device shown in FIG. 19b.
  • the second device 3100 includes a processor 3101, a transceiver 3102, a memory 3103, and a bus 3104.
  • the transceiver 3102, the processor 3101, and the memory 3103 are connected to each other through a bus 3104.
  • the bus 3104 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. Wait.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • Wait The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 19b, but it does not mean that there is only one bus or one type of bus.
  • connection establishment system 3200 includes a first device 3201 and a second device 3202.
  • the first device 3201 and the second device 3202 are used to interact to implement the method shown in FIG. 11, FIG. 11a and FIG. 11b.
  • the steps of a method or algorithm described in connection with the present disclosure may be implemented in a hardware or may be implemented by a processor executing software instructions.
  • the software instructions may be composed of corresponding software modules, which may be stored in a random access memory (RAM), a flash memory, a read only memory (ROM), an erasable programmable read only memory ( Erasable Programmable ROM, EPROM), electrically erasable programmable only Read EP (EEPROM), registers, hard disk, removable hard disk, compact disk read only (CD-ROM) or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and the storage medium can be located in an ASIC.
  • the functions described herein can be implemented in hardware, software, firmware, or any combination thereof.
  • the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application relates to the field of communication technology. Provided is a connection establishment method and device, invented to solve a problem in the prior art that wearable devices only have few functions and an ease of use is thus undermined. An embodiment of the present application provides a connection establishment method. The method comprises: acquiring by a first device attribute data of a third device, and sending the attribute data to a second device; and receiving by the second device the attribute data sent by the first device and establishing, according to the attribute data, a connection with the third device. The second device comprises the wearable devices. The present application is applied in the process of using the wearable devices.

Description

一种连接建立方法及设备Connection establishment method and device 技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种连接建立方法及设备。The present application relates to the field of communications technologies, and in particular, to a connection establishing method and device.
背景技术Background technique
目前,随着通信技术的发展,可穿戴设备(wearable device)层出不穷。可穿戴设备是指能够直接穿在用户身上,或是整合到用户的衣服或配件的一种便携式设备。常见的可穿戴设备包括智能手表、手环,智能眼镜等。At present, with the development of communication technologies, wearable devices are emerging. A wearable device is a portable device that can be worn directly on the user or integrated into the user's clothing or accessories. Common wearable devices include smart watches, bracelets, smart glasses, and more.
可穿戴设备不仅仅是一种硬件设备,而且能够通过软件支持以及数据交互、云端交互来实现特定功能。但现有的可穿戴设备,受限于成本、产品形态等原因,导致其能够携带的硬件部件较少,使得可穿戴设备的功能受限,易用性较低。而如果通过增加硬件来增加可穿戴设备的功能,则会导致可穿戴设备的成本更加高,且需要改变可穿戴设备的硬件布局等,其实现复杂。A wearable device is more than just a hardware device, and it can implement specific functions through software support, data interaction, and cloud interaction. However, existing wearable devices are limited in cost, product form, and the like, resulting in fewer hardware components that can be carried, making the wearable device limited in function and low in usability. However, if the function of the wearable device is increased by adding hardware, the cost of the wearable device is higher, and the hardware layout of the wearable device needs to be changed, and the implementation is complicated.
发明内容Summary of the invention
本申请的实施例提供一种连接建立方法及设备,用以解决现有技术中存在的可穿戴设备功能较少带来的易用性较低的问题。The embodiment of the present application provides a method and a device for establishing a connection, which are used to solve the problem of low ease of use caused by less wearable device functions in the prior art.
第一方面,提供一种连接建立方法,该方法包括:第一设备获取第三设备的属性数据并向第二设备发送该属性数据。第二设备接收第一设备发送的所述属性数据并根据该属性数据与所述第三设备建立连接。其中,该第二设备包括可穿戴设备。In a first aspect, a connection establishment method is provided, the method comprising: acquiring, by a first device, attribute data of a third device and transmitting the attribute data to a second device. The second device receives the attribute data sent by the first device and establishes a connection with the third device according to the attribute data. The second device includes a wearable device.
上述方法中,第一设备获取第三设备的属性数据,并发送给第二设备,使得第二设备能够根据该属性数据与第三设备建立连接。这样,当作为可穿戴设备的第二设备由于缺乏硬件支持无法获取第三设备的属性数据时,“借助于”第一设备,第二设备能够获取第三设备的属性数据并根据该属性数据和第三设备建立连接。In the above method, the first device acquires the attribute data of the third device, and sends the attribute data to the second device, so that the second device can establish a connection with the third device according to the attribute data. In this way, when the second device as the wearable device cannot acquire the attribute data of the third device due to lack of hardware support, the second device can acquire the attribute data of the third device and according to the attribute data, by means of the first device. The third device establishes a connection.
第二方面,提供一种连接建立方法,该方法包括:第一设备和第二设备建立连接,第一设备获取第三设备的属性数据。该第一设备向与该第一设备连接的第二设备发送所述第三设备的属性数据,以便于所述第二设备根据所述第三设备的属性数据与第三设备建立连接。其中,该第二设备包括可穿戴设备。A second aspect provides a connection establishment method, where the method includes: establishing, by a first device, a connection with a second device, where the first device acquires attribute data of the third device. The first device sends the attribute data of the third device to the second device connected to the first device, so that the second device establishes a connection with the third device according to the attribute data of the third device. The second device includes a wearable device.
上述方法中,第一设备获取第三设备的属性数据,并发送给第二设备,使得第二设备能够根据该属性数据与第三设备建立连接。这样,当作为可穿戴设备的第二设备由于缺乏硬件支持无法获取第三设备的属性数据时,“借助于”第一设备,第二设备能够获取第三设备的属性数据并根据该属性数据和第三设备建立连接。In the above method, the first device acquires the attribute data of the third device, and sends the attribute data to the second device, so that the second device can establish a connection with the third device according to the attribute data. In this way, when the second device as the wearable device cannot acquire the attribute data of the third device due to lack of hardware support, the second device can acquire the attribute data of the third device and according to the attribute data, by means of the first device. The third device establishes a connection.
可选的,在第二方面的一种实现方式中,第一设备获取第三设备的属性数据包括:第一设备接收第二设备的指示信令,该指示信令用于指示所述第 一设备使能目标功能。第一设备根据所述第二设备的指示信令,通过所述目标功能获取所述第三设备的属性数据。Optionally, in an implementation manner of the second aspect, the acquiring, by the first device, the attribute data of the third device includes: the first device receiving the indication signaling of the second device, where the indication signaling is used to indicate the A device enables the target function. The first device acquires attribute data of the third device by using the target function according to the indication signaling of the second device.
上述实现方式中,第二设备向第一设备发送指示信令,触发第一设备在收到该指示信令后使能目标功能,并通过该目标功能获取第三设备的属性数据。可选的,在第二方面的另一种实现方式中,所述第一设备获取第三设备的属性数据,包括:所述第一设备接收用户输入的指示操作,所述指示操作用于指示所述第一设备使能目标功能;所述第一设备根据所述指示操作,获取所述第三设备的属性数据。In the foregoing implementation manner, the second device sends the indication signaling to the first device, triggering the first device to enable the target function after receiving the indication signaling, and acquiring the attribute data of the third device by using the target function. Optionally, in another implementation manner of the second aspect, the acquiring, by the first device, attribute data of the third device includes: the first device receiving an indication operation input by a user, where the indication operation is used to indicate The first device enables the target function; the first device acquires attribute data of the third device according to the indication operation.
上述实现方式中,用户操作第一设备,触发第一设备根据用户操作使能目标功能获取第三设备的属性数据,在第一设备获取第三设备的属性数据后,第一设备将第三设备的属性数据发送至第一设备。In the above implementation manner, the user operates the first device, and triggers the first device to obtain the attribute data of the third device according to the user operation enable target function. After the first device acquires the attribute data of the third device, the first device uses the third device. The attribute data is sent to the first device.
其中,上述两种实现方式中所指的目标功能为第一设备具有而第二设备不具有的功能。例如:扫描二维码的功能、与其他设备建立NFC连接的功能等。例如:第一设备获取第三设备的属性数据,包括:第一设备使能拍摄功能。第一设备通过该拍摄功能扫描第三设备的信息识别码,该信息识别码携带所述第三设备的属性数据。进而,第一设备解析该信息识别码得到第三设备的属性数据。The target function referred to in the foregoing two implementation manners is a function that the first device has and the second device does not. For example: the function of scanning a QR code, the function of establishing an NFC connection with other devices, and the like. For example, the first device acquires attribute data of the third device, including: the first device enables the shooting function. The first device scans the information identifier of the third device by using the photographing function, and the information identifier carries the attribute data of the third device. Further, the first device parses the information identification code to obtain attribute data of the third device.
又如:第一设备获取第三设备的属性数据,包括:第一设备与第三设备建立近场通信(near field communication,NFC)连接,第一设备通过已建立的所述NFC连接获取第三设备的属性数据。For example, the first device acquires the attribute data of the third device, and the first device establishes a near field communication (NFC) connection with the third device, and the first device acquires the third through the established NFC connection. The attribute data of the device.
第三方面,提供一种设备连接的方法,该方法包括:第二设备和第一设备建立连接。第二设备接收第一设备发送的第三设备的属性数据。该第二设备根据第三设备的属性数据,建立与第三设备的连接。In a third aspect, a method of device connection is provided, the method comprising: establishing a connection between a second device and a first device. The second device receives the attribute data of the third device sent by the first device. The second device establishes a connection with the third device according to the attribute data of the third device.
可选的,在第三方面的一种实现方式中,在第二设备接收第一设备发送的第三设备的属性数据之前,所述方法还包括:第二设备向第一设备发送指示信令,该指示信令用于指示第一设备使能目标功能。Optionally, in an implementation manner of the third aspect, before the second device receives the attribute data of the third device that is sent by the first device, the method further includes: the second device sending the indication signaling to the first device The indication signaling is used to indicate that the first device enables the target function.
上述方法,第二设备和第一设备建立连接后,第二设备接收第一设备发送的第三设备的属性数据,并根据该第三设备的属性数据和第三设备建立连接。这样,当作为可穿戴设备的第二设备由于缺乏硬件支持无法获取第三设备的属性数据时,“借助于”第一设备,第二设备能够获取第三设备的属性数据并根据该属性数据和第三设备建立连接。In the above method, after the second device establishes a connection with the first device, the second device receives the attribute data of the third device sent by the first device, and establishes a connection with the third device according to the attribute data of the third device. In this way, when the second device as the wearable device cannot acquire the attribute data of the third device due to lack of hardware support, the second device can acquire the attribute data of the third device and according to the attribute data, by means of the first device. The third device establishes a connection.
第四方面,提供一种身份验证方法,该方法包括:第一设备接收用户输入的第一生物特征信息。第一设备根据该第一生物特征信息,向第二设备发送第一数据。第二设备根据该第一数据,执行预设操作。In a fourth aspect, an identity verification method is provided, the method comprising: receiving, by a first device, first biometric information input by a user. The first device sends the first data to the second device according to the first biometric information. The second device performs a preset operation according to the first data.
可选的,第一设备在收到该第一生物特征信息后,一种实现方式为第一设备根据该第一生物特征信息对用户进行身份验证,并将身份验证结果以第一数据的形式发送给第二设备,进而第二设备在收到该第一数据后,根据该第一数据执行相应的操作。另一种实现方式为第一设备将该第一生物特征信息发送给第二设备,由第二设备根据该第一生物特征信息对用户进行身份验 证,并根据身份验证结果执行相应的操作。Optionally, after the first device receives the first biometric information, an implementation manner is that the first device performs identity verification on the user according to the first biometric information, and the identity verification result is in the form of the first data. Sending to the second device, the second device, after receiving the first data, performs a corresponding operation according to the first data. Another implementation manner is that the first device sends the first biometric information to the second device, and the second device performs the identity verification on the user according to the first biometric information. Proof and perform the appropriate actions based on the authentication results.
可见,上述方法中,第二设备能够“借助于”第一设备接收用户输入的生物特征信息,进而由第一设备或第二设备根据该生物特征信息对用户进行身份验证,并根据身份验证结果执行相应的操作。这样,作为可穿戴设备的第二设备即使不支持指纹识别、虹膜识别等生物识别技术,能够“借助于”第一设备实现利用生物特征对用户进行身份验证。It can be seen that, in the foregoing method, the second device can receive the biometric information input by the user by means of the first device, and then the first device or the second device authenticates the user according to the biometric information, and according to the identity verification result. Perform the appropriate action. In this way, even if the second device as the wearable device does not support biometric recognition technologies such as fingerprint recognition and iris recognition, it is possible to "identify" the user with the biometric feature by means of the first device.
第五方面,提供一种身份验证方法,该方法包括:第一设备和第二设备建立连接。该第一设备接收用户输入的第一生物特征信息。该第一设备根据该第一生物特征信息,向与第一设备连接的第二设备发送第一数据。In a fifth aspect, an authentication method is provided, the method comprising: establishing a connection between a first device and a second device. The first device receives first biometric information input by a user. The first device sends the first data to the second device connected to the first device according to the first biometric information.
上述方法中,第二设备能够“借助于”第一设备接收用户输入的生物特征信息,进而由第一设备或第二设备根据该生物特征信息对用户进行身份验证,并根据身份验证结果执行相应的操作。这样,作为可穿戴设备的第二设备即使不支持指纹识别、虹膜识别等生物识别技术,能够“借助于”第一设备实现利用生物特征对用户进行身份验证。In the above method, the second device can receive the biometric information input by the user by means of the first device, and then the first device or the second device authenticates the user according to the biometric information, and performs corresponding according to the identity verification result. Operation. In this way, even if the second device as the wearable device does not support biometric recognition technologies such as fingerprint recognition and iris recognition, it is possible to "identify" the user with the biometric feature by means of the first device.
可选的,在第五方面的一种实现方式中,在第一设备接收用户输入的第一生物特征信息之前,所述方法还包括:第一设备接收用户输入的第二生物特征信息并保存。相应的,第一设备根据第一生物特征信息,向与第一设备连接的第二设备发送第一数据,包括:第一设备根据该第一生物特征信息和第二生物特征信息对用户进行身份验证,确定用户的访问权限等级。进而,第一设备向第二设备发送第一数据,该第一数据用于表示用户的访问权限等级。Optionally, in an implementation manner of the fifth aspect, before the first device receives the first biometric information input by the user, the method further includes: the first device receiving the second biometric information input by the user and saving . Correspondingly, the first device sends the first data to the second device connected to the first device according to the first biometric information, including: the first device identifying the user according to the first biometric information and the second biometric information Verify and determine the user's access level. Further, the first device sends the first data to the second device, where the first data is used to indicate the access authority level of the user.
在该实现方式中,第一设备预存储了用户录入的第二生物识别特征信息。则当第一设备接收到用户输入的第一生物识别特征信息后,以该第二生物识别特征信息为参考,将第一生物识别特征信息与第二生物识别特征信息进行比较,进而对用户进行身份验证,得到用户的访问权限等级。进而,第一设备向第二设备发送用户的访问权限等级,使得第二设备根据用户的访问权限等级执行相应的操作。In this implementation, the first device pre-stores the second biometric feature information entered by the user. After the first device receives the first biometric feature information input by the user, using the second biometric feature information as a reference, comparing the first biometric feature information with the second biometric feature information, and then performing the user Authentication, get the user's access level. Further, the first device sends the access authority level of the user to the second device, so that the second device performs a corresponding operation according to the access authority level of the user.
可选的,在第五方面的一种实现方式中,在第一设备接收用户输入的第一生物特征信息之前,该方法还包括:第一设备接收用户输入的第二生物特征信息。第一设备向第二设备发送该第二生物特征信息以便于第二设备保存该第二生物特征信息。相应的,第一设备根据第一生物特征信息,向第二设备发送第一数据,包括:第一设备向所述第二设备发送该第一生物特征信息。Optionally, in an implementation manner of the fifth aspect, before the first device receives the first biometric information input by the user, the method further includes: the first device receiving the second biometric information input by the user. The first device sends the second biometric information to the second device, so that the second device saves the second biometric information. Correspondingly, the first device sends the first data to the second device according to the first biometric information, and the first device sends the first biometric information to the second device.
在该实现方式中,第一设备预先录入用户输入的第二生物特征信息并将该第二生物特征信息发送至第二设备由第二设备保存。这样,在第一设备接收到用户输入的第一生物特征信息后,第一设备将该第一生物特征信息发送给第二设备,由第二设备根据预存储的第二生物特征信息与第一生物特征信息对用户进行身份验证,并根据身份验证结果执行相应的操作。In this implementation, the first device pre-records the second biometric information input by the user and sends the second biometric information to the second device to be saved by the second device. In this way, after the first device receives the first biometric information input by the user, the first device sends the first biometric information to the second device, and the second device according to the pre-stored second biometric information and the first device. The biometric information authenticates the user and performs corresponding operations based on the authentication result.
第六方面,提供一种身份验证方法,该方法包括:第二设备和第一设备建立连接。该第二设备接收第一设备发送的第一数据。该第二设备根据所述 第一数据,执行预设操作。In a sixth aspect, an authentication method is provided, the method comprising: establishing, by a second device, a connection with a first device. The second device receives the first data sent by the first device. The second device is according to the The first data performs a preset operation.
上述方法中,第二设备能够“借助于”第一设备接收用户输入的生物特征信息,进而由第一设备或第二设备根据该生物特征信息对用户进行身份验证,并根据身份验证结果执行相应的操作。这样,作为可穿戴设备的第二设备即使不支持指纹识别、虹膜识别等生物识别技术,能够“借助于”第一设备实现利用生物特征对用户进行身份验证。In the above method, the second device can receive the biometric information input by the user by means of the first device, and then the first device or the second device authenticates the user according to the biometric information, and performs corresponding according to the identity verification result. Operation. In this way, even if the second device as the wearable device does not support biometric recognition technologies such as fingerprint recognition and iris recognition, it is possible to "identify" the user with the biometric feature by means of the first device.
可选的,在第六方面的一种实现方式中,第二设备接收所述第一设备发送的第一数据并根据所述第一数据,执行预设操作,包括:第二设备接收第一设备发送的第一数据,该第一数据用于表示所述用户的访问权限等级。第二设备根据所述用户的访问权限等级执行与所述访问权限等级对应的预设操作。Optionally, in an implementation manner of the sixth aspect, the second device receives the first data sent by the first device, and performs a preset operation according to the first data, where the second device receives the first The first data sent by the device, the first data is used to indicate the access authority level of the user. The second device performs a preset operation corresponding to the access authority level according to the access authority level of the user.
可选的,在第六方面的一种实现方式中,在第二设备接收第一设备发送的第一数据之前,所述方法还包括:第二设备接收第一设备发送的第二生物特征信息并保存第二生物特征信息。相应的,第二设备接收第一设备发送的第一数据并根据该第一数据,执行预设操作,包括:第二设备接收第一设备发送的第一生物特征信息。该第二设备根据该第一生物特征信息和第二生物特征信息对用户进行身份验证,当身份验证成功时,第二设备执行预设操作。Optionally, in an implementation manner of the sixth aspect, before the receiving, by the second device, the first data sent by the first device, the method further includes: receiving, by the second device, second biometric information sent by the first device And save the second biometric information. Correspondingly, the second device receives the first data sent by the first device, and performs a preset operation according to the first data, where the second device receives the first biometric information sent by the first device. The second device performs identity verification on the user according to the first biometric information and the second biometric information. When the identity verification is successful, the second device performs a preset operation.
第七方面,提供一种设备,该设备作为第一设备包括:连接单元,用于和第二设备建立连接,所述第二设备包括可穿戴设备。获取单元,用于获取第三设备的属性数据。发送单元,用于向所述第二设备发送所述第三设备的属性数据,以便于所述第二设备根据所述第三设备的属性数据与所述第三设备建立连接。In a seventh aspect, a device is provided, the device as a first device comprising: a connection unit for establishing a connection with a second device, the second device comprising a wearable device. The obtaining unit is configured to acquire attribute data of the third device. And a sending unit, configured to send the attribute data of the third device to the second device, so that the second device establishes a connection with the third device according to the attribute data of the third device.
在第七方面的一种实现方式中,所述获取单元,具体用于接收所述第二设备的指示信令,所述指示信令用于指示所述第一设备使能目标功能;根据所述第二设备的指示信令,通过所述目标功能获取所述第三设备的属性数据。In an implementation manner of the seventh aspect, the acquiring unit is specifically configured to receive the indication signaling of the second device, where the indication signaling is used to indicate that the first device enables a target function; The indication signaling of the second device is used to acquire attribute data of the third device by using the target function.
在第七方面的一种实现方式中,所述获取单元,具体用于接收用户输入的指示操作,所述指示操作用于指示所述第一设备使能目标功能;根据所述指示操作,获取所述第三设备的属性数据。In an implementation manner of the seventh aspect, the acquiring unit is configured to receive an indication operation input by a user, where the indication operation is used to indicate that the first device enables a target function; and according to the indication operation, obtain Attribute data of the third device.
可选的,在第七方面的一种实现方式中,所述获取单元,用于使能所述第一设备的拍摄功能;通过所述拍摄功能扫描所述第三设备的信息识别码,所述信息识别码携带所述第三设备的属性数据;解析所述信息识别码得到所述第三设备的属性数据。Optionally, in an implementation manner of the seventh aspect, the acquiring unit is configured to enable a photographing function of the first device, and scan an information identifier of the third device by using the photographing function. The information identification code carries attribute data of the third device; and the information identification code is parsed to obtain attribute data of the third device.
可选的,在第七方面的一种实现方式中,所述获取单元,用于通过所述连接单元与所述第三设备建立NFC连接;通过已建立的所述NFC连接获取所述第三设备的属性数据。Optionally, in an implementation manner of the seventh aspect, the acquiring unit is configured to establish an NFC connection with the third device by using the connecting unit, and obtain the third by using the established NFC connection. The attribute data of the device.
第八方面,提供一种设备,该设备作为第二设备包括:连接单元,用于和第一设备建立连接。接收单元,用于接收所述第一设备发送的第三设备的属性数据。所述连接单元,还用于根据所述接收单元接收的所述第三设备的属性数据,建立与所述第三设备的连接。 In an eighth aspect, a device is provided, the device as a second device comprising: a connection unit, configured to establish a connection with the first device. And a receiving unit, configured to receive attribute data of the third device that is sent by the first device. The connecting unit is further configured to establish a connection with the third device according to the attribute data of the third device received by the receiving unit.
可选的,在第八方面的一种实现方式中,所述设备还包括:发送单元,用于向所述第一设备发送指示信令,所述指示信令用于指示所述第一设备使能目标功能。Optionally, in an implementation manner of the eighth aspect, the device further includes: a sending unit, configured to send indication signaling to the first device, where the indication signaling is used to indicate the first device Enable target function.
第九方面,提供一种设备,该设备作为第一设备包括:连接单元,用于和第二设备建立连接。接收单元,用于接收用户输入的第一生物特征信息。发送单元,用于根据所述第一生物特征信息,向与所述第一设备连接的所述第二设备发送第一数据。In a ninth aspect, a device is provided, the device as a first device comprising: a connection unit, configured to establish a connection with the second device. And a receiving unit, configured to receive first biometric information input by the user. And a sending unit, configured to send the first data to the second device connected to the first device according to the first biometric information.
可选的,在第九方面的一种实现方式中,所述接收单元,还用于接收用户输入的第二生物特征信息并保存。所述发送单元,还用于根据所述第一生物特征信息和所述第二生物特征信息对用户进行身份验证,确定所述用户的访问权限等级;向所述第二设备发送第一数据,所述第一数据用于表示所述用户的访问权限等级。Optionally, in an implementation manner of the ninth aspect, the receiving unit is further configured to receive and save the second biometric information input by the user. The sending unit is further configured to perform identity verification on the user according to the first biometric information and the second biometric information, determine an access permission level of the user, and send the first data to the second device. The first data is used to indicate an access authority level of the user.
可选的,在第九方面的一种实现方式中,所述接收单元,还用于接收用户输入的第二生物特征信息;所述发送单元,还用于向所述第二设备发送所述第二生物特征信息以便于所述第二设备保存所述第二生物特征信息;所述发送单元,还用于向所述第二设备发送所述第一生物特征信息。Optionally, in an implementation manner of the ninth aspect, the receiving unit is further configured to receive second biometric information input by a user, where the sending unit is further configured to send the The second biometric information is configured to facilitate the saving, by the second device, the second biometric information; the sending unit is further configured to send the first biometric information to the second device.
第十方面,提供一种设备,该设备作为第二设备包括:连接单元,用于和第一设备建立连接。接收单元,用于接收所述第一设备发送的第一数据。处理单元,用于根据所述接收单元接收的所述第一数据,执行预设操作。In a tenth aspect, a device is provided, the device as a second device comprising: a connection unit, configured to establish a connection with the first device. And a receiving unit, configured to receive the first data sent by the first device. And a processing unit, configured to perform a preset operation according to the first data received by the receiving unit.
在第十方面的一种实现方式中,所述接收单元,还用于接收所述第一设备发送的第一数据,所述第一数据用于表示所述用户的访问权限等级。所述处理单元,还用于根据所述用户的访问权限等级执行与所述访问权限等级对应的预设操作。In an implementation manner of the tenth aspect, the receiving unit is further configured to receive first data sent by the first device, where the first data is used to indicate an access permission level of the user. The processing unit is further configured to perform a preset operation corresponding to the access permission level according to the access authority level of the user.
可选的,在第十方面的一种实现方式中,所述接收单元,还用于接收所述第一设备发送的第二生物特征信息并保存所述第二生物特征信息。所述接收单元,还用于接收所述第一设备发送的第一生物特征信息。所述处理单元,还用于根据所述第一生物特征信息和所述第二生物特征信息进行身份验证,当身份验证成功时,执行预设操作。Optionally, in an implementation manner of the tenth aspect, the receiving unit is further configured to receive the second biometric information sent by the first device and save the second biometric information. The receiving unit is further configured to receive first biometric information sent by the first device. The processing unit is further configured to perform identity verification according to the first biometric information and the second biometric information, and when the identity verification is successful, perform a preset operation.
第十一方面,提供一种设备,所述设备作为第一设备包括收发器、一个或多个处理器和存储器,所述存储器用于存储计算机程序代码,所述计算机程序代码包括指令,当所述一个或多个处理器执行所述指令时,所述设备执行上述第二方面所述的方法。In an eleventh aspect, a device is provided as a first device comprising a transceiver, one or more processors and a memory, the memory for storing computer program code, the computer program code comprising instructions When the one or more processors execute the instructions, the apparatus performs the method described in the second aspect above.
第十二方面,提供一种设备,所述设备作为第二设备包括收发器、一个或多个处理器和存储器,所述存储器用于存储计算机程序代码,所述计算机程序代码包括指令,当所述一个或多个处理器执行所述指令时,所述设备执行上述第三方面所述的方法。In a twelfth aspect, a device is provided as a second device comprising a transceiver, one or more processors and a memory, the memory for storing computer program code, the computer program code comprising instructions When the one or more processors execute the instructions, the apparatus performs the method described in the third aspect above.
第十三方面,提供一种连接建立系统,该系统包括第十一方面所述的第一设备、第十三方面的所述的第二设备和第三设备,所述第一设备用于获取所述第三设备的属性数据,并向所述第二设备发送所述属性数据;所述第二设备用于根据所述第三 设备的属性数据和所述第三设备建立连接。According to a thirteenth aspect, a connection establishment system is provided, the system comprising the first device according to the eleventh aspect, the second device and the third device of the thirteenth aspect, the first device is configured to acquire Attribute data of the third device, and sending the attribute data to the second device; the second device is configured to use the third device The attribute data of the device establishes a connection with the third device.
第十四方面,提供一种设备,所述设备作为第一设备包括收发器、一个或多个处理器和存储器,所述存储器用于存储计算机程序代码,所述计算机程序代码包括指令,当所述一个或多个处理器执行所述指令时,所述设备执行上述第五方面所述的方法。In a fourteenth aspect, a device is provided as a first device comprising a transceiver, one or more processors and a memory, the memory for storing computer program code, the computer program code comprising instructions When the one or more processors execute the instructions, the apparatus performs the method described in the fifth aspect above.
第十五方面,提供一种设备,所述设备作为第二设备包括收发器、一个或多个处理器和存储器,所述存储器用于存储计算机程序代码,所述计算机程序代码包括指令,当所述一个或多个处理器执行所述指令时,所述设备执行如第六方面所述的方法。In a fifteenth aspect, a device is provided as a second device comprising a transceiver, one or more processors and a memory, the memory for storing computer program code, the computer program code comprising instructions When the one or more processors execute the instructions, the apparatus performs the method as described in the sixth aspect.
第十六方面,提供一种身份验证系统,所述系统包括第十四方面所述的第一设备和第十五方面所述的第二设备。In a sixteenth aspect, an identity verification system is provided, the system comprising the first device of the fourteenth aspect and the second device of the fifteenth aspect.
第十七方面,提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第二方面所述的方法。In a seventeenth aspect, a computer readable storage medium is provided, the instructions being stored in the computer readable storage medium, when executed on a computer, causing the computer to perform the method of the second aspect described above.
第十八方面,提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第三方面所述的方法。In a eighteenth aspect, a computer readable storage medium is provided, the instructions being stored in the computer readable storage medium, when executed on a computer, causing the computer to perform the method described in the third aspect above.
第十九方面,提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第五方面所述的方法。In a nineteenth aspect, a computer readable storage medium is provided, the instructions being stored in the computer readable storage medium, when executed on a computer, causing the computer to perform the method described in the fifth aspect above.
第二十方面,提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第六方面所述的方法。In a twentieth aspect, a computer readable storage medium is provided, the instructions being stored in the computer readable storage medium, when executed on a computer, causing the computer to perform the method described in the sixth aspect above.
第二十一方面,提供一种计算机程序产品,所述计算机程序产品包含指令,当其在计算机上运行时,使得计算机执行上述第二方面所述的方法。In a twenty-first aspect, a computer program product is provided, the computer program product comprising instructions, when executed on a computer, causing the computer to perform the method of the second aspect described above.
第二十二方面,提供一种计算机程序产品,所述计算机程序产品包含指令,当其在计算机上运行时,使得计算机执行上述第三方面所述的方法。In a twenty-second aspect, a computer program product is provided, the computer program product comprising instructions, when executed on a computer, causing the computer to perform the method of the third aspect described above.
第二十三方面,提供一种计算机程序产品,所述计算机程序产品包含指令,当其在计算机上运行时,使得计算机执行上述第五方面所述的方法。In a twenty-third aspect, a computer program product is provided, the computer program product comprising instructions, when executed on a computer, causing the computer to perform the method of the fifth aspect described above.
第二十四方面,提供一种计算机程序产品,所述计算机程序产品包含指令,当其在计算机上运行时,使得计算机执行上述第六方面所述的方法。In a twenty-fourth aspect, a computer program product is provided, the computer program product comprising instructions, when executed on a computer, causing a computer to perform the method of the sixth aspect described above.
附图说明DRAWINGS
图1为一种由智能手表、手机、智能台灯组成的连接建立系统的组成示意图;1 is a schematic diagram of a composition of a connection establishment system composed of a smart watch, a mobile phone, and a smart desk lamp;
图2为手机的一种结构示意图;2 is a schematic structural view of a mobile phone;
图3为智能手表的一种结构示意图;3 is a schematic structural view of a smart watch;
图4为本申请实施例提供的一种连接建立方法的流程示意图;4 is a schematic flowchart of a connection establishment method according to an embodiment of the present application;
图4a为本申请实施例提供的另一种连接建立方法的流程示意图;FIG. 4 is a schematic flowchart of another connection establishment method according to an embodiment of the present application;
图4b为本申请实施例提供的另一种连接建立方法的流程示意图;FIG. 4b is a schematic flowchart of another connection establishment method according to an embodiment of the present application;
图5为本申请实施例提供的连接建立方法应用于图1所示的系统中的具体实现过程示意图;FIG. 5 is a schematic diagram of a specific implementation process of the connection establishment method provided in the system shown in FIG. 1 according to an embodiment of the present application;
图5a为本申请实施例提供的用户操作智能手表触发手机开启扫描二维码的功能以获取其他设备的属性数据的过程示意图; FIG. 5 is a schematic diagram of a process for a user to operate a smart watch to trigger a function of the mobile phone to scan a two-dimensional code to obtain attribute data of other devices according to an embodiment of the present disclosure;
图5b为本申请实施例提供的用户操作手机以触发手机开启扫描二维码的功能以获取智能台灯的属性数据的过程示意图;FIG. 5 is a schematic diagram of a process for a user to operate a mobile phone to trigger a function of the mobile phone to scan a two-dimensional code to obtain attribute data of a smart desk lamp according to an embodiment of the present disclosure;
图5c为本申请实施例提供的用户操作手机上安装的应用程序以触发手机开启扫描二维码的功能获取智能台灯的属性数据的过程示意图;FIG. 5 is a schematic diagram of a process for acquiring an attribute of data of a smart desk lamp by a user operating an application installed on a mobile phone to trigger a function of scanning a two-dimensional code by a mobile phone according to an embodiment of the present disclosure;
图6a为本申请实施例提供的智能手表在与智能台灯建立蓝牙连接时在智能手表上显示提示消息的界面示意图;6a is a schematic diagram of an interface for displaying a prompt message on a smart watch when a smart watch establishes a Bluetooth connection with a smart desk lamp according to an embodiment of the present disclosure;
图6b为本申请实施例提供的智能手表在与智能台灯建立蓝牙连接时在智能手机上显示提示消息的界面男示意图;6b is a schematic diagram of an interface for displaying a prompt message on a smart phone when a smart watch establishes a Bluetooth connection with a smart desk lamp according to an embodiment of the present disclosure;
图7为本申请实施例提供的用户操作智能手表触发手机1开启NFC功能以获取手机2的属性数据的过程示意图;FIG. 7 is a schematic diagram of a process for a user operating a smart watch to trigger the mobile phone 1 to enable an NFC function to obtain attribute data of the mobile phone 2 according to an embodiment of the present disclosure;
图8为本申请实施例提供的用户操作手机以触发智能手表和其他手机快速建立蓝牙连接的过程示意图;FIG. 8 is a schematic diagram of a process for a user to operate a mobile phone to trigger a smart watch and other mobile phones to quickly establish a Bluetooth connection according to an embodiment of the present application; FIG.
图9为本申请实施例提供的用户操作手机以触发智能手表和其他无线接入点快速建立Wi-Fi连接的过程示意图;FIG. 9 is a schematic diagram of a process for a user to operate a mobile phone to trigger a smart watch and other wireless access points to quickly establish a Wi-Fi connection according to an embodiment of the present application;
图10为本申请实施例提供的智能手表和手机组成的身份验证系统的组成示意图;FIG. 10 is a schematic structural diagram of an identity verification system composed of a smart watch and a mobile phone according to an embodiment of the present application;
图11为本申请实施例提供的一种身份验证方法的流程示意图;FIG. 11 is a schematic flowchart diagram of an identity verification method according to an embodiment of the present application;
图11a为本申请实施例提供的另一种身份验证方法的流程示意图;FIG. 11 is a schematic flowchart of another identity verification method according to an embodiment of the present application;
图11b为本申请实施例提供的再一种身份验证方法的流程示意图;FIG. 11b is a schematic flowchart of still another method for authenticating an identity according to an embodiment of the present disclosure;
图12为本申请实施例提供的一种在手机上为智能手表录入指纹的界面示意图;FIG. 12 is a schematic diagram of an interface for entering a fingerprint for a smart watch on a mobile phone according to an embodiment of the present application;
图13为本申请实施例提供的一种用户1在手机上输入指纹后,智能手表显示的界面示意图;FIG. 13 is a schematic diagram of an interface displayed by a smart watch after a user 1 inputs a fingerprint on a mobile phone according to an embodiment of the present disclosure;
图14为本申请实施例提供的一种用户2在手机上输入指纹后,智能手表显示的界面示意图;FIG. 14 is a schematic diagram of an interface displayed by a smart watch after a user 2 inputs a fingerprint on a mobile phone according to an embodiment of the present application;
图15为本申请实施例提供的一种第一设备的结构示意图;FIG. 15 is a schematic structural diagram of a first device according to an embodiment of the present disclosure;
图15a为本申请实施例提供的另一种第一设备的结构示意图;FIG. 15 is a schematic structural diagram of another first device according to an embodiment of the present disclosure;
图15b为本申请实施例提供的又一种第一设备的结构示意图;FIG. 15b is a schematic structural diagram of still another first device according to an embodiment of the present application;
图16为本申请实施例提供的一种第二设备的结构示意图;FIG. 16 is a schematic structural diagram of a second device according to an embodiment of the present disclosure;
图16a为本申请实施例提供的另一种第二设备的结构示意图;FIG. 16 is a schematic structural diagram of another second device according to an embodiment of the present disclosure;
图16b为本申请实施例提供的又一种第二设备的结构示意图;FIG. 16b is a schematic structural diagram of still another second device according to an embodiment of the present disclosure;
图17为本申请实施例提供的一种连接建立系统的结构示意图;FIG. 17 is a schematic structural diagram of a connection establishment system according to an embodiment of the present application;
图18为本申请实施例提供的一种第一设备的结构示意图;FIG. 18 is a schematic structural diagram of a first device according to an embodiment of the present disclosure;
图18a为本申请实施例提供的另一种第一设备的结构示意图;FIG. 18 is a schematic structural diagram of another first device according to an embodiment of the present disclosure;
图18b为本申请实施例提供的又一种第一设备的结构示意图;FIG. 18b is a schematic structural diagram of still another first device according to an embodiment of the present application;
图19为本申请实施例提供的一种第二设备的结构示意图;FIG. 19 is a schematic structural diagram of a second device according to an embodiment of the present disclosure;
图19a为本申请实施例提供的另一种第二设备的结构示意图;FIG. 19 is a schematic structural diagram of another second device according to an embodiment of the present disclosure;
图19b为本申请实施例提供的又一种第二设备的结构示意图;FIG. 19b is a schematic structural diagram of still another second device according to an embodiment of the present application;
图20为本申请实施例提供的一种身份验证系统的结构示意图。 FIG. 20 is a schematic structural diagram of an identity verification system according to an embodiment of the present application.
具体实施方式detailed description
本申请实施例提供一种连接建立系统,如图1所示,该系统包括:第一设备101、第二设备102和第三设备103。所述第一设备101和所述第二设备102建立第一连接,所述第一设备101和第三设备103建立第二连接。上述第一连接和第二连接的连接方式包括但不限于:蓝牙(Bluetooth,BT)连接、无线保真(Wireless-Fidelity,Wi-Fi)连接、通用串行总线(Universal Serial Bus,USB)连接等。The embodiment of the present application provides a connection establishment system. As shown in FIG. 1 , the system includes: a first device 101, a second device 102, and a third device 103. The first device 101 and the second device 102 establish a first connection, and the first device 101 and the third device 103 establish a second connection. The connection manners of the foregoing first connection and the second connection include, but are not limited to, a Bluetooth (BT) connection, a Wireless-Fidelity (Wi-Fi) connection, and a Universal Serial Bus (USB) connection. Wait.
其中,所述第一设备101为手机、平板电脑、笔记本电脑、超级移动个人计算机、上网本、个人数字助理等设备。所述第二设备102为智能手表、手环等可穿戴设备,还可以为其他设备。本申请实施例中所指的第一设备101支持的硬件较多,能够实现的功能较多。第二设备102支持的硬件有限,其能实现的功能有限。第三设备103的属性数据以特定图像或特定格式存在,其他设备需要先解析该特定图像或特定格式后才能获取第三设备103的属性数据,并根据该属性数据和第三设备103建立连接。第三设备103具体可以为手机,也可以为其他可穿戴设备,还可以为智能台灯、智能冰箱等智能家居设备。实际应用中,第一设备101通过所支持的目标硬件能够获取所述特定图像,并解析所述特定图像后获取第三设备103的属性数据,进而根据该属性数据和第三设备103建立连接。但所述第二设备102由于不支持所述目标硬件,无法获取所述特定图像,进而无法获取第三设备103的属性数据,则所述第二设备102无法和所述第三设备103建立连接。The first device 101 is a mobile phone, a tablet computer, a notebook computer, a super mobile personal computer, a netbook, a personal digital assistant, and the like. The second device 102 is a wearable device such as a smart watch or a wristband, and may also be other devices. The first device 101 referred to in the embodiment of the present application supports more hardware and can implement more functions. The second device 102 supports a limited amount of hardware, which has limited functionality. The attribute data of the third device 103 exists in a specific image or a specific format. The other device needs to parse the specific image or the specific format to acquire the attribute data of the third device 103, and establish a connection with the third device 103 according to the attribute data. The third device 103 may be a mobile phone or other wearable device, and may also be a smart home device such as a smart desk lamp or a smart refrigerator. In an actual application, the first device 101 can acquire the specific image by using the supported target hardware, and obtain the attribute data of the third device 103 after parsing the specific image, and then establish a connection with the third device 103 according to the attribute data. The second device 102 cannot establish the connection with the third device 103 because the second device 102 cannot obtain the specific image and cannot obtain the attribute data of the third device 103. .
以第一设备101为手机为例,如图2所示,该手机200包括:射频(radio frequency,RF)电路210、存储器220、输入单元230、通信模块240、处理器250、电源260、显示单元270、拍摄单元280、指纹识别传感器281、NFC单元282、音频电路290等部件。本领域技术人员可以理解,图2中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Taking the first device 101 as a mobile phone as an example, as shown in FIG. 2, the mobile phone 200 includes: a radio frequency (RF) circuit 210, a memory 220, an input unit 230, a communication module 240, a processor 250, a power supply 260, and a display. The unit 270, the photographing unit 280, the fingerprint recognition sensor 281, the NFC unit 282, the audio circuit 290, and the like. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 2 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
下面分别对手机200的各功能组件进行介绍:The following describes each functional component of the mobile phone 200:
其中,RF电路210可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器250处理;另外,将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(low noise amplifier,LNA)、双工器等。此外,RF电路210还可以通过通信模块240提供的无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(global system of mobile communication,GSM)、通用分组无线服务(general packet radio service,GPRS)、码分多址(code division multiple access,CDMA)、宽带码分多址(wideband code division multiple access,WCDMA)、长期演进(long term evolution,LTE)、电子邮件、短消息服务(short messaging service,SMS)等。The RF circuit 210 can be used for receiving and transmitting signals during the transmission and reception of information or during a call. Specifically, after receiving the downlink information of the base station, the RF 250 is processed by the processor 250. In addition, the uplink data is sent to the base station. Generally, RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 210 can also communicate with the network and other devices via wireless communications provided by communication module 240. The wireless communication may use any communication standard or protocol, including but not limited to global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (code) Division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), e-mail, short messaging service (SMS), and the like.
存储器220可用于存储软件程序以及模块,该处理器250通过运行存储 在存储器220的软件程序以及模块,从而执行手机200的各种功能应用以及数据处理。存储器220可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(Application,APP)等,比如声音播放功能、图像播放功能等;存储数据区可存储根据手机200的使用所创建的数据(比如音频数据、图像数据、电话本等)等。此外,存储器220可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 220 can be used to store software programs and modules, the processor 250 running the storage The software programs and modules in the memory 220 thereby perform various functional applications and data processing of the mobile phone 200. The memory 220 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application (Application, APP) and the like required for at least one function, such as a sound playing function, an image playing function, and the like; and storing the data. The area may store data (such as audio data, image data, phone book, etc.) created according to the use of the mobile phone 200, and the like. Moreover, memory 220 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元230可用于接收输入的数字或字符信息,以及产生与手机200的用户设置以及功能控制有关的键信号输入。具体地,输入单元230可包括触摸屏231以及其他输入设备232。触摸屏231,也称为触控面板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触摸屏231上或在触摸屏231附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触摸屏231可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器250,并能接收处理器250发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触摸屏231。除了触摸屏231,输入单元230还可以包括其他输入设备232。具体地,其他输入设备232可以包括但不限于物理键盘、功能键(比如音量控制按键、电源开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 230 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the handset 200. Specifically, the input unit 230 may include a touch screen 231 and other input devices 232. The touch screen 231, also referred to as a touch panel, can collect touch operations on or near the user (such as the user's operation on or near the touch screen 231 using any suitable object or accessory such as a finger, a stylus, etc.), and The corresponding connecting device is driven according to a preset program. Alternatively, the touch screen 231 may include two parts of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 250 is provided and can receive commands from the processor 250 and execute them. In addition, the touch screen 231 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch screen 231, the input unit 230 may also include other input devices 232. Specifically, other input devices 232 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, power switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元270可用于显示由用户输入的信息或提供给用户的信息以及手机200的各种菜单。显示单元270可包括显示面板271,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板271。进一步的,触摸屏231可覆盖显示面板271,当触摸屏231检测到在其上或附近的触摸操作后,传送给处理器250以确定触摸事件的类型,随后处理器250根据触摸事件的类型在显示面板271上提供相应的视觉输出。虽然在图3中,触摸屏231与显示面板271是作为两个独立的部件来实现手机200的输入和输入功能,但是在某些实施例中,可以将触摸屏231与显示面板271集成而实现手机200的输入和输出功能。The display unit 270 can be used to display information input by the user or information provided to the user and various menus of the mobile phone 200. The display unit 270 can include a display panel 271. Alternatively, the display panel 271 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch screen 231 can cover the display panel 271, and when the touch screen 231 detects a touch operation on or near it, it is transmitted to the processor 250 to determine the type of the touch event, and then the processor 250 displays the panel according to the type of the touch event. A corresponding visual output is provided on the 271. Although in FIG. 3, the touch screen 231 and the display panel 271 are implemented as two separate components to implement the input and input functions of the mobile phone 200, in some embodiments, the touch screen 231 may be integrated with the display panel 271 to implement the mobile phone 200. Input and output functions.
拍摄单元280用于采集图像,并将采集的图像发送给处理器250,由处理器250对拍摄单元280采集的图像进行处理。可选的,拍摄单元280包括照相机等。The photographing unit 280 is configured to collect an image, and send the acquired image to the processor 250, and the image collected by the photographing unit 280 is processed by the processor 250. Alternatively, the photographing unit 280 includes a camera or the like.
音频电路290、扬声器291、麦克风292可提供用户与手机200之间的音频接口。音频电路290可将接收到的音频数据转换后的电信号,传输到扬声器291,由扬声器291转换为声音信号输出;另一方面,麦克风292将收集的声音信号转换为电信号,由音频电路290接收后转换为音频数据,再将音频数据输出至RF电路210以发送给比如另一手机,或者将音频数据输出至存储 器220以便进一步处理。 Audio circuitry 290, speaker 291, microphone 292 can provide an audio interface between the user and handset 200. The audio circuit 290 can transmit the converted electrical data of the received audio data to the speaker 291 for conversion to the sound signal output by the speaker 291; on the other hand, the microphone 292 converts the collected sound signal into an electrical signal by the audio circuit 290. After receiving, it is converted into audio data, and then the audio data is output to the RF circuit 210 for transmission to, for example, another mobile phone, or the audio data is output to the storage. The device 220 is for further processing.
处理器250是手机200的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器220内的软件程序和/或模块,以及调用存储在存储器220内的数据,执行手机200的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器250可包括一个或多个处理单元;可选的,处理器250可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器250中。The processor 250 is the control center of the handset 200, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 220, and recalling data stored in the memory 220, The various functions and processing data of the mobile phone 200 are executed to perform overall monitoring of the mobile phone. Optionally, the processor 250 may include one or more processing units; optionally, the processor 250 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and an application. Etc. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 250.
手机200还包括给各个部件供电的电源260(比如电池),可选的,电源可以通过电源管理系统与处理器250逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone 200 also includes a power source 260 (such as a battery) for supplying power to various components. Alternatively, the power source can be logically connected to the processor 250 through the power management system to manage functions such as charging, discharging, and power management through the power management system. .
尽管未示出,手机200还包括重力传感器(gravity sensor)、光传感器、红外线传感器等传感器。具体地,重力传感器可以检测手机在各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。光传感器可包括环境光传感器及接近光传感器。其中,环境光传感器可根据环境光线的明暗来调节显示面板231的亮度;接近光传感器可以检测是否有物体靠近或接触手机,可在手机200移动到耳边时,关闭显示面板231和/或背光。此外,手机200还可配置天线、Wi-Fi模块、近场通信(near field communication,NFC)单元282、蓝牙模块、扬声器、加速计、陀螺仪、气压计、湿度计、温度计。手机200还可配置用于实现生物识别的传感器,如指纹识别传感器281、虹膜识别传感器等,在此不再赘述。Although not shown, the handset 200 also includes sensors such as a gravity sensor, a light sensor, an infrared sensor, and the like. Specifically, the gravity sensor can detect the magnitude of the acceleration of the mobile phone in various directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetic force). (posture calibration), vibration recognition related functions (such as pedometer, tapping). The light sensor can include an ambient light sensor and a proximity light sensor. The ambient light sensor can adjust the brightness of the display panel 231 according to the brightness of the ambient light; the proximity light sensor can detect whether an object approaches or contacts the mobile phone, and can close the display panel 231 and/or the backlight when the mobile phone 200 moves to the ear. . In addition, the mobile phone 200 can also be equipped with an antenna, a Wi-Fi module, a near field communication (NFC) unit 282, a Bluetooth module, a speaker, an accelerometer, a gyroscope, a barometer, a hygrometer, and a thermometer. The mobile phone 200 can also be configured with a sensor for implementing biometric identification, such as a fingerprint recognition sensor 281, an iris recognition sensor, etc., and details are not described herein.
以第二设备102为智能手表为例,如图3所示,智能手表300包括:相互连接的表体和腕带,其中表体可以包括前壳(图3未示出)、触控面板301(又称触摸屏)、显示屏302、底壳(图3未示出),以及处理器303、微控制单元(micro control unit,MCU)304、存储器305、麦克风(microphone,MIC)306、蓝牙模块308、心率检测传感器310、电源312和电源管理系统313等,尽管未示出,智能手表还可以包括天线、WiFi模块、GPS模块、扬声器、加速计、陀螺仪等。本领域技术人员可以理解,图3中示出的智能手表结构并不构成对智能手表的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Taking the second device 102 as a smart watch as an example, as shown in FIG. 3, the smart watch 300 includes: a body and a wristband connected to each other, wherein the watch body may include a front case (not shown in FIG. 3), and the touch panel 301. (also known as touch screen), display 302, bottom case (not shown in FIG. 3), and processor 303, micro control unit (MCU) 304, memory 305, microphone (MIC) 306, Bluetooth module 308, heart rate detecting sensor 310, power source 312 and power management system 313, etc., although not shown, the smart watch may also include an antenna, a WiFi module, a GPS module, a speaker, an accelerometer, a gyroscope, and the like. Those skilled in the art will appreciate that the smart watch structure illustrated in FIG. 3 does not constitute a limitation to a smart watch, may include more or fewer components than illustrated, or combine some components, or different component arrangements.
下面分别对智能手表300的各功能组件进行介绍:The following describes the functional components of the smart watch 300:
触控面板301,也称为触摸屏,可收集手表用户在其上的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或在触控面板附近的操作),并根据预先设定的程式驱动响应的连接装置。可选的,触控面板301可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送 给处理器303,并能接收处理器303发送的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板。除了触控面板301之外,智能手表还可以包括其他输入设备,其他输入设备可以包括但不限于功能键(比如音量控制按键、开关按键等)。The touch panel 301, also referred to as a touch screen, can collect touch operations on the watch user (such as a user using a finger, a stylus, or the like, any suitable object or accessory on or near the touch panel). And the connected device is driven according to a preset program. Optionally, the touch panel 301 can include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 303 is provided and can receive commands sent by the processor 303 and execute them. In addition, touch panels can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 301, the smart watch may also include other input devices, and other input devices may include, but are not limited to, function keys (such as volume control buttons, switch buttons, etc.).
显示屏302可用于显示由用户输入的信息或提供给用户的信息以及手表的各种菜单。可选的,可以采用LCD、OLED等形式来配置显示屏302。进一步的,触控面板301可覆盖显示屏302,当触控面板301检测到在其上或附近的触摸操作后,传送给处理器303以确定触摸事件的类型,随后处理器303根据触摸事件的类型在显示屏302上提供相应的视觉输出。虽然在图3中,触控面板301与显示屏302是作为两个独立的部件来实现手表的输入和输出功能,但是在某些实施例中,可以将触控面板301与显示屏302集成而实现手表的输入和输出功能。 Display screen 302 can be used to display information entered by the user or information provided to the user as well as various menus of the watch. Optionally, the display 302 can be configured in the form of an LCD, an OLED, or the like. Further, the touch panel 301 can cover the display screen 302. When the touch panel 301 detects a touch operation on or near the touch panel 301, it transmits to the processor 303 to determine the type of the touch event, and then the processor 303 according to the touch event. The type provides a corresponding visual output on display screen 302. Although in FIG. 3, the touch panel 301 and the display screen 302 function as two separate components to implement the input and output functions of the watch, in some embodiments, the touch panel 301 can be integrated with the display screen 302. Achieve the input and output functions of the watch.
处理器303用于进行系统调度,控制显示屏、触摸屏,支持处理麦克风306、一个或多个薄膜致动器,蓝牙模块308等。The processor 303 is configured to perform system scheduling, control the display screen, touch screen, support processing microphone 306, one or more thin film actuators, Bluetooth module 308, and the like.
麦克风306,也称为传声器。麦克风306可以将收集的声音信号转换为电信号,由音频电路接收后转换为音频数据;音频电路也可以将音频数据转换为电信号,传输到扬声器,由扬声器转换为声音信号输出。A microphone 306, also known as a microphone. The microphone 306 can convert the collected sound signal into an electrical signal, which is received by the audio circuit and converted into audio data; the audio circuit can also convert the audio data into an electrical signal, which is transmitted to a speaker and converted into a sound signal output by the speaker.
蓝牙模块308,智能手表通过蓝牙模块308可以与其他电子设备(如手机、平板电脑等)交互信息,并通过上述电子设备连接网络,与服务器连接,处理语音识别等功能。The Bluetooth module 308 can exchange information with other electronic devices (such as mobile phones, tablet computers, etc.) through the Bluetooth module 308, and connect to the network through the above electronic devices, and connect with the server to process functions such as voice recognition.
微控制单元304用于控制传感器,对传感器数据进行运算,与处理器303通信等功能。The micro control unit 304 is used to control the sensor, perform operations on the sensor data, and communicate with the processor 303.
传感器可以是心率检测传感器310、气压传感器、重力传感器、光传感器、运动传感器或其他传感器。具体地,光传感器可包括环境光传感器及接近传感器。至于手表还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The sensor can be a heart rate detection sensor 310, a barometric pressure sensor, a gravity sensor, a light sensor, a motion sensor, or other sensor. In particular, the light sensor can include an ambient light sensor and a proximity sensor. Other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like which are also configurable in the watch will not be described here.
存储器305用于存储软件程序以及数据,处理器303通过运行存储在存储器的软件程序以及数据,执行手表的各种功能应用以及数据处理。存储器305主要包括存储程序区以及存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等);存储数据区可以存储根据使用手表所创建的数据(比如音频数据、电话本等)。此外,存储器可以包括高速随机存取存储器,还可以包括非易失存储器,例如磁盘存储器件、闪存器件或其他易失性固态存储器件。The memory 305 is used to store software programs and data, and the processor 303 executes various functional applications and data processing of the watch by running software programs and data stored in the memory. The memory 305 mainly includes a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.); the storage data area can be stored according to the use of the watch. The data created (such as audio data, phone book, etc.). Further, the memory may include a high speed random access memory, and may also include a nonvolatile memory such as a magnetic disk storage device, a flash memory device, or other volatile solid state storage device.
智能手表300还包括给各个部件供电的电源312(比如电池),可选的,电源312可以通过电源管理系统313与处理器303逻辑相连,从而通过电源管理系统313实现管理充电、放电、以及功耗管理等功能。The smart watch 300 also includes a power source 312 (such as a battery) that supplies power to the various components. Alternatively, the power source 312 can be logically coupled to the processor 303 via the power management system 313 to manage charging, discharging, and power through the power management system 313. Consumption management and other functions.
可见,目前的大部分手机支持蓝牙、NFC、相机、红外线传感器、指纹识别传感器、虹膜识别传感器等硬件,能够实现扫描二维码、与其他设备建立NFC连接、指纹识别、虹膜识别、红外遥控等功能。智能手表主要支持蓝 牙、心率传感器、运动传感器等硬件,能够实现与其他设备建立蓝牙连接,以及记录用户的睡眠、心率、运动轨迹等功能,但由于缺少相关的硬件支持无法实现扫描二维码、指纹识别、虹膜识别等功能。It can be seen that most of the current mobile phones support Bluetooth, NFC, camera, infrared sensor, fingerprint recognition sensor, iris recognition sensor and other hardware, which can scan the QR code, establish NFC connection with other devices, fingerprint recognition, iris recognition, infrared remote control, etc. Features. Smart watches mainly support blue Hardware such as teeth, heart rate sensor, motion sensor, etc., can establish Bluetooth connection with other devices, and record user's sleep, heart rate, motion track and other functions, but cannot scan QR code, fingerprint recognition, iris due to lack of related hardware support. Identify and other functions.
示例性的,第一设备为手机,第二设备为智能手表,第三设备103为智能台灯为例,智能台灯上贴有二维码或条形码,该二维码或条形码用于携带智能台灯的蓝牙名称、蓝牙地址等属性数据。手机利用拍摄单元扫描智能台灯上的二维码或条形码后,能够解析该二维码或条形码以获取所述智能台灯的蓝牙名称、蓝牙地址和蓝牙配对码等属性数据,并根据该属性数据和智能台灯建立蓝牙连接,进而用户能够操作手机实现对智能台灯的控制。但智能手表不具备拍摄单元,无法扫描智能台灯上的二维码,进而智能手表无法建立和智能台灯的连接,则用户无法使用智能手表来控制智能台灯。Exemplarily, the first device is a mobile phone, the second device is a smart watch, and the third device 103 is a smart desk lamp. The smart desk lamp is affixed with a two-dimensional code or a barcode, and the two-dimensional code or barcode is used to carry the smart table lamp. Attribute data such as Bluetooth name, Bluetooth address, etc. After the mobile phone scans the two-dimensional code or barcode on the smart desk lamp by using the shooting unit, the two-dimensional code or barcode can be parsed to obtain attribute data such as a Bluetooth name, a Bluetooth address, and a Bluetooth pairing code of the smart desk lamp, and according to the attribute data and The smart desk lamp establishes a Bluetooth connection, so that the user can operate the mobile phone to control the smart desk lamp. However, the smart watch does not have a shooting unit and cannot scan the two-dimensional code on the smart desk lamp. Therefore, the smart watch cannot establish a connection with the smart desk lamp, and the user cannot use the smart watch to control the smart desk lamp.
为了建立第一设备和第三设备的连接,本申请实施例提供一种连接建立方法,可应用于图1所示的系统中,如图4所示,该方法包括以下步骤:In order to establish a connection between the first device and the third device, the embodiment of the present application provides a connection establishment method, which can be applied to the system shown in FIG. 1. As shown in FIG. 4, the method includes the following steps:
401、第一设备和第二设备建立第一连接。401. The first device and the second device establish a first connection.
其中,所述第一连接包括:蓝牙连接、Wi-Fi连接等无线连接方式,该第一连接还包括USB连接等有线连接方式,本申请实施例不限定第一连接的连接方式。The first connection includes a wireless connection manner such as a Bluetooth connection or a Wi-Fi connection, and the first connection further includes a wired connection manner such as a USB connection. The embodiment of the present application does not limit the connection manner of the first connection.
402、第一设备获取第三设备的属性数据。402. The first device acquires attribute data of the third device.
其中,所述属性数据为用于和其他设备建立连接的数据。该连接包括:蓝牙连接、Wi-Fi连接等连接方式。其他设备获取该属性数据后能够与第三设备建立连接。根据该属性数据包含的内容不同,其他设备在获取该属性数据后与第三设备建立的连接方式不同。The attribute data is data used to establish a connection with other devices. The connection includes: Bluetooth connection, Wi-Fi connection and other connection methods. After the other device obtains the attribute data, it can establish a connection with the third device. According to the content of the attribute data, the connection mode established by the other device with the third device after acquiring the attribute data is different.
示例性的,该属性数据包括第三设备的蓝牙标识、蓝牙媒体访问控制(Media Access Control,MAC)地址等建立蓝牙连接所需的信息。则第一设备获取该属性数据后能够与所述第三设备建立蓝牙连接。Exemplarily, the attribute data includes information required for establishing a Bluetooth connection, such as a Bluetooth identifier of a third device, a Bluetooth Media Access Control (MAC) address, and the like. After the first device acquires the attribute data, the first device can establish a Bluetooth connection with the third device.
403、第一设备向所述第二设备发送所述第三设备的属性数据。403. The first device sends the attribute data of the third device to the second device.
404、第二设备根据所述第三设备的属性数据与所述第三设备建立第二连接。404. The second device establishes a second connection with the third device according to the attribute data of the third device.
其中,该第二连接包括蓝牙连接、Wi-Fi连接等连接方式。所述第二连接和所述第一连接可以相同也可以不同,本申请实施例不作限定。The second connection includes a connection manner such as a Bluetooth connection or a Wi-Fi connection. The second connection and the first connection may be the same or different, and are not limited in this embodiment.
示例性的,所述第一设备和第二设备建立蓝牙连接,第一设备和第三设备建立NFC连接,第一设备通过已建立的NFC连接读取第三设备的Wi-Fi名称、MAC地址等属性数据、然后第一设备将获取到的属性数据发送给第二设备,第二设备根据该属性数据与第三设备建立Wi-Fi连接。Exemplarily, the first device and the second device establish a Bluetooth connection, and the first device and the third device establish an NFC connection, and the first device reads the Wi-Fi name and the MAC address of the third device by using the established NFC connection. And the attribute data is sent to the second device by the first device, and the second device establishes a Wi-Fi connection with the third device according to the attribute data.
在其他实现方式中,第一设备获取第二设备的属性数据,并将第二设备的属性数据发送至第三设备,由第三设备发起与第二设备的连接。或者,第一设备分别将第二设备的属性数据发送至第三设备,将第三设备的属性数据发送至第二设备,则第二设备和第三设备中的任意设备均可发起连接。In other implementations, the first device acquires the attribute data of the second device, and sends the attribute data of the second device to the third device, where the connection with the second device is initiated by the third device. Alternatively, the first device separately sends the attribute data of the second device to the third device, and the attribute data of the third device is sent to the second device, and any device of the second device and the third device may initiate the connection.
上述方法,第一设备和第二设备建立连接,第一设备获取第三设备的属 性数据并将该属性数据发送给第二设备,第二设备能够根据该属性数据与第三设备建立连接。这样,当第二设备无法直接获取第三设备的属性数据时,由与第二设备建立连接的第一设备将第三设备的属性数据发送至第二设备,进而第二设备能够根据该属性数据与第三设备建立连接。In the above method, the first device and the second device establish a connection, and the first device acquires the genus of the third device. The attribute data is sent to the second device, and the second device can establish a connection with the third device according to the attribute data. In this way, when the second device cannot directly obtain the attribute data of the third device, the first device that establishes the connection with the second device sends the attribute data of the third device to the second device, and the second device can be based on the attribute data. Establish a connection with the third device.
可选的,第一设备和第三设备建立连接后,第一设备能够实现对第三设备的控制。Optionally, after the first device and the third device establish a connection, the first device can implement control on the third device.
可选地,第一设备、第二设备、第三设备之间传输数据时,对待传输的数据进行加密,这样通过空口传输时安全性更高。其中,加密算法的具体实现可参考现有技术,此处不再赘述。Optionally, when data is transmitted between the first device, the second device, and the third device, the data to be transmitted is encrypted, so that the security is higher when transmitted through the air interface. The specific implementation of the encryption algorithm may refer to the prior art, and details are not described herein again.
可选的,在步骤402的一种实现方式中,如图4a所示,该步骤402包括以下步骤:Optionally, in an implementation of step 402, as shown in FIG. 4a, the step 402 includes the following steps:
4021a、第一设备接收所述第二设备的指示信令。The first device receives the indication signaling of the second device.
其中,所述指示信令用于指示所述第二设备使能目标功能。The indication signaling is used to indicate that the second device enables the target function.
4022a、第一设备根据所述第二设备的指示信令,通过所述目标功能获取所述第三设备的属性数据。The first device acquires attribute data of the third device by using the target function according to the indication signaling of the second device.
在图4a所示的实现方式中,第二设备向第一设备发送指示信令,该指示信令用于指示第一设备使能第一设备上的某个功能,第一设备根据该指示信令使能该功能,并通过该功能获取数据,作为对所述指示信令的响应,第一设备将获取的数据发送至第二设备。In the implementation shown in FIG. 4a, the second device sends the indication signaling to the first device, where the indication signaling is used to indicate that the first device enables a certain function on the first device, and the first device according to the indication The function is enabled, and data is acquired by the function. In response to the indication signaling, the first device sends the acquired data to the second device.
具体的,预先定义指示信令和功能的对应关系,第二设备向第一设备发送指示信令,第一设备可识别第二设备发送的指示信令,并根据该指示信令使能相应的功能。Specifically, the mapping between the indication signaling and the function is predefined, the second device sends the indication signaling to the first device, and the first device can identify the indication signaling sent by the second device, and enable the corresponding according to the indication signaling. Features.
示例性的,如下表表一所示,本申请实施例定义了指示信令和功能的对应关系:Exemplarily, as shown in Table 1 of the following table, the embodiment of the present application defines the correspondence between indication signaling and function:
表一Table I
指示信令Indication signaling 功能Features
00010001 识别二维码Identify the QR code
00020002 识别指纹Identification fingerprint
00030003 ……......
相应的,在第一设备收到第二设备的指示信令后,第一设备执行相应的操作并向第二设备返回执行结果。Correspondingly, after the first device receives the indication signaling of the second device, the first device performs a corresponding operation and returns an execution result to the second device.
示例性的,如下表表二所示,本申请实施例定义了第二设备返回的指示信令和功能的对应关系。Exemplarily, as shown in Table 2 of the following table, the embodiment of the present application defines the correspondence between the indication signaling and the function returned by the second device.
表二Table II
指示信令 Indication signaling 功能Features
10011001 返回识别二维码的结果Return the result of identifying the QR code
10021002 返回识别指纹的结果Return the result of identifying the fingerprint
10031003 ……......
其中,返回识别二维码的结果可以为二维码原始数据,还可以为第二设 备已识别出的属性数据。返回识别指纹的结果可以为指纹的原始数据也可以为指纹识别成功或失败的结果数据。Wherein, the result of returning and identifying the two-dimensional code may be the original data of the two-dimensional code, or may be the second setting The identified attribute data is prepared. The result of returning the identification fingerprint may be the original data of the fingerprint or the result data of the success or failure of the fingerprint identification.
结合表一和表二所示的对应关系,示例性的,当第二设备向第一设备发送“0001”的指示信令时,第一设备收到该指示信令后,根据该指示信令确定对应的功能为“识别二维码”,则第一设备使能拍摄单元的拍摄功能以识别二维码,在识别二维码后,第二设备向第一设备回复“1001”的指示信令,该指示信令有携带有识别二维码的结果。With reference to the correspondences shown in Table 1 and Table 2, for example, when the second device sends the indication signaling of “0001” to the first device, after receiving the indication signaling, the first device according to the indication signaling Determining that the corresponding function is “identifying the two-dimensional code”, the first device enables the shooting function of the shooting unit to recognize the two-dimensional code, and after identifying the two-dimensional code, the second device returns a “1001” indication letter to the first device. Therefore, the indication signaling has a result of carrying the identification two-dimensional code.
在图4a所述的方法中,通过对用于支持第一设备和第二设备之间建立连接的协议进行改进,在不影响现有协议的功能的基础上,增加指示信令,以使得第一设备和第二设备之间可传输上述指示信令。In the method described in FIG. 4a, by improving the protocol for supporting the establishment of the connection between the first device and the second device, the indication signaling is added on the basis of not affecting the function of the existing protocol, so that the first The above indication signaling may be transmitted between a device and a second device.
可选的,用户操作第二设备以触发第二设备向第一设备发送指示信令,用户的不同操作用于触发第二设备发送不同的指示信令。则在步骤402的另一种实现方式中,如图4b所示,该步骤402包括:Optionally, the user operates the second device to trigger the second device to send the indication signaling to the first device, where different operations of the user are used to trigger the second device to send different indication signaling. In another implementation of step 402, as shown in FIG. 4b, the step 402 includes:
4021b、所述第一设备接收用户输入的指示操作,所述指示操作用于指示所述第一设备使能目标功能,并将通过所述目标功能获取的数据发送至所述第二设备;4021b, the first device receives an indication operation input by a user, the indication operation is used to indicate that the first device enables a target function, and sends data acquired by the target function to the second device;
4022b、所述第一设备根据所述指示操作,获取所述第三设备的属性数据。4022b. The first device acquires attribute data of the third device according to the indication operation.
在图4b所示的实现方式中,用户操作第一设备,以使得第一设备获取第三设备的属性数据,并将第三设备的属性数据发送至第二设备。In the implementation shown in FIG. 4b, the user operates the first device such that the first device acquires the attribute data of the third device and transmits the attribute data of the third device to the second device.
为了更清楚的说明上述方法,示例性的,第一设备为手机,第二设备为可穿戴设备(下述描述中以该可穿戴设备具体为智能手表为例),第三设备为智能家居设备(下述描述中以该智能家居设备具体为智能台灯为例),且智能台灯上标识有二维码,该二维码携带智能台灯的蓝牙名称、蓝牙MAC地址等属性数据。现有技术中,智能手表由于没有支持扫描二维码的硬件,因此无法扫描智能台灯上的二维码,智能手表无法直接和智能台灯建立连接。应用上述方法后,如图5所示,手机和智能手表建立蓝牙连接;且由于手机具有拍摄单元,能够扫描智能台灯上的二维码获取智能台灯的蓝牙名称等属性数据,并将该属性数据发送至智能手表。智能手表获取该属性数据后,能够根据该属性数据与智能台灯建立蓝牙连接,进而控制智能台灯。具体的,在一种实现方式中,在智能手表上安装用于控制智能家居的应用程序(Application,APP),用户通过操作该APP实现控制智能台灯,包括控制智能台灯的开启、关闭、亮度等。在另一种实现方式中,用户通过操作智能手表的物理按键控制智能台灯。在又一种实现方式中,智能手表根据其与智能台灯建立连接的信号强度值判断智能手表与智能台灯的距离,由于一般而言用户佩戴智能手表,因此可将该距离视为用户和智能台灯的距离,进而可根据用户与智能台灯的距离远近,调节智能台灯的亮度,在一定距离范围内,距离越近,智能台灯的亮度越高,超出该一定距离,则控制智能台灯自动熄灭。在其他实现方式中,智能手表根据高度、位置等数据确定用户当前所在的场景,当判断出用户当前所在所在场景为台灯所在地,如“卧室”时,再根 据已安装的传感器检测用户当期所在环境的亮度,当亮度较弱时,智能手表自动控制台灯的开启,并根据环境调节台灯的亮度或关闭智能台灯。In order to explain the above method more clearly, the first device is a mobile phone, and the second device is a wearable device (in the following description, the wearable device is specifically a smart watch as an example), and the third device is a smart home device. (In the following description, the smart home device is specifically a smart desk lamp as an example), and the smart desk lamp is marked with a two-dimensional code, and the two-dimensional code carries attribute data such as a Bluetooth name of the smart desk lamp and a Bluetooth MAC address. In the prior art, since the smart watch does not have the hardware supporting scanning the two-dimensional code, the two-dimensional code on the smart desk lamp cannot be scanned, and the smart watch cannot directly establish a connection with the smart desk lamp. After applying the above method, as shown in FIG. 5, the mobile phone and the smart watch establish a Bluetooth connection; and since the mobile phone has a shooting unit, the two-dimensional code on the smart desk lamp can be scanned to obtain attribute data such as the Bluetooth name of the smart desk lamp, and the attribute data is obtained. Send to smart watch. After obtaining the attribute data, the smart watch can establish a Bluetooth connection with the smart desk lamp according to the attribute data, thereby controlling the smart desk lamp. Specifically, in an implementation manner, an application (Application, APP) for controlling the smart home is installed on the smart watch, and the user controls the smart desk lamp by operating the APP, including controlling the opening, closing, brightness, and the like of the smart desk lamp. . In another implementation, the user controls the smart desk light by operating a physical button of the smart watch. In yet another implementation manner, the smart watch determines the distance between the smart watch and the smart desk lamp according to the signal strength value of the connection with the smart desk lamp. Since the user generally wears the smart watch, the distance can be regarded as the user and the smart desk lamp. The distance can be adjusted according to the distance between the user and the smart desk lamp, and the brightness of the smart desk lamp is adjusted within a certain distance range. The closer the distance is, the higher the brightness of the smart desk lamp exceeds the certain distance, and the control smart desk lamp is automatically turned off. In other implementation manners, the smart watch determines the current scene of the user according to the height, location, and the like. When it is determined that the current location of the user is the location of the desk lamp, such as “bedroom,” According to the installed sensor, the brightness of the user's current environment is detected. When the brightness is weak, the smart watch automatic console light is turned on, and the brightness of the table lamp is adjusted according to the environment or the smart table lamp is turned off.
其中,在手机和智能手表建立连接后,如图5a所示,触发手机获取智能台灯的属性数据并将该属性数据发送给智能手表的一种可选方式为:智能手表上加载显示有“图库”、“心率”、“时钟”、“设置”等图标的界面501,当用户选择“设置”这一图标时,智能手表加载设置界面502,该设置界面包括“Wi-Fi”和“蓝牙”,且智能手表和标识为“Phone1”的手机建立连接,用户选择标识为“Phone1”的手机后,智能手表加载界面503,该界面加载有标识为“Phone1”的手机能够为该智能手表提供的功能,当用户选择“识别二维码/条码”这一功能时,智能手表向手机发送指令,手机接收到该指令后,自动调出拍摄功能并加载用于扫描二维码/条形码的界面504,进而当用户成功扫描智能台灯的二维码后,手机将智能台灯的属性数据发送至智能手表。After the connection between the mobile phone and the smart watch is established, as shown in FIG. 5a, an optional way of triggering the mobile phone to acquire the attribute data of the smart desk lamp and transmitting the attribute data to the smart watch is: loading the smart watch on the display Interface 501 of icons such as "heart rate", "clock", "set", etc., when the user selects the icon of "set", the smart watch loads setting interface 502, which includes "Wi-Fi" and "Bluetooth" And the smart watch establishes a connection with the mobile phone identified as “Phone1”, and after the user selects the mobile phone identified as “Phone1”, the smart watch loading interface 503 is loaded with the mobile phone labeled “Phone1” for the smart watch. Function, when the user selects the function of “recognize QR code/bar code”, the smart watch sends an instruction to the mobile phone, and after receiving the instruction, the mobile phone automatically calls up the shooting function and loads an interface 504 for scanning the two-dimensional code/barcode. Then, after the user successfully scans the two-dimensional code of the smart desk lamp, the mobile phone sends the attribute data of the smart desk lamp to the smart watch.
可选的,在其他实现方式中,触发手机获取智能台灯的属性数据并将该属性数据发送给智能手表的一种可选方式为:智能手表上加载用于和手机交互的应用程序(Application,APP),用户操作该APP以向手机发送指示信令,该指示信令用于指示手机开启“识别二维码/条码”的功能,手机根据该指示信令打开摄像头并识别二维码/条码后,将智能台灯的属性数据发送至智能手表。Optionally, in other implementation manners, an optional method for triggering the mobile phone to acquire attribute data of the smart desk lamp and transmitting the attribute data to the smart watch is: loading an application for interacting with the mobile phone on the smart watch (Application, APP), the user operates the APP to send indication signaling to the mobile phone, the indication signaling is used to instruct the mobile phone to enable the function of “identifying the two-dimensional code/bar code”, and the mobile phone opens the camera according to the indication signaling and recognizes the two-dimensional code/bar code After that, the attribute data of the smart desk lamp is sent to the smart watch.
如图5b所示,触发手机获取智能台灯的属性数据并将该属性数据发送给智能手表的另一种可选方式为:用户打开手机的蓝牙设置界面601,在该界面上显示有所有与手机已建立蓝牙连接的设备的标识,其中包括智能手表的标识。在智能手表的标识右侧显示有按钮,用户点开该按钮则加载显示有用户对该智能手表的可能操作的界面602,包括“忽略此设备”、“与其他设备建立连接”以及“为此设备获取数据”,当用户选择“与其他设备建立连接”时,显示界面603,该界面603显示所有可能的建立连接的方式,其中包括“扫描二维码/条码”这个方式,当手机检测到用户选中“扫描二维码/条码”这个方式后的按钮后,自动调出手机的拍摄功能并加载用于扫描二维码/条形码的界面604,进而当用户成功扫描智能台灯的二维码后,将智能台灯的属性数据发送至智能手表。As shown in FIG. 5b, another optional way for triggering the mobile phone to acquire the attribute data of the smart desk lamp and send the attribute data to the smart watch is: the user opens the Bluetooth setting interface 601 of the mobile phone, and all the mobile phones are displayed on the interface. The identity of the Bluetooth connected device, including the identity of the smart watch. A button is displayed on the right side of the smart watch's logo, and the user clicks on the button to load an interface 602 displaying the user's possible operation on the smart watch, including "ignore the device", "connect with other devices", and "for this purpose" The device obtains data", when the user selects "establish connection with other devices", the display interface 603 displays all possible ways to establish a connection, including the method of "scanning the QR code/bar code", when the mobile phone detects After the button of the "Scan QR code/Barcode" mode is selected, the user automatically calls up the shooting function of the mobile phone and loads the interface 604 for scanning the QR code/barcode, so that after the user successfully scans the QR code of the smart desk lamp, Send the attribute data of the smart desk lamp to the smart watch.
通过该实现方式,当用户不习惯操作手表或不方便操作手表时,用户通过操作手机可将智能台灯的属性数据发送至智能手表,进而智能手表能够与智能台灯建立连接。Through this implementation, when the user is not accustomed to operating the watch or inconvenient to operate the watch, the user can transmit the attribute data of the smart table lamp to the smart watch by operating the mobile phone, and the smart watch can establish a connection with the smart table lamp.
如图5c所示,触发手机获取智能台灯的属性数据并将该属性数据发送给智能手表的另一种可选方式为:如界面701所示,手机上安装“穿戴”这一应用程序,手机通过操作该APP可控制管理与该手机建立连接的所有可穿戴设备。当用户打开“穿戴”这一APP时,加载显示有所有与该手机界面建立连接的可穿戴设备的界面702,当用户选择标识为“WATCH1”的可穿戴设备时,加载用于管理WATCH1的界面703,当用户选择“识别二维码/条形码”这一选项时,手机自动调出手机的拍摄功能并加载用于扫描二维码/条形码的界面704,进而当用户成功扫描智能台灯的二维码后,将智能台灯的属性数据发送至智 能手表。As shown in FIG. 5c, another optional way of triggering the mobile phone to obtain the attribute data of the smart desk lamp and transmitting the attribute data to the smart watch is as follows: as shown in the interface 701, the application “wearing” is installed on the mobile phone, and the mobile phone is installed. By operating the APP, you can control the management of all wearable devices that establish a connection with the phone. When the user opens the "wear" app, the interface 702 displaying all the wearable devices that are connected to the mobile phone interface is loaded, and when the user selects the wearable device identified as "WATCH1", the interface for managing WATCH1 is loaded. 703, when the user selects the option of “identifying the QR code/barcode”, the mobile phone automatically calls up the shooting function of the mobile phone and loads the interface 704 for scanning the QR code/barcode, so that when the user successfully scans the two-dimensional of the smart desk lamp After the code, send the attribute data of the smart desk lamp to the wisdom Can watch.
其中,手机在扫描智能台灯上的二维码后,在一种实现方式中,手机将该二维码直接发送给智能手表,智能手表解析该二维码后得到智能台灯的属性数据,进而根据该属性数据与智能台灯建立连接。在另一种实现方式中,手机解析所述二维码得到智能台灯的属性数据,然后将该属性数据发送给智能手表,智能手表根据该属性数据与智能台灯建立蓝牙连接。After the mobile phone scans the two-dimensional code on the smart desk lamp, in one implementation manner, the mobile phone directly sends the two-dimensional code to the smart watch, and the smart watch analyzes the two-dimensional code to obtain the attribute data of the smart desk lamp, and then according to This attribute data establishes a connection with the smart desk lamp. In another implementation manner, the mobile phone parses the two-dimensional code to obtain attribute data of the smart desk lamp, and then sends the attribute data to the smart watch, and the smart watch establishes a Bluetooth connection with the smart desk lamp according to the attribute data.
此外,当智能手表得到的属性数据包括蓝牙名称、蓝牙MAC地址,不包括蓝牙配对码时,智能手表在获取到智能台灯的属性数据后,智能手表需要先与智能台灯配对,配对成功后才能建立智能手表与智能台灯的连接。In addition, when the attribute data obtained by the smart watch includes the Bluetooth name, the Bluetooth MAC address, and the Bluetooth pairing code is not included, after the smart watch acquires the attribute data of the smart table lamp, the smart watch needs to be paired with the smart table lamp first, and the pairing is successful after the pairing is successful. The connection between the smart watch and the smart desk lamp.
这种情况下,在一种实现方式中,如图6a所示,智能手表得到智能台灯的属性数据后,发起对智能台灯的连接,如801所示,在智能手表上弹出提示框,该提示框用于提示用户是否要与智能台灯配对;当用户确定与智能手表配对的设备为智能台灯时,用户可在该提示框上点击确认,智能手表检测到用户的确认操作后与智能台灯进行配对并与智能台灯建立连接。In this case, in an implementation manner, as shown in FIG. 6a, after the smart watch obtains the attribute data of the smart desk lamp, the smart table lamp is connected, and as shown in 801, a prompt box is popped up on the smart watch, and the prompt is displayed. The box is used to prompt the user whether to pair with the smart desk lamp; when the user determines that the device paired with the smart watch is a smart desk lamp, the user can click confirm on the prompt box, and the smart watch detects the user's confirmation operation and then pairs with the smart desk lamp. And establish a connection with the smart desk lamp.
在另一种实现方式中,如图6b所示,手机得到智能台灯的属性数据后,如802所示,在手机上弹出提示框,该提示框用于提示用户是否要将智能手表与智能台灯配对,当用户确定将智能手表与智能台灯配对时,用户可在该提示框上点击确认,手机检测到用户的确认操作后,将智能台灯的属性数据发送至智能手表,智能手表根据该属性数据与智能台灯进行配对并与智能台灯建立蓝牙连接。In another implementation manner, as shown in FIG. 6b, after the mobile phone obtains the attribute data of the smart desk lamp, as shown in 802, a prompt box is displayed on the mobile phone, and the prompt box is used to prompt the user whether to use the smart watch and the smart desk lamp. Pairing, when the user determines to pair the smart watch with the smart table lamp, the user can click confirm on the prompt box, and after the mobile phone detects the user's confirmation operation, the mobile phone lights the attribute data of the smart table lamp to the smart watch, and the smart watch according to the attribute data Pair with a smart desk lamp and establish a Bluetooth connection with the smart desk lamp.
通过图6b所示的实现方式,当用户不习惯或不方便操作智能手表时,用户可通过操作手机实现智能手表与智能台灯建立连接。此外,当存在多个智能手表需要与智能台灯建立连接时,所有用于提示是否要建立智能手表与智能台灯建立连接的提示框都通过手机显示,则用户只需要操作手机便可完成对提示框的确认,进而建立多个智能手表与智能台灯的连接。Through the implementation shown in FIG. 6b, when the user is not accustomed to or inconvenient to operate the smart watch, the user can establish a connection between the smart watch and the smart table lamp by operating the mobile phone. In addition, when there are multiple smart watches that need to establish a connection with the smart desk lamp, all the prompt boxes for prompting whether to establish a connection between the smart watch and the smart desk lamp are displayed on the mobile phone, and the user only needs to operate the mobile phone to complete the prompt box. Confirmation, and then establish a connection between multiple smart watches and smart desk lamps.
当手机发送的属性数据除了包括蓝牙名称、蓝牙MAC地址外,还包括蓝牙配对码时,则当智能手表收到智能台灯的属性数据后,智能手表根据该属性数据与智能台灯自动建立蓝牙连接。该实现方式中,智能手表获取到智能台灯的属性数据后,能够与智能台灯建立一键式自动连接,省去了智能手表与智能台灯配对、用户确认的过程,能够实现智能手表和智能台灯的快速连接。When the attribute data sent by the mobile phone includes a Bluetooth pairing code in addition to the Bluetooth name and the Bluetooth MAC address, when the smart watch receives the attribute data of the smart desk lamp, the smart watch automatically establishes a Bluetooth connection with the smart desk lamp according to the attribute data. In the implementation manner, after acquiring the attribute data of the smart table lamp, the smart watch can establish a one-button automatic connection with the smart table lamp, eliminating the process of pairing the smart watch with the smart table lamp and confirming the user, and realizing the smart watch and the smart table lamp. Quick connection.
综上所述,通过以上实现方式,当智能手表由于缺乏硬件支持无法直接获取智能台灯的属性数据以与智能台灯建立连接时,智能手表“借助于”手机的硬件获取智能台灯的属性数据,进而与智能台灯建立连接。In summary, through the above implementation manner, when the smart watch cannot directly acquire the attribute data of the smart desk lamp to establish a connection with the smart desk lamp due to lack of hardware support, the smart watch acquires the attribute data of the smart desk lamp by means of the hardware of the mobile phone, and further Establish a connection with a smart desk lamp.
目前,大多数手机支持NFC功能,而大多数智能手表不支持NFC功能。具备NFC功能的设备之间只要相互靠近也即“碰一下”便可建立NFC连接进行数据传输。考虑到NFC传输数据的便利,智能手表可借助于手机的NFC功能获取其他设备的属性数据,进而和其他设备快速建立连接。其中,该属性数据包括用于建立连接的数据,如用于建立蓝牙连接、Wi-Fi连接的数据。 Currently, most mobile phones support NFC, and most smart watches do not support NFC. NFC-connected devices can be NFC-connected for data transfer as long as they are close to each other. Taking into account the convenience of NFC transmission of data, smart watches can obtain the attribute data of other devices by means of the NFC function of the mobile phone, and then quickly establish a connection with other devices. The attribute data includes data used to establish a connection, such as data for establishing a Bluetooth connection or a Wi-Fi connection.
示例性的,如图7所示,智能手表和手机1建立连接,智能手表上加载显示有“图库”、“心率”、“时钟”、“设置”等图标的界面901,当用户选择“设置”这一图标时,智能手表加载设置界面902,该设置界面包括“Wi-Fi”和“蓝牙”,且智能手表和标识为“Phone1”的手机建立蓝牙连接,用户选择标识为“Phone1”的手机后,智能手表加载界面903,该界面加载有标识为“Phone1”的手机能够为该智能手表提供的功能,当用户选择“使能NFC”这一功能时,智能手表向手机1发送指示信令,该指示信令用于指示手机1使能NFC功能,手机接收到该指示信令后执行过程904:当用户将手机1靠近手机2时,手机1和手机2建立NFC连接并获取手机2的属性数据。进而,手机1将手机2的属性数据发送至智能手表进而智能手表根据该属性数据和手机2自动建立连接。Exemplarily, as shown in FIG. 7, the smart watch and the mobile phone 1 establish a connection, and the smart watch displays an interface 901 displaying icons such as "gallery", "heart rate", "clock", "setting", etc., when the user selects "set" "This icon, the smart watch loads the setting interface 902, the setting interface includes "Wi-Fi" and "Bluetooth", and the smart watch and the mobile phone identified as "Phone1" establish a Bluetooth connection, and the user selects the identifier as "Phone1". After the mobile phone, the smart watch loading interface 903 is loaded with the function that the mobile phone labeled "Phone1" can provide for the smart watch. When the user selects the function of "enable NFC", the smart watch sends a notification letter to the mobile phone 1. The indication signaling is used to indicate that the mobile phone 1 enables the NFC function, and after the mobile phone receives the indication signaling, the process 904 is performed: when the user approaches the mobile phone 1 to the mobile phone 2, the mobile phone 1 and the mobile phone 2 establish an NFC connection and acquire the mobile phone 2 Attribute data. Further, the mobile phone 1 transmits the attribute data of the mobile phone 2 to the smart watch, and the smart watch automatically establishes a connection with the mobile phone 2 based on the attribute data.
在其他实现方式中,当手机1靠近手机2时,手机1将智能手表的属性数据自动发送至手机2,进而手机2根据该属性数据自动发起和智能手表的连接。In other implementations, when the mobile phone 1 is close to the mobile phone 2, the mobile phone 1 automatically transmits the attribute data of the smart watch to the mobile phone 2, and the mobile phone 2 automatically initiates connection with the smart watch according to the attribute data.
在其他实现方式中,当手机1靠近手机2时,手机1将智能手表的属性数据发送至手机2,将手机2的属性数据发送至智能手表,也即通过手机1交换智能手表和手机2的属性数据,进而智能手表和手机2的任一方都可根据已获取到的属性数据发起连接。In other implementation manners, when the mobile phone 1 is close to the mobile phone 2, the mobile phone 1 sends the attribute data of the smart watch to the mobile phone 2, and sends the attribute data of the mobile phone 2 to the smart watch, that is, the smart watch and the mobile phone 2 are exchanged through the mobile phone 1. The attribute data, and thus either the smart watch or the mobile phone 2 can initiate a connection based on the acquired attribute data.
在其他实现方式中,用户操作手机1触发手机1在和手机2“碰一下”后获取手机2的属性数据并将手机2的属性数据发送至智能手表,其具体实现可参考图5b和图5c。与图5b和图5c不同的是,用户选择“使能NFC功能”来触发上述过程。In other implementations, the user operates the mobile phone 1 to trigger the mobile phone 1 to acquire the attribute data of the mobile phone 2 and send the attribute data of the mobile phone 2 to the smart watch after "touching" with the mobile phone 2. For the specific implementation, refer to FIG. 5b and FIG. 5c. . Different from FIG. 5b and FIG. 5c, the user selects "Enable NFC function" to trigger the above process.
图7所示的方法中,智能手表和手机2建立蓝牙连接或Wi-Fi连接时,只要手机1和手机2“碰一下”,手机1便可通过和手机2建立的NFC连接获取手机2的属性数据并把手机2的属性数据发送给智能手表,进而智能手表根据手机2的属性数据和手机2建立连接。省去了智能手表扫描手机2、输入密码等过程,提供了一种快速建立智能手表和手机2的连接的实现方法。In the method shown in FIG. 7, when the smart watch and the mobile phone 2 establish a Bluetooth connection or a Wi-Fi connection, as long as the mobile phone 1 and the mobile phone 2 "touch", the mobile phone 1 can obtain the mobile phone 2 through the NFC connection established with the mobile phone 2. The attribute data transmits the attribute data of the mobile phone 2 to the smart watch, and the smart watch establishes a connection with the mobile phone 2 according to the attribute data of the mobile phone 2. The process of scanning the mobile phone 2 and inputting the password by the smart watch is omitted, and a method for quickly establishing the connection between the smart watch and the mobile phone 2 is provided.
实际应用中,在图1所示的系统中,第一设备和第二设备建立第一连接,第一设备和第三设备建立第二连接,其中,第一连接和第二连接可能相同也可能不同。当第二设备和第三设备建立连接时,用户需要进行分别操作第二设备和第三设备,其实现过程较为复杂。例如:第一设备和第二设备建立蓝牙连接,第二设备与第三设备建立蓝牙连接,当第二设备与第三设备建立蓝牙连接时,用户需要分别打开第二设备和第三设备的蓝牙设置界面并扫描周围已开启蓝牙功能的设备,当第二设备扫描到第三设备时,选择第三设备进行蓝牙配对等建立与第三设备的连接。在这个过程中,第二设备需要扫描第三设备,可能带来的问题是:扫描时间较长使得第二设备和第三设备建立连接耗时较多;或者第三设备对第二设备不可见,则第二设备无法成功扫描到第三设备,需要用户在第三设备的操作界面进行设置后,第二设备上才能显示第三设备,进而第二设备无法和第三设备建立连接。In a practical application, in the system shown in FIG. 1, the first device and the second device establish a first connection, and the first device and the third device establish a second connection, where the first connection and the second connection may be the same or may be different. When the second device and the third device establish a connection, the user needs to separately operate the second device and the third device, and the implementation process is complicated. For example, the first device and the second device establish a Bluetooth connection, and the second device establishes a Bluetooth connection with the third device. When the second device establishes a Bluetooth connection with the third device, the user needs to respectively open the Bluetooth of the second device and the third device. Setting the interface and scanning the Bluetooth-enabled device. When the second device scans to the third device, the third device is selected to perform Bluetooth pairing and the like to establish a connection with the third device. In this process, the second device needs to scan the third device, which may bring a problem that the scanning time is long, so that the second device and the third device establish a connection more time-consuming; or the third device is invisible to the second device. The second device cannot successfully scan the third device, and the user needs to set the operation interface of the third device, and then the third device can be displayed on the second device, and the second device cannot establish a connection with the third device.
采用本申请实施例图4所示的方法后,第一设备获取第三设备的属性数 据并将第三设备的属性数据直接发送给第二设备,进而第二设备能够获取第三设备的属性数据并与第二设备自动建立连接。After the method shown in FIG. 4 is used in the embodiment of the present application, the first device acquires the number of attributes of the third device. The attribute data of the third device is directly sent to the second device, and the second device can acquire the attribute data of the third device and automatically establish a connection with the second device.
示例性的,第一设备为手机1,第二设备为智能手表,第三设备为手机2。手机1和智能手表建立蓝牙连接,手机1和手机2建立蓝牙连接。Exemplarily, the first device is the mobile phone 1, the second device is a smart watch, and the third device is the mobile phone 2. The mobile phone 1 and the smart watch establish a Bluetooth connection, and the mobile phone 1 and the mobile phone 2 establish a Bluetooth connection.
当智能手表和手机2建立蓝牙连接时,采用本申请实施例图4所示的方法后,如图8所示,用户打开手机1的蓝牙设置界面1001,在该界面上显示有所有与手机1已建立蓝牙连接的设备的标识且在每个设备的标识右侧显示有按钮,其中包括智能手表的标识WATCH1和手机2的标识Phone2。智能手表的标识WATCH1右侧显示有按钮,用户点开该按钮则加载显示有用户对该智能手表的可能操作的界面1002,包括“忽略此设备”、“与其他设备建立连接”以及“为此设备获取数据”,当用户选择“与其他设备建立连接”时,显示界面1003,该界面显示所有可能的建立连接的方式,其中包括“蓝牙”这个方式,当手机检测到用户选择“蓝牙”的方式后显示界面1004,该界面1004显示所有已保存蓝牙属性数据的其他设备的名称,每个名称后对应一个选择按钮,当检测到用户选择手机2的标识Phone2右侧的按钮时,手机1将手机2的蓝牙属性数据发送至智能手表。When the smart watch and the mobile phone 2 establish a Bluetooth connection, after adopting the method shown in FIG. 4 of the embodiment of the present application, as shown in FIG. 8, the user opens the Bluetooth setting interface 1001 of the mobile phone 1, and all the mobile phones 1 are displayed on the interface. The identity of the Bluetooth connected device has been established and a button is displayed to the right of the identification of each device, including the identity WATCH1 of the smart watch and the identity Phone2 of the mobile phone 2. The smart watch's logo WATCH1 has a button displayed on the right side. When the user clicks the button, the interface 1002 displaying the user's possible operation on the smart watch is loaded, including "ignore this device", "establish connection with other devices", and "for this purpose" The device obtains data. When the user selects "Connect with other devices", the interface 1003 is displayed. The interface displays all possible ways to establish a connection, including the "Bluetooth" mode, when the mobile phone detects that the user selects "Bluetooth". After the mode, the interface 1004 is displayed. The interface 1004 displays the names of all the devices that have saved the Bluetooth attribute data, and each name corresponds to a selection button. When the user selects the button on the right side of the identifier Phone2 of the mobile phone 2, the mobile phone 1 will The Bluetooth attribute data of the mobile phone 2 is sent to the smart watch.
其中,当该蓝牙属性数据包括手机2的蓝牙标识、蓝牙MAC地址,不包含配对码时,则智能手表收到该属性数据后,发起与手机2的蓝牙配对过程,当智能手表和手机2蓝牙配对成功后,建立蓝牙连接。Wherein, when the Bluetooth attribute data includes the Bluetooth identifier of the mobile phone 2, the Bluetooth MAC address, and does not include the pairing code, the smart watch initiates the Bluetooth pairing process with the mobile phone 2 after receiving the attribute data, when the smart watch and the mobile phone 2 Bluetooth After the pairing is successful, establish a Bluetooth connection.
当该蓝牙属性数据包括手机2的蓝牙标识、蓝牙MAC地址,还包含蓝牙配对码时,智能手表根据手机2的蓝牙属性数据自动与手机2建立蓝牙连接。When the Bluetooth attribute data includes the Bluetooth identifier of the mobile phone 2, the Bluetooth MAC address, and the Bluetooth pairing code, the smart watch automatically establishes a Bluetooth connection with the mobile phone 2 according to the Bluetooth attribute data of the mobile phone 2.
可选的,当检测到用户选择手机2的标识Phone2右侧的按钮时,手机1除了将手机2的蓝牙属性数据发送给智能手表,还将智能手表的蓝牙属性数据发送给手机2。Optionally, when detecting that the user selects the button on the right side of the identifier Phone2 of the mobile phone 2, the mobile phone 1 transmits the Bluetooth attribute data of the mobile phone 2 to the smart watch, and transmits the Bluetooth attribute data of the smart watch to the mobile phone 2.
可选的,在其他实现方式中,智能手表在与手机2建立蓝牙连接时,智能手表和手机2分别显示提示信息,用于提示用户智能手表和手机2之间的蓝牙连接请求,当用户确认后,智能手表和手机2建立蓝牙连接。Optionally, in other implementation manners, when the smart watch establishes a Bluetooth connection with the mobile phone 2, the smart watch and the mobile phone 2 respectively display prompt information for prompting the user to request a Bluetooth connection between the smart watch and the mobile phone 2, when the user confirms After that, the smart watch and the mobile phone 2 establish a Bluetooth connection.
可见,在图8所示的方式中,用户通过操作手机1,能够将手机2的蓝牙属性数据发送给智能手表,进而智能手表能够与手机2自动建立蓝牙连接。省去了用户分别操作智能手表和手机2的步骤,能够实现智能手表和手机2的快速一键式连接。It can be seen that in the manner shown in FIG. 8, the user can transmit the Bluetooth attribute data of the mobile phone 2 to the smart watch by operating the mobile phone 1, and the smart watch can automatically establish a Bluetooth connection with the mobile phone 2. The step of separately operating the smart watch and the mobile phone 2 is eliminated, and the quick one-touch connection between the smart watch and the mobile phone 2 can be realized.
示例性的,第一设备为手机,第二设备为智能手表,第三设备为某个无线接入点(Acess Point,AP),手机和智能手表建立蓝牙连接,手机和无线接入点建立Wi-Fi连接。Exemplarily, the first device is a mobile phone, the second device is a smart watch, the third device is a wireless access point (Acess Point, AP), the mobile phone and the smart watch establish a Bluetooth connection, and the mobile phone and the wireless access point establish a Wi -Fi connection.
当智能手表和无线接入点建立Wi-Fi连接时,采用本申请实施例图4所示的方法后,如图9所示,用户打开手机的蓝牙设置界面1101,在该界面上显示有所有与手机已建立蓝牙连接的设备的标识,其中包括智能手表的标识WATCH1。在智能手表的标识右侧显示有按钮,用户点开该按钮则加载显示有用户对该智能手表的可能操作的界面1102,包括“忽略此设备”、“与其他设备 建立连接”以及“为此设备获取数据”。当用户选择“与其他设备建立连接”时,显示界面1103,该界面显示所有可能的建立连接的方式,其中包括“Wi-Fi”这个方式,当手机检测到用户选择“Wi-Fi”这个方式后显示所有已保存Wi-Fi属性数据的设备的标识的界面1104,如界面1104中显示AP1、AP2、AP3,每个标识后对应一个选择按钮,当检测到当用户选择AP1右侧的按钮时,手机将AP1的Wi-Fi属性数据发送至智能手表,其中,Wi-Fi属性数据包括设备的标识、设备的地址、设备的接入密码等,则智能手表根据AP1的Wi-Fi属性数据自动与AP1建立Wi-Fi连接。When the smart watch and the wireless access point establish a Wi-Fi connection, after the method shown in FIG. 4 of the embodiment of the present application is adopted, as shown in FIG. 9, the user opens the Bluetooth setting interface 1101 of the mobile phone, and all the displays are displayed on the interface. The identity of the device that has established a Bluetooth connection with the phone, including the identity WATCH1 of the smart watch. A button is displayed on the right side of the smart watch's logo, and the user clicks the button to load an interface 1102 displaying the user's possible operation on the smart watch, including "ignore the device", "with other devices" Establish a connection and "get data for this device." When the user selects "Connect with other devices", the interface 1103 is displayed, which displays all possible ways to establish a connection, including the "Wi-Fi" mode. The mobile phone detects that the user selects the "Wi-Fi" mode and displays the interface 1104 of all the devices that have saved the Wi-Fi attribute data. If the interface 1104 displays AP1, AP2, and AP3, each identifier corresponds to a selection button. When detecting that the user selects the button on the right side of the AP1, the mobile phone sends the Wi-Fi attribute data of the AP1 to the smart watch, where the Wi-Fi attribute data includes the identifier of the device, the address of the device, and the access password of the device. The smart watch automatically establishes a Wi-Fi connection with AP1 based on the Wi-Fi attribute data of AP1.
现有技术中,当智能手表想要接入无线接入点以与无线接入点建立Wi-Fi连接时,手表需要打开Wi-Fi设置界面,扫描到该无线接入点,选择该无线接入点,并输入接入密码后,才能成功接入该无线接入点。在图9所示的方式中,用户操作手机,由手机将无线接入点的标识、地址、接入密码等Wi-Fi属性数据发送给智能手表,进而智能手表获取到该Wi-Fi属性数据后,根据该Wi-Fi属性数据自动与无线接入点建立Wi-Fi连接,能够实现智能手表快速与无线接入点建立Wi-Fi连接。In the prior art, when a smart watch wants to access a wireless access point to establish a Wi-Fi connection with a wireless access point, the watch needs to open a Wi-Fi setting interface, scan the wireless access point, and select the wireless connection. After entering the point and entering the access password, the wireless access point can be successfully accessed. In the mode shown in FIG. 9, the user operates the mobile phone, and the Wi-Fi attribute data such as the identifier, address, and access password of the wireless access point is sent by the mobile phone to the smart watch, and the smart watch acquires the Wi-Fi attribute data. After that, the Wi-Fi connection is automatically established with the wireless access point according to the Wi-Fi attribute data, so that the smart watch can quickly establish a Wi-Fi connection with the wireless access point.
可选的,智能手表接收到无线接入点的Wi-Fi属性数据后,智能手表弹出提示框,用于提示用户是否要将智能手表接入无线接入点,当在智能手表上检测到用户的确认操作后,智能手表接入无线接入点,建立与无线接入点的Wi-Fi连接。在其他实现方式中,手机获取到无线接入点的Wi-Fi属性数据后在手机上弹出提示框,用于提示用户是否将智能手表接入无线接入点,当检测到用户的确认操作后,将该Wi-Fi属性数据发送至智能手表,使得智能手表根据该Wi-Fi属性数据接入无线接入点。Optionally, after the smart watch receives the Wi-Fi attribute data of the wireless access point, the smart watch pops up a prompt box for prompting the user whether to connect the smart watch to the wireless access point, when detecting the user on the smart watch After the confirmation operation, the smart watch accesses the wireless access point and establishes a Wi-Fi connection with the wireless access point. In other implementation manners, after obtaining the Wi-Fi attribute data of the wireless access point, the mobile phone pops up a prompt box on the mobile phone to prompt the user whether to connect the smart watch to the wireless access point, and after detecting the user's confirmation operation, And transmitting the Wi-Fi attribute data to the smart watch, so that the smart watch accesses the wireless access point according to the Wi-Fi attribute data.
传统的身份鉴定方法包括身份标识物品(如钥匙、证件、ATM卡等)和身份标识知识(如用户名和密码)但由于主要借助体外物,一旦证明身份的标识物品和标识知识被盗或遗忘,其身份就容易被他人冒充或取代。生物识别技术比传统的身份鉴定方法更具安全、保密和方便性。生物特征识别技术具不易遗忘、防伪性能好、不易伪造或被盗、随身“携带”和随时随地可用等优点。生物识别技术是指,通过计算机与光学、声学、生物传感器和生物统计学原理等高科技手段密切结合,利用人体固有的生理特性,(如指纹、虹膜等)和行为特征(如笔迹、声音、步态等)来进行个人身份的鉴定。目前,很多电子设备采用生物识别技术实现对用户的身份验证,但有些设备受限于硬件实现形式或者成本等原因,没有生物识别传感器,无法利用生物识别技术的良好特性对用户进行身份验证。Traditional methods of identification include identification of items (such as keys, certificates, ATM cards, etc.) and identification knowledge (such as usernames and passwords). However, due to the use of in vitro objects, once the identification of identification items and identification knowledge is stolen or forgotten, Its identity is easily impersonated or replaced by others. Biometrics are more secure, confidential, and convenient than traditional methods of identification. Biometrics technology is not easy to forget, anti-counterfeiting performance, not easy to forge or stolen, portable "carry" and available anytime, anywhere. Biometric technology refers to the combination of computer and optical, acoustic, biosensor and biostatistical principles, using the inherent physiological characteristics of the human body (such as fingerprints, irises, etc.) and behavioral features (such as handwriting, sound, Gait, etc.) to identify individuals. At present, many electronic devices use biometric technology to implement user authentication, but some devices are limited by hardware implementation or cost, and there is no biometric sensor, and the user cannot be authenticated by using the good characteristics of biometric technology.
本申请实施例提供一种身份验证系统,如图10所示,该系统包括第一设备1201和第二设备1202。所述第一设备1201能够和所述第二设备1202互相连接。上述连接方式包括但不限于:蓝牙(Bluetooth,BT)连接、无线保真(Wireless-Fidelity,Wi-Fi)连接、通用串行总线(Universal Serial Bus,USB)连接等。An embodiment of the present application provides an identity verification system. As shown in FIG. 10, the system includes a first device 1201 and a second device 1202. The first device 1201 can be connected to the second device 1202. The foregoing connection manners include, but are not limited to, a Bluetooth (BT) connection, a Wireless-Fidelity (Wi-Fi) connection, a Universal Serial Bus (USB) connection, and the like.
其中,所述第一设备1201支持生物识别功能,所述第一设备可以为手机、 平板电脑、笔记本电脑、超级移动个人计算机、上网本、个人数字助理等设备。所述第二设备1202为智能手表、手环等可穿戴设备,还可以为其他无法支持生物识别功能的设备。The first device 1201 supports a biometric function, and the first device may be a mobile phone. Tablets, laptops, ultra-mobile personal computers, netbooks, personal digital assistants and more. The second device 1202 is a wearable device such as a smart watch or a wristband, and may also be other devices that cannot support the biometric function.
以所述第一设备1201为手机为例,手机的结构可参考前文图2所示,此处不再赘述;以所述第二设备1202为智能手表为例,智能手表的结构可参考前文图3所示,此处不再赘述。Taking the first device 1201 as a mobile phone as an example, the structure of the mobile phone can be referred to the foregoing FIG. 2, and details are not described herein again. Taking the second device 1202 as a smart watch as an example, the structure of the smart watch can refer to the foregoing figure. 3, not repeated here.
可见,现有的大部分手机安装有指纹识别传感器支持指纹识别,但现有的智能手表由于不具备指纹识别传感器,无法支持指纹识别,这使得智能手表无法利用指纹识别的良好特性,无法快速有效的对用户进行身份验证。It can be seen that most of the existing mobile phones are equipped with fingerprint recognition sensors to support fingerprint recognition, but the existing smart watches cannot support fingerprint recognition because they do not have fingerprint recognition sensors, which makes the smart watches unable to utilize the good characteristics of fingerprint recognition, and cannot be quickly and effectively Authenticate the user.
为了解决上述问题,本申请实施例提供一种身份验证方法,可应用于图10所示的身份验证系统中。如图11所示,该方法包括以下步骤:In order to solve the above problem, the embodiment of the present application provides an identity verification method, which can be applied to the identity verification system shown in FIG. As shown in FIG. 11, the method includes the following steps:
1301、第一设备和第二设备建立连接。1301. The first device and the second device establish a connection.
其中,所述第一设备为支持生物识别功能的设备,所述第二设备为无法支持生物识别功能的设备。示例性的,所述第一设备为手机、PAD等设备。所述第二设备为智能手表、手环等可穿戴设备。The first device is a device that supports a biometric function, and the second device is a device that cannot support a biometric function. Exemplarily, the first device is a mobile phone, a PAD, or the like. The second device is a wearable device such as a smart watch or a wristband.
1302、第一设备接收用户输入的第一生物特征信息。1302. The first device receives first biometric information input by a user.
其中,所述第一生物特征信息包括指纹特征信息、虹膜特征信息、人脸特征信息等。The first biometric information includes fingerprint feature information, iris feature information, face feature information, and the like.
1303、第一设备根据所述第一生物特征信息,向所述第二设备发送第一数据。1303. The first device sends the first data to the second device according to the first biometric information.
在该步骤的一种实现方式中,第一设备根据用户输入的第一生物特征信息对用户进行身份验证并将身份验证结果作为第一数据发送至第二设备。In an implementation manner of the step, the first device authenticates the user according to the first biometric information input by the user, and sends the authentication result as the first data to the second device.
在该步骤的另一种实现方式中,第一设备将用户输入第一生物特征信息作为第一数据发送至第二设备。In another implementation of the step, the first device sends the first biometric information input by the user as the first data to the second device.
1304、所述第二设备根据所述第一数据执行预设操作。1304. The second device performs a preset operation according to the first data.
其中,该预设操作包括解锁、使能预设功能、使能或禁止预设APP等。The preset operation includes unlocking, enabling a preset function, enabling or disabling a preset APP, and the like.
本步骤中,当所述第一数据为身份验证结果时,所述第二设备根据该身份验证结果执行预设操作。当所述第一数据为生物特征信息时,第二设备根据该生物特征信息对用户进行身份验证,再根据身份验证结果执行预设操作。In this step, when the first data is an authentication result, the second device performs a preset operation according to the identity verification result. When the first data is biometric information, the second device performs identity verification on the user according to the biometric information, and then performs a preset operation according to the identity verification result.
上述身份验证方法,第一设备由于安装有支持生物识别所需的传感器,能够利用生物识别技术对用户进行身份验证。因此,在第二设备无法支持生物识别时,第二设备“借助于”第一设备,通过第一设备采集用户的生物识别特征,根据该生物识别特征对用户进行身份验证,并根据身份验证结果执行相应操作。这样,第二设备能够在本身不支持生物识别功能的情况下,利用生物识别技术的良好特性对用户进行身份验证。In the above authentication method, the first device can use the biometric technology to authenticate the user by installing a sensor required to support biometrics. Therefore, when the second device cannot support the biometric identification, the second device "by means of" the first device, collects the biometric feature of the user through the first device, performs identity verification on the user according to the biometric feature, and according to the identity verification result. Take the appropriate action. In this way, the second device can authenticate the user with the good characteristics of the biometric technology without supporting the biometric function itself.
可选的,如图11a所示,在步骤1302之前,还包括以下步骤:Optionally, as shown in FIG. 11a, before step 1302, the following steps are further included:
1401、第一设备预先接收用户输入的第二生物特征信息并保存。1401. The first device receives the second biometric information input by the user in advance and saves.
其中,该第二生物特征信息包括指纹特征信息、虹膜特征信息和人脸特征信息等。 The second biometric information includes fingerprint feature information, iris feature information, and facial feature information.
相应的,在步骤1303的一种实现方式中,如图11 a所示,具体为:Correspondingly, in an implementation manner of step 1303, as shown in FIG. 11a, specifically:
1303a、第一设备根据所述第一生物特征信息和预存储的第二生物特征信息进行身份验证,当身份验证成功后,向所述第二设备发送所述第一数据。1303. The first device performs identity verification according to the first biometric information and the pre-stored second biometric information. After the identity verification is successful, the first data is sent to the second device.
在该实现方式中,第一设备“代替”第二设备对用户进行身份验证,并将身份验证结果告知第二设备,进而第二设备在收到该身份验证结果后执行相应的操作。In this implementation manner, the first device "authenticates" the second device to authenticate the user, and notifies the second device to the identity verification result, and the second device performs a corresponding operation after receiving the identity verification result.
可选的,如图11b所示,在步骤1302之前,还包括以下步骤:Optionally, as shown in FIG. 11b, before step 1302, the following steps are further included:
1501、第一设备预先接收用户输入的第二生物特征信息。151. The first device receives, in advance, second biometric information input by a user.
1502、所述第一设备向所述第二设备发送所述第二生物特征信息。1502. The first device sends the second biometric information to the second device.
1503、所述第二设备保存所述第二生物特征信息。1503. The second device saves the second biometric information.
则在步骤1303的另一种实现方式中,该步骤1303包括:In another implementation of step 1303, the step 1303 includes:
1303b、第一设备向所述第二设备发送所述第一生物特征信息。1303. The first device sends the first biometric information to the second device.
相应的,步骤1304具体可以实现为:Correspondingly, step 1304 can be specifically implemented as:
1304、所述第二设备根据所述第一生物特征信息和预存储的第二生物特征信息对用户进行身份验证,身份验证成功后执行预设操作。1304. The second device performs identity verification on the user according to the first biometric information and the pre-stored second biometric information, and performs a preset operation after the identity verification succeeds.
在该实现方式中,第一设备将所述第二生物特征信息发送给第二设备,使得第二设备预先存储该第二生物特征信息,进而由第二设备根据所述第一生物特征信息和预存储的所述第二生物特征信息对用户进行身份验证,当身份验证成功后执行预设操作。In this implementation, the first device sends the second biometric information to the second device, so that the second device pre-stores the second biometric information, and then the second device according to the first biometric information and The pre-stored second biometric information authenticates the user, and performs a preset operation after the identity verification succeeds.
示例性的,所述第一设备为手机,所述第二设备为可穿戴设备(下文具体以该可穿戴设备为智能手表为例进行说明),所述手机支持生物识别功能,所述智能手表由于没有生物识别所需的传感器无法进行生物识别。以该生物特征为指纹特征为例,应用本申请实施例提供的上述方法后,如图12所示,智能手表和手机预先建立蓝牙连接。用户在手机的蓝牙设置界面1601显示所有与手机建立蓝牙连接的设备的标识,每个设备的标识右侧显示有按钮。智能手表和手机建立蓝牙连接后,手机的蓝牙设置界面显示智能手表的标识WATCH1,则当手机检测到用户选择WATCH1右侧的按钮后,加载显示有用户对该智能手表的可能操作的界面1602,包括“忽略此设备”、“与其他设备建立连接”、“为此设备获取数据”以及“为此设备录入生物识别特征”,当用户选择“为此设备录入生物识别特征”这一操作时,加载界面1604以提示用户选择要录入的生物特征,当用户选择录入指纹时,加载指纹录入界面1603至1605,用户在该指纹录入界面录入指纹。手机保存用户录入的指纹与手表的对应关系。在指纹录入成功后,手机加载录入成功界面1606Exemplarily, the first device is a mobile phone, and the second device is a wearable device (hereinafter, the wearable device is a smart watch as an example), the mobile phone supports a biometric function, and the smart watch Since there is no sensor required for biometric identification, biometrics cannot be performed. Taking the biometric feature as a fingerprint feature, after applying the above method provided by the embodiment of the present application, as shown in FIG. 12, the smart watch and the mobile phone establish a Bluetooth connection in advance. The user displays the identity of all devices that establish a Bluetooth connection with the mobile phone in the Bluetooth setting interface 1601 of the mobile phone, and a button is displayed on the right side of the identification of each device. After the smart watch and the mobile phone establish a Bluetooth connection, the Bluetooth setting interface of the mobile phone displays the smart watch identifier WATCH1, and when the mobile phone detects that the user selects the button on the right side of the WATCH1, loads the interface 1602 displaying the user's possible operation on the smart watch. Including "Ignore this device", "Connect to other devices", "Get data for this device", and "Enter biometric features for this device", when the user selects "Enter biometric features for this device", The interface 1604 is loaded to prompt the user to select a biometric to be entered. When the user selects to enter the fingerprint, the fingerprint input interface 1603 to 1605 is loaded, and the user enters a fingerprint on the fingerprint input interface. The mobile phone saves the correspondence between the fingerprint entered by the user and the watch. After the fingerprint entry is successful, the mobile phone loads the input success interface 1606.
需要说明的是,用户为手机录入的指纹和为智能手表录入的指纹应当是不同的指纹。It should be noted that the fingerprint entered by the user for the mobile phone and the fingerprint entered for the smart watch should be different fingerprints.
可选的,手机将用户为智能手表录入的上述指纹作为参考指纹发送至智能手表。这样,参考图13,如1701所示,当用户在手机上输入指纹时,手机将用户此次输入的指纹与预先保存的参考指纹进行比较以对用户进行身份验证以及确认用户想要操作的设备(手机还是智能手表)。当确认用户想要操作 的设备是手表时,且对用户进行身份验证成功后,如1702所示,手机向手表发送指纹识别成功的指示信令,手表收到该指纹识别成功的指示信令后,由界面1703跳转到显示有APP的图标的界面1704表示解锁成功,进而用户可操作智能手表。Optionally, the mobile phone sends the fingerprint entered by the user for the smart watch as a reference fingerprint to the smart watch. Thus, referring to FIG. 13, as shown in 1701, when the user inputs a fingerprint on the mobile phone, the mobile phone compares the fingerprint input by the user with the pre-saved reference fingerprint to authenticate the user and confirm the device that the user wants to operate. (Mobile phone or smart watch). When confirming that the user wants to operate When the device is a watch and the user is authenticated successfully, as shown in 1702, the mobile phone sends an indication signaling indicating that the fingerprint identification succeeds to the watch, and the watch jumps from the interface 1703 after receiving the indication signaling that the fingerprint identification succeeds. The interface 1704 to the icon displaying the APP indicates that the unlocking is successful, and the user can operate the smart watch.
可选的,当手机上录入了多个不同设备的指纹时,手机可分别代替不同的设备对用户进行身份验证并在身份验证成功后通知相应的设备,该设备根据手机发送的身份验证结果执行相应的操作。Optionally, when fingerprints of multiple different devices are entered on the mobile phone, the mobile phone can replace the different devices to authenticate the user and notify the corresponding device after the identity verification succeeds, and the device performs the verification according to the identity verification result sent by the mobile phone. The corresponding operation.
示例性的,用户可使用不同的指纹在手机上解锁不同的设备。例如:手机1上分别录入了手机2的指纹1、智能手表1的指纹2、智能手表2的指纹3以及智能电视的指纹4。则当用户在手机1上输入指纹1时,手机1进行指纹识别成功后解锁手机2,当用户在手机1上输入指纹2时,手机1进行指纹识别成功后解锁智能手表1。当用户在手机1上输入指纹3时,手机1进行指纹识别成功后解锁智能手表2。当用户在手机1上输入指纹4时,手机1进行指纹识别成功后打开智能电视。Illustratively, a user can unlock different devices on the phone using different fingerprints. For example, the fingerprint of the mobile phone 2, the fingerprint of the smart watch 1, the fingerprint 3 of the smart watch 2, and the fingerprint 4 of the smart television are respectively recorded on the mobile phone 1. When the user inputs the fingerprint 1 on the mobile phone 1, the mobile phone 1 unlocks the mobile phone 2 after successful fingerprint recognition. When the user inputs the fingerprint 2 on the mobile phone 1, the mobile phone 1 unlocks the smart watch 1 after successful fingerprint recognition. When the user inputs the fingerprint 3 on the mobile phone 1, the mobile phone 1 unlocks the smart watch 2 after successful fingerprint recognition. When the user inputs the fingerprint 4 on the mobile phone 1, the mobile phone 1 opens the smart television after successful fingerprint recognition.
可选的,为了保护用户隐私,在手机上为智能手表录入不同用户的指纹,并为不同用户设置不同的操作权限。这样,对于智能手表的关键数据,仅部分用户有权限查看,其它用户无法查看该关键数据。Optionally, in order to protect the privacy of the user, the fingerprints of different users are entered on the mobile phone for the smart watch, and different operation rights are set for different users. In this way, for the key data of the smart watch, only some users have the right to view, and other users cannot view the key data.
示例性的,如图13所示,当用户1在手机上输入指纹1时,对用户1进行身份验证,用户1的身份验证成功后,手机向智能手表发送指示,智能手表收到该指示后解锁成功并提供所有功能供用户1操作,界面1704显示所有APP的图标。Exemplarily, as shown in FIG. 13 , when the user 1 inputs the fingerprint 1 on the mobile phone, the user 1 is authenticated. After the identity verification of the user 1 is successful, the mobile phone sends an indication to the smart watch, and the smart watch receives the indication. The unlocking is successful and all functions are provided for user 1 to operate, and interface 1704 displays icons for all apps.
参考图14,如1801所示,当用户2在手机上输入指纹2时,手机对用户2进行身份验证。身份验证成功后,如1802所示,手机向智能手表发送指示,智能手表收到该指示后由界面1803跳转到界面1804表示解锁成功,并提供部分功能供用户2操作。具体的,与界面1704相比,界面1804仅显示“心率”和“闹钟”这两个APP的图标,未显示“设置”和“支付宝”这一APP的图标,表示用户无法更改智能手表的设置以及无法操作支付宝,进而用户2无法得知用户的支付宝余额等隐私信息。在其他实现方式中,智能手表上的部分图标为灰色,表示用户不可操作该灰色图标对应的应用。其余图标正常显示,表示用户可操作该其他图标。Referring to FIG. 14, as shown in 1801, when the user 2 inputs the fingerprint 2 on the mobile phone, the mobile phone authenticates the user 2. After the authentication is successful, as shown in 1802, the mobile phone sends an indication to the smart watch. After receiving the indication, the smart watch jumps from the interface 1803 to the interface 1804 to indicate that the unlocking is successful, and provides some functions for the user 2 to operate. Specifically, compared with the interface 1704, the interface 1804 displays only the icons of the two apps "heart rate" and "alarm clock", and the icons of the "set" and "Alipay" APPs are not displayed, indicating that the user cannot change the settings of the smart watch. And the Alipay cannot be operated, and the user 2 cannot know the privacy information such as the user's Alipay balance. In other implementations, some of the icons on the smart watch are gray, indicating that the user cannot operate the application corresponding to the gray icon. The rest of the icons are displayed normally, indicating that the user can operate the other icons.
本申请实施例涉及的交互流程、指示信令等,都可以是加密或者不加密的,本申请实施例对此不做限定。The interaction process, the indication signaling, and the like in the embodiments of the present application may be encrypted or unencrypted, which is not limited in this embodiment of the present application.
上述主要从各个网元之间交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,各个网元,例如第一设备、第二设备等为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方 法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The solution provided by the embodiment of the present application is mainly introduced from the perspective of interaction between the network elements. It can be understood that each network element, for example, the first device, the second device, etc., in order to implement the above functions, includes corresponding hardware structures and/or software modules for performing the respective functions. Those skilled in the art will readily appreciate that the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. Professionals can use different parties for each specific application The described functionality is implemented, but such implementation should not be considered to be beyond the scope of the present application.
本申请实施例可以根据上述方法示例对第一设备、第二设备等进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the function module by using the first device, the second device, and the like according to the foregoing method example. For example, each function module may be divided according to each function, or two or more functions may be integrated into one process. In the module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
在采用对应各个功能划分各个功能模块的情况下,图15示出了上述实施例中所涉及的第一设备的一种可能的结构示意图,第一设备1900包括:连接单元1901、获取单元1902和发送单元1903。连接单元1901用于支持第一设备1900执行上述图4中的过程401、404以及方法实施例中的其他过程。获取单元1902用于支持第一设备1900执行图4中的过程402、图4a中的过程4021a、4022a,图4b中的过程4021b和4022b以及方法实施例中的其他过程。发送单元1903用于支持第一设备1900执行上述图4中的过程403以及方法实施例中的其他过程。FIG. 15 is a schematic diagram showing a possible structure of the first device involved in the foregoing embodiment, where the first device 1900 includes: a connection unit 1901, an acquisition unit 1902, and Transmitting unit 1903. The connection unit 1901 is configured to support the first device 1900 to perform the processes 401, 404 in FIG. 4 above and other processes in the method embodiment. The obtaining unit 1902 is configured to support the first device 1900 to perform the process 402 in FIG. 4, the processes 4021a, 4022a in FIG. 4a, the processes 4021b and 4022b in FIG. 4b, and other processes in the method embodiment. The sending unit 1903 is configured to support the first device 1900 to perform the above process 403 in FIG. 4 and other processes in the method embodiment.
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
在采用集成的单元的情况下,图15a示出了上述实施例中所涉及的第一设备的一种可能的结构示意图。第一设备2000包括:处理模块2002和通信模块2003。处理模块2002用于对第一设备的动作进行控制管理,例如,处理模块2002用于支持第一设备执行图4中的过程401、402、404,图4a中的过程4021a、4022a,图4b中的过程4021b和4022b和/或用于本文所描述的技术的其它过程。通信模块2003用于支持第一设备与其他网络实体的通信,例如与第二设备之间的通信。第一设备还可以包括存储模块2001,用于存储第一设备的程序代码和数据。In the case of an integrated unit, FIG. 15a shows a possible structural diagram of the first device involved in the above embodiment. The first device 2000 includes a processing module 2002 and a communication module 2003. The processing module 2002 is configured to perform control management on the actions of the first device. For example, the processing module 2002 is configured to support the first device to perform the processes 401, 402, 404 in FIG. 4, the processes 4021a, 4022a in FIG. 4a, in FIG. 4b. Processes 4021b and 4022b and/or other processes for the techniques described herein. The communication module 2003 is for supporting communication between the first device and other network entities, such as communication with the second device. The first device may further include a storage module 2001 for storing program codes and data of the first device.
其中,处理模块2002可以是处理器或控制器,例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块2003可以是收发器、收发电路或通信接口等。存储模块2001可以是存储器。The processing module 2002 can be a processor or a controller, and can be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The communication module 2003 can be a transceiver, a transceiver circuit, a communication interface, or the like. The storage module 2001 can be a memory.
当处理模块2002为处理器,通信模块2003为收发器,存储模块2001为存储器时,本申请实施例所涉及的第一设备可以为图15b所示的第一设备。When the processing module 2002 is a processor, the communication module 2003 is a transceiver, and the storage module 2001 is a memory, the first device involved in the embodiment of the present application may be the first device shown in FIG. 15b.
参阅图15b所示,该第一设备2100包括:处理器2101、收发器2102、存储器2103以及总线2104。其中,收发器2102、处理器2101以及存储器2103通过总线2104相互连接;总线2104可以是外设部件互连标准(Peripheral  Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图15b中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Referring to FIG. 15b, the first device 2100 includes a processor 2101, a transceiver 2102, a memory 2103, and a bus 2104. The transceiver 2102, the processor 2101, and the memory 2103 are connected to each other through a bus 2104; the bus 2104 may be a peripheral component interconnection standard (Peripheral) Component Interconnect (PCI) bus or extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 15b, but it does not mean that there is only one bus or one type of bus.
在采用对应各个功能划分各个功能模块的情况下,图16示出了上述实施例中所涉及的第二设备的一种可能的结构示意图,第二设备2200包括:连接单元2201和接收单元2202。连接单元2201用于支持第二设备2200执行上述图4中的过程401、404,接收单元2202用于支持第二设备2200执行上述图4中的过程403。FIG. 16 is a schematic diagram showing a possible structure of the second device involved in the foregoing embodiment. The second device 2200 includes a connecting unit 2201 and a receiving unit 2202. The connecting unit 2201 is configured to support the second device 2200 to perform the processes 401, 404 in FIG. 4 above, and the receiving unit 2202 is configured to support the second device 2200 to perform the process 403 in FIG. 4 described above.
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
在采用集成的单元的情况下,图16a示出了上述实施例中所涉及的第二设备的一种可能的结构示意图。第二设备2300包括:处理模块2302和通信模块2303。处理模块2302用于对第二设备的动作进行控制管理,例如,处理模块2302用于支持第二设备执行图4中的过程401、402和/或用于本文所描述的技术的其它过程。通信模块2303用于支持第二设备与其他网络实体的通信,例如与第一设备之间的通信。第二设备还可以包括存储模块2301,用于存储第二设备的程序代码和数据。In the case of an integrated unit, FIG. 16a shows a possible structural diagram of the second device involved in the above embodiment. The second device 2300 includes a processing module 2302 and a communication module 2303. The processing module 2302 is configured to control management of actions of the second device, for example, the processing module 2302 is configured to support the second device to perform the processes 401, 402 of FIG. 4 and/or other processes for the techniques described herein. The communication module 2303 is configured to support communication of the second device with other network entities, such as communication with the first device. The second device may further include a storage module 2301 for storing program codes and data of the second device.
其中,处理模块2302可以是处理器或控制器,例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块2303可以是收发器、收发电路或通信接口等。存储模块2301可以是存储器。The processing module 2302 can be a processor or a controller, and can be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The communication module 2303 can be a transceiver, a transceiver circuit, a communication interface, or the like. The storage module 2301 may be a memory.
当处理模块2302为处理器,通信模块2303为收发器,存储模块2301为存储器时,本申请实施例所涉及的第二设备可以为图16b所示的第二设备。When the processing module 2302 is a processor, the communication module 2303 is a transceiver, and the storage module 2301 is a memory, the second device involved in the embodiment of the present application may be the second device shown in FIG. 16b.
参阅图16b所示,该第二设备2400包括:处理器2401、收发器2402、存储器2403以及总线2404。其中,收发器2402、处理器2401以及存储器2403通过总线2404相互连接;总线2404可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图16b中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Referring to FIG. 16b, the second device 2400 includes a processor 2401, a transceiver 2402, a memory 2403, and a bus 2404. The transceiver 2402, the processor 2401, and the memory 2403 are connected to each other through a bus 2404. The bus 2404 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. Wait. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 16b, but it does not mean that there is only one bus or one type of bus.
参阅图17,本申请实施例提供一种连接建立系统2500,该连接建立系统2500包括第一设备2501、第二设备2502和第三设备2503。其中,所述第一设备2501用于获取所述第三设备2503的属性数据,并向所述第二设备2502发送所 述属性数据。所述第二设备2502用于根据所述第三设备2503的属性数据和所述第三设备2503建立连接。Referring to FIG. 17, an embodiment of the present application provides a connection establishment system 2500. The connection establishment system 2500 includes a first device 2501, a second device 2502, and a third device 2503. The first device 2501 is configured to acquire attribute data of the third device 2503, and send the location information to the second device 2502. Attribute data. The second device 2502 is configured to establish a connection with the third device 2503 according to the attribute data of the third device 2503.
在采用对应各个功能划分各个功能模块的情况下,图18示出了上述实施例中所涉及的第一设备的一种可能的结构示意图,第一设备2600包括:连接单元2601、接收单元2602和发送单元2603。连接单元2601用于支持第一设备2600执行上述图11中的过程1301,接收单元2602用于支持第一设备2600执行图11中的过程1302、图11a中的过程1401以及图11b中的过程1501,发送单元2603用于支持第一设备2600执行上述图11中的过程1303、图11a中的过程1303a以及图11b中的过程1502和1303b。FIG. 18 is a schematic diagram showing a possible structure of the first device involved in the foregoing embodiment, where the first device 2600 includes: a connection unit 2601, a receiving unit 2602, and Transmitting unit 2603. The connecting unit 2601 is configured to support the first device 2600 to perform the above-described process 1301 in FIG. 11, and the receiving unit 2602 is configured to support the first device 2600 to perform the process 1302 in FIG. 11, the process 1401 in FIG. 11a, and the process 1501 in FIG. 11b. The transmitting unit 2603 is configured to support the first device 2600 to perform the process 1303 in FIG. 11 above, the process 1303a in FIG. 11a, and the processes 1502 and 1303b in FIG. 11b.
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
在采用集成的单元的情况下,图18a示出了上述实施例中所涉及的第一设备的一种可能的结构示意图。第一设备2700包括:处理模块2702和通信模块2703。处理模块2702用于对第一设备2700的动作进行控制管理,例如,处理模块2702用于支持第一设备执行图11中的过程1301、图11a中的过程1303a和/或用于本文所描述的技术的其它过程。通信模块2703用于支持第一设备与其他网络实体的通信,例如与第二设备之间的通信。第一设备还可以包括存储模块2701,用于存储第一设备的程序代码和数据。In the case of an integrated unit, FIG. 18a shows a possible structural diagram of the first device involved in the above embodiment. The first device 2700 includes a processing module 2702 and a communication module 2703. The processing module 2702 is configured to control and manage the actions of the first device 2700. For example, the processing module 2702 is configured to support the first device to perform the process 1301 in FIG. 11 , the process 1303 a in FIG. 11 a , and/or for the methods described herein. Other processes of technology. The communication module 2703 is configured to support communication between the first device and other network entities, such as communication with the second device. The first device may further include a storage module 2701 for storing program codes and data of the first device.
其中,处理模块2702可以是处理器或控制器,例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块2703可以是收发器、收发电路或通信接口等。存储模块2701可以是存储器。The processing module 2702 may be a processor or a controller, and may be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The communication module 2703 can be a transceiver, a transceiver circuit, a communication interface, or the like. The storage module 2701 may be a memory.
当处理模块2702为处理器,通信模块2703为收发器,存储模块2701为存储器时,本申请实施例所涉及的第一设备可以为图15b所示的第一设备。When the processing module 2702 is a processor, the communication module 2703 is a transceiver, and the storage module 2701 is a memory, the first device involved in the embodiment of the present application may be the first device shown in FIG. 15b.
参阅图18b所示,该第一设备2800包括:处理器2801、收发器2802、存储器2803以及总线2804。其中,收发器2802、处理器2801以及存储器2803通过总线2804相互连接;总线2804可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图18b中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Referring to FIG. 18b, the first device 2800 includes a processor 2801, a transceiver 2802, a memory 2803, and a bus 2804. The transceiver 2802, the processor 2801, and the memory 2803 are connected to each other through a bus 2804. The bus 2804 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. Wait. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 18b, but it does not mean that there is only one bus or one type of bus.
在采用对应各个功能划分各个功能模块的情况下,图19示出了上述实施例中所涉及的第二设备的一种可能的结构示意图,第二设备2900包括:连接单元2901、接收单元2902和处理单元2903。连接单元2901用于支持第二设 备2900执行上述图11中的过程1301,接收单元2902用于支持第二设备2900执行上述图11中的过程1303、图11a中的过程1303a、图11b中的过程1502和1303b,处理单元2903用于支持第二设备2900执行上述图11中的过程1304。FIG. 19 is a schematic diagram showing a possible structure of the second device involved in the foregoing embodiment, where the second device 2900 includes: a connection unit 2901, a receiving unit 2902, and Processing unit 2903. The connection unit 2901 is used to support the second device The preparation unit 2902 is configured to execute the process 1301 in the foregoing FIG. 11 , and the receiving unit 2902 is configured to support the second device 2900 to perform the process 1303 in the foregoing FIG. 11 , the process 1303 a in FIG. 11 a , and the processes 150 2 and 1303 b in FIG. 11 b . The process 1304 in FIG. 11 above is performed in support of the second device 2900.
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
在采用集成的单元的情况下,图19a示出了上述实施例中所涉及的第二设备的一种可能的结构示意图。第二设备3000包括:处理模块3002和通信模块3003。处理模块3002用于对第二设备的动作进行控制管理,例如,处理模块3002用于支持第二设备执行图11中的过程1301、1304和/或用于本文所描述的技术的其它过程。通信模块3003用于支持第二设备与其他网络实体的通信,例如与第一设备之间的通信。第二设备还可以包括存储模块3001,用于存储第二设备的程序代码和数据。In the case of an integrated unit, FIG. 19a shows a possible structural diagram of the second device involved in the above embodiment. The second device 3000 includes a processing module 3002 and a communication module 3003. The processing module 3002 is configured to control manage the actions of the second device. For example, the processing module 3002 is configured to support the second device to perform the processes 1301, 1304 in FIG. 11 and/or other processes for the techniques described herein. The communication module 3003 is configured to support communication of the second device with other network entities, such as communication with the first device. The second device may further include a storage module 3001 for storing program codes and data of the second device.
其中,处理模块3002可以是处理器或控制器,例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块3003可以是收发器、收发电路或通信接口等。存储模块3001可以是存储器。The processing module 3002 may be a processor or a controller, and may be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The communication module 3003 may be a transceiver, a transceiver circuit, a communication interface, or the like. The storage module 3001 may be a memory.
当处理模块3002为处理器,通信模块3003为收发器,存储模块3001为存储器时,本申请实施例所涉及的第二设备可以为图19b所示的第二设备。When the processing module 3002 is a processor, the communication module 3003 is a transceiver, and the storage module 3001 is a memory, the second device involved in the embodiment of the present application may be the second device shown in FIG. 19b.
参阅图19b所示,该第二设备3100包括:处理器3101、收发器3102、存储器3103以及总线3104。其中,收发器3102、处理器3101以及存储器3103通过总线3104相互连接;总线3104可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图19b中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Referring to FIG. 19b, the second device 3100 includes a processor 3101, a transceiver 3102, a memory 3103, and a bus 3104. The transceiver 3102, the processor 3101, and the memory 3103 are connected to each other through a bus 3104. The bus 3104 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. Wait. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 19b, but it does not mean that there is only one bus or one type of bus.
参阅图20,本申请实施例提供一种身份验证系统3200,该连接建立系统3200包括第一设备3201和第二设备3202。其中,第一设备3201和第二设备3202用于交互以实现图11,图11a和图11b所示的方法。Referring to FIG. 20, an embodiment of the present application provides an identity verification system 3200. The connection establishment system 3200 includes a first device 3201 and a second device 3202. The first device 3201 and the second device 3202 are used to interact to implement the method shown in FIG. 11, FIG. 11a and FIG. 11b.
结合本申请公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(Random Access Memory,RAM)、闪存、只读存储器(Read Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只 读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。The steps of a method or algorithm described in connection with the present disclosure may be implemented in a hardware or may be implemented by a processor executing software instructions. The software instructions may be composed of corresponding software modules, which may be stored in a random access memory (RAM), a flash memory, a read only memory (ROM), an erasable programmable read only memory ( Erasable Programmable ROM, EPROM), electrically erasable programmable only Read EP (EEPROM), registers, hard disk, removable hard disk, compact disk read only (CD-ROM) or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art will appreciate that in one or more examples described above, the functions described herein can be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium. Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage medium may be any available media that can be accessed by a general purpose or special purpose computer.
以上所述的具体实施方式,对本申请的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本申请的具体实施方式而已,并不用于限定本申请的保护范围,凡在本申请的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本申请的保护范围之内。 The specific embodiments of the present invention have been described in detail with reference to the specific embodiments of the present application. It is to be understood that the foregoing description is only The scope of protection, any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present application are included in the scope of protection of the present application.

Claims (45)

  1. 一种连接建立方法,其特征在于,所述方法包括:A connection establishment method, characterized in that the method comprises:
    第一设备获取第三设备的属性数据并向第二设备发送所述属性数据,所述第二设备包括可穿戴设备;The first device acquires attribute data of the third device and sends the attribute data to the second device, where the second device includes a wearable device;
    所述第二设备接收所述第一设备发送的属性数据并根据所述属性数据与所述第三设备建立连接。The second device receives the attribute data sent by the first device and establishes a connection with the third device according to the attribute data.
  2. 根据权利要求1所述的方法,其特征在于,所述第一设备获取第三设备的属性数据,包括:The method according to claim 1, wherein the acquiring, by the first device, the attribute data of the third device comprises:
    所述第一设备接收所述第二设备的指示信令,所述指示信令用于指示所述第一设备使能目标功能;The first device receives the indication signaling of the second device, where the indication signaling is used to indicate that the first device enables a target function;
    所述第一设备根据所述第二设备的指示信令,通过所述目标功能获取所述第三设备的属性数据。The first device acquires attribute data of the third device by using the target function according to the indication signaling of the second device.
  3. 根据权利要求1所述的方法,其特征在于,所述第一设备获取第三设备的属性数据,包括:The method according to claim 1, wherein the acquiring, by the first device, the attribute data of the third device comprises:
    所述第一设备接收用户输入的指示操作,所述指示操作用于指示所述第一设备使能目标功能;The first device receives an indication operation input by a user, and the indication operation is used to indicate that the first device enables a target function;
    所述第一设备根据所述指示操作,获取所述第三设备的属性数据。The first device acquires attribute data of the third device according to the indication operation.
  4. 一种连接建立方法,其特征在于,所述方法包括:A connection establishment method, characterized in that the method comprises:
    第一设备和第二设备建立连接,所述第二设备包括可穿戴设备;Establishing a connection between the first device and the second device, the second device comprising a wearable device;
    所述第一设备获取第三设备的属性数据;The first device acquires attribute data of the third device;
    所述第一设备向与所述第一设备连接的所述第二设备发送所述第三设备的属性数据,以便于所述第二设备根据所述第三设备的属性数据与所述第三设备建立连接。Transmitting, by the first device, attribute data of the third device to the second device connected to the first device, so that the second device is configured according to attribute data of the third device and the third device The device establishes a connection.
  5. 根据权利要求4所述的方法,其特征在于,所述第一设备获取第三设备的属性数据,包括:The method according to claim 4, wherein the acquiring, by the first device, the attribute data of the third device comprises:
    所述第一设备接收所述第二设备的指示信令,所述指示信令用于指示所述第一设备使能目标功能;The first device receives the indication signaling of the second device, where the indication signaling is used to indicate that the first device enables a target function;
    所述第一设备根据所述第二设备的指示信令,通过所述目标功能获取所述第三设备的属性数据。The first device acquires attribute data of the third device by using the target function according to the indication signaling of the second device.
  6. 根据权利要求4所述的方法,其特征在于,所述第一设备获取第三设备的属性数据,包括:The method according to claim 4, wherein the acquiring, by the first device, the attribute data of the third device comprises:
    所述第一设备接收用户输入的指示操作,所述指示操作用于指示所述第一设备使能目标功能;The first device receives an indication operation input by a user, and the indication operation is used to indicate that the first device enables a target function;
    所述第一设备根据所述指示操作,获取所述第三设备的属性数据。The first device acquires attribute data of the third device according to the indication operation.
  7. 根据权利4至6任一项所述的方法,其特征在于,所述第一设备获取第三设备的属性数据,包括:The method according to any one of claims 4 to 6, wherein the acquiring, by the first device, the attribute data of the third device comprises:
    所述第一设备使能拍摄功能;The first device enables a shooting function;
    所述第一设备通过所述拍摄功能扫描所述第三设备的信息识别码,所述信息识别码携带所述第三设备的属性数据; The first device scans an information identifier of the third device by using the photographing function, and the information identifier carries attribute data of the third device;
    所述第一设备解析所述信息识别码得到所述第三设备的属性数据。The first device parses the information identification code to obtain attribute data of the third device.
  8. 根据权利要求4至7任一项所述的方法,其特征在于,所述第一设备获取第三设备的属性数据,包括:The method according to any one of claims 4 to 7, wherein the acquiring, by the first device, the attribute data of the third device comprises:
    所述第一设备与所述第三设备建立近场通信NFC连接;Establishing, by the first device, a near field communication NFC connection with the third device;
    所述第一设备通过已建立的所述NFC连接获取所述第三设备的属性数据。The first device acquires attribute data of the third device by using the established NFC connection.
  9. 一种设备连接的方法,其特征在于,所述方法包括:A method for device connection, characterized in that the method comprises:
    第二设备和第一设备建立连接;The second device establishes a connection with the first device;
    所述第二设备接收所述第一设备发送的第三设备的属性数据;Receiving, by the second device, attribute data of the third device that is sent by the first device;
    所述第二设备根据所述第三设备的属性数据,建立与所述第三设备的连接。The second device establishes a connection with the third device according to the attribute data of the third device.
  10. 根据权利要求9所述的方法,其特征在于,所述第二设备接收所述第一设备发送的第三设备的属性数据之前,所述方法还包括:The method according to claim 9, wherein before the second device receives the attribute data of the third device sent by the first device, the method further includes:
    所述第二设备向所述第一设备发送指示信令,所述指示信令用于指示所述第一设备使能目标功能。The second device sends the indication signaling to the first device, where the indication signaling is used to indicate that the first device enables the target function.
  11. 一种身份验证方法,其特征在于,所述方法包括:An authentication method, characterized in that the method comprises:
    第一设备接收用户输入的第一生物特征信息;Receiving, by the first device, first biometric information input by the user;
    所述第一设备根据所述第一生物特征信息,向第二设备发送第一数据;The first device sends the first data to the second device according to the first biometric information;
    所述第二设备根据所述第一数据,执行预设操作。The second device performs a preset operation according to the first data.
  12. 根据权利要求11所述的方法,其特征在于,在所述第一设备接收用户输入的第一生物特征信息之前,所述方法还包括:The method according to claim 11, wherein before the first device receives the first biometric information input by the user, the method further includes:
    所述第一设备接收用户输入的第二生物特征信息并保存;Receiving, by the first device, second biometric information input by the user and saving the second biometric information;
    所述第一设备根据所述第一生物特征信息,向第二设备发送第一数据,包括:And sending, by the first device, the first data to the second device according to the first biometric information, including:
    所述第一设备根据所述第一生物特征信息和所述第二生物特征信息对用户进行身份验证,确定所述用户的访问权限等级;The first device performs identity verification on the user according to the first biometric information and the second biometric information, and determines an access permission level of the user;
    所述第一设备向所述第二设备发送第一数据,所述第一数据用于表示所述用户的访问权限等级;Transmitting, by the first device, first data to the second device, where the first data is used to indicate an access permission level of the user;
    所述第二设备根据所述第一数据,执行预设操作,包括:The performing, by the second device, performing a preset operation according to the first data includes:
    所述第二设备根据所述第一数据,执行与所述用户的访问权限等级对应的预设操作。The second device performs a preset operation corresponding to the access authority level of the user according to the first data.
  13. 一种身份验证方法,其特征在于,所述方法包括:An authentication method, characterized in that the method comprises:
    所述第一设备和第二设备建立连接;Establishing a connection between the first device and the second device;
    所述第一设备接收用户输入的第一生物特征信息;The first device receives first biometric information input by a user;
    所述第一设备根据所述第一生物特征信息,向与所述第一设备连接的所述第二设备发送第一数据。The first device sends the first data to the second device connected to the first device according to the first biometric information.
  14. 根据权利要求13所述的方法,其特征在于,所述第一设备接收用户输入的第一生物特征信息之前,所述方法还包括:The method according to claim 13, wherein before the first device receives the first biometric information input by the user, the method further includes:
    所述第一设备接收用户输入的第二生物特征信息并保存;Receiving, by the first device, second biometric information input by the user and saving the second biometric information;
    所述第一设备根据所述第一生物特征信息,向与所述第一设备连接的所述 第二设备发送第一数据,包括:The first device connects to the first device according to the first biometric information The second device sends the first data, including:
    所述第一设备根据所述第一生物特征信息和所述第二生物特征信息对用户进行身份验证,确定所述用户的访问权限等级;The first device performs identity verification on the user according to the first biometric information and the second biometric information, and determines an access permission level of the user;
    所述第一设备向所述第二设备发送第一数据,所述第一数据用于表示所述用户的访问权限等级。The first device sends first data to the second device, where the first data is used to indicate an access authority level of the user.
  15. 根据权利要求13所述的方法,其特征在于,所述第一设备接收用户输入的第一生物特征信息之前,所述方法还包括:The method according to claim 13, wherein before the first device receives the first biometric information input by the user, the method further includes:
    所述第一设备接收用户输入的第二生物特征信息;Receiving, by the first device, second biometric information input by a user;
    所述第一设备向所述第二设备发送所述第二生物特征信息以便于所述第二设备保存所述第二生物特征信息;Sending, by the first device, the second biometric information to the second device, so that the second device saves the second biometric information;
    所述第一设备根据所述第一生物特征信息,向所述第二设备发送第一数据,包括:Sending, by the first device, the first data to the second device according to the first biometric information, including:
    所述第一设备向所述第二设备发送所述第一生物特征信息。The first device sends the first biometric information to the second device.
  16. 一种身份验证方法,其特征在于,所述方法包括:An authentication method, characterized in that the method comprises:
    第二设备和第一设备建立连接;The second device establishes a connection with the first device;
    所述第二设备接收所述第一设备发送的第一数据;Receiving, by the second device, the first data sent by the first device;
    所述第二设备根据所述第一数据,执行预设操作。The second device performs a preset operation according to the first data.
  17. 根据权利要求16所述的方法,其特征在于,所述第二设备接收所述第一设备发送的第一数据并根据所述第一数据,执行预设操作,包括:The method according to claim 16, wherein the receiving, by the second device, the first data sent by the first device, and performing a preset operation according to the first data, includes:
    所述第二设备接收所述第一设备发送的第一数据,所述第一数据用于表示所述用户的访问权限等级;Receiving, by the second device, first data sent by the first device, where the first data is used to indicate an access permission level of the user;
    所述第二设备根据所述用户的访问权限等级执行与所述访问权限等级对应的预设操作。The second device performs a preset operation corresponding to the access authority level according to the access authority level of the user.
  18. 根据权利要求16所述的方法,其特征在于,所述第二设备接收所述第一设备发送的第一数据之前,所述方法还包括:The method according to claim 16, wherein before the second device receives the first data sent by the first device, the method further includes:
    所述第二设备接收所述第一设备发送的第二生物特征信息并保存所述第二生物特征信息;Receiving, by the second device, second biometric information sent by the first device, and saving the second biometric information;
    所述第二设备接收所述第一设备发送的第一数据并根据所述第一数据,执行预设操作,包括:Receiving, by the second device, the first data sent by the first device, and performing a preset operation according to the first data, including:
    所述第二设备接收所述第一设备发送的第一生物特征信息;Receiving, by the second device, first biometric information sent by the first device;
    所述第二设备根据所述第一生物特征信息和所述第二生物特征信息对用户进行身份验证,当身份验证成功时,所述第二设备执行预设操作。The second device performs identity verification on the user according to the first biometric information and the second biometric information. When the identity verification is successful, the second device performs a preset operation.
  19. 一种设备,其特征在于,所述设备作为第一设备包括:A device, wherein the device as the first device includes:
    连接单元,用于和第二设备建立连接,所述第二设备包括可穿戴设备;a connecting unit, configured to establish a connection with the second device, where the second device includes a wearable device;
    获取单元,用于获取第三设备的属性数据;An obtaining unit, configured to acquire attribute data of the third device;
    发送单元,用于向所述第二设备发送所述第三设备的属性数据,以便于所述第二设备根据所述第三设备的属性数据与所述第三设备建立连接。And a sending unit, configured to send the attribute data of the third device to the second device, so that the second device establishes a connection with the third device according to the attribute data of the third device.
  20. 根据权利要求19所述的设备,其特征在于,The device according to claim 19, characterized in that
    所述获取单元,具体用于接收所述第二设备的指示信令,所述指示信令用 于指示所述第一设备使能目标功能;根据所述第二设备的指示信令,通过所述目标功能获取所述第三设备的属性数据。The acquiring unit is specifically configured to receive indication signaling of the second device, where the indication signaling is used Instructing the first device to enable the target function; and acquiring the attribute data of the third device by using the target function according to the indication signaling of the second device.
  21. 根据权利要求19所述的设备,其特征在于,The device according to claim 19, characterized in that
    所述获取单元,具体用于接收用户输入的指示操作,所述指示操作用于指示所述第一设备使能目标功能;根据所述指示操作,获取所述第三设备的属性数据。The obtaining unit is configured to receive an indication operation input by the user, where the indication operation is used to indicate that the first device enables the target function; and the attribute data of the third device is acquired according to the indication operation.
  22. 根据权利要求19至21任一项所述的设备,其特征在于,Apparatus according to any one of claims 19 to 21, wherein
    所述获取单元,用于使能所述第一设备的拍摄功能;通过所述拍摄功能扫描所述第三设备的信息识别码,所述信息识别码携带所述第三设备的属性数据;解析所述信息识别码得到所述第三设备的属性数据。The acquiring unit is configured to enable a photographing function of the first device, and scan an information identifier of the third device by using the photographing function, where the information identifier carries attribute data of the third device; The information identification code obtains attribute data of the third device.
  23. 根据权利要求19至21任一项所述的设备,其特征在于,Apparatus according to any one of claims 19 to 21, wherein
    所述获取单元,用于通过所述连接单元与所述第三设备建立NFC连接;通过已建立的所述NFC连接获取所述第三设备的属性数据。The acquiring unit is configured to establish an NFC connection with the third device by using the connecting unit, and acquire attribute data of the third device by using the established NFC connection.
  24. 一种设备,其特征在于,所述设备作为第二设备包括:A device, wherein the device as the second device includes:
    连接单元,用于和第一设备建立连接;a connecting unit, configured to establish a connection with the first device;
    接收单元,用于接收所述第一设备发送的第三设备的属性数据;a receiving unit, configured to receive attribute data of the third device sent by the first device;
    所述连接单元,还用于根据所述接收单元接收的所述第三设备的属性数据,建立与所述第三设备的连接。The connecting unit is further configured to establish a connection with the third device according to the attribute data of the third device received by the receiving unit.
  25. 根据权利要求24所述的设备,其特征在于,所述设备还包括:The device according to claim 24, wherein the device further comprises:
    发送单元,用于向所述第一设备发送指示信令,所述指示信令用于指示所述第一设备使能目标功能。And a sending unit, configured to send the indication signaling to the first device, where the indication signaling is used to indicate that the first device enables a target function.
  26. 一种设备,其特征在于,所述设备作为第一设备包括:A device, wherein the device as the first device includes:
    连接单元,用于和第二设备建立连接;a connecting unit, configured to establish a connection with the second device;
    接收单元,用于接收用户输入的第一生物特征信息;a receiving unit, configured to receive first biometric information input by a user;
    发送单元,用于根据所述第一生物特征信息,向与所述第一设备连接的所述第二设备发送第一数据。And a sending unit, configured to send the first data to the second device connected to the first device according to the first biometric information.
  27. 根据权利要求26所述的设备,其特征在于,The device according to claim 26, wherein
    所述接收单元,还用于接收用户输入的第二生物特征信息并保存;The receiving unit is further configured to receive and save the second biometric information input by the user;
    所述发送单元,还用于根据所述第一生物特征信息和所述第二生物特征信息对用户进行身份验证,确定所述用户的访问权限等级;向所述第二设备发送第一数据,所述第一数据用于表示所述用户的访问权限等级。The sending unit is further configured to perform identity verification on the user according to the first biometric information and the second biometric information, determine an access permission level of the user, and send the first data to the second device. The first data is used to indicate an access authority level of the user.
  28. 根据权利要求26所述的设备,其特征在于,The device according to claim 26, wherein
    所述接收单元,还用于接收用户输入的第二生物特征信息;The receiving unit is further configured to receive second biometric information input by the user;
    所述发送单元,还用于向所述第二设备发送所述第二生物特征信息以便于所述第二设备保存所述第二生物特征信息;The sending unit is further configured to send the second biometric information to the second device, so that the second device saves the second biometric information;
    所述发送单元,还用于向所述第二设备发送所述第一生物特征信息。The sending unit is further configured to send the first biometric information to the second device.
  29. 一种设备,其特征在于,所述设备作为第二设备包括:A device, wherein the device as the second device includes:
    连接单元,用于和第一设备建立连接;a connecting unit, configured to establish a connection with the first device;
    接收单元,用于接收所述第一设备发送的第一数据; a receiving unit, configured to receive first data sent by the first device;
    处理单元,用于根据所述接收单元接收的所述第一数据,执行预设操作。And a processing unit, configured to perform a preset operation according to the first data received by the receiving unit.
  30. 根据权利要求29所述的设备,其特征在于,The device according to claim 29, characterized in that
    所述接收单元,还用于接收所述第一设备发送的第一数据,所述第一数据用于表示所述用户的访问权限等级;The receiving unit is further configured to receive first data sent by the first device, where the first data is used to indicate an access permission level of the user;
    所述处理单元,还用于根据所述用户的访问权限等级执行与所述访问权限等级对应的预设操作。The processing unit is further configured to perform a preset operation corresponding to the access permission level according to the access authority level of the user.
  31. 根据权利要求29所述的设备,其特征在于,The device according to claim 29, characterized in that
    所述接收单元,还用于接收所述第一设备发送的第二生物特征信息并保存所述第二生物特征信息;The receiving unit is further configured to receive second biometric information sent by the first device and save the second biometric information;
    所述接收单元,还用于接收所述第一设备发送的第一生物特征信息;The receiving unit is further configured to receive first biometric information sent by the first device;
    所述处理单元,还用于根据所述第一生物特征信息和所述第二生物特征信息进行身份验证,当身份验证成功时,执行预设操作。The processing unit is further configured to perform identity verification according to the first biometric information and the second biometric information, and when the identity verification is successful, perform a preset operation.
  32. 一种设备,其特征在于,所述设备包括收发器、一个或多个处理器和存储器,所述存储器用于存储计算机程序代码,所述计算机程序代码包括指令,当所述一个或多个处理器执行所述指令时,所述设备执行如权利要求4至8任一项所述的方法。An apparatus, comprising: a transceiver, one or more processors and a memory, the memory for storing computer program code, the computer program code comprising instructions when the one or more processes The apparatus performs the method of any one of claims 4 to 8 when the instructions are executed.
  33. 一种设备,其特征在于,所述设备包括收发器、一个或多个处理器和存储器,所述存储器用于存储计算机程序代码,所述计算机程序代码包括指令,当所述一个或多个处理器执行所述指令时,所述设备执行如权利要求9或10所述的方法。An apparatus, comprising: a transceiver, one or more processors and a memory, the memory for storing computer program code, the computer program code comprising instructions when the one or more processes The apparatus performs the method of claim 9 or 10 when the instructions are executed.
  34. 一种连接建立系统,其特征在于,所述系统包括权利要求32所述的第一设备、权利要求33所述的第二设备和第三设备,所述第一设备用于获取所述第三设备的属性数据,并向所述第二设备发送所述属性数据;所述第二设备用于根据所述第三设备的属性数据和所述第三设备建立连接。A connection establishment system, comprising: the first device according to claim 32, the second device and the third device according to claim 33, wherein the first device is configured to acquire the third device Attribute data of the device, and sending the attribute data to the second device; the second device is configured to establish a connection with the third device according to the attribute data of the third device.
  35. 一种设备,其特征在于,所述设备包括收发器、一个或多个处理器和存储器,所述存储器用于存储计算机程序代码,所述计算机程序代码包括指令,当所述一个或多个处理器执行所述指令时,所述设备执行如权利要求13至15任一项所述的方法。An apparatus, comprising: a transceiver, one or more processors and a memory, the memory for storing computer program code, the computer program code comprising instructions when the one or more processes The apparatus performs the method of any one of claims 13 to 15 when the instructions are executed.
  36. 一种设备,其特征在于,所述设备包括收发器、一个或多个处理器和存储器,所述存储器用于存储计算机程序代码,所述计算机程序代码包括指令,当所述一个或多个处理器执行所述指令时,所述设备执行如权利要求16至18任一项所述的方法。An apparatus, comprising: a transceiver, one or more processors and a memory, the memory for storing computer program code, the computer program code comprising instructions when the one or more processes The apparatus performs the method of any one of claims 16 to 18 when the instructions are executed.
  37. 一种身份验证系统,其特征在于,所述系统包括权利要求35所述的第一设备和权利要求36所述的第二设备。An identity verification system, characterized in that the system comprises the first device of claim 35 and the second device of claim 36.
  38. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述权利要求4至8任一项所述的方法。A computer readable storage medium, wherein the computer readable storage medium stores instructions that, when run on a computer, cause the computer to perform the method of any one of claims 4 to 8.
  39. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述权利要求9或10所述的方法。A computer readable storage medium, wherein the computer readable storage medium stores instructions that, when run on a computer, cause the computer to perform the method of claim 9 or 10.
  40. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述权利要求13至15任一项所述的方法。A computer readable storage medium, wherein the computer readable storage medium stores instructions that, when run on a computer, cause the computer to perform the method of any one of claims 13 to 15.
  41. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有 指令,当其在计算机上运行时,使得计算机执行上述权利要求16至18任一项所述的方法。A computer readable storage medium, wherein the computer readable storage medium stores The instructions, when run on a computer, cause the computer to perform the method of any of the preceding claims 16-18.
  42. 一种计算机程序产品,其特征在于,所述计算机程序产品包含指令,当其在计算机上运行时,使得计算机执行权利要求4至8任一项所述的方法。A computer program product, characterized in that the computer program product comprises instructions which, when run on a computer, cause the computer to perform the method of any one of claims 4 to 8.
  43. 一种计算机程序产品,其特征在于,所述计算机程序产品包含指令,当其在计算机上运行时,使得计算机执行权利要求9或10所述的方法。A computer program product, characterized in that the computer program product comprises instructions which, when run on a computer, cause the computer to perform the method of claim 9 or 10.
  44. 一种计算机程序产品,其特征在于,所述计算机程序产品包含指令,当其在计算机上运行时,使得计算机执行权利要求13至15任一项所述的方法。A computer program product, characterized in that the computer program product comprises instructions which, when run on a computer, cause the computer to perform the method of any one of claims 13 to 15.
  45. 一种计算机程序产品,其特征在于,所述计算机程序产品包含指令,当其在计算机上运行时,使得计算机执行权利要求16至18任一项所述的方法。 A computer program product, characterized in that the computer program product comprises instructions which, when run on a computer, cause the computer to perform the method of any one of claims 16 to 18.
PCT/CN2017/086701 2017-05-31 2017-05-31 Connection establishment method and device WO2018218541A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201780056634.0A CN109716854B (en) 2017-05-31 2017-05-31 Connection establishing method, device, system and medium
PCT/CN2017/086701 WO2018218541A1 (en) 2017-05-31 2017-05-31 Connection establishment method and device
CN202111034827.0A CN113766672B (en) 2017-05-31 2017-05-31 Connection establishment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/086701 WO2018218541A1 (en) 2017-05-31 2017-05-31 Connection establishment method and device

Publications (1)

Publication Number Publication Date
WO2018218541A1 true WO2018218541A1 (en) 2018-12-06

Family

ID=64455194

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/086701 WO2018218541A1 (en) 2017-05-31 2017-05-31 Connection establishment method and device

Country Status (2)

Country Link
CN (2) CN109716854B (en)
WO (1) WO2018218541A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988769A (en) * 2020-07-24 2020-11-24 青岛经济技术开发区海尔热水器有限公司 Equipment function setting method and system
CN113766671A (en) * 2020-06-01 2021-12-07 深圳Tcl新技术有限公司 WiFi connection control method and system based on two-dimensional code and display terminal
CN113853031A (en) * 2021-09-18 2021-12-28 雅迪科技集团有限公司 Helmet connection mode switching method and device
CN114882691A (en) * 2022-06-15 2022-08-09 杨宏伟 Equipment control method, system and device based on image recognition and control equipment

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112312366B (en) * 2019-07-26 2022-10-28 华为技术有限公司 Method, electronic equipment and system for realizing functions through NFC (near field communication) tag
CN112770201A (en) * 2020-11-16 2021-05-07 无锡时柒伍科技有限公司 Lyric display stereo set that bluetooth is connected
CN115134402A (en) * 2021-03-29 2022-09-30 华为技术有限公司 Device connection method and electronic device
CN113297556A (en) * 2021-07-01 2021-08-24 读书郎教育科技有限公司 Student flat handwriting unlocking device and method based on intelligent desk lamp
CN113543103A (en) * 2021-07-13 2021-10-22 读书郎教育科技有限公司 Student flat plate unlocking method and device based on intelligent desk lamp gait recognition
CN114389910A (en) * 2022-01-12 2022-04-22 湖北星纪时代科技有限公司 Terminal control method and terminal control device based on UWB implementation
WO2024087071A1 (en) * 2022-10-26 2024-05-02 华为技术有限公司 Communication method, apparatus, and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103701000A (en) * 2013-12-27 2014-04-02 北京奇虎科技有限公司 Smart Hub with Bluetooth pairing function and Bluetooth pairing method thereof
CN104202523A (en) * 2014-09-01 2014-12-10 广东欧珀移动通信有限公司 Method and system for synchronously controlling a plurality of photographic devices through wearable device
CN205050141U (en) * 2014-09-30 2016-02-24 苹果公司 Electronic equipment
CN105389500A (en) * 2014-09-02 2016-03-09 苹果公司 Method of using one device to unlock another device
CN105430760A (en) * 2015-10-30 2016-03-23 上海摩软通讯技术有限公司 Method and system for connection between equipment
CN105517186A (en) * 2014-10-10 2016-04-20 三星电子株式会社 Multi-connection method and electronic device supporting same
CN105938526A (en) * 2016-03-07 2016-09-14 李明 Identity authentication method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102180959B1 (en) * 2013-12-09 2020-11-19 삼성전자주식회사 Adaptive beam sweeping coordination method and apparatus in a wireless communication system
US10219242B2 (en) * 2015-01-20 2019-02-26 Futurewei Technologies, Inc. System and method for delivering notifications
CN105959287A (en) * 2016-05-20 2016-09-21 中国银联股份有限公司 Biological feature based safety certification method and device
CN106658360A (en) * 2016-10-19 2017-05-10 广东欧珀移动通信有限公司 Data transmission method and data transmission device
CN106488394A (en) * 2016-10-19 2017-03-08 广东欧珀移动通信有限公司 A kind of method and device of equipment connection

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103701000A (en) * 2013-12-27 2014-04-02 北京奇虎科技有限公司 Smart Hub with Bluetooth pairing function and Bluetooth pairing method thereof
CN104202523A (en) * 2014-09-01 2014-12-10 广东欧珀移动通信有限公司 Method and system for synchronously controlling a plurality of photographic devices through wearable device
CN105389500A (en) * 2014-09-02 2016-03-09 苹果公司 Method of using one device to unlock another device
CN205050141U (en) * 2014-09-30 2016-02-24 苹果公司 Electronic equipment
CN105517186A (en) * 2014-10-10 2016-04-20 三星电子株式会社 Multi-connection method and electronic device supporting same
CN105430760A (en) * 2015-10-30 2016-03-23 上海摩软通讯技术有限公司 Method and system for connection between equipment
CN105938526A (en) * 2016-03-07 2016-09-14 李明 Identity authentication method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113766671A (en) * 2020-06-01 2021-12-07 深圳Tcl新技术有限公司 WiFi connection control method and system based on two-dimensional code and display terminal
CN111988769A (en) * 2020-07-24 2020-11-24 青岛经济技术开发区海尔热水器有限公司 Equipment function setting method and system
CN113853031A (en) * 2021-09-18 2021-12-28 雅迪科技集团有限公司 Helmet connection mode switching method and device
CN113853031B (en) * 2021-09-18 2024-04-02 雅迪科技集团有限公司 Helmet connection mode switching method and device
CN114882691A (en) * 2022-06-15 2022-08-09 杨宏伟 Equipment control method, system and device based on image recognition and control equipment

Also Published As

Publication number Publication date
CN113766672A (en) 2021-12-07
CN109716854A (en) 2019-05-03
CN109716854B (en) 2021-12-31
CN113766672B (en) 2023-11-21

Similar Documents

Publication Publication Date Title
WO2018218541A1 (en) Connection establishment method and device
KR102483832B1 (en) Method and apparatus for connectiong between electronic devices using authentication based on biometric information
CN108521494B (en) Terminal control method and device, readable storage medium and terminal
KR102162955B1 (en) Method for performing authentication using biometrics information and portable electronic device supporting the same
US11176235B2 (en) Permission control method and related product
US20130007876A1 (en) System and method of providing biometric quick launch
CN106778175B (en) Interface locking method and device and terminal equipment
WO2017185711A1 (en) Method, apparatus and system for controlling smart device, and storage medium
KR20180041532A (en) Method and apparatus for connecting between electronic devices
WO2018045487A1 (en) Data sharing method and terminal
JP2015534405A (en) Terminal lock release processing method, apparatus, terminal apparatus, program, and recording medium
CN107483213B (en) Security authentication method, related device and system
JP2016507815A (en) Image processing method, image processing device, terminal device, program, and recording medium
WO2018161353A1 (en) Photo sharing method and device
CN106548144B (en) Iris information processing method and device and mobile terminal
WO2019196693A1 (en) Application control method and device, readable storage medium and terminal
WO2019218843A1 (en) Key configuration method and device, and mobile terminal and storage medium
WO2018094920A1 (en) Ppg authentication method and device
EP4270184A1 (en) Cross-device authentication method and electronic devices
WO2018223402A1 (en) Function control method and terminal
CN112580051A (en) Starting-up control method and device
WO2019144947A1 (en) Display method and apparatus for authentication window
WO2019019837A1 (en) Biological identification method and related product
EP2192519B1 (en) System and method of providing biometric quick launch
CN107480495B (en) Unlocking method of mobile terminal and related product

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17912165

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17912165

Country of ref document: EP

Kind code of ref document: A1