CN111726396B - Device binding method and device, cloud and storage medium - Google Patents

Device binding method and device, cloud and storage medium Download PDF

Info

Publication number
CN111726396B
CN111726396B CN202010486885.6A CN202010486885A CN111726396B CN 111726396 B CN111726396 B CN 111726396B CN 202010486885 A CN202010486885 A CN 202010486885A CN 111726396 B CN111726396 B CN 111726396B
Authority
CN
China
Prior art keywords
binding
information
equipment
cloud
intelligent wearable
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
Application number
CN202010486885.6A
Other languages
Chinese (zh)
Other versions
CN111726396A (en
Inventor
刘同竹
管英杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Huami Information Technology Co Ltd
Original Assignee
Anhui Huami Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui Huami Information Technology Co Ltd filed Critical Anhui Huami Information Technology Co Ltd
Priority to CN202010486885.6A priority Critical patent/CN111726396B/en
Publication of CN111726396A publication Critical patent/CN111726396A/en
Application granted granted Critical
Publication of CN111726396B publication Critical patent/CN111726396B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The disclosure provides a device binding method and device, a cloud and a storage medium, wherein the method comprises the following steps: acquiring a unique code of the equipment; acquiring identity information of a user of the intelligent wearable device; acquiring binding information and login state information according to the identity information and the unique code of the equipment; and sending the binding information and the login state information to the binding equipment so that the binding equipment is connected with the intelligent wearable equipment according to the binding information and directly logs in an application program according to the login state information. Bind equipment in this embodiment can be connected with intelligent wearable equipment, forms the data transmission passageway between intelligent wearable equipment and the high in the clouds, and convenient follow-up user data with intelligent wearable equipment is synchronous to the high in the clouds. In addition, in the embodiment, the account and the intelligent wearable device are directly bound, so that the guiding steps are reduced; moreover, a user does not need to register and log in an account, so that operation steps can be reduced, and binding efficiency is improved.

Description

Device binding method and device, cloud and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a device binding method and apparatus, a cloud, and a storage medium.
Background
At present, with the continuous development of the internet and intelligent terminal devices, intelligent wearable devices (such as intelligent sports watches, bracelets, etc.) have become more and more popular devices. Because of the limited size and performance of the smart wearable device, the battery capacity of the smart wearable device is small, and therefore the smart wearable device generally does not have the function of directly joining the internet.
In order to realize data synchronization with the cloud, the intelligent wearable device generally performs data interaction with the binding device (such as a mobile phone) through bluetooth, and the intelligent wearable device and the binding device are bound first. For example, a user starts an app of an application program, and completes processes of registration, login, binding and the like according to UI interactive design of the app; then, the intelligent wearable device synchronizes data to the binding device, and the binding device uploads the data to the cloud synchronously, so that the effect of uploading the data of the intelligent wearable device to the cloud synchronously is achieved.
However, in the process of binding the intelligent wearable device and the binding device, the number of interaction steps is large, and factors such as the device or the network cause a failure rate of the binding process to be high, and user experience is reduced.
Disclosure of Invention
In view of this, the present disclosure provides a device binding method and apparatus, a cloud, and a storage medium.
Specifically, the present disclosure is realized by the following technical solutions:
in a first aspect, an embodiment of the present disclosure provides an apparatus binding method applied to a cloud, where the method includes:
acquiring a unique code of the equipment; the device unique code and the link address for accessing the cloud are obtained by analyzing a two-dimensional code by a binding device, and the two-dimensional code is arranged on the intelligent wearable device to be bound;
acquiring identity information of a user of the intelligent wearable device;
acquiring binding information and login state information according to the identity information and the unique equipment code, wherein the binding information is used for representing that the intelligent wearable equipment corresponding to the unique equipment code is bound with an account corresponding to the identity information, and the login state information is used for representing that the account corresponding to the identity information is in a login state;
and sending the binding information and the login state information to the binding equipment so that the binding equipment is connected with the intelligent wearable equipment according to the binding information and directly logs in an application program according to the login state information.
Optionally, the obtaining identity information of the user of the smart wearable device comprises:
interacting with the binding equipment to generate an interaction page on the binding equipment, wherein the interaction page is used for acquiring the identity information filled in by the user;
and acquiring the identity information from the specified position of the interactive page.
Optionally, obtaining the binding information and the login status information according to the identity information and the unique device code further includes:
acquiring a unique identifier of the binding equipment;
if the binding equipment does not install the application program corresponding to the intelligent wearable equipment, generating an installation package of the application program corresponding to the intelligent wearable equipment and pushing the installation package to the binding equipment, wherein the installation package comprises login state information and the binding information;
and responding to an operation request for downloading the installation package, and sending the installation package to the binding equipment.
Optionally, the method further comprises:
obtaining device data synchronized by the smart wearable device via the binding device.
In a second aspect, an embodiment of the present disclosure provides a device binding method, which is applied to bind devices, and the method includes:
Analyzing the scanned two-dimensional code to obtain a unique device code of the intelligent wearable device to be bound and a link address for accessing a cloud;
accessing the cloud according to the link address, and sending the unique device code to the cloud;
the identity information of the user of the intelligent wearable device, which is acquired at the designated position of the interactive page, is sent to the cloud, so that after the cloud acquires the identity information, binding information and login state information are acquired according to the identity information and the unique device code and sent to the binding device;
and connecting with the intelligent wearable device according to the binding information, and directly logging in an application program according to the login state information.
Optionally, the method further comprises:
responding to the interaction request of the cloud, and generating an interaction page, wherein the interaction page is used for acquiring identity information filled by a user;
and acquiring the identity information from the specified position of the interactive page and sending the identity information to the cloud.
Optionally, after connecting with the smart wearable device according to the binding information, the method further includes:
acquiring user data sent by the intelligent wearable device;
And after the application program is started, synchronizing the user data to the cloud.
In a third aspect, an embodiment of the present disclosure provides an apparatus for binding a device, which is applied to a cloud, where the apparatus includes:
the unique code acquisition module is used for acquiring the unique code of the equipment; the device unique code and the link address for accessing the cloud are obtained by analyzing a two-dimensional code by a binding device, and the two-dimensional code is arranged on the intelligent wearable device to be bound;
the identity information acquisition module is used for acquiring identity information of a user of the intelligent wearable equipment;
the binding information acquisition module is used for acquiring binding information and login state information according to the identity information and the equipment unique code, wherein the binding information is used for representing that the intelligent wearable equipment corresponding to the equipment unique code is bound with an account corresponding to the identity information, and the login state information is used for representing that the account corresponding to the identity information is in a login state;
and the binding information sending module is used for sending the binding information and the login state information to the binding equipment so that the binding equipment is connected with the intelligent wearable equipment according to the binding information and directly logs in an application program according to the login state information.
Optionally, the identity information obtaining module includes:
the page interaction unit is used for interacting with the binding equipment to generate an interaction page on the binding equipment, and the interaction page is used for acquiring the identity information filled in by the user;
and the information acquisition unit is used for acquiring the identity information from the specified position of the interactive page.
Optionally, the binding information obtaining module further includes:
the unique identifier acquisition unit is used for acquiring the unique identifier of the binding equipment;
the installation package generating unit is used for generating an installation package of the application program corresponding to the intelligent wearable device and pushing the installation package to the binding device when the application program corresponding to the intelligent wearable device is not installed in the binding device, wherein the installation package comprises login state information and the binding information;
and the installation package sending module is used for responding to an operation request for downloading the installation package and sending the installation package to the binding equipment.
Optionally, the apparatus further comprises:
a device data acquisition module to acquire device data synchronized by the smart wearable device via the binding device.
In a fourth aspect, an embodiment of the present disclosure provides an apparatus for binding devices, where the apparatus includes:
The two-dimensional code analysis module is used for analyzing the scanned two-dimensional code to obtain a unique device code of the intelligent wearable device to be bound and a link address for accessing the cloud;
the code sending module is used for accessing the cloud according to the link address and sending the unique code of the equipment to the cloud;
the information acquisition module is used for sending the identity information of the user of the intelligent wearable device acquired at the specified position of the interactive page to the cloud end, so that after the cloud end acquires the identity information, binding information and login state information are acquired according to the identity information and the unique device code and sent to the binding device;
and the device connection module is used for connecting the intelligent wearable device according to the binding information and directly logging in an application program according to the login state information.
Optionally, the apparatus further comprises:
the page generation module is used for responding to the interaction request of the cloud end and generating an interaction page, and the interaction page is used for acquiring identity information filled in by a user;
and the identity acquisition module is used for acquiring the identity information from the specified position of the interactive page and sending the identity information to the cloud.
Optionally, the apparatus further comprises:
the data acquisition module is used for acquiring user data sent by the intelligent wearable equipment;
and the data synchronization module is used for synchronizing the user data to the cloud after an application program is started.
In a fifth aspect, embodiments of the present disclosure provide a cloud, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method of any one of the first aspect when executing the program.
In a sixth aspect, the disclosed embodiments provide a binding apparatus comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the method according to any one of the second aspect when executing the program.
In a seventh aspect, the disclosed embodiments provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method of any one of the first aspect.
According to the technical scheme provided by the embodiment of the disclosure, the binding information and the login state information of the intelligent wearable device can be acquired by acquiring the unique code and the identity information of the device, so that the binding information and the login state information can be sent to the binding device, and the binding device can be connected with the intelligent wearable device according to the binding information and can directly log in the application program according to the login state information. Like this, bind equipment in this embodiment and can be connected with intelligent wearable equipment, form the data transmission passageway between intelligent wearable equipment and the high in the clouds, convenient follow-up user data with intelligent wearable equipment is synchronous to the high in the clouds. In addition, in the embodiment, the account and the intelligent wearable device are directly bound, so that the guiding steps are reduced; moreover, a user does not need to register and log in an account, so that operation steps can be reduced, and binding efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present specification, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a flowchart illustrating a device binding method according to an exemplary embodiment of the present disclosure.
Fig. 2 is a flow chart illustrating an exemplary embodiment of the present disclosure for obtaining identity information.
FIG. 3 is a flow chart illustrating one method of generating an installation package for an application in accordance with an exemplary embodiment of the present disclosure.
Fig. 4 is a flowchart illustrating an implementation flow of device binding according to an exemplary embodiment of the present disclosure.
Fig. 5 is a block diagram illustrating a device binding apparatus according to an exemplary embodiment of the present disclosure.
Fig. 6 is a block diagram illustrating another device binding apparatus according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
At present, when user data are synchronized to a cloud end by an intelligent wearable device, a user needs to be guided to register an account, log in the account, bind and the like, and in the process of binding the intelligent wearable device and the binding device in the related technology, interaction steps are more, and in addition, factors such as a device or a network and the like cause a higher failure rate of the binding process, so that the user experience is reduced.
For this reason, an embodiment of the present disclosure provides a device binding method, and fig. 1 is a device binding method shown in an exemplary embodiment of the present disclosure, which may be applied to a cloud, where the cloud may be a server, a server cluster, and the like, the to-be-bound smart wearable device may be a smart sports watch, a bracelet, and the like, and the bound device may be a mobile phone, a tablet, a PDA (Personal Digital Assistant, a palmtop computer), and the like. It should be noted that, considering that the smart wearable device and the binding device need to be connected through WiFi or bluetooth for communication, the communication modules of the smart wearable device and the binding device are kept in a normally open state. Referring to fig. 1, a device binding method includes steps 101 to 104, where:
in step 101, a device unique code is obtained; the device unique code and the link address for accessing the cloud are obtained by analyzing the two-dimensional code through the binding device, and the two-dimensional code is arranged on the intelligent wearable device to be bound.
In this embodiment, the smart wearable device may be pre-coated with a two-dimensional code, where the two-dimensional code includes a device unique code (e.g., a MAC address) of the smart wearable device and/or a link address used for accessing a cloud. Of course, the two-dimensional code may also be generated in response to the operation of the user, for example, the user may find a "generate two-dimensional code" function option from a menu, and click the function option to generate the two-dimensional code; or displayed on the power-on interface or the standby interface. The technician can select an appropriate manner to display the two-dimensional code and the information contained in the two-dimensional code according to a specific scene, which is not limited herein.
In the embodiment, the binding equipment is provided with a two-dimensional code scanning function, and the two-dimensional code can be scanned after the two-dimensional code scanning function is started; then, the binding device can analyze the two-dimensional code to obtain a unique device code of the intelligent wearable device and a link address for accessing the cloud. When the binding device accesses the cloud end through the link address, the unique device code can be uploaded to the cloud end, and therefore the cloud end can obtain the unique device code.
In step 102, identity information of a user of the smart wearable device is obtained.
In this embodiment, referring to fig. 2, in step 201, after the unique device code is obtained, the cloud may interact with the binding device to instruct the binding device to generate an interaction page, where different prompting information is provided in the interaction page to prompt a user to fill in identity information. In step 202, the binding device may obtain identity information from a specified location of the interactive page and upload the identity information to the cloud, so that the cloud may obtain the identity information of the user.
Wherein the identity information may include at least one of: name, account name, mailbox, mobile phone number, identification card number and password, and a technician can adjust the type of the identity information according to a specific scene, such as inputting an account name and a password thereof.
In step 103, binding information and login status information are obtained according to the identity information and the device unique code.
In this embodiment, the cloud may generate the account information according to the identity information, or directly use the identity information as the account information, that is, complete the registration process on the application program. The application program refers to a software program matched with the intelligent wearable device, and the software program is usually installed on the binding device. The user can interact with the smart wearable device through the application program, such as configuring the smart wearable device on the application program, or acquiring user data of the smart wearable device. The specific functions of the application program may be set according to a specific scenario, and are not limited herein.
In an example, if the user scans the two-dimensional code for the first time, the cloud may bind with the unique device code according to the identity information to obtain binding information. The binding information is used for representing that the account corresponding to the intelligent wearable device corresponding to the unique equipment code and the identity information is bound. For example, because the identity information corresponds to the account information of the account corresponding to the identity information one to one, the cloud may bind the identity information or the account information to the unique device code, establish a binding relationship, and add the binding relationship to the binding information, so that the binding device may obtain the binding relationship from the binding information.
In another example, if the user scans the two-dimensional code for the second time and later, the cloud may query the binding relationship established in the primary scanning process from the local according to the identity information, and add the binding relationship to the binding information and feed the binding information back to the binding device. In this example, each time the user is required to enter identity information, information security can be ensured.
In another example, the cloud may query the binding relationship according to the device unique code, query the binding relationship established from the local query to the initial scan, and add the binding relationship to the binding information and feed the binding information back to the bound device. In this example, the user operation can be simplified without requiring the user to input identification information each time.
In yet another example, the cloud may query the binding relationship according to the device unique code, query the binding relationship established from the local query to the initial scan, and add the binding relationship to the binding information. Meanwhile, the cloud end can inquire the identity information of the user according to the unique code of the equipment, and obtain the login state information before the identity information corresponds to the account. Wherein the login status information may include: account not logged in, account logged in for an extended period. When the cloud determines that the account is in a state other than the "account logged in", the cloud may update the previous login state information to be the "account logged in", that is, the current login state information is the "account logged in". And then, the cloud end feeds the binding information and the login state information back to the binding equipment at the same time. The binding device can start an application program according to the login state information, directly log in, and be connected with the intelligent wearable device according to the binding information. In this example, the user operation can be simplified without requiring the user to input identification information each time.
In step 104, the binding information and the login status information are sent to the binding device, so that the binding device connects with the smart wearable device according to the binding information and directly logs in an application program according to the login status information.
In an embodiment, the cloud may send the binding information to the binding device. The binding device can be automatically connected with the intelligent wearable device according to the binding information after receiving the binding information. In the connection process, the binding device can directly start the Bluetooth, and then detect whether the Bluetooth device exists in an area which takes the binding device as a starting point and takes a set distance (such as 5 meters) as a radius; and identifying whether the detected Bluetooth device contains the device unique code, namely the intelligent wearable device which detects the target. If it is determined that the smart wearable device is detected, the binding device may directly connect to the smart wearable device.
It should be noted that, in the foregoing embodiment, the application program in the binding device is started by default, or after receiving the binding relationship, the binding device may start the application program according to the identification information in the binding relationship. And then, the binding device logs in the application program according to the binding relationship and interacts with the intelligent wearable device through the application program.
In another embodiment, the cloud may receive the binding information and the login state information at the same time, the binding device may start the application program according to the login state information, and the binding device may be connected to the intelligent wearable device through the application program according to the binding information, and the connection process may refer to the above embodiments and is not described herein.
In another embodiment, the application may not be installed in the cloud, and a selection item "generate an installation package" may be set on the interactive page, and after the selection item is triggered, referring to fig. 3, in step 301, the cloud may generate an installation package of the application corresponding to the smart wearable device, where the installation package includes login status information and the binding information. Then, in step 302, the cloud pushes the installation package of the application to the bound device. Then, in step 303, in response to the operation request for downloading the installation package, the cloud sends the installation package to the binding device; after the binding device installs the application program based on the installation package, the binding device directly logs in according to the login state when the application program is started, and is connected with the intelligent wearable device according to the binding information. Therefore, in the embodiment, the downloading, the registering, the installing and the binding of the application program are completed at one time, so that the operation steps can be simplified, and the use experience is improved.
In this embodiment, after the application program is connected with the intelligent wearable device, the binding device may send a synchronous data request to the intelligent wearable device, and then obtain user data sent by the intelligent wearable device; or the smart wearable device may send a synchronization data request to the binding device after detecting that the smart wearable device has been connected to the binding device, and the binding device may obtain the user data sent by the smart wearable device in response to the synchronization data request. And then, after the application program is started, synchronizing the user data to the cloud end, so that the cloud end can keep the user data synchronization with the intelligent wearable device.
Therefore, in the embodiment of the present disclosure, by obtaining the unique device code and the identity information, the binding information and the login state information of the intelligent wearable device can be obtained, and thus, the binding information and the login state information can be sent to the binding device, so that the binding device is connected with the intelligent wearable device according to the binding information and directly logs in the application program according to the login state information. Like this, bind equipment in this embodiment and can be connected with intelligent wearable equipment, form the data transmission passageway between intelligent wearable equipment and the high in the clouds, convenient follow-up user data with intelligent wearable equipment is synchronous to the high in the clouds. In addition, in the embodiment, the account and the intelligent wearable device are directly bound, so that the guiding steps are reduced; moreover, a user does not need to register and log in an account, so that operation steps can be reduced, and binding efficiency is improved.
In order to describe the technical solutions provided by the embodiments of the present disclosure in detail, the following embodiments are provided:
referring to fig. 4, the smart wearable device generates a two-dimensional code in response to the operation.
The binding equipment scans the two-dimensional code, then analyzes the unique code and the link address of the equipment, and then accesses the cloud end according to the link address and uploads the unique code of the equipment to the cloud end.
The cloud end interacts with the binding equipment, the binding equipment displays an interaction page to acquire the identity information of the user, and therefore the cloud end can acquire the identity information uploaded by the binding equipment.
The cloud end can generate login state information according to the identity information, and generates binding information according to the identity information and the unique equipment code.
The cloud end can generate an installation package, and the installation package comprises login state information and binding information; then, the installation package is pushed to the binding device.
The binding device may download the installation package in response to a user operation and run the application according to the login status information. And connecting the intelligent wearable device according to the binding information.
The binding device sends a synchronization data request to the smart wearable device and receives user data. And then, synchronizing the user data to the cloud.
Corresponding to the foregoing embodiment of the device binding method, a disclosed embodiment further provides a device binding method applied to bind devices, where the method includes:
analyzing the scanned two-dimensional code to obtain a unique device code of the intelligent wearable device to be bound and a link address for accessing a cloud;
accessing the cloud according to the link address, and sending the unique device code to the cloud;
the identity information of the user of the intelligent wearable device, which is acquired at the designated position of the interactive page, is sent to the cloud, so that after the cloud acquires the identity information, binding information and login state information are acquired according to the identity information and the unique device code and sent to the binding device;
and connecting with the intelligent wearable device according to the binding information, and directly logging in an application program according to the login state information.
In an embodiment, the method further comprises:
responding to the interaction request of the cloud, and generating an interaction page, wherein the interaction page is used for acquiring identity information filled by a user;
and acquiring the identity information from the specified position of the interactive page and sending the identity information to the cloud.
In an embodiment, after connecting with the smart wearable device according to the binding information, the method further includes:
acquiring user data sent by the intelligent wearable device;
and after the application program is started, synchronizing the user data to the cloud.
It should be noted that, in the process of describing a device binding method applied to the cloud, an interaction process of the binding device in the binding process is also described, and specific details are given in the implementation process of the corresponding steps in the above method, and are not described herein again.
Corresponding to the embodiment of the foregoing device binding method, the embodiment of the present disclosure further provides an embodiment of a device binding apparatus.
Fig. 5 is a block diagram of an apparatus for binding devices according to an exemplary embodiment of the present disclosure, referring to fig. 5, applied to a cloud, where the apparatus includes:
a unique code obtaining module 501, configured to obtain a device unique code; the device unique code and the link address for accessing the cloud are obtained by analyzing a two-dimensional code by a binding device, and the two-dimensional code is arranged on the intelligent wearable device to be bound;
an identity information obtaining module 502, configured to obtain identity information of a user of the smart wearable device;
A binding information obtaining module 503, configured to obtain binding information and login status information according to the identity information and the device unique code, where the binding information is used to represent that an account corresponding to the device unique code and an intelligent wearable device corresponding to the identity information are bound, and the login status information is used to represent that the account corresponding to the identity information is in a login status;
a binding information sending module 504, configured to send the binding information and the login status information to the binding device, so that the binding device connects with the smart wearable device according to the binding information and directly logs in an application according to the login status information.
In one embodiment, the identity information obtaining module includes:
the page interaction unit is used for interacting with the binding equipment to generate an interaction page on the binding equipment, and the interaction page is used for acquiring the identity information filled in by the user;
and the information acquisition unit is used for acquiring the identity information from the specified position of the interactive page.
In an embodiment, the binding information obtaining module further includes:
the unique identifier acquisition unit is used for acquiring the unique identifier of the binding equipment;
The installation package generating unit is used for generating an installation package of the application program corresponding to the intelligent wearable device and pushing the installation package to the binding device when the application program corresponding to the intelligent wearable device is not installed in the binding device, wherein the installation package comprises login state information and the binding information;
and the installation package sending module is used for responding to an operation request for downloading the installation package and sending the installation package to the binding equipment.
In one embodiment, the apparatus further comprises:
a device data acquisition module to acquire device data synchronized by the smart wearable device via the binding device.
Fig. 6 is a block diagram of a device binding apparatus according to an exemplary embodiment of the disclosure, and referring to fig. 6, the apparatus is applied to bind devices, and includes:
the two-dimensional code analyzing module 601 is used for analyzing the scanned two-dimensional code to obtain a device unique code of the intelligent wearable device to be bound and a link address for accessing the cloud;
a code sending module 602, configured to access the cloud according to the link address, and send the unique device code to the cloud;
the information acquisition module 603 is configured to send the identity information of the user of the smart wearable device, which is acquired at the specified position of the interactive page, to the cloud, so that after the cloud acquires the identity information, binding information and login state information are acquired according to the identity information and the device unique code and sent to the binding device;
And the device connection module 604 is configured to connect with the smart wearable device according to the binding information, and directly log in to an application program according to the login state information.
In one embodiment, the apparatus further comprises:
the page generation module is used for responding to the interaction request of the cloud end and generating an interaction page, and the interaction page is used for acquiring identity information filled in by a user;
and the identity acquisition module is used for acquiring the identity information from the specified position of the interactive page and sending the identity information to the cloud.
In one embodiment, the apparatus further comprises:
the data acquisition module is used for acquiring user data sent by the intelligent wearable equipment;
and the data synchronization module is used for synchronizing the user data to the cloud after the application program is started.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
The present disclosure also provides a smart wearable device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the aforementioned location information obtaining method when executing the program, and the method at least includes:
detecting whether the intelligent wearable equipment has a positioning requirement; when the positioning requirement is detected, whether the intelligent wearable equipment and the binding equipment are in a connection state or not is detected; when the intelligent wearable device is connected with a binding device, keeping the first positioning module in a closed state and acquiring current position information from the binding device, wherein the current position information is acquired by a second positioning module in the binding device; when the intelligent wearable device and the binding device are not in a connection state, the first positioning module is started, and the first positioning module acquires current position information.
An embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the foregoing location information acquiring method, and the method at least includes:
detecting whether the intelligent wearable equipment has a positioning requirement; when the positioning requirement is detected, whether the intelligent wearable equipment and the binding equipment are in a connection state or not is detected; when the intelligent wearable device is connected with a binding device, keeping the first positioning module in a closed state and acquiring current position information from the binding device, wherein the current position information is acquired by a second positioning module in the binding device; when the intelligent wearable device and the binding device are not in a connection state, the first positioning module is started, and the first positioning module acquires current position information.
The above description is only exemplary of the present disclosure and should not be taken as limiting the disclosure, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (17)

1. A device binding method is applied to a cloud end, and comprises the following steps:
acquiring a unique device code of the intelligent wearable device to be bound; the device unique code and the link address for accessing the cloud are obtained by analyzing a two-dimensional code by a binding device, and the two-dimensional code is arranged on the intelligent wearable device to be bound;
acquiring identity information of a user of the intelligent wearable device;
acquiring binding information and login state information according to the identity information and the unique equipment code, wherein the binding information is used for representing that the intelligent wearable equipment corresponding to the unique equipment code is bound with an account corresponding to the identity information, and the login state information is used for representing that the account corresponding to the identity information is in a login state;
and sending the binding information and the login state information to the binding equipment so that the binding equipment is connected with the intelligent wearable equipment according to the binding information and directly logs in an application program according to the login state information.
2. The device binding method according to claim 1, wherein obtaining identity information of the user of the smart wearable device comprises:
interacting with the binding equipment to generate an interaction page on the binding equipment, wherein the interaction page is used for acquiring the identity information filled in by the user;
and acquiring the identity information from the specified position of the interactive page.
3. The device binding method according to claim 1, wherein obtaining binding information and login status information based on the identity information and the device unique code further comprises:
acquiring a unique identifier of the binding equipment;
if the binding equipment does not install the application program corresponding to the intelligent wearable equipment, generating an installation package of the application program corresponding to the intelligent wearable equipment and pushing the installation package to the binding equipment, wherein the installation package comprises login state information and the binding information;
and responding to an operation request for downloading the installation package, and sending the installation package to the binding equipment.
4. The device binding method of claim 1, further comprising:
obtaining device data synchronized by the smart wearable device via the binding device.
5. A device binding method is applied to binding devices, and the method comprises the following steps:
analyzing the scanned two-dimensional code to obtain a unique device code of the intelligent wearable device to be bound and a link address for accessing a cloud;
accessing the cloud according to the link address, and sending the unique device code to the cloud;
the identity information of the user of the intelligent wearable device, which is acquired at the designated position of the interactive page, is sent to the cloud, so that after the cloud acquires the identity information, binding information and login state information are acquired according to the identity information and the unique device code and sent to the binding device;
and connecting with the intelligent wearable device according to the binding information, and directly logging in an application program according to the login state information.
6. The device binding method of claim 5, further comprising:
responding to the interaction request of the cloud, and generating an interaction page, wherein the interaction page is used for acquiring identity information filled by a user;
and acquiring the identity information from the specified position of the interactive page and sending the identity information to the cloud.
7. The device binding method according to claim 6, wherein after connecting with the smart wearable device according to the binding information, the method further comprises:
acquiring user data sent by the intelligent wearable device;
and after the application program is started, synchronizing the user data to the cloud.
8. An apparatus for binding devices, applied to a cloud, the apparatus comprising:
the unique code acquisition module is used for acquiring the unique equipment code of the intelligent wearable equipment to be bound; the unique code of the equipment and the link address used for accessing the cloud are obtained by analyzing a two-dimensional code by binding equipment, and the two-dimensional code is arranged on the intelligent wearable equipment to be bound;
the identity information acquisition module is used for acquiring identity information of a user of the intelligent wearable equipment;
the binding information acquisition module is used for acquiring binding information and login state information according to the identity information and the equipment unique code, wherein the binding information is used for representing that the intelligent wearable equipment corresponding to the equipment unique code is bound with an account corresponding to the identity information, and the login state information is used for representing that the account corresponding to the identity information is in a login state;
And the binding information sending module is used for sending the binding information and the login state information to the binding equipment so that the binding equipment is connected with the intelligent wearable equipment according to the binding information and directly logs in an application program according to the login state information.
9. The device binding apparatus according to claim 8, wherein the identity information obtaining module comprises:
the page interaction unit is used for interacting with the binding equipment to generate an interaction page on the binding equipment, and the interaction page is used for acquiring the identity information filled in by the user;
and the information acquisition unit is used for acquiring the identity information from the specified position of the interactive page.
10. The device binding apparatus according to claim 8, wherein the binding information obtaining module further comprises:
the unique identifier acquisition unit is used for acquiring the unique identifier of the binding equipment;
the installation package generating unit is used for generating an installation package of the application program corresponding to the intelligent wearable device and pushing the installation package to the binding device when the application program corresponding to the intelligent wearable device is not installed in the binding device, wherein the installation package comprises login state information and the binding information;
And the installation package sending module is used for responding to an operation request for downloading the installation package and sending the installation package to the binding equipment.
11. The device binding apparatus of claim 8, wherein the apparatus further comprises:
a device data acquisition module to acquire device data synchronized by the smart wearable device via the binding device.
12. An apparatus for binding devices, the apparatus comprising:
the two-dimensional code analysis module is used for analyzing the scanned two-dimensional code to obtain a device unique code of the intelligent wearable device to be bound and a link address for accessing the cloud;
the code sending module is used for accessing the cloud according to the link address and sending the unique code of the equipment to the cloud;
the information acquisition module is used for sending the identity information of the user of the intelligent wearable device acquired at the specified position of the interactive page to the cloud end, so that after the cloud end acquires the identity information, binding information and login state information are acquired according to the identity information and the unique device code and sent to the binding device;
And the device connection module is used for connecting the intelligent wearable device according to the binding information and directly logging in an application program according to the login state information.
13. The device binding apparatus of claim 12, wherein the apparatus further comprises:
the page generation module is used for responding to the interaction request of the cloud end and generating an interaction page, and the interaction page is used for acquiring identity information filled in by a user;
and the identity acquisition module is used for acquiring the identity information from the specified position of the interactive page and sending the identity information to the cloud.
14. The device binding apparatus of claim 13, wherein the apparatus further comprises:
the data acquisition module is used for acquiring user data sent by the intelligent wearable equipment;
and the data synchronization module is used for synchronizing the user data to the cloud after the application program is started.
15. Cloud comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the method according to any one of claims 1 to 4.
16. A binding apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the method of any of claims 5 to 7.
17. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN202010486885.6A 2020-06-01 2020-06-01 Device binding method and device, cloud and storage medium Active CN111726396B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010486885.6A CN111726396B (en) 2020-06-01 2020-06-01 Device binding method and device, cloud and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010486885.6A CN111726396B (en) 2020-06-01 2020-06-01 Device binding method and device, cloud and storage medium

Publications (2)

Publication Number Publication Date
CN111726396A CN111726396A (en) 2020-09-29
CN111726396B true CN111726396B (en) 2022-07-29

Family

ID=72565701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010486885.6A Active CN111726396B (en) 2020-06-01 2020-06-01 Device binding method and device, cloud and storage medium

Country Status (1)

Country Link
CN (1) CN111726396B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554735A (en) * 2015-12-18 2016-05-04 Tcl集团股份有限公司 Method and system for binding intelligent device
CN105704116A (en) * 2015-12-31 2016-06-22 深圳市美贝壳科技有限公司 Method for binding intelligent device through binding code
WO2018161807A1 (en) * 2017-03-06 2018-09-13 华为技术有限公司 User identity verification method and apparatus
CN111130765A (en) * 2019-11-25 2020-05-08 广东科徕尼智能科技有限公司 Two-dimensional code sharing method and device for intelligent device and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871680A (en) * 2015-11-18 2016-08-17 乐视致新电子科技(天津)有限公司 Communication method, communication system and display device
CN106055556A (en) * 2016-05-10 2016-10-26 深圳微克科技有限公司 Method and device for information acquisition
CN108696479A (en) * 2017-04-07 2018-10-23 中兴通讯股份有限公司 A kind of Internet of Things Verification System and Internet of Things authentication method
CN113726734A (en) * 2018-03-09 2021-11-30 山东量子科学技术研究院有限公司 Quantum key distribution network, wearable device and target server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554735A (en) * 2015-12-18 2016-05-04 Tcl集团股份有限公司 Method and system for binding intelligent device
CN105704116A (en) * 2015-12-31 2016-06-22 深圳市美贝壳科技有限公司 Method for binding intelligent device through binding code
WO2018161807A1 (en) * 2017-03-06 2018-09-13 华为技术有限公司 User identity verification method and apparatus
CN111130765A (en) * 2019-11-25 2020-05-08 广东科徕尼智能科技有限公司 Two-dimensional code sharing method and device for intelligent device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Wireless Sensor Network MCDS Construction Algorithms With Energy Consideration for Extreme Environments Healthcare;Qiang Tang;《Healthcare Information Technology for the Extreme and Remote Environments》;20190308;全文 *

Also Published As

Publication number Publication date
CN111726396A (en) 2020-09-29

Similar Documents

Publication Publication Date Title
US9577692B2 (en) Subscriber identification module management method and electronic device supporting the same
CN108874539B (en) Resource allocation method, device, terminal and storage medium
CN102255887B (en) Method and system for providing online services corresponding to multiple mobile devices
CN102804144B (en) Remotely location and order mobile device
CN102819461B (en) Desktop synchronous method, device, equipment and system
WO2017133691A1 (en) Intelligent device networking method and apparatus
CN104765627A (en) Smart device, and wearable device and application program installing and uninstalling method thereof
CN105683845A (en) System and method for appliance detection and app configuration
CN105122931A (en) Electronic device and method of registering personal cloud apparatus in user portal server thereof
CN105592168A (en) Remotely locating and commanding a mobile device
US20230308504A9 (en) Method and system of application development for multiple device client platforms
CN102667717A (en) A method, apparatuses and a system for compilation
CN109254817B (en) Dial plate replacing method and system of wearable device and wearable device
CN102843425B (en) The method and communication terminal that replace local storage is stored based on cloud
CN102387482A (en) Method, system and mobile phone for acquiring mobile phone service information
CN104954394A (en) Software differential packet production and update method, server, terminal and update system
CN110493028A (en) A kind of clustered deploy(ment) method, system, device and computer readable storage medium
CN103618710A (en) Individual processing method and device of file between mobile device and computing device
CN113727333B (en) Downloading system for custom applications
CN103152392A (en) Providing method, acquisition method, equipment and system of installation package
EP3322151A1 (en) Data transmission method and electronic device for supporting the same
CN106131137A (en) Method of data synchronization, system and for the user terminal of data syn-chronization and service end
AU2020305669A1 (en) Special effect synchronization method, device, and storage medium
EP2874465B1 (en) Method and system for remote equipment data installation
CN113630473A (en) Internet of things equipment control method and system, computer equipment and storage medium

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