CN110177360B - Method and device for binding with wearable device - Google Patents
Method and device for binding with wearable device Download PDFInfo
- Publication number
- CN110177360B CN110177360B CN201910407793.1A CN201910407793A CN110177360B CN 110177360 B CN110177360 B CN 110177360B CN 201910407793 A CN201910407793 A CN 201910407793A CN 110177360 B CN110177360 B CN 110177360B
- Authority
- CN
- China
- Prior art keywords
- binding
- wearable device
- target wearable
- instruction
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/03—Protecting confidentiality, e.g. by encryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/40—Security arrangements using identity modules
- H04W12/48—Security arrangements using identity modules using secure binding, e.g. securely binding identity modules to devices, services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The application relates to the technical field of wearable equipment, and aims to provide a method and equipment for binding with the wearable equipment. Compared with the prior art, the method and the equipment for binding with the wearable equipment utilize Near Field Communication (NFC) technology to realize binding of the wearable equipment such as the smart watch, are simple in operation steps, reduce misoperation risks, and can quickly and safely realize binding of the wearable equipment such as the smart watch. Also can reduce when convenient operation because of the maloperation or the operation can't in time accomplish binding like wearable equipment such as intelligent wrist-watch not in place, the NFC technique is a black box technique moreover, and data communication security is high, therefore can improve the operation security nature, and then has promoted user experience better.
Description
Technical Field
The application relates to the technical field of wearable equipment, in particular to a technology for binding with wearable equipment.
Background
With the development of wearable device technology, more and more wearable devices are coming out. Wearable equipment usually needs to be activated earlier, bind the back and can use, and the most commonly used mode of binding of wearable equipment such as smart watch in the existing market is through scanning two-dimensional code binding. The method for realizing binding by scanning the two-dimensional code has the advantages that on one hand, the operation steps are complicated, the efficiency is low, on the other hand, a plurality of devices for identifying the two-dimensional code on the market can identify the two-dimensional code of the wearable device without corresponding specific scanning devices or programs, the information of the wearable device is obtained, and the method for realizing binding by scanning the two-dimensional code also has safety risks such as information leakage.
Disclosure of Invention
In order to solve the above problem, the present application provides a method and device for binding with a wearable device.
According to an aspect of the present application, there is provided a method at a mobile device for binding with a target wearable device, wherein the method comprises:
starting an NFC function and determining the target wearable device from the obtained devices with the NFC function started;
establishing an NFC connection with the target wearable device;
acquiring attribute information of the target wearable device based on the NFC connection established between the target wearable device and the target wearable device;
sending a binding request carrying the attribute information of the target wearable device to a network device;
and receiving binding state information returned by the network equipment based on the binding request, wherein the binding state information comprises a binding success instruction or a binding failure instruction.
Further, the trigger condition corresponding to the starting of the NFC function includes any one of:
when an opening instruction of the binding interface of the target wearable device is obtained;
and when an NFC starting instruction triggered by a user is acquired.
Further, the determining the target wearable device from the acquired NFC-enabled devices includes any one of:
determining the target wearable device based on a user triggering a selection instruction in the NFC-enabled device;
determining the target wearable device based on identification information of the NFC-enabled device.
Further wherein the binding request is processed by encryption.
Further, wherein the method further comprises:
and when the binding state information is a binding success instruction and a user confirmation instruction is received within preset time, sending the user confirmation instruction to the network equipment and receiving a binding success determination instruction returned by the network equipment based on the user confirmation instruction.
Further, wherein the method further comprises:
and when the binding with the target wearable device is successful, adding the identification information of the target wearable device into a corresponding application interface, wherein the identification information can be modified.
According to another aspect of the present application, there is also provided a method at a network device for binding with a target wearable device, wherein the method includes:
receiving a binding request which is sent by mobile equipment and carries the attribute information of the target wearable equipment;
judging whether the attribute information of the target wearable device meets a preset binding condition or not based on the binding request;
sending binding state information to the mobile device and/or the target wearable device based on a judgment result of whether the preset binding condition is met, wherein the binding state information comprises a binding success instruction or a binding failure instruction.
Further, the preset binding condition includes at least any one of the following:
the attribute information of the target wearable device conforms to preset length information;
the attribute information of the target wearable device conforms to a preset naming mode.
Further, when the binding request further includes user account information, the preset binding condition further includes:
the user account information is normal user account information existing in the database.
Further, wherein the method further comprises:
and when the binding state information is a binding success instruction and a user confirmation instruction is received within preset time, sending a binding success confirmation instruction to the mobile equipment.
According to yet another aspect of the present application, there is also provided a computer readable medium having stored thereon computer readable instructions executable by a processor to implement the foregoing method.
According to yet another aspect of the present application, there is also provided a mobile device for binding with a target wearable device, wherein the mobile device comprises:
one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform operations of the method as previously described.
According to yet another aspect of the present application, there is also provided a network device for binding with a target wearable device, wherein the network device comprises:
one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform operations of the method as previously described.
Compared with the prior art, the method and the equipment for binding with the wearable equipment are provided, the binding of the wearable equipment such as the smart watch and the like is realized by utilizing an NFC (Near Field Communication) technology, the operation steps are simple, the misoperation risk is reduced, and the binding of the wearable equipment such as the smart watch and the like can be realized quickly and safely. Also can reduce when convenient operation because of the maloperation or the operation can't in time accomplish binding like wearable equipment such as intelligent wrist-watch not in place, the NFC technique is a black box technique moreover, and data communication security is high, therefore can improve the operation security nature, and then has promoted user experience better.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 illustrates a flow diagram of a method at a mobile device for binding with a target wearable device in accordance with an aspect of the subject application;
fig. 2 illustrates a flow diagram of a method at a network device for binding with a target wearable device in accordance with another aspect of the subject application;
FIG. 3 is a flow chart of a method for binding with a target wearable device according to a preferred embodiment of the present application
Figure 4 illustrates a schematic diagram of a device environment for binding with a target wearable device according to a preferred embodiment of the present application;
the same or similar reference numbers in the drawings identify the same or similar steps or devices.
Detailed Description
The present invention is described in further detail below with reference to the attached drawing figures.
In one exemplary configuration of the present application, the mobile device, the network device, and the wearable device each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory, Random Access Memory (RAM), and/or non-volatile memory in a computer-readable medium, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, which include both non-transitory and non-transitory, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
In order to further illustrate the technical means and effects adopted by the present application, the following description clearly and completely describes the technical solutions of the present application with reference to the accompanying drawings and embodiments.
Fig. 1 shows a flowchart of a method for binding with a target wearable device 11 at a mobile device 12 according to an aspect of the present application, wherein the method of an embodiment comprises:
s11 starts the NFC function and determines the target wearable device 11 from the acquired devices with the NFC function already started;
s12 establishing an NFC connection with the target wearable device 11;
s13 obtains attribute information of the target wearable device 11 based on the NFC connection established with the target wearable device 11;
s14 sends a binding request carrying the attribute information of the target wearable device 11 to the network device 13;
s15 receives the binding status information returned by the network device 13 based on the binding request, where the binding status information includes a binding success instruction or a binding failure instruction.
In this embodiment, in step S11, the mobile device 12 starts the NFC function and determines the target wearable device 11 from the acquired devices with the NFC function turned on.
Specifically, the mobile device 12 may automatically start the NFC function, for example, the mobile device 12 may be preset to automatically start the NFC function when being powered on, or start the NFC function when a preset trigger condition is met.
Preferably, the trigger condition corresponding to the starting of the NFC function includes any one of: when an opening instruction of the binding interface of the target wearable device 11 is obtained; and when an NFC starting instruction triggered by a user is acquired. For example, a corresponding application bound with the target wearable device 11 may exist on the mobile device 12, when the binding with the target wearable device 11 is to be completed, a user may first trigger to open the application on the mobile device 12 and enter a binding interface, and when the mobile device 12 acquires that the binding interface is opened, an opening instruction is correspondingly acquired to start an NFC function; for another example, the starting of the NFC function may also be triggered by the user, and the NFC function is started when the mobile device 12 acquires an NFC start instruction triggered by the user.
After the NFC function is started, the mobile device 12 determines the target wearable device 11 from the acquired devices with the NFC function turned on, where the mobile device 12 may acquire one or more wearable devices in the detectable range of the ambient NFC signal, and when the mobile device 12 acquires only one wearable device, the wearable device may be directly determined as the target wearable device 11.
Preferably, the determining the target wearable device 11 from the acquired NFC-enabled devices includes any one of: determining the target wearable device 11 based on a user-triggered selection instruction in the NFC-enabled device; determining the target wearable device 11 based on the identification information of the NFC-enabled device.
In this embodiment, the manner of determining the target wearable device 11 may be determined by a selection instruction of the user, for example, when one or more wearable devices are presented on the mobile device 12, the user may select one or more wearable devices as the target wearable device 11, for example, one wearable device may be selected as the target wearable device 11 each time only one wearable device may be bound by the mobile device 12, and if multiple wearable devices may also be bound by the mobile device 12 each time, multiple wearable devices may be simultaneously selected as the target wearable devices 11; alternatively, the mobile device 12 may also determine the target wearable device 11 based on identification information of the NFC-enabled device, where the device identification information includes, but is not limited to, information capable of identifying different wearable devices, for example, name information of wearable devices capable of being presented to the user, such as brand names of time of day Z1, Honor K2, Huawei3 Pro, or information representing different device types, for example, a smart watch or smart glasses, and the like.
Continuing in this embodiment, in step S12, the mobile device 12 establishes an NFC connection with the target wearable device 11.
In particular, the establishment of the NFC connection between the mobile device 12 and the target wearable device 11 is automatic, without user confirmation.
Continuing in this embodiment, in step S13, the mobile device 12 obtains attribute information of the target wearable device 11 based on the NFC connection established with the target wearable device 11.
Preferably, the attribute information of the target wearable Device 11 is information uniquely identifying the target wearable Device, for example, may be a Unique Device Identifier (UDID) of the target wearable Device, for example, the UDID of a smart watch is an IMEI (International Mobile Equipment Identity) for identifying each independent Mobile communication Device in a Mobile phone network; the attribute information of the target wearable device 11 may also be name information of the target wearable device, for example, a brand model name such as smallpox Z1, Honor K2, Huawei3 Pro, and the like.
Continuing in this embodiment, in step S14, a binding request carrying the attribute information of the target wearable device 11 is sent to the network device 13.
Specifically, the mobile device 12 sends a binding request carrying the attribute information of the target wearable device 11 to the network device 13 through a network, where the binding request is used to request the network device 13 to establish an association relationship between the mobile device 12 and the target wearable device 11, that is, to bind, and the mobile device 12 may correspond to one or more target wearable devices 11. Wherein, the network device 13 includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud of a plurality of servers; here, the Cloud is composed of a large number of computers or web servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, one virtual supercomputer consisting of a collection of loosely coupled computers. The mobile device 12 sends the binding request over the network connection established with the network device 13.
Preferably, the binding request is encrypted, for example, by using http protocol to encrypt the binding request and then send the encrypted binding request to the network device 13 through the network, or by using wss or ssl protocol to encrypt the binding request and then send the encrypted binding request to the network device 13 through the network, where the encryption protocol is only an example, and other existing or future encryption protocols or algorithms suitable for network transmission information, such as those suitable for the present application, are also included in the scope of the present application, and are herein incorporated by reference.
Continuing in this embodiment, in step S15, the mobile device 12 receives the binding status information returned by the network device 13 based on the binding request, where the binding status information includes a binding success instruction or a binding failure instruction.
Preferably, when the binding state information is a binding success instruction, the binding success instruction is used to indicate that the mobile device 12 and the target wearable device 11 are successfully bound, that is, when the mobile device 12 and the target wearable device 11 meet a preset binding condition, the network device 13 sends the binding success information to at least one of the mobile device 12 and the target wearable device 11, and after the user confirms the binding, sends a user confirmation instruction to the network device 13, and accordingly, the network device 13 returns the binding success instruction based on the user confirmation instruction, where the confirmation instruction needs to be triggered within a preset time. Or, when the binding state information is a binding failure instruction, that is, when the mobile device 12 and the target wearable device 11 do not meet the preset binding condition, the network device 13 may send the binding failure information to at least one of the mobile device 11 and the target wearable device 12, or a user does not trigger a confirmation instruction of accepting binding on the mobile device 12 and/or the target wearable device 11 within a preset time, and the mobile device 12 accepts the binding failure instruction returned by the network device 13.
Preferably, wherein the method further comprises: s16 (not shown), when the target wearable device 11 is successfully bound, the identification information of the target wearable device 11 is added to the interface of the corresponding application program of the mobile device 12, for example, when the binding is successful, the identification information of the corresponding one or more target wearable devices 11 is presented in the binding interface of the application, for the user to view, wherein the identification information is modifiable, such as modifying the brand model name of the acquired small day Z1, Honor K2, Huawei3 Pro, etc. into the name of the target wearable device user, or an identification that may represent the user of the target wearable device, where the identification information is modified by way of example only, other existing or future modifications, as may be appropriate to the present application, are intended to be included within the scope of the present application and are to be included herein by reference.
Fig. 2 shows a flowchart of a method for binding with a target wearable device 11 at a network device 13 side according to another aspect of the present application, wherein the method of an embodiment comprises:
s21 receives a binding request sent by the mobile device 12 and carrying the attribute information of the target wearable device 11;
s22 determining whether the attribute information of the target wearable device 11 satisfies a preset binding condition based on the binding request;
s23 sends binding status information to the mobile device 12 based on the determination result of whether the preset binding condition is satisfied, where the binding status information includes a binding success instruction or a binding failure instruction.
In this embodiment, in step S21, the network device 13 receives a binding request that is sent by the mobile device 12 and carries the attribute information of the target wearable device 11.
Preferably, the attribute information of the target wearable Device 11 is information uniquely identifying the target wearable Device 11, for example, may be a Unique Device Identifier (UDID) of the target wearable Device 11, for example, the UDID of a smart watch is an International Mobile Equipment Identity (IMEI) for identifying each independent Mobile communication Device in a Mobile phone network; the attribute information of the target wearable device 11 may also be name information of the target wearable device 11, for example, a brand name such as smallpox Z1, Honor K2, Huawei3 Pro, or information representing different device types, for example, a smart watch or smart glasses, and the like.
Further, wherein the binding request of the property information of the target wearable device 11 is sent by the mobile device 12 to the network device 13 through a network, wherein the network includes an access network (e.g., WLAN network, mobile data, wireless internet), and a network interconnection device.
Preferably, the binding request is encrypted, for example, the mobile device 12 may encrypt the binding request using http protocol and send the encrypted binding request to the network device 13 through the network, and may also encrypt the binding request using wss or ssl protocol and send the encrypted binding request to the network device 13 through the network, where the encryption protocol is only an example, and other existing or future encryption protocols or algorithms suitable for network transmission information, such as those suitable for the present application, are also included in the scope of the present application, and are herein incorporated by reference.
Continuing in this embodiment, in step S22, the determining whether the attribute information of the target wearable device satisfies the preset binding condition based on the binding request is performed.
Preferably, the preset binding condition includes at least any one of: the attribute information of the target wearable device 11 conforms to preset length information; the attribute information of the target wearable device 11 conforms to a preset naming mode. For example, the IMEI serial number of the smart watch has 15 to 17 digits in total, wherein the first 6 to 8 digits (TAC) are model approval numbers (6 digits in the early stage) which are codes for distinguishing the brand and the model of the mobile phone, the next 2 digits (FAC) are codes for representing the final assembly site, the next 6 digits (SNR) are serial numbers which represent the production sequence number, and the last 1 digit (SP) is generally 0 which is a check code.
Preferably, when the binding request further includes user account information, the preset binding condition further includes: the user account information is normal user account information existing in the database.
Specifically, the user account information includes information of a user logging in the application, and the user can obtain the information by registering on the application interface. The database stores normal user account information, and the network device 13 can call the database in real time. When the binding request further includes user account information, the network device 13 needs to detect whether the user account information is normal user account information, and when the user account information is abnormal information, the binding condition is not satisfied. Wherein, the determination of whether the user account information is normal or not can be matched based on the user account information pre-stored in the database.
Continuing in this embodiment, in step S23, based on the determination result of whether the preset binding condition is satisfied, sending binding state information to the mobile device, where the binding state information includes a binding success instruction or a binding failure instruction.
The determination result may be that the binding matching is successful or that the binding matching is failed.
Preferably, when the binding matching is successful, the network device 13 sends the encrypted binding success information to at least one of the mobile device 13 or the target wearable device 11, and the user triggers a confirmation instruction of accepting the binding on the mobile device 12 and/or the target wearable device 11, and accordingly, the network device 13 obtains the user confirmation instruction and sends the binding success instruction to the mobile device 12 based on the user confirmation instruction. Wherein, the confirmation command needs to be triggered within a preset time.
Or, when the binding matching is successful, the network device 13 sends the encrypted binding success information to at least one of the mobile device 12 or the target wearable device 11, and the user does not trigger a confirmation instruction of accepting the binding within a preset time on the mobile device 12 and/or the target wearable device 11, or the binding matching fails, and the network device 13 sends a binding failure instruction to the mobile device 12.
Specifically, the binding matching information is encrypted, for example, the binding request may be encrypted by http protocol and then sent to the network device 13 through the network, or the binding request may be encrypted by wss or ssl protocol and then sent to the network device 13 through the network, where the encryption protocol is only an example, and other existing or future encryption protocols or algorithms suitable for network transmission information, such as those suitable for the present application, are also included in the scope of the present application, and are herein incorporated by reference.
Further, when the binding with the target wearable device is successful, the bound success information of the target wearable device 11 is added to the database.
Fig. 3 shows a flowchart of a method for binding with a target wearable device 11 according to a preferred embodiment of the present application, wherein the method comprises:
s31, the mobile device 12 starts an NFC function and determines the target wearable device 11 from the acquired devices with the NFC function turned on;
s32 the mobile device 12 establishing an NFC connection with the target wearable device 11;
s33, the mobile device 12 obtains attribute information of the target wearable device 11 based on the NFC connection established with the target wearable device 11;
s34, the mobile device 12 sends a binding request carrying the attribute information of the target wearable device 11 to the network device 13, and accordingly, the network device 13 receives the binding request carrying the attribute information of the target wearable device 11 and sent by the mobile device 12;
s35, the network device 13 determines whether the attribute information of the target wearable device 11 meets a preset binding condition based on the binding request;
s36, the network device 13 sends, to the mobile device 12, binding state information based on the determination result of whether the predetermined binding condition is satisfied, where the binding state information includes a binding success instruction or a binding failure instruction, and accordingly, the mobile device 12 receives the binding state information;
in this preferred embodiment, in step S31, the mobile device 12 starts the NFC function and determines the target wearable device 11 from the acquired devices with the NFC function turned on.
Specifically, the mobile device 12 may automatically start the NFC function, for example, the mobile device 12 may automatically start the NFC function after being preset when being powered on, or start the NFC function when a preset trigger condition is met.
Preferably, the trigger condition corresponding to the starting of the NFC function includes any one of: when an opening instruction of the binding interface of the target wearable device 11 is obtained; and when an NFC starting instruction triggered by a user is acquired. For example, a corresponding application program bound with the wearable device may exist on the mobile device 12, when the binding with the wearable device is to be completed, the user may first trigger to open the application program on the mobile device 12 and enter a binding interface, and when the mobile device 12 acquires that the binding interface is opened, the mobile device correspondingly acquires an opening instruction to start the NFC function; for another example, the starting of the NFC function may also be triggered by the user, and the NFC function is started when the mobile device 12 acquires an NFC start instruction triggered by the user.
Specifically, the target wearable device 11 may automatically start the NFC function, for example, the target wearable device 11 may automatically start the NFC function when being powered on, or start the NFC function when a preset trigger condition is met.
Preferably, the trigger condition corresponding to starting the NFC function includes that the target wearable device 11 acquires a user trigger binding interface opening instruction.
Continuing in this embodiment, in step S32, where the mobile device 12 and the target wearable device 11 are in the detectable range of NFC signals, an NFC connection is automatically established.
In particular, the establishment of the NFC connection between the mobile device 12 and the target wearable device 11 is automatic, without user confirmation.
Continuing in this embodiment, in step S33, based on the NFC connection established with the target wearable device 11, entering a binding interface of the mobile device 12, and obtaining the attribute information of the target wearable device 11.
Specifically, entering the binding interface of the mobile device 12 may be the user triggering an application and then entering the binding interface.
Preferably, the acquiring of the attribute information of the target wearable Device 11 is information that uniquely identifies the target wearable Device 11, for example, may be a Unique Device Identifier (UDID) of the target wearable Device 11, for example, the UDID of a smart watch is an International Mobile Equipment Identity (IMEI) for identifying each independent Mobile communication Device in a Mobile phone network; the obtaining of the attribute information of the target wearable device may also be name information of the target wearable device.
Continuing in this embodiment, in the step S34, the mobile device 12 sends a binding request carrying the attribute information of the target wearable device 11 to the network device 13, and accordingly, the network device 13 receives the binding request carrying the attribute information of the target wearable device 11 and sent by the mobile device 12.
Specifically, the mobile device 12 sends a binding request carrying the attribute information of the target wearable device 11 to the network device 13 through a network, where the binding request is used to request the network device 13 to establish an association relationship between the mobile device 12 and the target wearable device 11, that is, to bind, and the mobile device 12 may correspond to one or more target wearable devices 11. Wherein, the network device 13 includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud of a plurality of servers; here, the Cloud is made up of a large number of computers or network servers based on Cloud Computing (Cloud Computing), which is a type of distributed Computing, a virtual supercomputer consisting of a collection of loosely coupled computers, wherein the networks include, but are not limited to, various access networks such as WLAN, mobile data networks, wireless internet, and internetworking devices. The mobile device 12 sends the binding request over the network connection established with the network device.
Preferably, the binding request is encrypted, for example, by using http protocol to encrypt the binding request and then send the encrypted binding request to the network device 13 through the network, or by using wss or ssl protocol to encrypt the binding request and then send the encrypted binding request to the network device 13 through the network, where the encryption protocol is only an example, and other existing or future encryption protocols or algorithms suitable for network transmission information, such as those suitable for the present application, are also included in the scope of the present application, and are herein incorporated by reference.
Continuing in this embodiment, in the step S35, the network device 13 determines whether the attribute information of the target wearable device 11 satisfies the preset binding condition based on the binding request.
Preferably, the preset binding condition includes at least any one of: the attribute information of the target wearable device 11 conforms to preset length information; the attribute information of the target wearable device 11 conforms to a preset naming mode.
Further, preferably, when the binding request further includes user account information, the preset binding condition further includes: the user account information is normal user account information existing in the database.
Specifically, the database is installed on the network device 13, or the network device 13 can call the database in real time.
Continuing in this embodiment, in step S36, the network device 13 sends, to the mobile device 12, binding status information based on the determination result of whether the preset binding condition is satisfied, where the binding status information includes a binding success instruction or a binding failure instruction, and accordingly, the mobile device receives the binding status information.
The determination result may be that the binding matching is successful or that the binding matching is failed.
Preferably, when the binding matching is successful, the network device 13 sends the encrypted binding success information to at least one of the mobile device 12 or the target wearable device 11, and the user triggers a confirmation instruction of accepting the binding on the mobile device 12 and/or the target wearable device 11, and accordingly, the network device 13 obtains the user confirmation instruction and sends the binding success instruction to the mobile device 12 based on the user confirmation instruction. Wherein, the confirmation command needs to be triggered within a preset time.
Or, when the binding matching is successful, the network device 13 sends the encrypted binding success information to at least one of the mobile device 12 or the target wearable device 11, and the user does not trigger a confirmation instruction of accepting the binding within a preset time on the mobile device 12 and/or the target wearable device 11, or the binding matching fails, and the network device 13 sends a binding failure instruction to the mobile device 12.
Specifically, the binding matching information is encrypted, for example, the binding request may be encrypted by http protocol and then sent to the network device 13 through the network, or the binding request may be encrypted by wss or ssl protocol and then sent to the network device 13 through the network, where the encryption protocol is only an example, and other existing or future encryption protocols or algorithms suitable for network transmission information, such as those suitable for the present application, are also included in the scope of the present application, and are herein incorporated by reference.
Preferably, wherein the method further comprises: s37 (not shown), when the target wearable device 11 is successfully bound, adding identification information of the target wearable device 11 to an interface of a corresponding application program of the mobile device 12, where the identification information is modifiable, such as modifying a brand-model name of the mobile device 11, such as sunor K1, Honor K2, Huawei3 Pro, to a name of the target wearable device user, or may represent an identification of the target wearable device user, and the modification of the identification information is merely an example, and other existing or future modifications that may occur, such as being applicable to this application, are also included in the scope of protection of this application, and are herein incorporated by reference.
Further, when the target wearable device 11 is successfully bound, the bound success information of the target wearable device 11 is added to a database.
Compared with the prior art, the method and the device for binding with the wearable device have the advantages that the NFC technology is utilized to establish the NFC connection between the mobile device and the wearable device such as the smart watch, the acquired attribute information of the wearable device is sent to the network device, whether the acquired attribute information is matched with the preset binding condition or not is judged, and therefore the binding of the wearable device is achieved. The method is simple in operation steps, reduces misoperation risks, and can quickly and safely realize binding of wearable devices such as smart watches. Also can reduce when convenient operation because of the maloperation or the operation can't in time accomplish binding like wearable equipment such as intelligent wrist-watch not in place, the NFC technique is a black box technique moreover, and data communication security is high, therefore can improve the operation security nature, and then has promoted user experience better.
Fig. 4 shows a schematic diagram of a device environment for binding with the target wearable device 11 according to a preferred embodiment of the present application.
Here, the mobile device 12 includes a terminal device capable of running various applications, for example, the mobile device 12 includes, but is not limited to, any mobile electronic product capable of performing man-machine interaction with a user through a touch device and/or a sensing device and/or a keyboard, such as a smart phone, a tablet computer, a portable computer, and the like, wherein the mobile electronic product may adopt any operating system, such as an android operating system, an iOS operating system, a Windows operating system, various cloud operating systems, and the like.
The wearable device 11 includes, but is not limited to, a wearable watch, a bracelet, an earphone, glasses, or other smart wearable devices with NFC functionality.
The network device 13 includes but is not limited to various personal computers, network hosts, a single network server, multiple network server sets, or a cloud of multiple servers; wherein, the Cloud is composed of a large number of computers or network servers based on Cloud Computing (Cloud Computing), wherein the Cloud Computing is one of distributed Computing, and is a virtual super computer composed of a group of loosely coupled computer sets.
The network is a virtual platform for information transmission, reception and sharing, and by which information of various points, planes and bodies is linked together, so as to realize sharing of these resources, and the network includes, but is not limited to, an access network (e.g., WLAN network, mobile data, wireless internet), and a network interconnection device. The mobile device 12, the wearable device 11, the network device 13, and the network are merely examples, and other existing or future devices and/or resource sharing platforms, as applicable to the present application, are also included within the scope of the present application and are hereby incorporated by reference.
In practical application, a user respectively opens the NFC functions of the mobile device 12 and the target wearable device 11, and triggers to open a related application program of the mobile device 12, when the target wearable device 11 and the mobile device 12 are within a detectable range of an NFC signal, an NFC connection is automatically established, the mobile device 12 acquires the attribute information of the target wearable device 11, the mobile device 12 encrypts the acquired attribute information or/and user account information of the target wearable device 11 and sends the encrypted attribute information or/and user account information as a binding request to the network device 13 through a network, the network device 13 determines whether the binding request meets a preset binding condition, and based on a determination result of whether the preset binding condition is met, the network device 13 sends binding state information to the mobile device 12 through the network.
Further, when the binding of the target wearable device 11 is successful, the identification information of the target wearable device 11 is added to the corresponding application program interface of the mobile device 12, wherein the identification information can be modified. Further, when the target wearable device 11 is successfully bound, the bound success information of the target wearable device 11 is added to the database.
Furthermore, the embodiment of the present application also provides a computer readable medium, on which computer readable instructions are stored, and the computer readable instructions can be executed by a processor to implement the method as described above.
An embodiment of the present application further provides a mobile device for binding with a wearable device, where the mobile device includes:
one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform operations of the method as previously described.
For example, the computer readable instructions, when executed, cause the one or more processors to: starting an NFC function; establishing an NFC connection with a target wearable device; acquiring attribute information of target wearable equipment; encrypting the acquired attribute information or/and user account information of the target wearable device to generate a binding request; sending a binding request to the network device; and receiving the binding state information sent by the network equipment. Further, when the target wearable device is successfully bound, the identification information of the target wearable device is added to the corresponding application interface, wherein the identification information can be modified.
Furthermore, the embodiment of the present application also provides a computer readable medium, on which computer readable instructions are stored, and the computer readable instructions can be executed by a processor to implement the method as described above.
In addition, the embodiment of the present application further provides a mobile device for binding with a wearable device, where the mobile device includes:
one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform operations of the method as previously described.
For example, the computer readable instructions, when executed, cause the one or more processors to: starting an NFC function and determining the target wearable device from the obtained devices with the NFC function started; establishing an NFC connection with the target wearable device; acquiring attribute information of the target wearable device based on the NFC connection established between the target wearable device and the target wearable device; sending a binding request carrying the attribute information of the target wearable device to a network device; and receiving binding state information returned by the network equipment based on the binding request, wherein the binding state information comprises a binding success instruction or a binding failure instruction.
In addition, the embodiment of the present application further provides a network device for binding with a wearable device, where the network device includes:
one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform operations of the method as previously described.
For example, the computer readable instructions, when executed, cause the one or more processors to: receiving a binding request which is sent by mobile equipment and carries the attribute information of the target wearable equipment; judging whether the attribute information of the target wearable device meets a preset binding condition or not based on the binding request; and sending binding state information to the mobile equipment based on a judgment result of whether the preset binding condition is met, wherein the binding state information comprises a binding success instruction or a binding failure instruction.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is to be understood that the word "comprising" does not exclude other embodiments or steps, and the singular does not exclude the plural.
Claims (11)
1. A method at a mobile device for binding with a target wearable device, the method comprising:
starting an NFC function and determining the target wearable device from the obtained devices with the NFC function started;
establishing an NFC connection with the target wearable device;
acquiring attribute information of the target wearable device based on the NFC connection established between the target wearable device and the target wearable device;
sending a binding request carrying the attribute information of the target wearable device to a network device, wherein the binding request is used for requesting the network device to establish an association relationship between the mobile device and the target wearable device;
receiving binding state information returned by the network equipment based on the binding request, wherein the binding state information comprises a binding success instruction or a binding failure instruction;
and when the binding state information is a binding success instruction and a user confirmation instruction is received within preset time, sending the user confirmation instruction to the network equipment and receiving a binding success determination instruction returned by the network equipment based on the user confirmation instruction.
2. The method according to claim 1, wherein the trigger condition for initiating the NFC function includes any one of:
when an opening instruction of the binding interface of the target wearable device is obtained;
and when an NFC starting instruction triggered by a user is acquired.
3. The method of claim 1, wherein the determining a target wearable device from the acquired NFC-enabled devices comprises any one of:
determining a target wearable device based on a user triggering a selection instruction in the NFC-enabled device;
determining a target wearable device based on the identification information of the NFC-enabled device.
4. The method according to any of claims 1 to 3, wherein the binding request is processed cryptographically.
5. The method according to any one of claims 1 to 4, further comprising:
and when the binding with the target wearable device is successful, adding the identification information of the target wearable device into a corresponding application interface, wherein the identification information can be modified.
6. A method for binding with a target wearable device on a network device side, the method comprising:
receiving a binding request which is sent by a mobile device and carries attribute information of the target wearable device, wherein the binding request is used for requesting the network device to establish an association relationship between the mobile device and the target wearable device;
judging whether the attribute information of the target wearable device meets a preset binding condition or not based on the binding request;
sending binding state information to the mobile equipment based on a judgment result of whether the preset binding condition is met, wherein the binding state information comprises a binding success instruction or a binding failure instruction;
and when the binding state information is a binding success instruction and a user confirmation instruction is received within preset time, sending a binding success confirmation instruction to the mobile equipment.
7. The method of claim 6, wherein the preset binding condition comprises at least one of:
the attribute information of the target wearable device conforms to preset length information;
the attribute information of the target wearable device conforms to a preset naming mode.
8. The method according to claim 6 or 7, wherein when the binding request further includes user account information, the preset binding condition further includes:
the user account information is normal user account information existing in the database.
9. A computer-readable medium comprising, in combination,
stored thereon computer readable instructions executable by a processor to implement the method of any one of claims 1 to 8.
10. A mobile device for binding with a target wearable device, the mobile device comprising:
one or more processors; and
memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the method of any of claims 1 to 5.
11. A network device for binding with a target wearable device, the network device comprising:
one or more processors; and
memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the method of any of claims 6 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910407793.1A CN110177360B (en) | 2019-05-16 | 2019-05-16 | Method and device for binding with wearable device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910407793.1A CN110177360B (en) | 2019-05-16 | 2019-05-16 | Method and device for binding with wearable device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110177360A CN110177360A (en) | 2019-08-27 |
CN110177360B true CN110177360B (en) | 2021-08-27 |
Family
ID=67691309
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910407793.1A Active CN110177360B (en) | 2019-05-16 | 2019-05-16 | Method and device for binding with wearable device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110177360B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111246439A (en) * | 2020-01-09 | 2020-06-05 | 广东小天才科技有限公司 | Watch binding method and terminal |
CN113093208A (en) * | 2021-04-07 | 2021-07-09 | 甄十信息科技(上海)有限公司 | Distance measurement method and device based on intelligent wearable device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106527673A (en) * | 2015-09-11 | 2017-03-22 | 阿里巴巴集团控股有限公司 | Method and apparatus for binding wearable device, and electronic payment method and apparatus |
CN108337210A (en) * | 2017-01-19 | 2018-07-27 | 阿里巴巴集团控股有限公司 | Equipment configuration method and device, system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105974802B (en) * | 2016-04-27 | 2017-09-29 | 腾讯科技(深圳)有限公司 | A kind of methods, devices and systems of control smart machine |
-
2019
- 2019-05-16 CN CN201910407793.1A patent/CN110177360B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106527673A (en) * | 2015-09-11 | 2017-03-22 | 阿里巴巴集团控股有限公司 | Method and apparatus for binding wearable device, and electronic payment method and apparatus |
CN108337210A (en) * | 2017-01-19 | 2018-07-27 | 阿里巴巴集团控股有限公司 | Equipment configuration method and device, system |
Also Published As
Publication number | Publication date |
---|---|
CN110177360A (en) | 2019-08-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11669872B2 (en) | Smart broadcasting device | |
CN103338254B (en) | Terminal across application pushing method, device, terminal and system | |
KR102275720B1 (en) | Bluetooth communication method and bluetooth communication device | |
US20190141031A1 (en) | Authenticating a user to a cloud service automatically through a virtual assistant | |
CN108965250B (en) | Digital certificate installation method and system | |
US20190342753A1 (en) | Device configuration method, apparatus and system | |
WO2018160358A1 (en) | Techniques for device discovery and configuration | |
US20210136577A1 (en) | Method and a device for wireless connection | |
CN107148068B (en) | Method and equipment for connecting wireless access point | |
CN104320161A (en) | Method and system for rapid Bluetooth pairing | |
US20150363182A1 (en) | Smart device, wearable device and method for pushing &receiving installation package | |
CN105072080A (en) | Information verification method, device and system | |
CN107396364B (en) | Method and equipment for carrying out wireless connection pre-authorization on user equipment | |
KR20190069574A (en) | Wireless network type detection method and apparatus, and electronic device | |
CN110177360B (en) | Method and device for binding with wearable device | |
CN108990047A (en) | Test method, device and the medium of contract signing relationship management data preparation platform | |
CN105657781A (en) | Method and device for accessing WiFi network | |
CN105873180B (en) | Method and apparatus for setting up wireless connection | |
CN106507300A (en) | A kind of method for giving loss terminal for change, device and terminal | |
CN113709239A (en) | Intelligent household equipment communication method, equipment and medium | |
CN105282821A (en) | Terminal and method for connecting the terminal with wireless fidelity WiFi access point | |
CN114585055A (en) | Vehicle-mounted WiFi access method, vehicle controller, cloud server and mobile terminal | |
CN111615091B (en) | Traffic card opening method and device based on smart watch | |
CN109462868B (en) | Method and equipment for inquiring target information by wireless access point | |
CN111010400A (en) | Portal authentication method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |