CN108259643B - Binding method and device of intelligent device and user operation terminal, and electronic device - Google Patents
Binding method and device of intelligent device and user operation terminal, and electronic device Download PDFInfo
- Publication number
- CN108259643B CN108259643B CN201810029370.6A CN201810029370A CN108259643B CN 108259643 B CN108259643 B CN 108259643B CN 201810029370 A CN201810029370 A CN 201810029370A CN 108259643 B CN108259643 B CN 108259643B
- Authority
- CN
- China
- Prior art keywords
- identification information
- equipment
- operation terminal
- user operation
- mark code
- 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
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
- H04L61/255—Maintenance or indexing of mapping tables
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a binding method and a binding device of an intelligent device and a user operation terminal, an electronic device and a computer readable storage medium, wherein the scheme comprises the following steps: generating an equipment mark code for the intelligent equipment according to a mark code acquisition request sent by the intelligent equipment; sending the equipment mark code to the intelligent equipment, wherein the sending of the equipment mark code triggers the intelligent equipment to display the equipment mark code; receiving a binding request sent by a user operation terminal, wherein the binding request is generated by the user operation terminal according to an equipment mark code input by a user and carries the equipment mark code and identification information stored by the user operation terminal; and responding to the binding request, and binding the user operation terminal corresponding to the identification information with the intelligent equipment corresponding to the equipment identifier. This scheme need not to print and post the two-dimensional code for smart machine, does not have the two-dimensional code to post the problem of making mistakes and two-dimensional code reveals, has reduced the risk that smart machine was bound by non-real user, has improved smart machine's security.
Description
Technical Field
The invention relates to the field of smart home, in particular to a method and a device for binding smart equipment and a user operation terminal, electronic equipment and a computer readable storage medium.
Background
Along with the improvement of living standard of people, the intelligent control level of household appliances is increasingly improved, and along with the increasing popularization of household networks, network household appliances become an important trend of intelligent control of household appliances.
However, there are two main modes for controlling the home appliances in the network home appliance, one mode is that one control terminal corresponds to one home appliance, and this control terminal has more control terminals due to more kinds of home appliances, and is inconvenient for users to carry and use; and the other one is that one control terminal can realize the control of a plurality of household appliances. In order to facilitate the binding of the plurality of household appliances with the control terminal, when the household appliances leave a factory, a unique two-dimensional code mark is attached to each household appliance, and then the control terminal binds with the corresponding household appliances by scanning the two-dimensional code so as to realize the control of the household appliances.
However, in the above manner of pasting the two-dimensional code to the household appliance, in the transportation and sale processes of the household appliance, the leakage of the two-dimensional code may cause a risk that the household appliance is bound by an unreal user, thereby affecting the normal use of the household appliance.
Disclosure of Invention
In order to solve the problems that in the related art, in order to realize the binding of the household appliance and the control terminal, two-dimensional codes are pasted on the household appliance, and the risk that the household appliance is bound by an unreal user possibly exists due to the leakage of the two-dimensional codes in the transportation and sale processes of the household appliance, the invention provides a binding method of an intelligent device and a user operation terminal.
On one hand, the invention also provides a binding method of the intelligent device and the user operation terminal, the method is applied to the cloud server, and the method comprises the following steps:
generating an equipment mark code for the intelligent equipment according to a mark code acquisition request sent by the intelligent equipment;
sending the equipment mark code to the intelligent equipment, wherein the sending of the equipment mark code triggers the intelligent equipment to display the equipment mark code;
receiving a binding request sent by a user operation terminal, wherein the binding request is generated by the user operation terminal according to the equipment mark code input by a user, and the binding request carries the equipment mark code and identification information stored by the user operation terminal;
and responding to the binding request, and binding the user operation terminal corresponding to the identification information with the intelligent equipment corresponding to the equipment mark code.
On the other hand, the invention also provides a binding method of the intelligent device and the user operation terminal, the method is applied to the intelligent device, and the method comprises the following steps:
responding to a starting instruction triggered by a user, and sending a mark code acquisition request to a cloud server;
receiving a device mark code returned by the cloud server in response to the mark code acquisition request;
and displaying the equipment mark code, so that a user operation terminal sends a binding request to the cloud server according to the equipment mark code and the identification information of the user operation terminal, and triggering the cloud server to bind the intelligent equipment to which the equipment mark code belongs and the user operation terminal to which the identification information belongs.
In addition, the invention also provides a binding method of the intelligent device and the user operation terminal, the method is applied to the user operation terminal, and the method comprises the following steps:
jumping to a distribution network page of the intelligent equipment in response to the triggering of a user, and generating an identification information acquisition request according to the characteristic data of the intelligent equipment input by the user on the distribution network page;
sending the identification information acquisition request to a cloud server, and receiving identification information returned by the cloud server in response to the identification information acquisition request;
generating a binding request carrying the equipment mark code and identification information according to the equipment mark code displayed by the intelligent equipment and input by a user;
and displaying the equipment mark code, so that a user operation terminal sends a binding request to the cloud server according to the equipment mark code and the identification information of the user operation terminal, and triggering the cloud server to bind the intelligent equipment to which the equipment mark code belongs and the user operation terminal to which the identification information belongs.
Further, the present invention also provides a device for binding an intelligent device and a user operation terminal, wherein the device is applied to a cloud server, and the device comprises:
the device comprises a mark code generation module, a mark code acquisition module and a mark code generation module, wherein the mark code generation module is used for generating a device mark code for the intelligent device according to a mark code acquisition request sent by the intelligent device;
the equipment mark code sending module is used for sending the equipment mark code to the intelligent equipment, and the sending of the equipment mark code triggers the intelligent equipment to display the equipment mark code;
a request receiving module, configured to receive a binding request sent by a user operation terminal, where the binding request is generated by the user operation terminal according to the device identifier input by the user, and the binding request carries the device identifier and identifier information stored in the user operation terminal;
and the equipment binding module is used for responding to the binding request and binding the user operation terminal corresponding to the identification information with the intelligent equipment corresponding to the equipment mark code.
In addition, the present invention also provides an electronic device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the binding method of the intelligent device and the user operation terminal.
Further, the present invention also provides a computer-readable storage medium, where a computer program is stored, and the computer program can be executed by a processor to implement the above-mentioned method for binding an intelligent device and a user operation terminal.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
according to the technical scheme provided by the invention, the equipment mark code is generated for the intelligent equipment, and the equipment mark code is displayed on the intelligent equipment, so that the intelligent equipment and the user operation terminal can be bound according to the equipment mark code displayed on the intelligent equipment and the identification information of the user operation terminal, which are input by a user. This scheme need not to print and post the two-dimensional code for smart machine, does not have the two-dimensional code from this to post the problem of making mistakes and two-dimensional code reveals, has consequently reduced the risk that smart machine was bound by non-real user, has improved smart machine's security.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic illustration of an implementation environment in accordance with the present invention;
FIG. 2 is a block diagram illustrating a server in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating a method for binding a smart device to a user operated terminal in accordance with an exemplary embodiment;
fig. 4 is a flowchart of a binding method of an intelligent device and a user operation terminal according to another exemplary embodiment based on the corresponding embodiment in fig. 3;
FIG. 5 is a detailed flowchart of step 340 of the corresponding embodiment of FIG. 3;
FIG. 6 is a detailed flow chart illustrating a method for binding a smart device to a user operated terminal in accordance with an exemplary embodiment;
FIG. 7 is a flow chart illustrating a method for binding a smart device to a user operated terminal in accordance with another exemplary embodiment;
FIG. 8 is a flow chart illustrating a method of binding a smart device to a user operated terminal in accordance with yet another exemplary embodiment;
fig. 9 is a block diagram illustrating an apparatus for binding a smart device with a user-operated terminal according to an exemplary embodiment.
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 invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
FIG. 1 is a schematic illustration of an implementation environment in accordance with the present invention. The implementation environment includes: the system comprises an intelligent device 110, a user operation terminal 120 and a cloud server 130.
The smart device 110, the user operation terminal 120 and the cloud server 130 are connected to each other via the internet. The intelligent device 110 may be, for example, an intelligent home device such as an intelligent air conditioner, an intelligent refrigerator, an intelligent door lock, an intelligent television, or various intelligent production devices on a production line. The user operation terminal 120 may be, for example, a smart phone, a tablet computer, a smart band, or the like. The cloud server 130 may be a server or a cluster of servers deployed in the cloud. The cloud server 130 can implement the binding between the intelligent device 110 and the user operation terminal 120 by using the method provided by the present invention, so that the user operation terminal 120 can control (for example, turn on or turn off) the intelligent device 110.
Referring to fig. 2, fig. 2 is a schematic diagram of a server structure according to an embodiment of the present invention. The server 200 may vary significantly depending on configuration or performance, and may include one or more Central Processing Units (CPUs) 222 (e.g., one or more processors) and memory 232, one or more storage media 230 (e.g., one or more mass storage devices) storing applications 242 or data 244. Memory 232 and storage medium 230 may be, among other things, transient or persistent storage. The program stored in the storage medium 230 may include one or more modules (not shown), each of which may include a series of instruction operations for the server 200. Still further, the central processor 222 may be configured to communicate with the storage medium 230 to execute a series of instruction operations in the storage medium 230 on the server 200. Server 200 may also include one or more power supplies 226, one or more wired or wireless network interfaces 250, one or more input-output interfaces 258, and/or one or more operating systems 241, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so forth. The steps performed by the cloud server 130 in the embodiment of fig. 3 described below may be based on the server structure of fig. 2.
It will be understood by those skilled in the art that all or part of the steps for implementing the following embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Fig. 3 is a flowchart illustrating a binding method of the smart device 110 and the user operation terminal 120 according to an exemplary embodiment. The application scope and execution subject of the binding method of the smart device 110 and the user operation terminal 120 are, for example, the method is used in the cloud server 130 of the implementation environment shown in fig. 1. As shown in fig. 3, the method may be performed by the cloud server 130 and may include the following steps.
In step 310, a device identity code is generated for the smart device according to an identity code acquisition request sent by the smart device.
The smart device 110 may be the smart device 110 in the implementation environment shown in fig. 1. The token acquisition request may be generated by the smart device 110 according to its own category (e.g., refrigerator, air conditioner, television, etc.) and serial number. After being powered on, the smart device 110 is automatically connected to the cloud server 130, reports its own location information to the cloud server 130, and sends a flag code acquisition request to the cloud server 130 after receiving a distribution network starting instruction triggered by a user. The cloud server 130 receives the token code acquisition request sent by the smart device 110, and generates a device token code for the smart device 110.
It should be noted that the device identifier is used to uniquely identify the smart device 110 that sends the identifier obtaining request, and the device identifiers generated for different smart devices 110 are different. In other words, the smart device 110 that needs to be bound can be uniquely determined by the device identification code. The device identification code may be a character string or a two-dimensional code image. In one embodiment, if the device identifier codes are all 0, which indicates that the device identifier code generation fails, the distribution network needs to be triggered and started again at the smart device 110, and a identifier code acquisition request is sent to the cloud server 130 to generate the device identifier code again for the cloud server 130.
In an exemplary embodiment, the step 310 specifically includes: and according to the feature data of the intelligent equipment carried by the mark code acquisition request, generating an equipment mark code for identifying the intelligent equipment.
The feature data may be information of the class, serial number, location, etc. of the smart device 110. The smart device 110 sends a flag code obtaining request to the cloud server 130 according to its own feature data, where the flag code obtaining request carries the feature data of the smart device 110. The cloud server 130 receives a mark code acquisition request carrying the feature data sent by the intelligent device 110, and generates a unique device mark code for the intelligent device 110 according to the feature data through a preset algorithm. In other words, a unique device identification code can be obtained from the feature data of the smart device 110, and the feature data of the smart device 110, such as the category of the smart device 110, can also be obtained from the device identification code.
The cloud server 130 may store the feature data in its own database, and may obtain the feature data of the smart device 110 from its own database through the unique device identifier, as needed.
In step 320, the device identification code is sent to the smart device, and the sending of the device identification code triggers the smart device to display the device identification code.
The cloud server 130 sends the generated device identifier codes for identifying different smart devices 110 to the smart devices 110, and after receiving the device identifier codes, the smart devices 110 display the device identifier codes on their own screens. Thus, the device identification code displayed by the smart device 110 is visible to a user who needs to use the smart device 110.
In step 330, a binding request sent by a user operation terminal is received, where the binding request is generated by the user operation terminal according to the device identifier input by the user, and the binding request carries the device identifier and identification information stored in the user operation terminal.
The user operation terminal 120 may be a mobile terminal used by a user, such as a smart phone. The user operation terminal 120 sends a binding request to the cloud server 130 by running an APP (application).
Specifically, after the user sees the device identifier code displayed by the smart device 110, the APP of the user operation terminal 120 inputs the device identifier code. Assuming that the device identification code is a two-dimensional code image, the user input device identification code may be input by scanning the two-dimensional code image displayed on the smart device 110 through the user operation terminal 120. If the device identification code is a character string, it may be that the user manually enters the character string in the input box of the user operation terminal 120. The user operation terminal 120 generates a binding request according to the device identifier input by the user, and sends the binding request to the cloud server 130. The cloud server 130 receives a binding request sent by the user operation terminal 120.
It should be noted that the binding request carries the identification information of the user operating the terminal 120 and the device identification code input by the user. The identification information may be generated in advance by the cloud server 130 and then stored in the local database of the user operation terminal 120. The identification information may be generated by the user operating the terminal 120 as needed. The identification information is identification information that uniquely identifies the user operation terminal 120. The device identifier is used to uniquely identify the smart device 110, so that the cloud server 130 can uniquely determine the user operation terminal 120 corresponding to the identifier information and the smart device 110 uniquely corresponding to the device identifier according to the identifier information and the device identifier carried in the binding request.
In step 340, in response to the binding request, the user operation terminal corresponding to the identification information is bound with the intelligent device corresponding to the device identifier.
Specifically, the cloud server 130 responds to the binding request sent by the user operation terminal 120, and binds the user operation terminal 120 corresponding to the identification information and the intelligent device 110 corresponding to the device identifier according to the identification information and the device identifier carried in the binding request. The user operates the terminal 120 to control the smart device 110.
In the prior art, a two-dimensional code is posted on the smart device 110, the user operation terminal 120 scans the posted two-dimensional code to obtain a unique identifier such as a serial number of the smart device 110, and the cloud server 130 binds the smart device 110 corresponding to the unique identifier with the user operation terminal 120. Above-mentioned scheme, the printing and the posting of two-dimensional code have increased smart machine 110's production procedure and manufacturing cost. In addition, when the two-dimension code is wrongly posted, leakage of the two-dimension code during transportation or sale of the intelligent device 110 will cause the intelligent device 110 to be bound by a user who is not really used, thereby affecting subsequent control of the intelligent device 110.
According to the technical solution provided by the foregoing exemplary embodiment of the present invention, the device identifier is generated for the smart device 110, and the device identifier is displayed on the smart device 110, so that the smart device 110 and the user operation terminal can be bound according to the device identifier displayed on the smart device 110 and the identification information of the user operation terminal 120, which are input by the user. This scheme need not to print and post the two-dimensional code for intelligent equipment 110, does not have the problem that the mistake was posted and the two-dimensional code was revealed from this to the two-dimensional code, has consequently reduced the risk that intelligent equipment 110 was bound by non-genuine user, has improved intelligent equipment 110's security.
Further, as shown in fig. 4, before the step 330 receives the binding request sent by the user operation terminal, the method for binding the smart device 110 and the user operation terminal 120 provided by the present invention further includes the following steps:
in step 401, an identification information acquisition request sent by a user operation terminal is received.
It should be noted that, in an embodiment, the identification information of the user operation terminal 120 may be generated by the user operation terminal 120 itself. In another embodiment, the cloud server 130 may also generate identification information for the user operating terminal 120. Specifically, the user operation terminal 120 sends an identification information acquisition request to the cloud server 130, and the cloud server 130 generates identification information for the identification information acquisition request sent by the user operation terminal 120 after receiving the identification information acquisition request.
In an exemplary embodiment, step 401 specifically includes: and receiving an identification information acquisition request sent by a user operation terminal, wherein the identification information acquisition request is generated by the user operation terminal according to the characteristic data of the intelligent equipment input by a user.
Specifically, for example, the user operation terminal 120 is a smart phone, and the smart device 110 is a household appliance, after the household appliance is powered on, the user clicks and selects to enter a power distribution webpage of the household appliance of the category through the smart phone APP. And the smart phone responds to the trigger of the user and skips to enter a household appliance power distribution webpage. The smart phone generates an identification information acquisition request according to the characteristic data such as the home appliance type and the location information selected by the user, and sends the identification information acquisition request to the cloud server 130. The position information can be obtained through a GPS positioning function of the smart phone. The cloud server 130 receives an identification information acquisition request sent by the smartphone, where the request carries characteristic data such as home appliances and location information.
In step 402, in response to the identification information acquisition request, identification information for identifying the user operation terminal is generated and returned for the user operation terminal.
The cloud server 130 responds to the identification information acquisition request sent by the user operation terminal 120, and specifically, according to the type, position and other feature data of the intelligent device 110 carried in the request, identification information is generated for the user operation terminal 120, and the identification information is uniquely corresponding to the user operation terminal 120 and is used for identifying the user operation terminal 120. The identification information may include the feature data of the smart device 110 carried in the identification information acquisition request, and may also include a serial number of the user operation terminal 120. Then, the cloud server 130 returns the identification information to the user operation terminal 120. According to the requirement, the feature data of the type, the position, and the like of the smart device 110 carried by the identification information acquisition request may be stored in the cloud server 130.
In an exemplary embodiment, as shown in fig. 5, the step 340, in response to the binding request, of binding the user operation terminal corresponding to the identification information and the intelligent device corresponding to the device identifier, includes:
in step 341, searching whether the device identifier of the smart device and the identification information of the user operation terminal already exist;
in one embodiment, the identification information and the device identification code are both generated by the cloud server 130. Therefore, the cloud server 130 can search in its own database whether the device identifier of the smart device 110 and the identification information of the user operation terminal 120 carried by the binding request have already been stored. If the device identification code does not exist, the device identification code needs to be generated for the intelligent device 110 again; if the identification information does not exist, the identification information needs to be generated again for the user operation terminal 120.
In step 342, if the device identifier of the smart device and the identification information of the user operation terminal exist, determining whether the device identifier matches the identification information;
on the contrary, if the device identifier of the smart device 110 and the identification information of the user operation terminal 120 carried by the binding request exist in the cloud server 130, it is determined whether the device identifier and the identification information are matched. In an implementation manner, the device identifier may carry category information of the smart device 110 (e.g., a television), the identification information is generated according to an identification information obtaining request, and the request may carry the category information of the smart device 110 (e.g., a television) input by a user, so that the identification information may also carry the category information of the smart device 110, and further, whether the category information carried by the device identifier is consistent with the category information carried by the identification information may be determined, and if so, the device identifier is considered to be matched.
In another embodiment, the cloud server 130 may obtain locally stored feature data of the smart device 110 corresponding to the device identifier according to the device identifier. The cloud server 130 may further obtain, according to the identification information, the feature data of the intelligent device 110 carried in the locally stored identification information obtaining request. Therefore, through comparison of the characteristic data, if the characteristic data are consistent, the equipment identification code is considered to be matched with the identification information.
In step 343, if the device identification code matches the identification information, the user operation terminal and the smart device are bound.
And when the equipment identifier is matched with the identification information, binding the intelligent equipment 110 to which the equipment identifier belongs and the user operation terminal 120 to which the identification information belongs. The binding means that the smart device 110 corresponds to the user operation terminal 120, and the smart device 110 can be controlled by the user operation terminal 120 bound to the smart device 110.
Fig. 6 is a detailed flowchart of a binding method between the smart device 110 and the user operation terminal 120 according to an exemplary embodiment of the present invention, as shown in fig. 6.
The method comprises the following steps: after the smart device 110 is powered on, the cloud server 130 is automatically connected to send the location information of the smart device to the cloud server 130. The user operation terminal 120 receives a power distribution webpage triggered by the user to perform the intelligent device 110, and requests the cloud server 130 for the verification code B (i.e., identification information) according to the type and location of the intelligent device 110 input by the user.
Step two: the user triggers a button to the smart device 110 that initiates power distribution.
Step three: the smart device 110 receives the trigger instruction, and sends a flag code acquisition request to the cloud server 130 with its own category and serial number.
Step four: the cloud server 130 returns a unique verification code a (i.e., device identification code) generated for the device to the smart device 110.
Step five: the smart device 110 displays the verification code a through a nixie tube or other display screen. And if the user sees that the verification codes A displayed are all 0, repeating the step two, and clicking the button to restart the distribution network. If not all are 0, the user inputs the displayed authentication code A into the APP of the user operation terminal 120.
Step six: the user operation terminal 120 sends a binding request to the cloud server 130 through the APP, where the binding request carries the verification code a and the verification code B.
Step seven: the cloud server 130 determines whether the verification code a and the verification code B exist and match, and if so, binds the smart device 110 and the user operation terminal 120.
And step eight, if the binding fails, re-executing the step 1 to start the distribution of the network. The distribution network refers to binding the user operation terminal 120 with the intelligent device 110.
Fig. 7 is a flowchart illustrating a binding method of the smart device 110 and the user-operated terminal 120 according to another exemplary embodiment. The application scope and execution subject of the binding method of the smart device 110 and the user operation terminal 120, for example, the method is used in the smart device 110 implementing the environment as shown in fig. 1. As shown in fig. 7, the binding method may include the following steps.
In step 710, in response to a start instruction triggered by a user, sending a flag code acquisition request to the cloud server 130;
specifically, the user triggers a distribution network starting button of the intelligent device 110, the intelligent device 110 receives a distribution network starting instruction, and the intelligent device 110 responds to the starting instruction and sends a mark code obtaining request to the cloud server 130. The identifier code obtaining request may carry feature data (e.g., location, category, serial number, etc.) of the smart device 110.
In step 720, receiving the device identifier returned by the cloud server 130 in response to the identifier obtaining request;
specifically, after receiving the token acquisition request sent by the intelligent device 110, the cloud server 130 generates a unique token for the intelligent device 110 according to the feature data of the intelligent device 110 carried by the request. Alternatively, the smart device 110 is directly assigned a unique number as a tag code, and the tag code may represent information such as a location and a category of the smart device 110. The cloud server 130 returns the generated token to the smart device 110. The smart device 110 receives the token returned by the cloud server 130.
In step 730, the device identifier is displayed, so that the user operation terminal sends a binding request to the cloud server 130 according to the device identifier and the identification information of the user operation terminal, and triggers the cloud server 130 to bind the intelligent device to which the device identifier belongs and the user operation terminal to which the identification information belongs.
The smart device 110 displays the received logo code on the display screen, so that the user can input the displayed logo code into the APP operated by the user operation terminal 120. Then, the user operation terminal 120 may send a binding request to the cloud server 130 according to the identifier input by the user and the identification information of the user operation terminal 120, where the binding request carries the identifier of the smart device 110 and the identification information of the user operation terminal 120. The cloud server 130 can bind the intelligent device 110 corresponding to the identifier code and the user operation terminal 120 corresponding to the identification information.
It should be noted that, the intelligent device 110 in the embodiment corresponding to fig. 7 may refer to the intelligent device 110 in the embodiment corresponding to fig. 3, the user operation terminal 120 in the embodiment corresponding to fig. 7 may refer to the user operation terminal 120 in the embodiment corresponding to fig. 3, and the cloud server 130 in the embodiment corresponding to fig. 7 may refer to the cloud server 130 in the embodiment corresponding to fig. 3.
Fig. 8 is a flowchart illustrating a binding method of the smart device 110 and the user-operated terminal 120 according to another exemplary embodiment. The application scope and execution subject of the binding method of the smart device 110 and the user operation terminal 120, for example, the method is used in the user operation terminal 120 of the implementation environment shown in fig. 1. As shown in fig. 8, the binding method may include the following steps.
In step 810, jumping to a distribution network page of the intelligent device in response to the triggering of a user, and generating an identification information acquisition request according to the characteristic data of the intelligent device input by the user on the distribution network page;
it should be noted that the user operation terminal 120 to which the steps in the embodiment corresponding to fig. 8 are applied may be the user operation terminal 120 in the embodiment corresponding to fig. 3, and a specific implementation manner may refer to the embodiment corresponding to fig. 3.
Specifically, the user clicks and starts the APP of the user operation terminal 120, and the APP of the user operation terminal 120 receives the user trigger and skips to enter the power distribution page of the smart device 110. The user can input feature data such as the category (e.g., television, air conditioner) and location information of the smart device 110 on the power distribution page. The user operation terminal 120 generates an identification information acquisition request based on the feature data input by the user. The identification information obtaining request may carry feature data of the smart device 110 input by the user, and the like.
In step 820, sending the identification information acquisition request to a cloud server, and receiving identification information returned by the cloud server in response to the identification information acquisition request;
specifically, the user operation terminal 120 sends the generated identification information acquisition request to the cloud server 130. The cloud server 130 generates unique identification information for the user operation terminal 120 according to the identification information acquisition request, where the identification information is used to uniquely identify the user operation terminal 120, and indicate the position of the user operation terminal 120, the type of the smart device 110 to be bound, and the like. The user operation terminal 120 receives the identification information generated and returned by the cloud server 130.
In step 830, a binding request carrying the device identifier and identification information is generated according to the device identifier displayed by the smart device and input by a user;
the device identifier is returned by the smart device 110 after sending an identifier acquisition request to the cloud server 130. The device identification code is used to uniquely identify the smart device 110, and may carry characteristic data of the smart device 110, such as the type. The smart device 110 may display the device identification code on the display screen, so that the user may input the device identification code displayed by the smart device 110 at the user operation terminal 120. The user operation terminal 120 generates a binding request according to the identifier input by the user and the identification information generated by the cloud server 130 for itself.
In step 840, the binding request is sent to the cloud server, and the sending of the binding request triggers the cloud server to bind the user operation terminal corresponding to the identification information with the smart device corresponding to the device identifier.
It should be noted that the binding request carries the device identifier of the smart device 110 and the identification information of the user operation terminal 120. Therefore, after the user operation terminal 120 sends the generated binding request to the cloud server 130, the cloud server 130 may determine, according to the device identifier and the identification information carried in the binding request, the smart device 110 uniquely corresponding to the device identifier and the user operation terminal 120 uniquely corresponding to the identification information, and bind the smart device 110 and the user operation terminal 120.
The following is an embodiment of an apparatus of the present invention, which can be used to execute an embodiment of a binding method between an intelligent device 110 and a user operation terminal 120 executed by the cloud server 110 according to the present invention. For details that are not disclosed in the embodiment of the apparatus of the present invention, please refer to an embodiment of a binding method between the smart device 110 and the user operation terminal 120 of the present invention.
Fig. 9 is a block diagram illustrating a binding apparatus of a smart device 110 and a user operation terminal 120 according to an exemplary embodiment, where the binding apparatus of the smart device 110 and the user operation terminal 120 may be used in the cloud server 130 in the implementation environment illustrated in fig. 1, and perform all or part of the steps of the binding method of the smart device 110 and the user operation terminal 120 illustrated in any one of fig. 3 to 6. As shown in fig. 9, the apparatus includes, but is not limited to: a flag code generating module 910, a flag code transmitting module 920, a request receiving module 930, and a device binding module 940.
A flag code generation module 910, configured to generate an equipment flag code for an intelligent equipment according to a flag code acquisition request sent by the intelligent equipment;
a flag code sending module 920, configured to send the device flag code to the intelligent device, where the sending of the device flag code triggers the intelligent device to display the device flag code;
a request receiving module 930, configured to receive a binding request sent by a user operation terminal, where the binding request is generated by the user operation terminal according to the device identifier input by the user, and the binding request carries the device identifier and identification information stored in the user operation terminal;
and the device binding module 940 is configured to respond to the binding request and bind the user operation terminal corresponding to the identification information with the intelligent device corresponding to the device identifier.
The implementation process of the functions and actions of each module in the above apparatus is specifically detailed in the implementation process of the corresponding step in the binding method between the intelligent device 110 and the user operation terminal 120, and is not described herein again.
The tag code generation module 910 may be, for example, one of the physical structure central processors 222 in fig. 2.
The flag code sending module 920, the request receiving module 930, and the device binding module 940 may also be functional modules, and are configured to execute corresponding steps in the binding method between the smart device 110 and the user operation terminal 120. It is understood that these modules may be implemented in hardware, software, or a combination of both. When implemented in hardware, these modules may be implemented as one or more hardware modules, such as one or more application specific integrated circuits. When implemented in software, the modules may be implemented as one or more computer programs executing on one or more processors, such as programs stored in memory 232 for execution by central processor 222 of FIG. 2.
Optionally, the present invention further provides an electronic device, which can be used in the cloud server 130 in the implementation environment shown in fig. 1 to execute all or part of the steps of the binding method between the smart device 110 and the user operation terminal 120 shown in any one of fig. 3 to fig. 6. The electronic device may also be used in the smart device 110 in the implementation environment shown in fig. 1 to execute all or part of the steps of the binding method between the smart device 110 and the user operation terminal 120 shown in fig. 7. The electronic device may also be used in the user operation terminal 120 in the implementation environment shown in fig. 1, and perform all or part of the steps of the binding method between the smart device 110 and the user operation terminal 120 shown in fig. 8. Specifically, the electronic device may include:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the binding method of the smart device 110 and the user operation terminal 120 according to the above embodiment.
The specific manner in which the processor of the electronic device performs operations in this embodiment has been described in detail in the embodiment of the binding method between the smart device 110 and the user operation terminal 120, and will not be described in detail here.
In an exemplary embodiment, a storage medium is also provided that is a computer-readable storage medium, such as may be transitory and non-transitory computer-readable storage media, including instructions. The storage medium stores a computer program executable by the central processor 228 of the server 200 to perform the above-mentioned binding method between the smart device 110 and the user operation terminal 120.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (9)
1. A binding method of an intelligent device and a user operation terminal is applied to a cloud server, and comprises the following steps:
generating an equipment mark code for the intelligent equipment according to a mark code acquisition request sent by the intelligent equipment, and storing the characteristic data carried by the mark code acquisition request and the generated equipment identification code in an associated manner by a cloud server;
sending the equipment mark code to the intelligent equipment, wherein the sending of the equipment mark code triggers the intelligent equipment to display the equipment mark code;
receiving a binding request sent by a user operation terminal, wherein the binding request is generated by the user operation terminal according to an equipment mark code input by a user, the binding request carries the equipment mark code and identification information stored by the user operation terminal, the identification information is generated by a cloud server according to an identification information acquisition request sent by the user operation terminal, and the cloud server stores characteristic data carried by the identification information acquisition request and the generated identification information in an associated manner;
responding to the binding request, and searching whether the equipment identifier of the intelligent equipment and the identification information of the user operation terminal exist or not;
if the equipment mark code of the intelligent equipment and the identification information of the user operation terminal exist, judging whether the equipment mark code is matched with the identification information, wherein if the characteristic data acquired by the cloud server according to the equipment identification code is consistent with the characteristic data acquired according to the identification information, the equipment mark code in the binding request is matched with the identification information in the binding request;
and if the equipment mark code in the binding request is matched with the identification information in the binding request, binding the user operation terminal corresponding to the equipment mark code in the binding request and the intelligent equipment corresponding to the identification information in the binding request.
2. The method according to claim 1, wherein the generating a device identity code for the smart device according to the identity code acquisition request sent by the smart device comprises:
and according to the feature data of the intelligent equipment carried by the mark code acquisition request, generating an equipment mark code for identifying the intelligent equipment.
3. The method of claim 1, wherein before receiving the binding request from the ue, the method further comprises:
receiving an identification information acquisition request sent by a user operation terminal;
and responding to the identification information acquisition request, and generating and returning identification information for identifying the user operation terminal for the user operation terminal.
4. The method according to claim 3, wherein the receiving of the identification information acquisition request sent by the user operation terminal comprises:
and receiving an identification information acquisition request sent by a user operation terminal, wherein the identification information acquisition request is generated by the user operation terminal according to the characteristic data of the intelligent equipment input by a user.
5. A method for binding intelligent equipment and a user operation terminal is characterized in that the method is applied to the intelligent equipment and comprises the following steps:
responding to a starting instruction triggered by a user, and sending a mark code acquisition request to a cloud server;
receiving a device mark code returned by the cloud server in response to the mark code acquisition request;
displaying the equipment mark code, so that a user operation terminal sends a binding request to the cloud server according to the equipment mark code and identification information of the user operation terminal, and the cloud server binds the intelligent equipment to which the equipment mark code belongs and the user operation terminal to which the identification information belongs when determining that the equipment identification code in the binding request is matched with the identification information in the binding request;
if the characteristic data acquired by the cloud server according to the equipment identification code in the binding request is consistent with the characteristic data acquired according to the identification information in the binding request, determining that the equipment identification code in the binding request is matched with the identification information in the binding request;
the cloud server generates an equipment mark code according to a mark code acquisition request sent by the intelligent equipment, and then stores the generated equipment identification code and the characteristic data carried by the mark code acquisition request in an associated manner;
and the cloud server generates identification information for the user operation terminal according to the identification information acquisition request sent by the user operation terminal, and then stores the generated identification information and the characteristic data carried by the identification information acquisition request in an associated manner.
6. A method for binding intelligent equipment and a user operation terminal is characterized in that the method is applied to the user operation terminal and comprises the following steps:
jumping to a distribution network page of the intelligent equipment in response to the triggering of a user, and generating an identification information acquisition request according to the characteristic data of the intelligent equipment input by the user on the distribution network page;
sending the identification information acquisition request to a cloud server, receiving identification information returned by the cloud server in response to the identification information acquisition request, and storing the generated identification information and characteristic data carried by the identification information acquisition request in an associated manner by the cloud server;
generating a binding request carrying the equipment mark code and identification information according to the equipment mark code displayed by the intelligent equipment and input by a user; the cloud server is used for generating the equipment mark code according to a mark code acquisition request sent by the intelligent equipment, and storing the generated equipment mark code and the characteristic data carried by the mark code acquisition request in an associated manner;
sending the binding request to the cloud server, and triggering the cloud server through the binding request to bind the user operation terminal corresponding to the identification information in the binding request with the intelligent equipment corresponding to the equipment mark code in the binding request when the identification information in the binding request is determined to be matched with the equipment mark code in the binding request;
and if the characteristic data acquired by the cloud server according to the equipment identification code in the binding request is consistent with the characteristic data acquired according to the identification information in the binding request, determining that the equipment identification code in the binding request is matched with the identification information in the binding request.
7. The utility model provides a binding apparatus of smart machine and user operation terminal, its characterized in that, the apparatus is applied to high in the clouds server, the apparatus includes:
the system comprises a mark code generation module, a cloud server and a mark code generation module, wherein the mark code generation module is used for generating an equipment mark code for the intelligent equipment according to a mark code acquisition request sent by the intelligent equipment, and the cloud server stores the characteristic data carried by the mark code acquisition request and the generated equipment identification code in an associated manner;
the equipment mark code sending module is used for sending the equipment mark code to the intelligent equipment, and the sending of the equipment mark code triggers the intelligent equipment to display the equipment mark code;
the request receiving module is used for receiving a binding request sent by a user operation terminal, wherein the binding request is generated by the user operation terminal according to an equipment mark code input by a user, the binding request carries the equipment mark code and identification information stored by the user operation terminal, the identification information is generated by the cloud server according to an identification information acquisition request sent by the user operation terminal, and the cloud server stores characteristic data carried by the identification information acquisition request and the generated identification information in an associated manner;
the equipment binding module is used for responding to the binding request and searching whether the equipment identifier of the intelligent equipment and the identification information of the user operation terminal exist or not; if the equipment mark code of the intelligent equipment and the identification information of the user operation terminal exist, judging whether the equipment mark code is matched with the identification information, wherein if the characteristic data acquired by the cloud server according to the equipment identification code is consistent with the characteristic data acquired according to the identification information, the equipment mark code in the binding request is matched with the identification information in the binding request; and if the equipment mark code in the binding request is matched with the identification information in the binding request, binding the user operation terminal corresponding to the equipment mark code in the binding request and the intelligent equipment corresponding to the identification information in the binding request.
8. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the binding method of the intelligent device and the user operation terminal according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, the computer program is executable by a processor to perform the method for binding the smart device to the user-operated terminal according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810029370.6A CN108259643B (en) | 2018-01-12 | 2018-01-12 | Binding method and device of intelligent device and user operation terminal, and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810029370.6A CN108259643B (en) | 2018-01-12 | 2018-01-12 | Binding method and device of intelligent device and user operation terminal, and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108259643A CN108259643A (en) | 2018-07-06 |
CN108259643B true CN108259643B (en) | 2021-01-26 |
Family
ID=62727000
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810029370.6A Active CN108259643B (en) | 2018-01-12 | 2018-01-12 | Binding method and device of intelligent device and user operation terminal, and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108259643B (en) |
Families Citing this family (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110912946A (en) * | 2018-09-13 | 2020-03-24 | 青岛海尔洗衣机有限公司 | Control method of washing system |
CN109088946B (en) * | 2018-09-20 | 2022-09-09 | 青岛海尔洗衣机有限公司 | Equipment and terminal binding method based on mobile communication module |
CN109112770B (en) * | 2018-09-21 | 2021-07-20 | 无锡小天鹅电器有限公司 | Control method and device of clothes treatment device and electronic equipment |
CN109474595B (en) * | 2018-11-13 | 2022-09-20 | 京东方科技集团股份有限公司 | Electronic equipment binding method, electronic equipment, mobile terminal and server |
CN109802886B (en) * | 2019-01-28 | 2021-10-19 | 奥克斯空调股份有限公司 | Method and device for binding third party public number, air conditioner and storage medium |
CN110336771A (en) * | 2019-04-09 | 2019-10-15 | 生迪智慧科技有限公司 | Network-building method, device and computer readable storage medium |
CN110166332A (en) * | 2019-05-24 | 2019-08-23 | 广东美的制冷设备有限公司 | Method and apparatus for household appliance and client binding |
CN110191033A (en) * | 2019-05-24 | 2019-08-30 | 广东美的制冷设备有限公司 | Method and apparatus for household appliance and client binding |
CN110474782A (en) * | 2019-09-16 | 2019-11-19 | 湖南新云网科技有限公司 | A kind of method for remote management of smart machine, device, equipment and storage medium |
CN113132185B (en) * | 2019-12-30 | 2022-06-10 | 深圳Tcl新技术有限公司 | Equipment distribution network binding method, system, mobile terminal and storage medium |
CN111540457B (en) * | 2020-04-02 | 2023-07-25 | 出门问问信息科技有限公司 | Binding method and device, electronic equipment and computer storage medium |
CN112448873B (en) * | 2020-11-17 | 2023-07-25 | 深圳Tcl新技术有限公司 | Binding method and device for equipment and computer readable storage medium |
CN112560529A (en) * | 2020-11-25 | 2021-03-26 | 华帝股份有限公司 | Binding method and system based on two-dimensional code |
CN113124545A (en) * | 2021-04-30 | 2021-07-16 | 青岛海尔空调电子有限公司 | Monitoring method and device of air conditioning unit and medium |
CN113395262B (en) * | 2021-05-24 | 2022-09-16 | 杭州电子科技大学 | Multi-terminal information sharing method and device, computer equipment and storage medium |
WO2023035846A1 (en) * | 2021-09-13 | 2023-03-16 | 海信冰箱有限公司 | Refrigerator and refrigerator control method |
CN113915947B (en) * | 2021-09-13 | 2023-04-11 | 海信冰箱有限公司 | Refrigerator and remote control method thereof |
CN114079925B (en) * | 2021-11-16 | 2023-10-03 | 珠海格力电器股份有限公司 | Binding method and binding system for intelligent equipment and terminal |
CN114245386A (en) * | 2021-12-06 | 2022-03-25 | 广东好太太智能家居有限公司 | Intelligent equipment binding method and system applying honeycomb module |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
ES2431246B1 (en) * | 2012-02-22 | 2014-11-12 | Avelino QUINTELA RUA | Home automation system with user interface via TFT color touch screen |
CN103929411B (en) * | 2013-01-16 | 2017-05-24 | 深圳市腾讯计算机系统有限公司 | Information displaying method, terminal, safety server and system |
CN104184698B (en) * | 2013-05-21 | 2018-05-15 | 中国电信股份有限公司 | Across screen controlling equipment binding method and gateway |
CN103914038A (en) * | 2013-12-31 | 2014-07-09 | 海尔集团公司 | Method and system for controlling domestic equipment according to position of user |
CN104410967B (en) * | 2014-11-06 | 2018-10-23 | 海信集团有限公司 | A kind of method, apparatus and system being attached |
CN104375497B (en) * | 2014-12-15 | 2017-09-29 | 广东美的厨房电器制造有限公司 | Smart home and its control method, control system and electronic equipment |
CN104660618A (en) * | 2015-03-24 | 2015-05-27 | 联想(北京)有限公司 | Binding method and binding equipment |
CN105429828B (en) * | 2015-10-20 | 2019-08-02 | Oppo广东移动通信有限公司 | A kind of method, apparatus and system that smart machine system is added |
CN105704116B (en) * | 2015-12-31 | 2019-02-22 | 深圳市美贝壳科技有限公司 | A method of smart machine is bound by binding code |
CN107370643A (en) * | 2017-06-23 | 2017-11-21 | 上海斐讯数据通信技术有限公司 | A kind of equipment sharing method and system based on two-dimensional code scanning, scanning Quick Response Code |
-
2018
- 2018-01-12 CN CN201810029370.6A patent/CN108259643B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108259643A (en) | 2018-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108259643B (en) | Binding method and device of intelligent device and user operation terminal, and electronic device | |
CN109246604B (en) | Intelligent device safety binding method, server, intelligent device and user side device | |
US9577692B2 (en) | Subscriber identification module management method and electronic device supporting the same | |
CN108494799B (en) | Data sharing method and system | |
US8769030B2 (en) | Device event notification registration through direct interaction with mobile device | |
WO2021135299A1 (en) | Binding method and system for device network configuration, and mobile terminal and storage medium | |
US10181024B2 (en) | Method, device, and system for updating authentication information | |
CN104635543B (en) | It is managed the method and apparatus of operation | |
US20170277526A1 (en) | Software categorization method and electronic device | |
CN106301772A (en) | Cipher set-up method, device and for arranging the device of password | |
CN112929224A (en) | Network distribution method and device of equipment, server and computer readable storage medium | |
CN110647278A (en) | Method and device for controlling plug-in display, computing equipment and storage medium | |
CN110516471A (en) | Product promotion method and relevant device based on information security | |
CN109905292B (en) | Terminal equipment identification method, system and storage medium | |
EP3780550A1 (en) | Information pushing method and device | |
CN110825756B (en) | Data synchronization method, device, storage medium and equipment | |
CN110231923B (en) | Data management method and device | |
CN106789170B (en) | Task processing method and device | |
CN106101990B (en) | Bluetooth device searching method and device | |
CN113590252A (en) | Information pushing method and device, electronic equipment and storage medium | |
US9860238B2 (en) | Smart remote control system | |
WO2015003570A1 (en) | Data downloading method,device and system thereof | |
CN112910741A (en) | Interface testing method and device, computer equipment and storage medium | |
CN109951549B (en) | Network page access method and device and computer readable storage medium | |
WO2014169498A1 (en) | Method and system for third-party service platform login |
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 |