WO2021208634A1 - 设备绑定方法和终端设备 - Google Patents

设备绑定方法和终端设备 Download PDF

Info

Publication number
WO2021208634A1
WO2021208634A1 PCT/CN2021/079519 CN2021079519W WO2021208634A1 WO 2021208634 A1 WO2021208634 A1 WO 2021208634A1 CN 2021079519 W CN2021079519 W CN 2021079519W WO 2021208634 A1 WO2021208634 A1 WO 2021208634A1
Authority
WO
WIPO (PCT)
Prior art keywords
account
signal fingerprint
smart terminal
signal
configuration information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2021/079519
Other languages
English (en)
French (fr)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to US17/919,199 priority Critical patent/US11996978B2/en
Priority to EP21787705.9A priority patent/EP4132047B1/en
Publication of WO2021208634A1 publication Critical patent/WO2021208634A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1046Call controllers; Call servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1033Signalling gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/062Pre-authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/63Location-dependent; Proximity-dependent
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • H04W12/79Radio fingerprint

Definitions

  • This application relates to the field of smart home appliances, and in particular to a device binding method and a terminal device.
  • the smart home system uses advanced network technology, communication technology, automatic control and other technologies to make modern home life safer, more convenient, efficient, fast, intelligent and personalized, and greatly improve the lives of modern humans.
  • a user after purchasing a smart terminal, a user needs to perform various complex configuration procedures on the user terminal to create a binding relationship between the smart terminal and the user account, so that the smart terminal can log in to the user account. Visible on the user terminal, which in turn allows the user to control and monitor the smart terminal through the user terminal.
  • the binding between the smart terminal and the user account can be realized because the user needs to perform various complicated configuration procedures, and therefore, the binding process between the smart terminal and the user account is complicated and time-consuming.
  • This application provides a device binding method and a terminal device to overcome the complicated and time-consuming problem of the binding process between the smart terminal and the user account.
  • this application provides a device binding method, including: a user terminal collects signals at a collection location to generate a first signal fingerprint; the user terminal sends the first signal fingerprint and the corresponding first account to the server The smart terminal collects the signal at the set position and generates a second signal fingerprint; the smart terminal sends the second signal fingerprint and the corresponding device identification of the smart terminal to the server; the server determines the second signal The signal fingerprint matches the first signal fingerprint to determine that the second signal fingerprint corresponds to the first account; the server according to the correspondence between the second signal fingerprint and the device identification of the smart terminal, The smart terminal is bound to the first account.
  • the user terminal collects the signal at the collection location, generates the first signal fingerprint, and sends the first signal fingerprint and the corresponding first account to the server, and the smart terminal collects the signal at the set location, generates the second signal fingerprint, and sends the second signal fingerprint And the device identification of the corresponding smart terminal are sent to the server.
  • the server determines that the second signal fingerprint matches the first signal fingerprint, it determines that the second signal fingerprint corresponds to the first account, so that the second signal fingerprint corresponds to the device identification of the smart terminal.
  • the smart terminal is bound with the first account, which realizes the binding of the smart terminal with the account to which it belongs. Compared with the prior art, there is no need for various complicated configuration procedures, which improves the binding efficiency and shortens the binding time.
  • the first account corresponding to the smart terminal can be determined, and the binding of the smart terminal and the corresponding first account can be realized.
  • the binding steps are simple and easy to perform.
  • the determination of the account to which the smart terminal belongs ie, the first account
  • the first account is related to the second signal fingerprint corresponding to the setting position of the smart terminal and the first signal fingerprint corresponding to the collection position, and has nothing to do with the account for purchasing the smart terminal, it can be realized Accurate binding of smart terminals.
  • the method further includes: when the user terminal sends the first signal fingerprint and the corresponding first account to the server, it also sends the first signal fingerprint corresponding to the first signal fingerprint to the server.
  • the area identifier is sent to the server; the server determines that the second signal fingerprint matches the first signal fingerprint to determine that the second signal fingerprint corresponds to the first area identifier; the server determines that the second signal fingerprint corresponds to the first area identifier;
  • the corresponding relationship between the second signal fingerprint and the device identification of the smart terminal marks the smart terminal through the first area identification.
  • the user terminal sends the first area identifier corresponding to the first signal fingerprint to the server, so that the server determines that the second signal fingerprint matches the first signal fingerprint, and then determines that the second signal fingerprint corresponds to the first area identifier, so that according to the second signal fingerprint
  • the smart terminal is marked with the first region ID, which realizes the determination of the region where the smart terminal is located.
  • the efficiency of the system shortens the time for determining the area and improves the user experience.
  • the area to which the setting position of the smart terminal belongs can be determined, and the area determination steps are simple and easy to execute.
  • the smart terminal sending the second signal fingerprint and the corresponding device identification of the smart terminal to the server includes: the smart terminal sending the second signal fingerprint and the corresponding device identification The device identifier of the smart terminal is sent to the server through a hub device; or the smart terminal sends the second signal fingerprint and the corresponding device identifier of the smart terminal to the server through a virtual SIM card.
  • this application provides a device binding method for a server, including: receiving a first signal fingerprint and a corresponding first account sent by a user terminal, where the first signal fingerprint is collected by the user terminal The collected signal is generated; the second signal fingerprint sent by the smart terminal and the corresponding device identification of the smart terminal are received, the second signal fingerprint is generated by the signal collected by the smart terminal at the set position; the second signal is determined The fingerprint is matched with the first signal fingerprint to determine that the second signal fingerprint corresponds to the first account; according to the correspondence between the second signal fingerprint and the device identification of the smart terminal, the smart terminal Bind with the first account.
  • the method further includes: while receiving the first signal fingerprint and the corresponding first account sent by the user terminal, it also receives the first signal fingerprint corresponding to the first signal sent by the user terminal.
  • the corresponding relationship between the device identification of the terminal is used to mark the smart terminal through the first area identification.
  • the method further includes: sending first configuration information to the user terminal, where the first configuration information includes the device identifier of the smart terminal and the first area identifier, So that the user terminal sets the operation control of the smart terminal according to the first configuration information.
  • the method further includes: sending second configuration information to the smart terminal, where the second configuration information includes the first account and the first area identifier, so that The smart terminal determines the account and area to which the smart terminal belongs according to the second configuration information.
  • the method further includes: receiving a third signal fingerprint sent by the smart terminal, where the third signal fingerprint is generated by a signal collected by the smart terminal at the setting position; The first signal fingerprint is updated through the third signal fingerprint.
  • the method further includes: sending third configuration information to the smart terminal, where the third configuration information is used to indicate all the settings in the area indicated by the first area identifier.
  • the device configuration information of the smart terminal so that the smart terminal performs device configuration according to the third configuration information.
  • the method further includes: binding the smart terminal with a second account, and the second account is associated with the first account.
  • the method further includes: receiving fourth configuration information sent by the user terminal; wherein the fourth configuration information includes the operating authority of the first account on the smart terminal and Operating authority of the second account on the smart terminal; sending the fourth configuration information to the smart terminal, so that the smart terminal determines the first account and the first account according to the fourth configuration information 2.
  • the operating authority of the account includes the operating authority of the first account on the smart terminal and Operating authority of the second account on the smart terminal; sending the fourth configuration information to the smart terminal, so that the smart terminal determines the first account and the first account according to the fourth configuration information 2.
  • the method further includes: receiving network configuration information corresponding to the first account sent by the user terminal; sending network configuration information corresponding to the first account to the smart terminal, So that the smart terminal connects to the network according to the network configuration information corresponding to the first account.
  • the receiving the second signal fingerprint and the corresponding device identification of the smart terminal sent by the smart terminal includes: receiving the second signal fingerprint and the corresponding device identification sent by the smart terminal through a hub device or a virtual SIM card.
  • the device ID of the smart terminal includes: receiving the second signal fingerprint and the corresponding device identification sent by the smart terminal through a hub device or a virtual SIM card.
  • this application provides a device binding method for a user terminal, including: collecting a signal at a collection location to generate a first signal fingerprint; sending the first signal fingerprint and the corresponding first account to a server, After determining that the second signal fingerprint of the setting location sent by the smart terminal matches the first signal fingerprint, the server binds the smart terminal with the first account.
  • the method further includes: sending the first signal fingerprint and the corresponding first account to the server, and at the same time sending the first area identifier corresponding to the first signal fingerprint to the server , So that after determining that the second signal fingerprint of the setting position sent by the smart terminal matches the first signal fingerprint, the server marks the smart terminal through the first area identifier.
  • the method further includes: receiving first configuration information sent by the server, where the first configuration information includes the device identifier of the smart terminal and the first area identifier; The operation control of the smart terminal is set according to the first configuration information.
  • the method further includes: sending fourth configuration information to the server; wherein the fourth configuration information includes the operating authority of the first account on the smart terminal and the second The account has an operating authority for the smart terminal, and the second account is associated with the first account, so that the server determines the operating authority of the first account and the second account according to the fourth configuration information.
  • the method further includes: sending network configuration information corresponding to the first account to the server.
  • the present application provides a device binding method for a smart terminal, including: collecting a signal at a setting location, generating a second signal fingerprint; sending the second signal fingerprint and the corresponding device identification of the smart terminal to The server is configured to enable the server to bind the smart terminal with the first account corresponding to the first signal fingerprint after determining that the second signal fingerprint matches the first signal fingerprint sent by the user terminal.
  • the method includes: receiving second configuration information sent by the server;
  • the second configuration information includes the first account and a first area identifier, and the first area identifier corresponds to the first signal fingerprint; the account to which the smart terminal belongs is determined according to the second configuration information And area.
  • the method further includes: collecting a signal at the setting position to generate a third signal fingerprint; and sending the third signal fingerprint to the server, so that the server can pass through the The third signal fingerprint updates the first signal fingerprint.
  • the method includes: receiving third configuration information sent by the server, where the third configuration information is used to indicate the smart terminal set in the area indicated by the first area identifier
  • the device configuration information of the device, the first area identifier corresponds to the first signal fingerprint; device configuration is performed according to the third configuration information.
  • the method further includes: receiving fourth configuration information sent by the server; wherein the fourth configuration information includes the operating authority of the first account on the smart terminal and the first The operating authority of the second account on the smart terminal, the second account is associated with the first account; the operating authority of the first account and the second account is determined according to the fourth configuration information.
  • the method further includes: receiving network configuration information corresponding to the first account sent by the server; and connecting to the network according to the network configuration information corresponding to the first account.
  • the sending the second signal fingerprint and the corresponding device identification of the smart terminal to the server includes: sending the second signal fingerprint and the corresponding smart terminal through a hub device or a virtual SIM card The device ID of is sent to the server.
  • this application provides a terminal device, including: a communication module, used to communicate with other devices; one or more memories, used to store one or more computer programs; one or more processors, used to execute The one or more computer programs enable the terminal device to execute the method described in any one of the second aspects.
  • this application provides a terminal device, including: a communication module, used to communicate with other devices; one or more memories, used to store one or more computer programs; one or more processors, used to execute The one or more computer programs enable the terminal device to execute the method described in any one of the third aspect.
  • this application provides a terminal device, including: a communication module, used to communicate with other devices; one or more memories, used to store one or more computer programs; one or more processors, used to execute The one or more computer programs enable the terminal device to execute the method described in any one of the fourth aspect.
  • the present application provides a computer-readable storage medium, including a computer program, which when executed on a computer, causes the computer to execute the method described in any one of the second aspect to the fourth aspect .
  • the present application provides a computer program, when the computer program is executed by a computer, it is used to execute the method described in any one of the second to fourth aspects.
  • the present application provides a chip including a processor and a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the second aspect to the first aspect.
  • Figure 1 shows a schematic diagram of an application scenario of the device binding method
  • FIG. 2 is a schematic flowchart of a refrigerator binding method provided by an embodiment of the application.
  • FIG. 3 is a first schematic flowchart of a device binding method provided by an embodiment of this application.
  • FIG. 4 is a schematic flowchart of a socket binding method provided by an embodiment of the application.
  • FIG. 5 is a second schematic flowchart of a device binding method provided by an embodiment of this application.
  • FIG. 6 is a schematic structural diagram of a mobile phone provided by an embodiment of the application.
  • Fig. 7 is a schematic structural diagram of a refrigerator provided by an embodiment of the application.
  • FIG. 8 is a schematic structural diagram of a physical server provided by an embodiment of the application.
  • At least one (item) refers to one or more, and “multiple” refers to two or more.
  • “And/or” is used to describe the association relationship of associated objects, indicating that there can be three types of relationships, for example, “A and/or B” can mean: only A, only B, and both A and B , Where A and B can be singular or plural.
  • the character “/” generally indicates that the associated objects before and after are in an “or” relationship.
  • the following at least one item (a) or similar expressions refers to any combination of these items, including any combination of a single item (a) or a plurality of items (a).
  • At least one of a, b, or c can mean: a, b, c, "a and b", “a and c", “b and c", or "a and b and c" ", where a, b, and c can be single or multiple.
  • FIG. 1 shows a schematic diagram of an application scenario of the device binding method.
  • the application scenario may include: at least one user terminal 10, a server 11, at least one smart terminal 12-16, and at least one central device 17-18. in:
  • the user terminal 10 may be, for example, a terminal device with a human-computer interaction function, such as a mobile phone or a tablet computer.
  • the user terminal can interact with the server 11 through the network service provided by the mobile operator, and can also connect to a wireless local area network (such as a home gateway), and interact with the server 11 through the wireless local area network.
  • a wireless local area network such as a home gateway
  • the server 11 may be, for example, a physical server, or a cloud server, etc., which is not specifically limited here.
  • the smart terminals 12-16 may be, for example, lights, sockets, refrigerators, washing machines, air conditioners, ovens, rice cookers, televisions, sweeping robots, etc., which are not specifically limited here.
  • the hub devices 17-18 may be, for example, home gateways, smart speakers, TV set-top boxes, etc., wherein the hub devices 17-18 are all connected to the network to realize the interaction between the hub device and the server 11.
  • the hub devices 17-18 can be divided into hub devices with human-computer interaction functions and hub devices without human-computer interaction functions.
  • the hub devices with human-computer interaction functions may be smart speakers, etc., without human-computer interaction functions.
  • the hub device of may be, for example, a home gateway, a TV set-top box, and so on.
  • a restricted network is set on the hub equipment 17-18, and the restricted network is specifically used to provide network services to the intelligent terminals 12-16 that are not connected to the network.
  • the smart terminals 12-16 are all configured with the access information of the restricted network before they leave the factory, so that the smart terminals 12-16 can access the hub through the access information of the restricted network configured therein without accessing the network.
  • Devices 17-18 so that the smart terminals 12-16 interact with the server 11 through the central device 17-18 connected to the network.
  • FIG. 2 is a schematic flowchart of a refrigerator binding method provided by an embodiment of the application.
  • the smart terminal set by the user is a refrigerator, which is one of the at least one smart terminal in FIG. 1 above, and the user terminal used by the user is a mobile phone, and the mobile phone is a
  • the central device is a home gateway
  • the home gateway is one of at least one of the central devices in Figure 1
  • the server is a smart home appliance cloud server
  • the user sets up a refrigerator in his house, and the house has a structure of two rooms and one hall .
  • the refrigerator binding method may include the following steps:
  • a user initiates a registration request for a smart home appliance cloud service to a mobile phone.
  • the user can initiate a registration request for the smart home appliance cloud service to the mobile phone by opening the smart home appliance client installed in the mobile phone and clicking the registration control in the display interface of the smart home appliance client.
  • the mobile phone receives and responds to the registration request to obtain a first account and a login password, where the first account is an account for the user to log in to the smart home appliance client.
  • the mobile phone receives and responds to the registration request, causing the smart home appliance client to provide an account registration interface on the display interface.
  • the user can enter the first account and login password in the account registration interface, so that the mobile phone can obtain the first account and log in. password.
  • the mobile phone sends the first account and the login password to the smart home appliance cloud server.
  • the smart home appliance cloud server receives the first account and the login password, determines whether there is an account that is the same as the first account among the accounts stored therein, and if it does not exist, sends a response message indicating successful registration to the mobile phone.
  • the mobile phone receives the successful registration response message and displays a successful registration message to inform the user that the account registration is successful, and the user can log in to the smart home appliance client through the first account and the login password.
  • the user logs in to the smart home appliance client installed on the mobile phone through the first account and the login password.
  • the user holds the mobile phone while walking in different rooms in the house, and each time he walks to a collection location in a room, he initiates a signal fingerprint collection instruction to the mobile phone.
  • the mobile phone receives and responds to the signal fingerprint collection instruction, collects the signal at the collection location of each room, and generates the first signal fingerprint of the collection location of each room according to the signal collected at the collection location of each room, where the first signal fingerprint is The number of one signal fingerprint is the same as the number of collection positions, and one collection position corresponds to one first signal fingerprint.
  • the process of collecting signals at a collecting position and generating the first signal fingerprint of the collecting position includes: first driving a signal collecting program, detecting the signal at the collecting position, collecting the identification information and signal strength of each detected signal, and detecting After the identification information and signal strength of all the signals are packaged, the first signal fingerprint of the collection location can be obtained.
  • the user Since the user sets up a refrigerator in his house, and the user’s house has a structure of two rooms and one hall, he can select a collection location in the living room and two rooms respectively, so that three collection locations and three first signal fingerprints can be obtained.
  • the three collection locations correspond to the three fingerprints of the first signal one-to-one.
  • the three collection locations are the first collection location to the third collection location.
  • the first collection location is located in the living room
  • the second collection location is located in the first room
  • the third collection location is located in the second room.
  • the first signal fingerprint of the first collection position is shown in Table 1.
  • the first signal fingerprint of the first collection position includes 5 signals, and the 5 signals are all wifi signals, and the identification information of each WiFi signal.
  • the SSID and the signal strength RSSI of each wifi signal are shown in Table 1.
  • the first signal fingerprint of the second collection position is shown in Table 2.
  • the first signal fingerprint of the second collection position includes 4 signals, and the 4 signals are all wifi signals, and the identification information of each WiFi signal.
  • the SSID and the signal strength RSSI of each wifi signal are shown in Table 2.
  • the first signal fingerprint of the third collection position is shown in Table 3.
  • the first signal fingerprint of the third collection position includes 5 signals, and the 5 signals are all wifi signals, and the identification information of each WiFi signal.
  • the SSID and the signal strength RSSI of each wifi signal are shown in Table 3.
  • the identification information and signal strength of each detected signal can also be collected at the same time. At least one of the signal type of each signal, the time stamp of the signal, the rate of change of signal strength, and other detectable signal-related public information, where the signal type includes WiFi signal, Bluetooth signal, UWB signal, etc. And while packaging the identification information and signal strength of all detected signals, it is also necessary to pack the signal type of all detected signals, the time stamp of the signal, the rate of change of signal strength, and other public information related to the detectable signal. At least one of them is also packed to obtain the first signal fingerprint of the collection position.
  • the mobile phone After the mobile phone generates the first signal fingerprint corresponding to each collection location, it sends the three first signal fingerprints and the corresponding first account to the smart home appliance cloud server.
  • the smart home appliance cloud server receives the three first signal fingerprints and the corresponding first account sent by the mobile phone, and stores the three first signal fingerprints in association with the corresponding first account.
  • the user buys the refrigerator, he places the refrigerator in a setting location (for example, a location in the living room), and powers on the refrigerator.
  • a setting location for example, a location in the living room
  • the refrigerator drive signal acquisition program After the refrigerator is powered on, collect signals at the set position, and generate a second signal fingerprint. That is, the refrigerator drive signal acquisition program, detects the signal at the set position, collects the identification information and signal strength of each detected signal, and packs the identification information and signal strength of all the detected signals, and then the second signal fingerprint can be obtained .
  • the second signal fingerprint is shown in Table 4.
  • the second signal fingerprint includes 5 signals, and the 5 signals are all wifi signals, the identification information SSID of each WiFi signal and the signal strength RSSI of each wifi signal As shown in Table 4.
  • the process of generating the second signal fingerprint while collecting the identification information and signal strength of each detected signal, it is also possible to collect the information of each detected signal. At least one of the signal type, the time stamp of the signal, the change speed of the signal strength, and other detectable signal-related public information, where the signal type includes WiFi signal, Bluetooth signal, UWB signal, etc. And while packaging the identification information and signal strength of all detected signals, it is also necessary to pack the signal type of all detected signals, the time stamp of the signal, the rate of change of signal strength, and other public information related to the detectable signal. At least one of the others is also packed to obtain the second signal fingerprint.
  • the refrigerator sends the second signal fingerprint and the corresponding device identification of the refrigerator to the smart home appliance cloud server through the home gateway.
  • the refrigerator connects to the home gateway through the configured restricted network access information, and sends the second signal fingerprint and the corresponding refrigerator device identification to the home gateway, and the home gateway receives the second signal fingerprint and the corresponding refrigerator device And send the second signal fingerprint and the corresponding device identifier of the refrigerator to the smart home appliance cloud server.
  • the home gateway is a central device selected by the refrigerator among the central devices that it can detect
  • the home gateway can be a home gateway set by the user himself or a home gateway set by the user's neighbors. Based on this, before the refrigerator sends the second signal fingerprint and the corresponding device identification of the refrigerator through the home gateway, the refrigerator needs to select a central device (that is, the home gateway) among the central devices that it can detect, and then the refrigerator passes through the selected central device.
  • the device that is, the home gateway
  • the refrigerator may also send the second signal fingerprint and the corresponding device identification of the refrigerator to the smart home appliance cloud server through the virtual SIM card. That is, when the refrigerator leaves the factory, a virtual SIM card is set in the refrigerator, and the refrigerator is connected to the network through the virtual SIM card, so that the second signal fingerprint and the device identification of the refrigerator are sent to the smart home appliance cloud server through the virtual SIM card.
  • the refrigerator collects the signal at the set position and generates the second signal fingerprint, and sends the second signal fingerprint and the corresponding device identification of the refrigerator to the smart home appliance cloud server, so that the smart home appliance cloud server determines according to the second signal fingerprint
  • the account to which the refrigerator belongs to realize the automatic binding of the refrigerator to the account to which it belongs.
  • the smart home appliance cloud server receives the second signal fingerprint sent by the refrigerator and the corresponding device identifier of the refrigerator, and determines the first account corresponding to the second signal fingerprint.
  • the smart home appliance cloud server stores at least one first account. An account and the first signal fingerprint corresponding to each first account.
  • determining the first account corresponding to the second signal fingerprint includes: matching the second signal fingerprint with each first signal fingerprint stored in the smart home appliance cloud server, and if a first signal fingerprint matches the second signal fingerprint, The first account corresponding to the first signal fingerprint is determined as the first account corresponding to the second signal fingerprint, that is, the second signal fingerprint corresponds to the first account corresponding to the first signal fingerprint.
  • Calculate the similarity between the second signal fingerprint and each first signal fingerprint determine the maximum similarity according to the similarity between the second signal fingerprint and each first signal fingerprint, and determine whether the maximum similarity is greater than the preset similarity, if so, then The first signal fingerprint corresponding to the maximum similarity matches the second signal fingerprint.
  • the method for calculating the similarity between the second signal fingerprint and a first signal fingerprint may include the following two methods, among which:
  • the first method is to determine the union of the signals in the second signal fingerprint and the first signal fingerprint based on the identification information of each signal in the second signal fingerprint and the identification information of each signal in the first signal fingerprint.
  • the second type is to determine the intersection of the second signal fingerprint and the signal in the first signal fingerprint based on the identification information of each signal in the second signal fingerprint and the identification information of each signal in the first signal fingerprint.
  • the difference between the signal strength in the second signal fingerprint and the signal strength in the first signal fingerprint of each signal in the intersection is calculated separately to obtain the signal strength difference of each signal.
  • the similarity between the second signal fingerprint and the first signal fingerprint indicated in Table 1 is the largest and greater than the preset similarity. Therefore, the first account corresponding to the first signal fingerprint indicated in Table 1 is determined as the first account.
  • the account to which the second signal fingerprint belongs, that is, the second signal fingerprint corresponds to the first account corresponding to the first signal fingerprint indicated in Table 1.
  • the first signal fingerprint and the second signal fingerprint also include other parameters, such as the signal type, the time stamp of the signal, the rate of change of the signal strength, and other parameters.
  • the principle of calculating the similarity between the second signal fingerprint and the first signal fingerprint is the same as the above, it will not be repeated here.
  • the refrigerator Before determining the first account corresponding to the second signal fingerprint, it is also possible to verify whether the refrigerator is a device authenticated by the smart home appliance cloud service. If so, determine the first account corresponding to the second signal fingerprint. If not, then determine the second account. The first account corresponding to the signal fingerprint.
  • the process of verifying whether the refrigerator is a device certified for the smart home appliance cloud service includes:
  • the smart home appliance cloud server can authenticate the supplier qualification and agreement content of the refrigerator. After the authentication is passed, the smart home appliance cloud server saves the refrigerator's device identification (such as serial number) and initial secret key, and the refrigerator The device identification and initial secret key are saved, and then, in step 213, the refrigerator sends the second signal fingerprint, the device identification of the refrigerator, and the initial secret key to the smart home appliance cloud server.
  • the smart home appliance cloud server saves the refrigerator's device identification (such as serial number) and initial secret key, and the refrigerator The device identification and initial secret key are saved, and then, in step 213, the refrigerator sends the second signal fingerprint, the device identification of the refrigerator, and the initial secret key to the smart home appliance cloud server.
  • the smart home appliance cloud server receives the second signal fingerprint, the device ID of the refrigerator, and the initial key, and determines whether the device ID and initial key of the received refrigerator are the same as the device ID and initial key of the refrigerator stored therein, and if so, it determines the refrigerator It is a device for smart home appliance cloud service authentication, and matches the second signal fingerprint with each of the first signal fingerprints stored therein, and determines the first account corresponding to the first signal fingerprint that matches the second signal fingerprint as the second signal The first account corresponding to the fingerprint.
  • the matching failure response information is sent to the mobile phone.
  • the mobile phone After the mobile phone receives the response information, it responds to the response information and prompts the user to re-collect the first signal fingerprint.
  • a signal fingerprint The user repeats the steps of collecting the first signal fingerprint, and sends the re-collected first signal fingerprint and the corresponding first account to the smart home appliance cloud server, thereby determining the first signal fingerprint corresponding to the second signal fingerprint based on the re-collected first signal fingerprint One account.
  • the smart home appliance cloud server binds the refrigerator to the first account corresponding to the second signal fingerprint according to the correspondence between the second signal fingerprint and the device identifier of the refrigerator. That is, the first account corresponding to the fingerprint of the second signal is determined as the account to which the refrigerator belongs, and the refrigerator is bound with the first account to realize the binding of the refrigerator and the account to which it belongs.
  • the smart home appliance cloud server determines the first account corresponding to the second signal fingerprint by matching the second signal fingerprint collected and generated by the refrigerator with the first signal fingerprint, so as to determine the first account corresponding to the second signal fingerprint according to the second signal fingerprint and the device identification of the refrigerator.
  • the first account corresponding to the second signal fingerprint is determined as the account to which the refrigerator belongs, and the first account corresponding to the second signal fingerprint is bound to the refrigerator, which realizes the binding of the refrigerator to the account to which it belongs, and the binding step Simple and easy to implement, without various complicated configuration procedures, high binding efficiency, short binding time, and good user experience.
  • the smart home appliance cloud server may also send an inquiry request whether to bind to the mobile phone, and the mobile phone displays the inquiry request, and the user based on the inquiry Request to send response information to the mobile phone, the mobile phone sends the response information to the smart home appliance cloud server, and the smart home appliance cloud server receives the response information. If the response information is affirmative, go to step 215; Binding of the first account.
  • the smart home appliance cloud server can also synchronize the first configuration information with the mobile phone, where the first configuration information includes the device identification of the refrigerator, etc., so that the user can pass the first account and login password.
  • the smart home appliance client in the mobile phone After logging in to the smart home appliance client in the mobile phone, the smart home appliance client in the mobile phone adds the operation control of the refrigerator to the interface of the smart home appliance client according to the device identifier of the refrigerator in the first configuration information, so that the user can control the refrigerator based on the operation control .
  • the refrigerator can determine whether the control instruction is sent to the account it belongs to according to the account carried in the control instruction
  • the smart home appliance cloud server may send second configuration information to the refrigerator through the home gateway, where the second configuration information includes the first account.
  • the refrigerator receives and saves the second configuration information. In this way, after the refrigerator receives the control instruction, the account carried in the control instruction is compared with the first account stored therein. If the comparison is consistent, the control instruction is sent by the account to which the refrigerator belongs, and the refrigerator executes the control instruction. If the comparison is inconsistent, the control instruction is not sent by the account to which the refrigerator belongs, and the refrigerator does not execute the control instruction.
  • the refrigerator can also collect the signal at the set location and generate the third signal fingerprint through the home gateway. Send the third signal fingerprint to the smart home appliance cloud server.
  • the smart home appliance cloud server receives the third signal fingerprint, and updates the first signal fingerprint (that is, the first signal fingerprint that matches the second signal fingerprint) through the third signal fingerprint. It should be noted that the principle of generating the third signal fingerprint is the same as that of generating the second signal fingerprint, so it will not be repeated here.
  • the frequency or timing at which the refrigerator collects the signal at the set position and generates the third signal fingerprint can be set according to the application scenario, and there is no special limitation here.
  • the smart home appliance cloud server sends third configuration information to the refrigerator through the home gateway, and the third configuration information is used to indicate the device configuration information of the refrigerator.
  • the refrigerator After receiving the third configuration information, the refrigerator performs device configuration according to the third configuration information, so that the refrigerator operates according to the content configured by the third configuration information.
  • the third configuration information may include configuration information required during the normal operation of the refrigerator, for example, access interface, information reporting frequency, data format, used protocol, and so on.
  • the user It is also possible to send the associated account of the first account (that is, the second account) to the smart home appliance cloud server in advance through the mobile phone.
  • the smart home appliance cloud server receives the second account. Based on this, the smart home appliance cloud server binds the refrigerator to the second account after binding the first account to the refrigerator.
  • the smart home appliance cloud server sends the first configuration to the user terminal of the associated user Information, where the first configuration information includes the device identifier of the refrigerator.
  • the user terminal of the associated user receives the first configuration information, and adds an operation control of the refrigerator to the interface of the smart home appliance client according to the device identifier of the refrigerator in the first configuration information, so that the associated user can control the refrigerator based on the operation control.
  • the refrigerator can determine whether the control instruction is based on the account carried in the control instruction
  • the control instruction sent by the second account is used to ensure the security of the refrigerator control, and the smart home appliance cloud server sends the second account to the refrigerator.
  • the refrigerator receives and saves the second account, so that after receiving the control instruction, it judges whether the control instruction is a control instruction sent by the second account according to the matching result of the account carried in the control instruction and the second account.
  • the user sends the fourth configuration information to the smart home appliance cloud server through the mobile phone, where the fourth configuration information includes the operation authority of the first account to the refrigerator And the operation authority of the second account on the refrigerator.
  • the first account has the permission to read and write to the refrigerator
  • the second account has the permission to read and write to the refrigerator.
  • the smart home appliance cloud server receives the fourth configuration information sent by the mobile phone. Based on this, when the user sends a control instruction to the refrigerator to the smart home appliance cloud server, the smart home appliance cloud server can determine whether the user has sent a control instruction to the refrigerator based on the fourth configuration information and according to the account and instruction information carried in the control instruction. Authorization, if yes, send the control instruction to the refrigerator, if not, then return to the user a prompt message that the operation is out of range.
  • the fourth configuration information can be sent to the refrigerator through the home gateway, and the refrigerator receives the fourth configuration information, and the authority to the refrigerator according to the fourth configuration information Configure the configuration information.
  • the refrigerator After the refrigerator receives the control instruction, it judges whether to execute the instruction according to the account and instruction information carried in the control instruction and the authority information in the fourth configuration information.
  • the associated user can also collect the first signal fingerprint through the user terminal, and send the first signal fingerprint and the corresponding second account to the smart home appliance cloud server, and the smart home appliance cloud server receives the information sent by the user terminal of the associated user.
  • the first signal fingerprint corresponding to the second account and the first signal fingerprint corresponding to the first account are collected together for storage, that is, the first signal fingerprint collected by the user and its associated user Stored together, in this way, the number of the first signal fingerprint is increased, the first signal fingerprint is enriched, and the matching result of the second signal fingerprint and the first signal fingerprint is more accurate.
  • the user can also send the network configuration information corresponding to the first account to the smart home appliance cloud server through the mobile phone, and the smart home appliance cloud server receives the network configuration information corresponding to the first account.
  • the network configuration information corresponding to the first account is sent to the refrigerator through the home gateway, so that the refrigerator accesses the network according to the network configuration information corresponding to the first account.
  • the refrigerator connects to the router according to the account and password of the router, and then to the network, so that the smart home appliance cloud server can directly interact with the refrigerator through the network, and There is no need to interact with the refrigerator through the restricted network of the home gateway.
  • the information interaction between the smart home appliance cloud server and the refrigerator is realized through the network, without the participation of a central device and a virtual SIM card.
  • FIG. 3 is a schematic flow chart 1 of a device binding method provided by an embodiment of this application. As shown in FIG. 3, the device The binding method includes the following steps:
  • a user terminal collects a signal at a collection location, and generates a first signal fingerprint.
  • the user terminal sends the first signal fingerprint and the corresponding first account to the server.
  • the smart terminal collects the signal at the set location, and generates a second signal fingerprint.
  • the smart terminal sends the second signal fingerprint and the corresponding device identification of the smart terminal to the server.
  • the specific implementation methods include the following two:
  • the smart terminal sends the second signal fingerprint and the corresponding device identification of the smart terminal to the server through the hub device.
  • the smart terminal sends the second signal fingerprint and the corresponding device identification of the smart terminal to the server through the virtual SIM card.
  • the server determines that the second signal fingerprint matches the first signal fingerprint, so as to determine that the second signal fingerprint corresponds to the first account. That is, the server matches the second signal fingerprint with each first signal fingerprint, and if a first signal fingerprint matches the second signal fingerprint, the first account corresponding to the first signal fingerprint is determined as the second signal fingerprint corresponding The first account, that is, the second signal fingerprint corresponds to the first account corresponding to the first signal fingerprint. Since the specific matching process of the signal fingerprint has been described above, it will not be repeated here.
  • the server binds the smart terminal with the first account according to the correspondence between the second signal fingerprint and the device identification of the smart terminal. That is, the first account is determined as the account to which the smart terminal belongs, and the smart terminal is bound with the first account to realize the binding of the smart terminal with the account to which it belongs.
  • the user terminal collects the signal at the collection location, generates the first signal fingerprint, and sends the first signal fingerprint and the corresponding first account to the server.
  • the smart terminal collects the signal at the set location, generates the second signal fingerprint, and sends the first signal fingerprint to the server.
  • the second signal fingerprint and the corresponding device identification of the smart terminal are sent to the server.
  • the server determines that the second signal fingerprint matches the first signal fingerprint, it determines that the second signal fingerprint corresponds to the first account, so that the second signal fingerprint corresponds to the smart terminal’s
  • the corresponding relationship between the device identifiers binds the smart terminal with the first account, and realizes the binding of the smart terminal with the account to which it belongs.
  • the binding time improves the user experience.
  • the account to which the smart terminal belongs can be determined, and the binding of the smart terminal with the account to which it belongs can be realized.
  • the binding steps are simple and easy to execute.
  • the user registers an account in the platform and purchases a smart terminal through the account.
  • the server When purchasing a smart terminal, the server will bind the account to the purchased smart terminal. In this way, after the smart terminal is bought home and powered on, the server According to the binding relationship between the account and the smart terminal when purchasing the smart terminal, the account for purchasing the smart terminal is determined as the account to which the smart terminal belongs, and the account for purchasing the smart terminal is bound to the smart terminal so that the user can purchase the smart terminal
  • the account controls the smart terminal. Based on this, if a user purchases a smart terminal for his parents with his own account, according to the above device binding principle, the smart terminal purchased by the user will be bound to the account that the user purchased the smart terminal, that is, the smart terminal is bound to the user’s account. It cannot be bound with the user's parent's account, resulting in a binding error, making the user's parent unable to control the smart terminal through their own account.
  • the determination of the account to which the smart terminal belongs (that is, the first account) is related to the second signal fingerprint corresponding to the setting position of the smart terminal and the first signal fingerprint corresponding to the collection position, It has nothing to do with the account used to purchase the smart terminal. Therefore, accurate binding of the smart terminal can be achieved.
  • the server may also send first configuration information to the user terminal, where the first configuration information includes the device identification of the smart terminal, etc., so that the user terminal According to the device identifier of the smart terminal in the first configuration information, an operation control of the smart terminal is added to enable the user to control the smart terminal based on the operation control.
  • the smart terminal In order to enable the smart terminal to identify the account it belongs to, that is, the first account, and when the user sends a control command to the smart terminal through the server, the smart terminal can judge whether the control command is sent to the account to which it belongs according to the account carried in the control command Control instructions to ensure the security of the smart terminal control, the server may send second configuration information to the smart terminal, where the second configuration information includes the first account. The smart terminal receives and saves the second configuration information. In this way, after the smart terminal receives the control instruction, it compares the account carried in the control instruction with the first account stored therein. If the comparison is consistent, the control instruction is sent by the account to which the smart terminal belongs, and the smart terminal executes the control instruction . If the comparison is inconsistent, the control instruction is not sent by the account to which the smart terminal belongs, and the smart terminal does not execute the control instruction.
  • the smart terminal can also collect the signal at the set location and generate the third signal fingerprint.
  • the fingerprint is sent to the server.
  • the server receives the third signal fingerprint, and updates the first signal fingerprint (that is, the first signal fingerprint that matches the second signal fingerprint) through the third signal fingerprint.
  • the server sends third configuration information to the smart terminal, and the third configuration information is used to indicate the device configuration information of the smart terminal.
  • the smart terminal After receiving the third configuration information, the smart terminal performs device configuration according to the third configuration information, so that the smart terminal operates according to the content configured by the third configuration information.
  • the third configuration information may include configuration information required by the smart terminal during normal operation, for example, access interface, information reporting frequency, data format, used protocol, etc.
  • the user can also send the associated account of the first account (that is, the second account) to the server in advance through the user terminal.
  • the server receives the second account. In this way, after the server binds the first account with the smart terminal, the smart terminal is bound with the second account.
  • the server sends the first configuration information to the user terminal being used by the associated user, where the first configuration information includes the device identifier of the smart terminal.
  • the user terminal being used by the associated user receives the first configuration information, and adds an operation control of the smart terminal according to the device identifier of the smart terminal in the first configuration information, so that the associated user can control the smart terminal based on the operation control.
  • the smart terminal can determine whether the control command is based on the account carried in the control command.
  • the control instruction sent by the second account is used to ensure the security of the smart terminal control, and the server sends the second account to the smart terminal.
  • the smart terminal receives and saves the second account.
  • the user sends fourth configuration information to the server through the user terminal, where the fourth configuration information includes the operation authority of the first account to the smart terminal And the operation authority of the second account to the smart terminal.
  • the server can determine whether the user has the authority to send the instruction to the smart terminal based on the fourth configuration information and according to the account and instruction information carried in the control instruction.
  • the control instruction is sent to the smart terminal, and if not, a prompt message indicating that the operation is out of range is returned to the user.
  • the fourth configuration information can be sent to the smart terminal, the smart terminal receives the fourth configuration information, and the authority configuration information for the smart terminal according to the fourth configuration information Configure it.
  • the smart terminal receives the user's control instruction for the smart terminal, it determines whether to execute the instruction according to the account and instruction information carried in the instruction.
  • the user may also send the network configuration information corresponding to the first account to the server through the user terminal, and the server receives the network configuration information corresponding to the first account.
  • the server receives the network configuration information corresponding to the first account.
  • FIG. 4 is a schematic flowchart of a socket binding method provided by an embodiment of the application.
  • the smart terminal set by the user is a socket, which is one of the at least one smart terminal in Figure 1 above, and the user terminal used by the user is a tablet computer, which is at least one user terminal in Figure 1 One of them, the central device is a speaker, the speaker is one of at least one of the central devices in Figure 1, the server is a smart home appliance cloud server, and the user sets up a socket in his house, and the house has a two-room and one-hall structure .
  • the socket binding method may include the following steps:
  • the user initiates a registration request for the smart home appliance cloud service to the tablet computer.
  • the user can initiate a registration request for the smart home appliance cloud service to the tablet by opening the smart home appliance client installed in the tablet computer and clicking the registration control in the display interface of the smart home appliance client.
  • the tablet computer receives and responds to the registration request to obtain a first account and a login password, where the first account is an account for the user to log in to the smart home appliance client.
  • the tablet computer receives and responds to the registration request, causing the smart home appliance client to provide an account registration interface on the display interface.
  • the user can enter the first account and login password in the account registration interface, so that the tablet computer can obtain the first account. And login password.
  • the tablet computer sends the first account and the login password to the smart home appliance cloud server.
  • the smart home appliance cloud server receives the first account and the login password, determines whether there is an account that is the same as the first account in the accounts stored therein, and if it does not exist, sends a response message of successful registration to the tablet computer.
  • the tablet computer receives the successful registration response message, and displays a successful registration message to inform the user that the account registration is successful, and the user can log in to the smart home appliance client through the first account and the login password.
  • the user logs in to the smart home appliance client installed on the tablet computer through the first account and the login password.
  • the user holds the tablet computer while walking in different rooms in the house, and every time he walks to a collection location in a room, he initiates a signal fingerprint collection instruction to the tablet computer.
  • the tablet computer receives and responds to the signal fingerprint collection instruction, collects signals at the collection location of each room, and generates the first signal fingerprint of the collection location of each room according to the signals collected at the collection location of each room, and obtains The first area identifier corresponding to each first signal fingerprint, where the number of first signal fingerprints is the same as the number of collection positions, and one collection position corresponds to one first signal fingerprint, and the first area identifier corresponding to the first signal fingerprint is The identification of the area to which the collection location corresponding to the first signal fingerprint belongs.
  • the process of collecting signals at a collecting position and generating the first signal fingerprint of the collecting position includes: first driving a signal collecting program, detecting the signal at the collecting position, collecting the identification information and signal strength of each detected signal, and detecting After the identification information and signal strength of all the signals are packaged, the first signal fingerprint of the collection location can be obtained.
  • the first area identification corresponding to the first signal fingerprint is obtained by asking the user to obtain the first area identification corresponding to the first signal fingerprint. For example, when the user moves to a collection location, the tablet computer initiates an inquiry to the user Request, inquire about the identification of the area to which the collection location belongs, and obtain the identification of the area to which the collection location belongs based on the user's answer, and set the identification of the area to which the collection location belongs to the first signal fingerprint corresponding to the collection location An area identification.
  • the user Since the user sets up sockets in his house, and the user’s house has a structure of two rooms and one hall, he can select a collection location in the living room and two rooms respectively, so that three collection locations and three first signal fingerprints can be obtained.
  • the three collection locations correspond to the three fingerprints of the first signal one-to-one.
  • the three collection locations are the first collection location to the third collection location.
  • the first collection location is located in the living room
  • the second collection location is located in the first room
  • the third collection location is located in the second room.
  • the first signal fingerprint of the first collection position is shown in Table 5.
  • the first signal fingerprint of the first collection position includes 5 signals, and the 5 signals are all wifi signals, and the identification information of each WiFi signal.
  • the SSID and the signal strength RSSI of each wifi signal are shown in Table 5, and the first area corresponding to the first signal fingerprint in Table 5 is identified as the living room.
  • the first signal fingerprint of the second collection position is shown in Table 6.
  • the first signal fingerprint of the second collection position includes 5 signals, and the 5 signals are all wifi signals, and the identification information of each WiFi signal.
  • the SSID and the signal strength RSSI of each wifi signal are shown in Table 6, and the first area corresponding to the first signal fingerprint in Table 6 is identified as the first room.
  • the first signal fingerprint of the third collection position is shown in Table 7.
  • the first signal fingerprint of the third collection position includes 5 signals, and the 5 signals are all wifi signals, and the identification information of each WiFi signal.
  • the SSID and the signal strength RSSI of each wifi signal are shown in Table 7, and the first area corresponding to the first signal fingerprint in Table 7 is identified as the second room.
  • the identification information and signal strength of each detected signal can also be collected at the same time. At least one of the signal type of each signal, the time stamp of the signal, the rate of change of signal strength, and other detectable signal-related public information, where the signal type includes WiFi signal, Bluetooth signal, UWB signal, etc. And while packaging the identification information and signal strength of all detected signals, it is also necessary to pack the signal type of all detected signals, the time stamp of the signal, the rate of change of signal strength, and other public information related to the detectable signal. At least one of them is also packed to obtain the first signal fingerprint of the collection position.
  • the tablet computer After the tablet computer generates the first signal fingerprint corresponding to each collection position, combine the three first signal fingerprints, the first account corresponding to the three first signal fingerprints, and the first area corresponding to each first signal fingerprint The identification is sent to the smart home appliance cloud server.
  • the smart home appliance cloud server receives the three first signal fingerprints sent by the tablet computer, the first account corresponding to the three first signal fingerprints, and the first area identifier corresponding to each first signal fingerprint, and sends the three first signal fingerprints
  • the fingerprint is stored in association with the corresponding first account and the corresponding first area identifier.
  • the smart home appliance cloud server determines the account to which the socket belongs to provide a data basis.
  • the user After purchasing the socket, the user sets the socket at the set position (for example, a position in the first room), and powers on the socket.
  • the set position for example, a position in the first room
  • the socket After the socket is powered on, collect signals at the set position, and generate a second signal fingerprint. That is, the socket starts the signal collection program, detects the signal at the set position, collects the identification information and signal strength of each detected signal, and packs the identification information and signal strength of all the detected signals to obtain the second signal fingerprint .
  • the second signal fingerprint is shown in Table 8.
  • the second signal fingerprint includes 5 signals, and the 5 signals are all wifi signals.
  • the identification information SSID of each WiFi signal and the signal strength RSSI of each wifi signal As shown in Table 8.
  • the process of generating the second signal fingerprint while collecting the identification information and signal strength of each detected signal, it is also possible to collect the information of each detected signal. At least one of the signal type, the time stamp of the signal, the change speed of the signal strength, and other detectable signal-related public information, etc., where the signal type includes WiFi signal, Bluetooth signal, UWB signal, etc. And while packaging the identification information and signal strength of all detected signals, it is also necessary to pack the signal type of all detected signals, the time stamp of the signal, the rate of change of signal strength, and other public information related to the detectable signal. At least one of the others is also packed to obtain the second signal fingerprint.
  • the socket sends the second signal fingerprint and the device identification of the corresponding socket to the smart home appliance cloud server through the speaker, where the speaker is in a network connected state.
  • the socket connects to the speaker through the access information of the configured restricted network, and sends the second signal fingerprint and the device identification of the corresponding socket to the speaker, and the speaker receives the second signal fingerprint and the identification information of the corresponding socket, and Send the second signal fingerprint and the corresponding device identification of the socket to the smart home appliance cloud server.
  • the speaker is a hub device selected by the socket among the hub devices that it can detect
  • the speaker can be a speaker set by the user himself or a speaker set by the user's neighbors. Based on this, before the socket sends the second signal fingerprint and the corresponding device identification of the socket through the speaker, the socket needs to select a central device (that is, the speaker) from the central devices that it can detect, and then the socket passes through the selected central device ( That is, the speaker) sends the second signal fingerprint and the device identification of the corresponding socket.
  • the socket may also send the second signal fingerprint and the device identification of the corresponding socket to the smart home appliance cloud server through the virtual SIM card. That is, when the socket leaves the factory, a virtual SIM card is set in the socket, and the socket is connected to the network through the virtual SIM card, so that the second signal fingerprint and the device identification of the socket are sent to the smart home appliance cloud server through the virtual SIM card.
  • the socket collects the signal at the set position and generates the second signal fingerprint, and sends the second signal fingerprint and the corresponding device identification of the socket to the smart home appliance cloud server, so that the smart home appliance cloud server determines according to the second signal fingerprint
  • the account to which the socket belongs to realize the automatic binding of the socket to the account to which it belongs.
  • the smart home appliance cloud server receives the second signal fingerprint and the corresponding device identifier of the socket sent by the socket, and determines the first account corresponding to the second signal fingerprint and the first area identifier corresponding to the second signal fingerprint.
  • the smart home appliance cloud server stores at least one first account, a first signal fingerprint corresponding to each first account, and a first area identifier corresponding to each first signal fingerprint.
  • the process of determining the first account and the first area identifier corresponding to the second signal fingerprint includes: matching the second signal fingerprint with each first signal fingerprint stored in the smart home appliance cloud server, if one first signal fingerprint Matches the second signal fingerprint, the first account corresponding to the first signal fingerprint is determined as the first account corresponding to the second signal fingerprint, that is, the second signal fingerprint corresponds to the first account corresponding to the first signal fingerprint, and The first area identifier corresponding to the first signal fingerprint is determined to be the first area identifier corresponding to the second signal fingerprint, that is, the second signal fingerprint corresponds to the first area identifier corresponding to the first signal fingerprint.
  • Calculate the similarity between the second signal fingerprint and each first signal fingerprint determine the maximum similarity according to the similarity between the second signal fingerprint and each first signal fingerprint, and determine whether the maximum similarity is greater than the preset similarity, if so, then The first signal fingerprint corresponding to the maximum similarity matches the second signal fingerprint.
  • the similarity between the second signal fingerprint and the first signal fingerprint indicated in Table 6 is the largest and greater than the preset similarity. Therefore, the first account corresponding to the first signal fingerprint indicated in Table 6 is determined as the first account.
  • the account to which the second signal fingerprint belongs that is, the second signal fingerprint corresponds to the first account corresponding to the first signal fingerprint indicated in Table 6, and the first area identification corresponding to the first signal fingerprint indicated in Table 6 (that is, the first room ) Is determined as the first area identifier corresponding to the second signal fingerprint.
  • the socket is a device authenticated by the smart home appliance cloud service. If so, determine the first account and the first area corresponding to the socket. An area identification, if not, the first account and the first area identification corresponding to the socket are not determined.
  • the principle of verifying whether the socket is a device certified by the smart home appliance cloud service is the same as the principle of verifying whether the refrigerator is a device certified by the smart home appliance cloud service described above, so there is no special limitation here.
  • the smart home appliance cloud server binds the socket to the first account corresponding to the second signal fingerprint according to the correspondence between the second signal fingerprint and the device identification of the socket, and uses the first area identification corresponding to the second signal fingerprint (the first Room) mark the socket. That is, the first account corresponding to the second signal fingerprint is determined as the account to which the socket belongs, the socket is bound to the first account, the socket and the account to which it belongs are bound, and the first area identifier corresponding to the second signal fingerprint is determined It is the first area identifier corresponding to the socket, which realizes the determination of the area to which the socket installation position belongs.
  • the smart home appliance cloud server matches the second signal fingerprint collected and generated by the socket with the first signal fingerprint to determine the first account and the first area identifier corresponding to the second signal fingerprint, so as to match the second signal fingerprint with the first signal fingerprint.
  • the corresponding relationship of the device identification of the socket, the first account corresponding to the second signal fingerprint is determined as the account to which the socket belongs, and the area indicated by the first area identifier corresponding to the second signal fingerprint is determined as the area to which the socket installation position belongs, And the first account corresponding to the second signal fingerprint is bound to the socket, and the socket is marked by the first area identifier corresponding to the second signal fingerprint, so that the binding of the socket and the account to which it belongs and the determination of the area where the socket is set are determined, and
  • the binding and area determination steps are simple and easy to implement, without various complicated configuration procedures, the binding and area determination are efficient, the binding and area determination time is short, and the user experience is good.
  • the smart home appliance cloud server may also send an inquiry request whether to bind to the tablet computer, and the tablet computer displays the inquiry request based on the user experience.
  • the inquiry request sends response information to the tablet computer, the tablet computer sends the response information to the smart home appliance cloud server, and the smart home appliance cloud server receives the response information. If the response information is affirmative, step 415 is executed. If the response information is negative, The binding of the socket and the first account and the determination of the area where the socket is set are abandoned.
  • the smart home appliance cloud server can also synchronize the first configuration information with the tablet computer, where the first configuration information includes the device ID of the socket and the first area ID, so that the user can pass through
  • the smart home appliance client in the tablet adds a socket to the interface of the smart home appliance client according to the device ID and the first area ID of the socket in the first configuration information
  • the operation control for enabling the user to control the socket located in the area indicated by the first area identifier based on the operation control.
  • the socket can be controlled according to The account and area identification carried in the instruction determine whether the control instruction is sent to the socket located in the area indicated by the first area identification for the account to which it belongs, so as to ensure the safety of socket control.
  • the socket sends second configuration information, where the second configuration information includes the first account and the first area identifier.
  • the socket receives and saves the second configuration information.
  • the socket After the socket receives the control instruction, it compares the account carried in the control instruction with the first account stored in it, and compares the area identifier carried in the control instruction with the first area identifier stored in it. If both are compared If the pairs are consistent, the control instruction is that the account that the socket belongs to is sent to the socket located in the area indicated by the first area identifier, and the socket executes the control instruction. If the comparison is inconsistent, the control instruction is not sent by the account to which the socket belongs to the socket located in the area indicated by the first area identifier, and the socket does not execute the control instruction.
  • the socket can also collect the signal at the setting position and generate the third signal fingerprint.
  • the signal fingerprint is sent to the smart home appliance cloud server through the speaker.
  • the smart home appliance cloud server receives the third signal fingerprint, and updates the first signal fingerprint (that is, the first signal fingerprint that matches the second signal fingerprint) through the third signal fingerprint. It should be noted that the principle of generating the third signal fingerprint is the same as that of generating the second signal fingerprint, so it will not be repeated here.
  • the smart home appliance cloud server sends third configuration information to the socket through the speaker.
  • the third configuration information is used to indicate the device configuration information of the socket set in the area indicated by the first area identifier.
  • the socket After receiving the third configuration information, the socket performs device configuration according to the third configuration information, so that the socket operates according to the content configured by the third configuration information.
  • the third configuration information may include configuration information required during normal operation of the socket located in the area indicated by the first area identifier, for example, access interface, information reporting frequency, data format, and protocol used. Wait.
  • the user It is also possible to send the associated account of the first account (that is, the second account) to the smart home appliance cloud server in advance through the tablet.
  • the smart home appliance cloud server receives the second account. Based on this, the smart home appliance cloud server binds the socket with the second account after binding the first account with the socket.
  • the smart home appliance cloud server sends the first configuration to the user terminal of the associated user Information, where the first configuration information includes the device identification of the socket and the first area identification.
  • the user terminal of the associated user receives the first configuration information, and adds the operation control of the socket located in the area indicated by the first area identifier to the interface of the smart home appliance client according to the device identifier and the first area identifier of the socket in the first configuration information , So that the associated user can control the socket located in the area indicated by the first area identifier based on the operation control.
  • the socket can determine whether the control command is the first according to the account carried in the control command.
  • the second account sends the control instruction to ensure the security of the socket control, and the smart home appliance cloud server sends the second account to the socket.
  • the socket receives and saves the second account, so that after receiving the control instruction, it judges whether the control instruction is a control instruction sent by the second account according to the matching result of the account carried in the control instruction and the second account.
  • the user sends the fourth configuration information to the smart home appliance cloud server through the tablet computer, where the fourth configuration information includes the operation of the first account on the socket Permissions and the operating permissions of the second account on the socket.
  • the first account has the permission to read and write to the socket
  • the second account has the permission to read and write to the socket.
  • the smart home appliance cloud server receives the fourth configuration information sent by the tablet computer.
  • the smart home appliance cloud server can determine whether the user has the authority to send the control instruction to the outlet based on the fourth configuration information and according to the account and instruction information carried in the control instruction , If yes, send the control instruction to the socket, if no, then return to the user a prompt message that the operation is out of range.
  • the fourth configuration information can be sent to the socket through the speaker, the socket receives the fourth configuration information, and the authority configuration of the socket according to the fourth configuration information Information is configured. In this way, after the socket receives the user's control instruction for the socket, it is judged whether to execute the instruction according to the account and instruction information carried in the instruction.
  • the associated user can also collect the first signal fingerprint through the user terminal, and send the first signal fingerprint and the corresponding second account to the smart home appliance cloud server, and the smart home appliance cloud server receives the information sent by the user terminal of the associated user.
  • the first signal fingerprint corresponding to the second account and the first signal fingerprint corresponding to the first account are collected together for storage, that is, the first signal fingerprint collected by the user and its associated user Stored together, in this way, the number of the first signal fingerprint is increased, the first signal fingerprint is enriched, and the matching result of the second signal fingerprint and the first signal fingerprint is more accurate.
  • the user can also send the network configuration information corresponding to the first account to the smart home appliance cloud server through the tablet computer, and the smart home appliance cloud server receives the network configuration information corresponding to the first account.
  • the network configuration information corresponding to the first account is sent to the socket through the speaker, so that the socket is connected to the network according to the network configuration information corresponding to the first account.
  • the network configuration information corresponding to the first account is the account and password of the router
  • the socket is connected to the router according to the account and password of the router, and then connected to the network, so that the smart home appliance cloud server can directly interact with the socket through the network. Instead of interacting with the socket through the restricted network of the speakers.
  • the socket is connected to the network, the information interaction between the smart home appliance cloud server and the socket is realized through the network, without the participation of a central device and a virtual SIM card.
  • FIG. 5 is a schematic diagram of the second process of a device binding method provided by an embodiment of this application, as shown in FIG. 5, including The following steps:
  • a user terminal collects a signal at a collection location, and generates a first signal fingerprint.
  • the user terminal sends the first signal fingerprint, the first account corresponding to the first signal fingerprint, and the first area identifier corresponding to the first signal fingerprint to the server.
  • the smart terminal collects signals at the set location, and generates a second signal fingerprint.
  • the smart terminal sends the second signal fingerprint and the corresponding device identification of the smart terminal to the server.
  • the specific implementation methods include the following two:
  • the smart terminal sends the second signal fingerprint and the corresponding device identification of the smart terminal to the server through the hub device.
  • the smart terminal sends the second signal fingerprint and the corresponding device identification of the smart terminal to the server through the virtual SIM card.
  • the server determines that the second signal fingerprint matches the first signal fingerprint, so as to determine that the second signal fingerprint corresponds to the first account, and that the second signal fingerprint corresponds to the first area identifier. That is, the server matches the second signal fingerprint with each first signal fingerprint. If it is determined that one signal fingerprint matches the second signal fingerprint, the first account corresponding to the first signal fingerprint is determined as the first account corresponding to the second signal fingerprint. An account, that is, the second signal fingerprint corresponds to the first account corresponding to the first signal fingerprint, and the first area identifier corresponding to the first signal fingerprint is determined as the first area identifier corresponding to the second signal. Since the specific matching process of the signal fingerprint has been described above, it will not be repeated here.
  • the server binds the smart terminal with the first account according to the correspondence between the second signal fingerprint and the device identification of the smart terminal, and marks the smart terminal through the first area identification. That is, the first account is determined as the account to which the smart terminal belongs, and the smart terminal is bound to the first account to realize the binding of the smart terminal and the account to which it belongs, and the area indicated by the first area mark is determined as the setting position of the smart terminal. Area.
  • the user terminal collects the signal at the collection location, generates the first signal fingerprint, and sends the first signal fingerprint and the corresponding first account, and the first area identifier corresponding to the first signal fingerprint to the server, so that the server saves the first signal fingerprint.
  • the smart terminal collects the signal at the set position, generates the second signal fingerprint, and sends the second signal fingerprint and the corresponding device identification of the smart terminal
  • the server determines that the second signal fingerprint matches the first signal fingerprint, it determines that the second signal fingerprint corresponds to the first account, and the second signal fingerprint corresponds to the first area identifier, so that the second signal fingerprint corresponds to the smart terminal’s
  • the corresponding relationship of the device identification, the smart terminal is bound to the first account, and the first area identification is used to mark the smart terminal, which realizes the binding of the smart terminal and the account to which it belongs, and the determination of the area where the smart terminal is set, compared to
  • the prior art does not require various complicated configuration processes, improves the efficiency of binding and area determination, shortens the time for binding and area determination, and improves user experience.
  • the account to which the smart terminal belongs and the area to which the setting location belongs can be determined, and the binding of the smart terminal to the account to which it belongs and the determination of the area to which the setting location belongs can be realized.
  • the binding steps and area determination steps are simple. Easy to implement.
  • the user registers an account in the platform and purchases a smart terminal through the account.
  • the server When purchasing a smart terminal, the server will bind the account to the purchased smart terminal. In this way, after the smart terminal is bought home and powered on, the server According to the binding relationship between the account and the smart terminal when purchasing the smart terminal, the account for purchasing the smart terminal is determined as the account to which the smart terminal belongs, and the account for purchasing the smart terminal is bound to the smart terminal so that the user can purchase the smart terminal
  • the account controls the smart terminal. Based on this, if a user purchases a smart terminal for his parents with his own account, according to the above device binding principle, the smart terminal purchased by the user will be bound to the account that the user purchased the smart terminal, that is, the smart terminal is bound to the user’s account. It cannot be bound with the user's parent account, and a binding error occurs, making the user's parent unable to control the smart terminal with their own account.
  • the determination of the account to which the smart terminal belongs (that is, the first account) is related to the second signal fingerprint corresponding to the setting position of the smart terminal and the first signal fingerprint corresponding to the collection position, It has nothing to do with the account used to purchase the smart terminal. Therefore, accurate binding of the smart terminal can be achieved.
  • the server may also send first configuration information to the user terminal, where the first configuration information includes the device identification and the first area identification of the smart terminal, etc. , To add the operation control of the smart terminal in the user terminal according to the device identification of the smart terminal and the first area identification in the first configuration information, so that the user controls the operation control set in the area indicated by the first area identification based on the operation control Intelligent Terminal.
  • the smart terminal In order to enable the smart terminal to recognize the account it belongs to and the area to which its setting location belongs, that is, the area indicated by the first account and the first area identifier, and the smart terminal located in the area indicated by the first area identifier through the server
  • the smart terminal can judge whether the control instruction is sent to the smart terminal located in the area indicated by the first area identifier according to the account and area identifier carried in the control instruction to ensure the intelligence.
  • the server may send second configuration information to the smart terminal, where the second configuration information includes the first account and the first area identifier.
  • the smart terminal receives and saves the second configuration information.
  • the smart terminal After the smart terminal receives the control instruction, it compares the account carried in the control instruction with the first account stored therein, and compares the area identifier carried in the control instruction with the first area identifier stored therein, if If the comparison is consistent, the control instruction is that the account to which the smart terminal belongs is sent to the smart terminal set in the area indicated by the first area identifier, and the smart terminal executes the control instruction. If the comparison is not consistent, the control instruction is not sent by the account to which the smart terminal belongs to the smart terminal set in the area indicated by the first area identifier, and the smart terminal does not execute the control instruction.
  • the smart terminal can also collect the signal at the set location, and generate the third signal fingerprint,
  • the three-signal fingerprint is sent to the server.
  • the server receives the third signal fingerprint, and updates the first signal fingerprint (that is, the first signal fingerprint that matches the second signal fingerprint) through the third signal fingerprint.
  • the server sends third configuration information to the smart terminal.
  • the third configuration information is used to indicate the device configuration information of the smart terminal set in the area indicated by the first area identifier.
  • the smart terminal After receiving the third configuration information, the smart terminal performs device configuration according to the third configuration information, so that the smart terminal operates according to the content configured by the third configuration information.
  • the third configuration information may include configuration information required during normal operation of the smart terminal located in the area indicated by the first area identifier, for example, access interface, information reporting frequency, data format, usage Agreement, etc.
  • the user can also send the associated account of the first account (that is, the second account) to the server in advance through the user terminal.
  • the server receives the second account. Based on this, the server binds the smart terminal with the second account after binding the first account with the smart terminal.
  • the smart home appliance cloud server sends the first configuration to the user terminal of the associated user Information, where the first configuration information includes the device identification and the first area identification of the smart terminal.
  • the user terminal of the associated user receives the first configuration information, and adds the smart terminal’s information in the area indicated by the first area identifier to the interface of the smart home appliance client according to the device identifier of the smart terminal and the first area identifier in the first configuration information.
  • the operation control so that the associated user can control the smart terminal located in the area indicated by the first area identifier based on the operation control.
  • the smart terminal can determine whether the control command is the first according to the account carried in the control command. 2.
  • Control instructions sent by the account to ensure the security of the smart terminal control, and the server sends the second account to the smart terminal.
  • the smart terminal receives and saves the second account, so that after receiving the control instruction, it judges whether the control instruction is a control instruction sent by the second account according to the matching result between the account and the second account carried in the control instruction.
  • the user sends fourth configuration information to the server through the user terminal, where the fourth configuration information includes the operation authority of the first account to the smart terminal And the operation authority of the second account to the smart terminal.
  • the server can determine whether the user has the authority to send the instruction to the smart terminal based on the fourth configuration information and according to the account and instruction information carried in the control instruction.
  • the control instruction is sent to the smart terminal, and if not, a prompt message indicating that the operation is out of range is returned to the user.
  • the fourth configuration information can be sent to the smart terminal, the smart terminal receives the fourth configuration information, and the authority configuration information for the smart terminal according to the fourth configuration information Configure it.
  • the smart terminal receives the user's control instruction for the smart terminal, it determines whether to execute the instruction according to the account and instruction information carried in the instruction.
  • the associated user can also collect the first signal fingerprint through the user terminal, and send the first signal fingerprint and the corresponding second account and the first area identifier corresponding to the first signal fingerprint to the server, and the smart home appliance cloud server receives After the first signal fingerprint and the corresponding second account and the first area identification corresponding to the first signal fingerprint sent to the user terminal of the associated user, the first signal fingerprint corresponding to the second account and the first signal corresponding to the first account
  • the fingerprints are stored together, that is, the first signal fingerprints collected by users and their associated users are stored together. In this way, the number of first signal fingerprints is increased, and the first signal fingerprints are enriched, so that the second signal fingerprints and the first signal fingerprints The fingerprint matching result is more accurate.
  • the user may also send the network configuration information corresponding to the first account to the server through the user terminal, and the server receives the network configuration information corresponding to the first account.
  • the server receives the network configuration information corresponding to the first account.
  • the interaction between the smart terminal and the server can be realized through a hub device or a virtual SIM card.
  • the interaction between the smart terminal and the server is realized directly through the network, without the involvement of the central device and the virtual SIM card.
  • An embodiment of the present application also provides a terminal device, which includes: a communication module, one or more memories, and one or more processors.
  • the communication module is used to communicate with other devices; one or more memories are used to store one or more computer programs; one or more processors are used to execute one or more computer programs, so that the terminal device executes any of the above-mentioned user terminals. The method described in one item.
  • the terminal device here refers to a user terminal
  • the user terminal may be, for example, a terminal device with a human-computer interaction function such as a mobile phone or a tablet computer.
  • the structure of the user terminal is described by taking the user terminal as a mobile phone as an example.
  • Fig. 6 is a schematic structural diagram of a mobile phone provided by an embodiment of the application.
  • the mobile phone 600 may include a processor 610, an external memory interface 620, an internal memory 621, a USB interface 630, a charging management module 640, a power management module 641, a battery 642, antenna 1, antenna 2, mobile communication module 651, wireless communication module 652, Audio module 670, speaker 670A, receiver 670B, microphone 670C, earphone interface 670D, sensor module 680, buttons 690, motor 691, indicator 692, camera 693, display screen 694, SIM card interface 695 and so on.
  • a processor 610 an external memory interface 620, an internal memory 621, a USB interface 630, a charging management module 640, a power management module 641, a battery 642, antenna 1, antenna 2, mobile communication module 651, wireless communication module 652, Audio module 670, speaker 670A, receiver 670B, microphone 670C, earphone interface 670D, sensor module 680, buttons 690, motor 691, indicator 692, camera 693, display screen 694, SIM card interface 695 and so on.
  • the sensor module 680 may include a gyroscope sensor 680A, an acceleration sensor 680B, a proximity light sensor 680G, a fingerprint sensor 680H, a touch sensor 680K, and a hinge sensor 680M (Of course, the mobile phone 600 may also include other sensors, such as temperature sensors, pressure sensors, and distance sensors. Sensors, magnetic sensors, ambient light sensors, air pressure sensors, bone conduction sensors, etc., not shown in the figure).
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the mobile phone 600.
  • the mobile phone 600 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 610 may include one or more processing units.
  • the processor 610 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (Neural-network Processing Unit, NPU) Wait.
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the mobile phone 600. The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.
  • a memory may also be provided in the processor 610 to store instructions and data.
  • the memory in the processor 610 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 610. If the processor 610 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 610 is reduced, and the efficiency of the system is improved.
  • the processor 610 can run the above-mentioned execution method of the user terminal provided in this application, by collecting the first signal fingerprint corresponding to the first account, and sending the first account and its corresponding first signal fingerprint to the server.
  • the binding of the account belongs to provide data support.
  • the processor 610 integrates different devices, such as integrated CPU and GPU, the CPU and GPU can cooperate to execute the processing method provided by the embodiment of the present application. For example, part of the algorithm of the processing method is executed by the CPU and another part of the algorithm is executed by the GPU to obtain Faster processing efficiency.
  • the display screen 694 is used to display images, videos, etc.
  • the display screen 694 includes a display panel.
  • the display panel can use liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the mobile phone 600 may include one or N display screens 694, and N is a positive integer greater than one.
  • the camera 693 (a front camera or a rear camera, or a camera can be used as a front camera or a rear camera) is used to capture still images or videos.
  • the camera 693 may include photosensitive elements such as a lens group and an image sensor, where the lens group includes a plurality of lenses (convex lens or concave lens) for collecting light signals reflected by the object to be photographed, and transmitting the collected light signals to the image sensor .
  • the image sensor generates an original image of the object to be photographed according to the light signal.
  • the internal memory 621 may be used to store computer executable program code, where the executable program code includes instructions.
  • the processor 610 executes various functional applications and signal processing of the mobile phone 600 by running instructions stored in the internal memory 621.
  • the internal memory 621 may include a program storage area and a data storage area.
  • the storage program area can store operating system, application program (such as camera application, WeChat application, etc.) codes and so on.
  • the storage data area can store data created during the use of the mobile phone 600 (for example, images and videos collected by a camera application) and the like.
  • the internal memory 621 can also store the code of the anti-mistouch algorithm.
  • the code of the anti-mistouch algorithm stored in the internal memory 621 is run by the processor 610, the touch operation during the folding or unfolding process can be shielded.
  • the internal memory 621 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • a non-volatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • the code for implementing the device binding algorithm provided in the embodiment of the present application can also be stored in an external memory.
  • the processor 610 may run the algorithm code stored in the external memory through the external memory interface 620 to implement device binding.
  • the function of the sensor module 680 is described below.
  • the gyroscope sensor 680A can be used to determine the movement posture of the mobile phone 600.
  • the angular velocity of the mobile phone 600 around three axes ie, x, y, and z axes
  • the gyroscope sensor 680A can be used to detect the current motion state of the mobile phone 600, such as shaking or static.
  • the acceleration sensor 680B can detect the magnitude of the acceleration of the mobile phone 600 in various directions (generally three axes). That is, the gyroscope sensor 680A can be used to detect the current motion state of the mobile phone 600, such as shaking or static.
  • the proximity light sensor 680G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the mobile phone emits infrared light through light-emitting diodes. Mobile phones use photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the phone. When insufficient reflected light is detected, the mobile phone can determine that there is no object near the mobile phone.
  • the gyroscope sensor 680A (or the acceleration sensor 680B) may send the detected motion state information (such as angular velocity) to the processor 610.
  • the processor 610 determines whether it is currently in the hand-held state or the tripod state based on the motion state information (for example, when the angular velocity is not 0, it means that the mobile phone 600 is in the hand-held state).
  • the fingerprint sensor 680H is used to collect fingerprints.
  • the mobile phone 600 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
  • Touch sensor 680K also known as "touch panel”.
  • the touch sensor 680K can be arranged on the display screen 694, and the touch screen is composed of the touch sensor 680K and the display screen 694, which is also called a “touch screen”.
  • the touch sensor 680K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 694.
  • the touch sensor 680K may also be disposed on the surface of the mobile phone 600, which is different from the position of the display screen 694.
  • the display screen 694 of the mobile phone 600 displays a main interface, and the main interface includes icons of multiple applications (such as a camera application, a WeChat application, etc.).
  • the display screen 694 displays an interface of the camera application, such as a viewfinder interface.
  • the wireless communication function of the mobile phone 600 can be realized by the antenna 1, the antenna 2, the mobile communication module 651, the wireless communication module 652, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the mobile phone 600 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 651 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied on the mobile phone 600.
  • the mobile communication module 651 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like.
  • the mobile communication module 651 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modem processor for demodulation.
  • the mobile communication module 651 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 651 may be provided in the processor 610.
  • at least part of the functional modules of the mobile communication module 651 and at least part of the modules of the processor 610 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the application processor outputs sound signals through audio equipment (not limited to the speaker 670A, the receiver 670B, etc.), or displays images or videos through the display screen 694.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 610 and be provided in the same device as the mobile communication module 651 or other functional modules.
  • the wireless communication module 652 can provide applications on the mobile phone 600 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellite systems. (global navigation satellite system, GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • the wireless communication module 652 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 652 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 610.
  • the wireless communication module 652 may also receive the signal to be sent from the processor 610, perform frequency modulation and amplification, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the antenna 1 of the mobile phone 600 is coupled with the mobile communication module 651, and the antenna 2 is coupled with the wireless communication module 652, so that the mobile phone 600 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), and quasi-zenith satellite system (quasi). -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the mobile phone 600 can implement audio functions through an audio module 670, a speaker 670A, a receiver 670B, a microphone 670C, a headphone interface 670D, and an application processor. For example, music playback, recording, etc.
  • the mobile phone 600 can receive the key 690 input, and generate key signal input related to the user settings and function control of the mobile phone 600.
  • the mobile phone 600 can use the motor 691 to generate a vibration notification (for example, an incoming call vibration notification).
  • the indicator 692 in the mobile phone 600 can be an indicator light, which can be used to indicate the charging status, power change, and can also be used to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 695 in the mobile phone 600 is used to connect to the SIM card. The SIM card can be inserted into the SIM card interface 695 or pulled out from the SIM card interface 695 to achieve contact and separation with the mobile phone 600.
  • the mobile phone 600 may include more or less components than those shown in FIG. 6, which is not limited in the embodiment of the present application.
  • An embodiment of the present application also provides a terminal device, which includes: a communication module, one or more memories, and one or more processors.
  • the communication module is used to communicate with other devices; one or more memories are used to store one or more computer programs; one or more processors are used to execute one or more computer programs, so that the terminal device executes any of the above-mentioned smart terminals The method described in one item.
  • the terminal device here refers to a smart terminal
  • the smart terminal may be, for example, a lamp, socket, refrigerator, washing machine, air conditioner, oven, rice cooker, television, sweeping robot, etc., which are not specifically limited here.
  • the structure of the smart terminal will be described by taking the smart terminal as a refrigerator as an example.
  • Fig. 7 is a schematic structural diagram of a refrigerator provided by an embodiment of the application.
  • the refrigerator 700 may include a processor 710, an external memory interface 720, an internal memory 730, a power management module 740, a wireless communication module 750, an antenna 1, a sensor module 760, a display screen 770, and at least one storage structure (not shown in the figure) , Temperature control module 780, pressure control module 790, etc.
  • the sensor module 760 may include a touch sensor 761, a temperature sensor 762, an air pressure sensor 763, and so on.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the refrigerator 700.
  • the refrigerator 700 may include more or fewer components than shown, or combine certain components, or disassemble certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 710 may include one or more processing units.
  • the processor 710 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (Neural-network Processing Unit, NPU) Wait.
  • AP application processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • baseband processor baseband processor
  • NPU neural network Processing Unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the refrigerator 700. The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.
  • a memory may also be provided in the processor 710 for storing instructions and data.
  • the memory in the processor 710 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 710. If the processor 710 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 710 is reduced, and the efficiency of the system is improved.
  • the processor 710 can run the method executed by the smart terminal provided in this application, by collecting the second signal fingerprint, and sending the second signal fingerprint and the device identification of the refrigerator to the server, so that the server can determine the account to which the refrigerator belongs according to the second signal fingerprint , And then realize the binding of the refrigerator and its account.
  • the processor 710 integrates different devices, such as integrated CPU and GPU, the CPU and GPU can cooperate to execute the processing method provided in the embodiment of the present application. For example, part of the algorithm of the processing method is executed by the CPU, and another part of the algorithm is executed by the GPU to obtain Faster processing efficiency.
  • the display screen 770 is used to display images, videos, and the like.
  • the display screen 570 includes a display panel.
  • the display panel can use liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the refrigerator 700 may include one or N display screens 770, and N is a positive integer greater than one.
  • the internal memory 730 may be used to store computer executable program code, where the executable program code includes instructions.
  • the processor 710 executes various functional applications and signal processing of the refrigerator 700 by running instructions stored in the internal memory 730.
  • the internal memory 730 may include a program storage area and a data storage area. Among them, the storage program area can store operating system, application program (such as camera application, WeChat application, etc.) codes and so on.
  • the data storage area may store data created during the use of the refrigerator 700.
  • the internal memory 730 can also store the code of the anti-mistouch algorithm.
  • the code of the anti-mistouch algorithm stored in the internal memory 730 is executed by the processor 710, the touch operation during the folding or unfolding process can be shielded.
  • the internal memory 730 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • a non-volatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • the code for implementing the device binding algorithm provided in the embodiment of the present application can also be stored in an external memory.
  • the processor 710 may run the algorithm code stored in the external memory through the external memory interface 720 to implement device binding.
  • the function of the sensor module 760 is described below.
  • the touch sensor 761 is also called a "touch panel”.
  • the touch sensor 761 may be disposed on the display screen 770, and the touch screen is composed of the touch sensor 761 and the display screen 770, which is also called a “touch screen”.
  • the touch sensor 770 is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 770.
  • the touch sensor 761 may also be disposed on the surface of the refrigerator 700, which is different from the position of the display screen 770.
  • the temperature sensor 762 is arranged inside the refrigerator 700 to detect the temperature in the refrigerator 700 and send the detected temperature to the processor 710, so that the processor 710 determines whether the temperature of the refrigerator 700 is normal according to the temperature detected by the temperature sensor 762, if No, generate a temperature adjustment scheme, and send the temperature adjustment method to the temperature control module 780, so that the temperature control module 580 adjusts the temperature in the refrigerator 700 according to the temperature adjustment method.
  • the air pressure sensor 763 is arranged inside the refrigerator 700 to detect the air pressure in the refrigerator 700 and send the detected air pressure to the processor 710 so that the processor 710 determines whether the air pressure of the refrigerator 700 is normal according to the air pressure detected by the air pressure sensor 763, if not ,
  • the processor 710 generates an air pressure adjustment scheme, and sends the air pressure adjustment method to the pressure control module 790, so that the pressure control module 790 adjusts the air pressure in the refrigerator 700 according to the air pressure adjustment method.
  • the display screen 770 of the refrigerator 700 displays a main interface, and the main interface includes icons of multiple applications (such as recipes, home tips, etc.).
  • the display screen 770 displays the display interface of the recipe.
  • the wireless communication function of the refrigerator 700 can be realized by the antenna 1, the wireless communication module 750, the modem processor, and the baseband processor.
  • the antenna 1 is used to transmit and receive electromagnetic wave signals.
  • the antenna in the refrigerator 700 can be used to cover a single or multiple communication frequency bands.
  • the wireless communication module 750 can provide solutions for wireless communication including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (bluetooth, BT), etc., used on the refrigerator 700 plan.
  • WLAN wireless local area networks
  • the wireless communication module 750 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 750 receives electromagnetic waves via the antenna 1, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 710.
  • the wireless communication module 750 may also receive the signal to be sent from the processor 710, perform frequency modulation and amplification, and convert it into electromagnetic waves to radiate through the antenna 1.
  • the refrigerator 700 may include more or less components than those shown in FIG. 7, which is not limited in the embodiment of the present application.
  • An embodiment of the present application also provides a terminal device, which includes: a communication module, one or more memories, and one or more processors.
  • the communication module is used to communicate with other devices; one or more memories are used to store one or more computer programs; one or more processors are used to execute one or more computer programs, so that the terminal device executes any of the above servers The method described in the item.
  • the terminal device here refers to a server
  • the server can be a physical server or a cloud server.
  • the structure of the server will be described by taking the server as a physical server as an example.
  • FIG. 8 is a schematic structural diagram of a physical server provided by an embodiment of the application.
  • the physical server 800 shown in FIG. 8 is only an example, and should not bring any limitation to the function and scope of use of the embodiment of the present invention.
  • the components of the physical server 800 may include, but are not limited to: the above-mentioned at least one processor 810, at least one memory 820, and a bus 830 connecting different system components (including storage 820 and processor 810).
  • the memory 820 stores a computer program, which can be executed by the processor 810, so that the processor 810 executes the server execution steps described in this specification.
  • the memory 820 may include a volatile storage unit, such as a random access storage unit (RAM) 8201 and/or a cache storage unit 8202, and may further include a read-only storage unit (ROM) 8203.
  • RAM random access storage unit
  • ROM read-only storage unit
  • the memory 820 may also include a program/utility tool 8204 having a set of (at least one) program module 8205.
  • program module 8205 includes but is not limited to: an operating system, one or more application programs, other program modules, and program data. Each of the examples or some combination may include the realization of a network environment.
  • the bus 830 may include a data bus, an address bus, and a control bus.
  • the physical server 800 may also communicate with one or more external devices 860 (for example, a keyboard, a pointing device, a Bluetooth device, etc.), and such communication may be performed through an input/output (I/O) interface 840.
  • the physical server 800 may also communicate with one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through a network adapter 850. As shown in the figure, the network adapter 850 communicates with other modules of the physical server 800 through the bus 830.
  • LAN local area network
  • WAN wide area network
  • public network such as the Internet
  • the present application also provides a computer-readable storage medium, including a computer program, which when executed on a computer, causes the computer to execute any method executed by the above-mentioned user terminal or any method executed by the above-mentioned server Or any one of the methods executed by the above-mentioned smart terminal.
  • the present application also provides a computer program, when the computer program is executed by a computer, it is used to execute any method executed by the above-mentioned user terminal or any method executed by the above-mentioned server or any method executed by the above-mentioned smart terminal .
  • the present application also provides a chip including a processor and a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute any one of the above-mentioned user terminal executions
  • a chip including a processor and a memory
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program stored in the memory to execute any one of the above-mentioned user terminal executions
  • the chip may also include a memory and a communication interface.
  • the communication interface may be an input/output interface, a pin, an input/output circuit, or the like.
  • the steps of the foregoing method embodiments can be completed by hardware integrated logic circuits in the processor or instructions in the form of software.
  • the processor can be a general-purpose processor, digital signal processor (digital signal processor, DSP), application-specific integrated circuit (ASIC), field programmable gate array (field programmable gate array, FPGA) or other Programming logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware encoding processor, or executed and completed by a combination of hardware and software modules in the encoding processor.
  • the software module can be located in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers.
  • the storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
  • the memory mentioned in the above embodiments may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (RAM), which is used as an external cache.
  • RAM random access memory
  • static random access memory static random access memory
  • dynamic RAM dynamic RAM
  • DRAM dynamic random access memory
  • synchronous dynamic random access memory synchronous DRAM, SDRAM
  • double data rate synchronous dynamic random access memory double data rate SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
  • synchronous connection dynamic random access memory serial DRAM, SLDRAM
  • direct rambus RAM direct rambus RAM
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual couplings or direct couplings or communication connections may be indirect couplings or communication connections between devices or units through some interfaces, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (personal computer, server, or network device, etc.) execute all or part of the steps of the method described in each embodiment of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disks or optical disks and other media that can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本申请提供一种设备绑定方法,该方法包括:用户终端在采集位置采集信号,生成第一信号指纹,以及将第一信号指纹以及对应的第一账户发送至服务器;智能终端在设置位置采集信号,生成第二信号指纹,以及将第二信号指纹以及对应的智能终端的设备标识发送至服务器;服务器确定第二信号指纹与第一信号指纹匹配,以确定第二信号指纹与第一账户对应;服务器根据第二信号指纹与智能终端的设备标识的对应关系,将智能终端与第一账户绑定。本申请提高了智能终端与第一账户的绑定的效率和准确率。

Description

设备绑定方法和终端设备
本申请要求于2020年4月17日提交中国专利局、申请号为202010307428.6、申请名称为“设备绑定方法和终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及智能家电领域,尤其涉及一种设备绑定方法、一种终端设备。
背景技术
智能家居系统利用先进的网络技术、通信技术、自动控制等技术,让现代家居生活变的更加安全、方便、高效、快捷、智能化以及个性化,极大的改善了现代人类的生活。
目前,在智能家居应用场景中,用户在购买智能终端后,需要在用户终端上执行各种复杂的配置过程,让智能终端和用户账户产生绑定关系,以使智能终端在登录了用户账户的用户终端上可见,进而使得用户通过用户终端对智能终端进行控制和监听。
显然,在上述方式中,由于需要用户执行各种复杂的配置过程才可实现智能终端和用户账户的绑定,因此,智能终端与用户账户的绑定过程复杂且耗时长。
发明内容
本申请提供一种设备绑定方法和一种终端设备,以克服智能终端与用户账户的绑定过程复杂且耗时长的问题。
第一方面,本申请提供一种设备绑定方法,包括:用户终端在采集位置采集信号,生成第一信号指纹;所述用户终端将所述第一信号指纹以及对应的第一账户发送至服务器;智能终端在设置位置采集信号,生成第二信号指纹;所述智能终端将所述第二信号指纹以及对应的所述智能终端的设备标识发送至所述服务器;所述服务器确定所述第二信号指纹与所述第一信号指纹匹配,以确定所述第二信号指纹与所述第一账户对应;所述服务器根据所述第二信号指纹与所述智能终端的设备标识的对应关系,将所述智能终端与所述第一账户绑定。
用户终端在采集位置采集信号,生成第一信号指纹,以及将第一信号指纹和对应的第一账户发送至服务器,智能终端在设置位置采集信号,生成第二信号指纹,以及将第二信号指纹和对应的智能终端的设备标识发送至服务器,服务器确定第二信号指纹与第一信号指纹匹配后,确定第二信号指纹与第一账户对应,从而根据第二信号指纹与智能终端的设备标识的对应关系,将智能终端与第一账户绑定,实现了智能终端与其所属账户的绑定,相比于现有技术,无需各种复杂的配置过程,提高了绑定效率,缩短了绑定时间,提升了用户体验。另外,仅通过信号指纹的匹配,即可确定智能终端对应的第一账户,进而实现智能终端与对应的第一账户的绑定,绑定步骤简单,易于执行。此外,由于智能终端所属账户(即第一账户)的确定与智能终端的设置位置对应的第二信号指纹和采集位置对应的 第一信号指纹相关,与购买智能终端的账户无关,因此,可以实现智能终端的准确绑定。
在一种可能的实施方式中,所述方法还包括:所述用户终端将所述第一信号指纹以及对应的第一账户发送至服务器的同时,还将所述第一信号指纹对应的第一区域标识发送至所述服务器;所述服务器确定所述第二信号指纹与所述第一信号指纹匹配,以确定所述第二信号指纹与所述第一区域标识对应;所述服务器根据所述第二信号指纹与所述智能终端的设备标识的对应关系,通过所述第一区域标识标记所述智能终端。
用户终端将第一信号指纹对应的第一区域标识发送至服务器,使得服务器确定第二信号指纹与第一信号指纹匹配后,确定第二信号指纹与第一区域标识对应,从而根据第二信号指纹与智能终端的设备标识的对应关系,用第一区域标识标记智能终端,实现了智能终端的设置位置所属区域的确定,相比于现有技术,无需各种复杂的配置过程,提高了区域确定的效率,缩短了区域确定的时间,提升了用户体验。另外,仅通过信号指纹的匹配,即可确定智能终端的设置位置所属的区域,区域确定步骤简单,易于执行。
在一种可能的实施方式中,所述智能终端将所述第二信号指纹以及对应的所述智能终端的设备标识发送至所述服务器包括:所述智能终端将所述第二信号指纹以及对应的所述智能终端的设备标识通过中枢设备发送至所述服务器;或者所述智能终端将所述第二信号指纹以及对应的所述智能终端的设备标识通过虚拟SIM卡发送至所述服务器。
第二方面,本申请提供一种用于服务器的设备绑定方法,包括:接收用户终端发送的第一信号指纹以及对应的第一账户,所述第一信号指纹由所述用户终端在采集位置采集的信号生成;接收智能终端发送的第二信号指纹以及对应的所述智能终端的设备标识,所述第二信号指纹由所述智能终端在设置位置采集的信号生成;确定所述第二信号指纹与所述第一信号指纹匹配,以确定所述第二信号指纹与所述第一账户对应;根据所述第二信号指纹与所述智能终端的设备标识的对应关系,将所述智能终端与所述第一账户绑定。
在一种可能的实施方式中,所述方法还包括:接收所述用户终端发送的第一信号指纹以及对应的第一账户的同时,还接收所述用户终端发送的所述第一信号指纹对应的第一区域标识;确定所述第二信号指纹与所述第一信号指纹匹配,以确定所述第二信号指纹与所述第一区域标识对应;根据所述第二信号指纹与所述智能终端的设备标识的对应关系,通过所述第一区域标识标记所述智能终端。
在一种可能的实施方式中,所述方法还包括:向所述用户终端发送第一配置信息,其中,所述第一配置信息包括所述智能终端的设备标识和所述第一区域标识,以使所述用户终端根据所述第一配置信息设置所述智能终端的操作控件。
在一种可能的实施方式中,所述方法还包括:向所述智能终端发送第二配置信息,其中,所述第二配置信息包括所述第一账户和所述第一区域标识,以使所述智能终端根据所述第二配置信息确定所述智能终端所属的账户和区域。
在一种可能的实施方式中,所述方法还包括:接收所述智能终端发送的第三信号指纹,其中,所述第三信号指纹由所述智能终端在所述设置位置采集的信号生成;通过所述第三信号指纹对所述第一信号指纹进行更新。
在一种可能的实施方式中,所述方法还包括:向所述智能终端发送第三配置信息,所述第三配置信息用于指示设置在所述第一区域标识所指示的区域内的所述智能终端的设备配置信息,以使所述智能终端根据所述第三配置信息进行设备配置。
在一种可能的实施方式中,所述方法还包括:将所述智能终端与第二账户绑定,所述第二账户与所述第一账户关联。
在一种可能的实施方式中,所述方法还包括:接收所述用户终端发送的第四配置信息;其中,所述第四配置信息包括所述第一账户对所述智能终端的操作权限以及所述第二账户对所述智能终端的操作权限;向所述智能终端发送所述第四配置信息,以使所述智能终端根据所述第四配置信息确定所述第一账户和所述第二账户的操作权限。
在一种可能的实施方式中,所述方法还包括:接收所述用户终端发送的所述第一账户对应的网络配置信息;向所述智能终端发送所述第一账户对应的网络配置信息,以使所述智能终端根据所述第一账户对应的网络配置信息连接入网。
在一种可能的实施方式中,所述接收智能终端发送的第二信号指纹以及对应的智能终端的设备标识包括:通过中枢设备或者虚拟SIM卡接收所述智能终端发送的第二信号指纹以及对应的智能终端的设备标识。
第三方面,本申请提供一种用于用户终端的设备绑定方法,包括:在采集位置采集信号,生成第一信号指纹;将所述第一信号指纹以及对应的第一账户发送至服务器,以使所述服务器在确定智能终端发送的设置位置的第二信号指纹与所述第一信号指纹匹配后,将所述智能终端与所述第一账户绑定。
在一种可能的实施方式中,还包括:将所述第一信号指纹以及对应的第一账户发送至服务器的同时,还将所述第一信号指纹对应的第一区域标识发送至所述服务器,以使所述服务器在确定智能终端发送的设置位置的第二信号指纹与所述第一信号指纹匹配后,通过所述第一区域标识标记所述智能终端。
在一种可能的实施方式中,所述方法还包括:接收所述服务器发送的第一配置信息,其中,所述第一配置信息包括所述智能终端的设备标识和所述第一区域标识;根据所述第一配置信息设置所述智能终端的操作控件。
在一种可能的实施方式中,所述方法还包括:向所述服务器发送第四配置信息;其中,所述第四配置信息包括所述第一账户对所述智能终端的操作权限以及第二账户对所述智能终端的操作权限,所述第二账户与所述第一账户关联,以使所述服务器根据所述第四配置信息确定所述第一账户和第二账户的操作权限。
在一种可能的实施方式中,所述方法还包括:向所述服务器发送所述第一账户对应的网络配置信息。
第四方面,本申请提供一种用于智能终端的设备绑定方法,包括:在设置位置采集信号,生成第二信号指纹;将所述第二信号指纹以及对应的智能终端的设备标识发送至服务器,以使所述服务器在确定第二信号指纹与用户终端发送的第一信号指纹匹配后,将所述智能终端与所述第一信号指纹对应的第一账户绑定。
在一种可能的实施方式中,所述方法包括:接收所述服务器发送的第二配置信息;
其中,所述第二配置信息包括所述第一账户和第一区域标识,所述第一区域标识与所述第一信号指纹对应;根据所述第二配置信息确定所述智能终端所属的账户和区域。
在一种可能的实施方式中,所述方法还包括:在所述设置位置采集信号,生成第三信号指纹;将所述第三信号指纹发送至所述服务器,以使所述服务器通过所述第三信号指纹对所述第一信号指纹进行更新。
在一种可能的实施方式中,所述方法包括:接收所述服务器发送的第三配置信息,所述第三配置信息用于指示设置在第一区域标识所指示的区域内的所述智能终端的设备配置信息,所述第一区域标识与所述第一信号指纹对应;根据所述第三配置信息进行设备配置。
在一种可能的实施方式中,所述方法还包括:接收所述服务器发送的第四配置信息;其中,所述第四配置信息包括所述第一账户对所述智能终端的操作权限以及第二账户对所述智能终端的操作权限,所述第二账户与所述第一账户关联;根据所述第四配置信息确定所述第一账户和所述第二账户的操作权限。
在一种可能的实施方式中,所述方法还包括:接收所述服务器发送的所述第一账户对应的网络配置信息;根据所述第一账户对应的网络配置信息连接入网。
在一种可能的实施方式中,所述将所述第二信号指纹以及对应的智能终端的设备标识发送至服务器包括:通过中枢设备或者虚拟SIM卡将所述第二信号指纹以及对应的智能终端的设备标识发送至服务器。
第五方面,本申请提供一种终端设备,包括:通信模块,用于与其他设备通信;一个或多个存储器,用于存储一个或多个计算机程序;一个或多个处理器,用于执行所述一个或多个计算机程序,使得所述终端设备执行第二方面中任一项所述的方法。
第六方面,本申请提供一种终端设备,包括:通信模块,用于与其他设备通信;一个或多个存储器,用于存储一个或多个计算机程序;一个或多个处理器,用于执行所述一个或多个计算机程序,使得所述终端设备执行第三方面中任一项所述的方法。
第七方面,本申请提供一种终端设备,包括:通信模块,用于与其他设备通信;一个或多个存储器,用于存储一个或多个计算机程序;一个或多个处理器,用于执行所述一个或多个计算机程序,使得所述终端设备执行第四方面中任一项所述的方法。
第八方面,本申请提供一种计算机可读存储介质,包括计算机程序,所述计算机程序在计算机上被执行时,使得所述计算机执行第二方面至第四方面中任一项所述的方法。
第九方面,本申请提供一种计算机程序,当所述计算机程序被计算机执行时,用于执行第二方面至第四方面中任一项所述的方法。
第十方面,本申请提供一种芯片,包括处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,以执行第二方面至第四方面中任一项所述的方法。
附图说明
图1示出了设备绑定方法的应用场景的示意图;
图2为本申请实施例提供的冰箱绑定方法的流程示意图;
图3为本申请实施例提供的一种设备绑定方法的流程示意图一;
图4为本申请实施例提供的插座绑定方法的流程示意图;
图5为本申请实施例提供的一种设备绑定方法的流程示意图二;
图6为本申请实施例提供的手机的结构示意图;
图7为本申请实施例提供的冰箱的结构示意图;
图8为本申请实施例提供的物理服务器的结构示意图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请中的附图,对本申请中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书实施例和权利要求书及附图中的术语“第一”、“第二”等仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元。方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
应当理解,在本申请中,“至少一个(项)”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:只存在A,只存在B以及同时存在A和B三种情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,“a和b”,“a和c”,“b和c”,或“a和b和c”,其中a,b,c可以是单个,也可以是多个。
本申请提供了一种设备绑定方法,该设备绑定方法可实现智能终端和用户账户的绑定。下面,首先对该设备绑定方法的应用场景进行说明。图1示出了设备绑定方法的应用场景的示意图。如图1所示,该应用场景可以包括:至少一个用户终端10、服务器11、至少一个智能终端12~16、至少一个中枢设备17~18。其中:
用户终端10例如可以为手机、平板电脑等具有人机交互功能的终端设备。用户终端可以通过移动运营商提供的网络服务与服务器11进行交互,还可以连接无线局域网(例如家庭网关等),并通过无线局域网与服务器11进行交互。
服务器11例如可以是物理服务器,还可以是云服务器等,此处不作特殊限定。
智能终端12~16例如可以是灯、插座、冰箱、洗衣机、空调、烤箱、电饭煲、电视机、扫地机器人等,此处不作特殊限定。
中枢设备17~18例如可以为家庭网关、智能音箱、电视机顶盒等,其中,中枢设备17~18均与网络连接,以实现中枢设备和服务器11之间的交互。
中枢设备17~18可以划分为具有人机交互功能的中枢设备和不具有人机交互功能的中枢设备,其中,具有人机交互功能的中枢设备例如可以为智能音箱等,不具有人机交互功能的中枢设备例如可以为家庭网关、电视机顶盒等。
中枢设备17~18上设置有一受限网络,该受限网络专门用于向未连接网络的智能终端12~16提供网络服务。
智能终端12~16在出厂前均配置有该受限网络的接入信息,以使智能终端12~16在未接入网络的情况下,通过其中配置的受限网络的接入信息接入中枢设备17~18,以使智能终端12~16通过接入网络的中枢设备17~18与服务器11进行交互。
下面,在上述应用场景的基础上,举例对智能终端与其所属账户绑定的过程进行说明。图2为本申请实施例提供的冰箱绑定方法的流程示意图。在图2中,用户设置的智能终端为冰箱,该冰箱为上述图1中的至少一个智能终端中的一个,用户使用的用户终端为手机,该手机为图1中的至少一个用户终端中的一个,中枢设备为家庭网关,该家庭网关为图1中的至少一个中枢设备中的一个,服务器为智能家电云服务器,以及用户在其房子中设置冰箱,且该房子为两室一厅的结构。基于此,冰箱绑定方法可以包括以下步骤:
201、用户向手机发起智能家电云服务的注册请求。
具体的,用户可以通过打开安装在手机中的智能家电客户端,并点击智能家电客户端的显示界面中的注册控件,以向手机发起智能家电云服务的注册请求。
202、手机接收并响应于该注册请求,获取第一账户和登录密码,其中,第一账户为用户登录智能家电客户端的账户。
具体的,手机接收并响应于该注册请求,使智能家电客户端在显示界面提供一账户注册界面,用户可以在账户注册界面中输入第一账户和登录密码,以使手机获取第一账户和登录密码。
203、手机将第一账户和登录密码发送至智能家电云服务器。
204、智能家电云服务器接收第一账户和登录密码,判断其中存储的账户中是否存在与第一账户相同的账户,若不存在,则向手机发送注册成功的应答信息。
205、手机接收该注册成功的应答信息,并显示一成功注册的信息,以告知用户账户注册成功,用户可以通过第一账户和登录密码登录智能家电客户端。
需要说明的是,若智能家电云服务器中存储有与第一账户相同的账户,则需要向手机发送重新获取第一账户和登录密码的指示,直至注册成功。
206、用户通过第一账户和登录密码登录安装在手机上的智能家电客户端。
207、用户手持手机在房子中的不同房间行走,每走到一个房间的一个采集位置处时,向手机发起一次信号指纹采集指令。
208、手机接收并响应于信号指纹采集指令,在每个房间的采集位置采集信号,并根据在每个房间的采集位置采集的信号生成每个房间的采集位置的第一信号指纹,其中,第一信号指纹的数量与采集位置的数量相同,且一个采集位置对应一个第一信号指纹。
在一个采集位置采集信号并生成该采集位置的第一信号指纹的过程包括:首先驱动一信号采集程序,在采集位置处检测信号,采集检测到的每个信号的标识信息和信号强度,将检测到的所有信号的标识信息和信号强度打包之后,即可得到该采集位置的第一信号指纹。
由于用户在其房子中设置冰箱,且用户的房子为两室一厅的结构,因此可以在客厅和两个房间中分别选择一个采集位置,这样得到三个采集位置和三个第一信号指纹,三个采集位置和三个第一信号指纹一一对应,其中,三个采集位置分别为第一采集位置至第三采集位置,第一采集位置位于客厅,第二采集位置位于第一房间,第三采集位置位于第二房间。
第一采集位置的第一信号指纹如表1所示,在表1中,第一采集位置的第一信号指纹包括5个信号,且5个信号均为wifi信号,每个WiFi信号的标识信息SSID和每个wifi信号的信号强度RSSI如表1中所示。
SSID RSSI
AP1 80
AP2 123
AP3 40
AP4 25
AP5 67
表1
第二采集位置的第一信号指纹如表2所示,在表2中,第二采集位置的第一信号指纹包括4个信号,且4个信号均为wifi信号,每个WiFi信号的标识信息SSID和每个wifi信号的信号强度RSSI如表2中所示。
SSID RSSI
AP1 100
AP2 74
AP3 20
AP5 36
表2
第三采集位置的第一信号指纹如表3所示,在表3中,第三采集位置的第一信号指纹包括5个信号,且5个信号均为wifi信号,每个WiFi信号的标识信息SSID和每个wifi信号的信号强度RSSI如表3中所示。
SSID RSSI
AP1 137
AP2 56
AP3 87
AP4 60
AP5 25
表3
需要说明的是,在本申请的其他实施例中,在生成一个采集位置的第一信号指纹的过程中,采集检测到的每个信号的标识信息和信号强度的同时,还可以采集检测到的每个信号的信号类型、信号的时间戳、信号强度的变化速度以及其他可检测的信号相关的公开信息等中的至少一个,其中,信号的类型包括WiFi信号、蓝牙信号、UWB信号等。以及在将检测到的所有信号的标识信息和信号强度打包的同时,还需将检测到的所有信号的信号类型、信号的时间戳、信号强度的变化速度以及其他可检测的信号相关的公开信息等中的至少一个也进行打包,以得到该采集位置的第一信号指纹。
209、在手机生成每个采集位置对应的第一信号指纹后,将上述三个第一信号指纹以及对应的第一账户发送至智能家电云服务器。
210、智能家电云服务器接收手机发送的三个第一信号指纹以及对应的第一账户,以及将三个第一信号指纹与对应的第一账户进行关联存储。
由上可知,通过在采集位置采集信号,并生成第一信号指纹,以及将第一信号指纹和 对应的第一账户发送至智能家电云服务器,为智能家电云服务器确定冰箱所属账户提供数据基础。
211、用户买到冰箱后,将冰箱放置在设置位置(例如客厅的一个位置处),给冰箱通电。
212、冰箱在通电之后,在设置位置采集信号,并生成第二信号指纹。即冰箱驱动信号采集程序,在设置位置处检测信号,采集检测到的每个信号的标识信息和信号强度,将检测到的所有信号的标识信息和信号强度打包之后,即可到第二信号指纹。
第二信号指纹如表4所示,在表4中,第二信号指纹包括5个信号,且5个信号均为wifi信号,每个WiFi信号的标识信息SSID和每个wifi信号的信号强度RSSI如表4中所示。
SSID RSSI
AP1 85
AP2 115
AP3 45
AP4 30
AP5 60
表4
需要说明的是,在本申请的其他实施例中,在生成第二信号指纹的过程中,采集检测到的每个信号的标识信息和信号强度的同时,还可以采集检测到的每个信号的信号类型、信号的时间戳、信号强度的变化速度以及其他可检测的信号相关的公开信息等中的至少一个,其中,信号的类型包括WiFi信号、蓝牙信号、UWB信号等。以及在将检测到的所有信号的标识信息和信号强度打包的同时,还需将检测到的所有信号的信号类型、信号的时间戳、信号强度的变化速度以及其他可检测的信号相关的公开信息等中的至少一个也进行打包,以得到第二信号指纹。
213、冰箱通过家庭网关将第二信号指纹和对应的冰箱的设备标识发送至智能家电云服务器。
具体的,冰箱通过已配置的受限网络的接入信息连接家庭网关,以及将第二信号指纹和对应的冰箱的设备标识发送至家庭网关,家庭网关接收第二信号指纹和对应的冰箱的设备标识,并将第二信号指纹和对应的冰箱的设备标识发送至智能家电云服务器。
由于,此处的家庭网关为冰箱在其能够检测到的中枢设备中选择的一个中枢设备,因此,家庭网关可以是用户自家设置的家庭网关,还可以用户的邻居设置的家庭网关。基于此,在冰箱通过家庭网关发送第二信号指纹和对应的冰箱的设备标识之前,冰箱需要在其能够检测到的中枢设备中选择一个中枢设备(即家庭网关),然后,冰箱通过选择的中枢设备(即家庭网关)发送第二信号指纹和对应的冰箱的设备标识。
需要说明的是,在本申请的其他实施例中,冰箱还可以通过虚拟SIM卡将第二信号指纹以及对应的冰箱的设备标识发送至智能家电云服务器。即在冰箱出厂时,在冰箱中设置一虚拟SIM卡,通过该虚拟SIM卡将冰箱与网络连接,从而通过虚拟SIM卡将第二信号指纹和冰箱的设备标识发送至智能家电云服务器。
由上可知,冰箱通过在设置位置采集信号并生成第二信号指纹,以及将第二信号指纹 和对应的冰箱的设备标识发送至智能家电云服务器,以使智能家电云服务器根据第二信号指纹确定冰箱所属的账户,以实现冰箱与其所属账户的自动绑定。
214、智能家电云服务器接收冰箱发送的第二信号指纹和对应的冰箱的设备标识,以及确定第二信号指纹对应的第一账户。
具体的,由于每个用户在使用智能家电云服务时,均会向智能家电云服务器发送用户的第一账户以及第一账户对应的第一信号指纹,即智能家电云服务器中存储有至少一个第一账户以及每个第一账户对应的第一信号指纹。
基于此,确定第二信号指纹对应的第一账户包括:将第二信号指纹与智能家电云服务器中存储的每个第一信号指纹进行匹配,若一第一信号指纹与第二信号指纹匹配,则将该第一信号指纹对应的第一账户确定为第二信号指纹对应的第一账户,即第二信号指纹与该第一信号指纹对应的第一账户对应。
信号指纹的匹配原理如下:
计算第二信号指纹和每个第一信号指纹的相似度,根据第二信号指纹和每个第一信号指纹的相似度确定最大相似度,判断最大相似度是否大于预设相似度,若是,则最大相似度对应的第一信号指纹与第二信号指纹匹配。
具体的,计算第二信号指纹和一个第一信号指纹的相似度的方式可以包括以下两种,其中:
第一种,根据第二信号指纹中的每个信号的标识信息和第一信号指纹中的每个信号的标识信息,确定第二信号指纹和第一信号指纹中的信号的并集。
分别计算并集中的每个信号在第二信号指纹中的信号强度和第一信号指纹中的信号强度的差值,以得到每个信号的信号强度差;需要说明的是,若并集中的一个信号仅在第二信号指纹和第一信号指纹中的一个中存在,则将不存在该信号的信号指纹中的该信号的信号强度设置为0。
分别计算并集中的每个信号的信号强度差的平方,对并集中的信号的信号强度差的平方求和,并将求和得到的结果与并集中的信号的总数量的比值确定为第二信号指纹和第一信号指纹的相似度。
第二种,根据第二信号指纹中的每个信号的标识信息和第一信号指纹中的每个信号的标识信息,确定第二信号指纹和第一信号指纹中的信号的交集。
分别计算交集中的每个信号在第二信号指纹中的信号强度和第一信号指纹中的信号强度的差值,以得到每个信号的信号强度差。
分别计算交集中的每个信号的信号强度差的平方,对交集中的信号的信号强度差的平方求和,并将求和得到的结果与交集中的信号的总数量的比值确定为第二信号指纹和第一信号指纹的相似度。
需要说明的是,上述计算第二信号指纹与第一信号指纹的相似度的方式仅为示例性的,并不用于限定本申请。由于计算第二信号指纹与每个第一信号指纹的相似度的原理相同,因此,此处不再对计算第二信号指纹与其他各第一信号指纹的相似度的原理进行赘述。
根据上述匹配方式,第二信号指纹与表1所指示的第一信号指纹的相似度最大且大于预设相似度,因此,将表1所指示的第一信号指纹对应的第一账户确定为第二信号指纹所属的账户,即第二信号指纹与表1所指示的第一信号指纹对应的第一账户对应。
需要说明的是,在第一信号指纹和第二信号指纹除了包括信号的标识信息和信号强度之外,还包括其他参数,例如,信号类型、信号的时间戳、信号强度的变化速度以及其他可检测的信号相关的公开信息等中的至少一个时,计算第二信号指纹和第一信号指纹的相似度的原理同上,此处不再进行赘述。
在确定第二信号指纹对应的第一账户之前,还可以先验证冰箱是否为智能家电云服务认证的设备,若是,则确定第二信号指纹对应的第一账户,若否,则不确定第二信号指纹对应的第一账户。
具体的,验证冰箱是否为智能家电云服务认证的设备的过程包括:
在冰箱出厂时,智能家电云服务器可以对该冰箱的供应商资质和协议内容等进行认证,认证通过后,智能家电云服务器保存该冰箱的设备标识(例如序列号)和初始秘钥,以及冰箱保存其设备标识和初始秘钥,然后,在步骤213中,冰箱发送第二信号指纹、冰箱的设备标识和初始秘钥至智能家电云服务器。智能家电云服务器接收第二信号指纹、冰箱的设备标识以及初始秘钥,判断接收的冰箱的设备标识和初始秘钥与其中保存的冰箱的设备标识和初始秘钥是否相同,若是,则确定冰箱是智能家电云服务认证的设备,以及将第二信号指纹与其中保存的每个第一信号指纹进行匹配,将与第二信号指纹匹配的第一信号指纹对应的第一账户确定为第二信号指纹对应的第一账户。
需要说明的是,若任意一个第一信号指纹与第二信号指纹均不匹配,则向手机发送匹配失败的应答信息,手机接收该应答信息后,响应于该应答信息,提示用户需要重新采集第一信号指纹。用户重复上述第一信号指纹的采集步骤,并将重新采集的第一信号指纹和对应的第一账户发送至智能家电云服务器,从而基于重新采集的第一信号指纹确定第二信号指纹对应的第一账户。
215、智能家电云服务器根据第二信号指纹与冰箱的设备标识的对应关系,将冰箱与第二信号指纹对应的第一账户绑定。即将第二信号指纹对应的第一账户确定为冰箱所属的账户,将冰箱与第一账户绑定,实现了冰箱和其所属账户的绑定。
由上可知,智能家电云服务器通过将冰箱采集并生成的第二信号指纹和第一信号指纹进行匹配,确定第二信号指纹对应的第一账户,从而根据第二信号指纹与冰箱的设备标识的对应关系,将第二信号指纹对应的第一账户确定为冰箱所属的账户,以及将第二信号指纹对应的第一账户和冰箱绑定,实现了冰箱与其所属账户的绑定,且绑定步骤简单易行,无需各种复杂的配置过程,绑定效率高,绑定时间短,用户体验好。
需要说明的是,为了进一步确定绑定的准确性,提升用户体验,在步骤215之前,智能家电云服务器还可以向手机发送一是否绑定的询问请求,手机展示该询问请求,用户基于该询问请求向手机发送应答信息,手机将应答信息发送至智能家电云服务器,智能家电云服务器接收该应答信息,若应答信息为肯定信息,则执行步骤215,若应答信息为否定信息,则放弃冰箱和第一账户的绑定。
在实现冰箱和第一账户的绑定后,智能家电云服务器还可以向手机同步第一配置信息,其中,第一配置信息包括冰箱的设备标识等,以使用户在通过第一账户和登录密码登录手机中的智能家电客户端后,手机中的智能家电客户端根据第一配置信息中的冰箱的设备标识在智能家电客户端的界面中添加冰箱的操作控件,以使用户基于该操作控件控制冰箱。
为了使冰箱能够识别其所属的账户,即第一账户,以及在用户通过智能家电云服务器向冰箱下发控制指令时,冰箱可以根据控制指令中携带的账户判断控制指令是否为其所属账户发送的控制指令,以确保冰箱控制的安全性,智能家电云服务器可以通过家庭网关向冰箱发送第二配置信息,其中,第二配置信息包括第一账户。冰箱接收并保存第二配置信息。这样在冰箱接收到控制指令后,将控制指令中携带的账户与其中保存的第一账户进行比对,若比对一致,则控制指令为冰箱所属账户发送的,冰箱执行该控制指令。若比对不一致,则控制指令不是冰箱所属账户发送的,冰箱不执行控制指令。
由于用户自家的家居摆放位置发生变化,或者wifi、蓝牙等的部署位置发生变化,或者在隔壁、楼上、楼下等家庭的wifi、蓝牙等的部署位置发生变化或者家里的家居摆放位置发生变化、或者楼上、隔壁、楼下或自己家修改了信号标识等情况下,会导致在同一个采集位置采集到的信号的信号强度和/或信号的标识信息等发生变化,进而导致同一个采集位置对应的第一信号指纹发生变化,因此,为了确保采集位置对应的第一信号指纹的准确性和实效性,冰箱还可以在设置位置采集信号,并生成第三信号指纹,通过家庭网关将第三信号指纹发送至智能家电云服务器。智能家电云服务器接收第三信号指纹,以及通过第三信号指纹对第一信号指纹(即与第二信号指纹匹配的第一信号指纹)进行更新。需要说明的是,生成第三信号指纹与生成第二信号指纹的原理相同,因此,此处不再进行赘述。冰箱在设置位置采集信号并生成第三信号指纹的频率或者时机可以根据应用的场景设置,此处不作特殊限定。
为了能够快速的对冰箱进行设备配置,智能家电云服务器通过家庭网关向冰箱发送第三配置信息,第三配置信息用于指示冰箱的设备配置信息。冰箱在接受到第三配置信息后,根据第三配置信息进行设备配置,以使冰箱根据第三配置信息配置的内容运行。需要说明的是,第三配置信息可以包括冰箱在正常运行的过程中的所需的配置信息,例如,访问接口、信息上报频率、数据格式、使用的协议等。
由于在一个家庭中共同生活的人可能不止一位,或者在一个办公区域中办公的人可能也不止一位,因此,为了便于用户的关联用户(即用户的家人或者同事等)操作冰箱,用户还可以通过手机将第一账户的关联账户(即第二账户)事先发送至智能家电云服务器。智能家电云服务器接收第二账户。基于此,智能家电云服务器在将第一账户与冰箱绑定后,将冰箱与第二账户绑定。
在此基础上,关联用户在其使用的用户终端(例如,手机、电脑、平板电脑等)上通过第二账户登录智能家电客户端后,智能家电云服务器向关联用户的用户终端发送第一配置信息,其中,第一配置信息包括冰箱的设备标识。关联用户的用户终端接收第一配置信息,并根据第一配置信息中冰箱的设备标识在智能家电客户端的界面中添加冰箱的操作控件,以使关联用户可以基于该操作控件控制冰箱。
为了使冰箱能够识别其所属的账户的关联账户(即第二账户),以及在关联用户通过智能家电云服务器向冰箱下发控制指令时,冰箱可以根据控制指令中携带的账户判断控制指令是否为第二账户发送的控制指令,以确保冰箱控制的安全性,智能家电云服务器向冰箱发送第二账户。冰箱接收并保存第二账户,以在接收到控制指令后,根据控制指令中携带的账户和第二账户的匹配结果判断控制指令是否为第二账户发送的控制指令。
为了控制第一账户对应的用户和第二账户对应的用户对冰箱的操作权限,用户通过手 机向智能家电云服务器发送第四配置信息,其中,第四配置信息包括第一账户对冰箱的操作权限以及第二账户对冰箱的操作权限。例如,第一账户具有对冰箱读写的权限,而第二账户具有对冰箱的读权限。智能家电云服务器接收手机发送的第四配置信息。基于此,在用户向智能家电云服务器发送对冰箱的控制指令时,智能家电云服务器可以基于第四配置信息并根据控制指令中携带的账户和指令信息判断该用户是否有对冰箱发送控制指令的权限,若是,将控制指令发送至冰箱,若否,则向该用户返回操作超范围的提示信息。
在此基础上,在智能家电云服务器将冰箱和第一账户绑定后,可以通过家庭网关将第四配置信息发送至冰箱,冰箱接收第四配置信息,以及根据第四配置信息对冰箱的权限配置信息进行配置。这样在冰箱接收到控制指令后,根据控制指令中携带的账户和指令信息以及第四配置信息中的权限信息判断是否执行该指令。
需要说明的是,关联用户也可以通过用户终端采集第一信号指纹,并将第一信号指纹和对应的第二账户发送至智能家电云服务器,智能家电云服务器接收到关联用户的用户终端发送的第一信号指纹和对应的第二账户后,将第二账户对应的第一信号指纹和第一账户对应的第一信号指纹集中在一起进行存储,即将用户以及其关联用户采集的第一信号指纹存储在一起,这样,增加了第一信号指纹的数量,丰富了第一信号指纹,使得第二信号指纹和第一信号指纹的匹配结果更加准确。
为了实现冰箱与网络的自动连接,用户还可以通过手机向智能家电云服务器发送第一账户对应的网络配置信息,智能家电云服务器接收第一账户对应的网络配置信息。这样,在智能家电云服务器将冰箱和第一账户绑定后,通过家庭网关将第一账户对应的网络配置信息发送至冰箱,以使冰箱根据第一账户对应的网络配置信息接入网络。例如,若第一账户对应的网络配置信息为路由器的账户和密码,则冰箱根据路由器的账户和密码连接到路由器,进而连接至网络,使得智能家电云服务器可以直接通过网络与冰箱进行交互,而不用通过家庭网关的受限网络与冰箱进行交互。
需要说明的是,在本申请的其他实施例中,在冰箱未与网络连接的情况下,智能家电云服务器向冰箱下发的各种配置信息,以及冰箱向智能家电云服务器发送的各种信息等还可以通过虚拟SIM卡来转发,即智能家电云服务器与冰箱之间的信息交互均通过虚拟SIM卡来实现。在冰箱与网络连接的情况下,智能家电云服务器与冰箱之间的信息交互均通过网络实现,无需中枢设备和虚拟SIM卡的参与。
基于上述图2中示出的冰箱绑定方法,本申请提供一种设备绑定方法,图3为本申请实施例提供的一种设备绑定方法的流程示意图一,如图3所示,设备绑定方法包括以下步骤:
301、用户终端在采集位置采集信号,生成第一信号指纹。
302、用户终端将第一信号指纹以及对应的第一账户发送至服务器。
303、智能终端在设置位置采集信号,生成第二信号指纹。
由于生成第一信号指纹和第二信号指纹的原理已经在上文中进行了说明,因此此处不再赘述。
304、智能终端将第二信号指纹以及对应的智能终端的设备标识发送至服务器。
具体实现方式包括以下两种:
第一种、智能终端将第二信号指纹以及对应的智能终端的设备标识通过中枢设备发送 至服务器。
第二种、智能终端将第二信号指纹以及对应的智能终端的设备标识通过虚拟SIM卡发送至服务器。
305、服务器确定第二信号指纹与第一信号指纹匹配,以确定第二信号指纹与第一账户对应。即服务器将第二信号指纹与每个第一信号指纹进行匹配,若一第一信号指纹与第二信号指纹匹配,则将该第一信号指纹对应的第一账户确定为第二信号指纹对应的第一账户,即第二信号指纹与该第一信号指纹对应的第一账户对应。由于信号指纹的具体匹配过程已经在上文中进行了说明,因此此处不再进行赘述。
306、服务器根据第二信号指纹与智能终端的设备标识的对应关系,将智能终端与第一账户绑定。即将第一账户确定为智能终端所属的账户,将智能终端与第一账户绑定,实现了智能终端与其所属账户的绑定。
综上,用户终端在采集位置采集信号,生成第一信号指纹,以及将第一信号指纹和对应的第一账户发送至服务器,智能终端在设置位置采集信号,生成第二信号指纹,以及将第二信号指纹和对应的智能终端的设备标识发送至服务器,服务器确定第二信号指纹与第一信号指纹匹配后,确定第二信号指纹与第一账户对应,从而根据第二信号指纹与智能终端的设备标识的对应关系,将智能终端与第一账户绑定,实现了智能终端与其所属账户的绑定,相比于现有技术,无需各种复杂的配置过程,提高了绑定效率,缩短了绑定时间,提升了用户体验。另外,仅通过信号指纹的匹配,即可确定智能终端所属的账户,进而实现智能终端与其所属账户的绑定,绑定步骤简单,易于执行。
此外,在相关技术中,提供了一种设备绑定方法,该设备绑定方法的实现过程如下:
用户在平台中注册账户,并通过该账户购买智能终端,在购买智能终端的同时,服务器会将该账户与购买的智能终端绑定,这样,在智能终端买回家并通上电后,服务器会根据购买智能终端时,账户与智能终端的绑定关系,将购买智能终端的账户确定为智能终端所属的账户,并将购买智能终端的账户与智能终端绑定,以使用户通过购买智能终端的账户控制智能终端。基于此,若用户用自己的账户给父母购买了智能终端,按照上述设备绑定原理,用户购买的智能终端会与用户购买该智能终端的账户绑定,即智能终端与用户的账户绑定,而无法与用户的父母的账户绑定,从而出现绑定错误的情况,使得用户的父母无法通过自己的账户控制智能终端。
而在本申请实施例提供的设备绑定方法中,由于智能终端所属账户(即第一账户)的确定与智能终端的设置位置对应的第二信号指纹和采集位置对应的第一信号指纹相关,与购买智能终端的账户无关,因此,可以实现智能终端的准确绑定。
在本申请实施例中,在实现智能终端与第一账户的绑定后,服务器还可以向用户终端发送第一配置信息,其中,第一配置信息包括智能终端的设备标识等,以在用户终端中根据第一配置信息中的智能终端的设备标识添加智能终端的操作控件,以使用户基于该操作控件控制智能终端。
为了使智能终端能够识别其所属的账户,即第一账户,以及在用户通过服务器向智能终端下发控制指令时,智能终端可以根据控制指令中携带的账户判断控制指令是否为其所属账户发送的控制指令,以确保智能终端控制的安全性,服务器可以向智能终端发送第二配置信息,其中,第二配置信息包括第一账户。智能终端接收并保存第二配置信息。这样 在智能终端接收到控制指令后,将控制指令中携带的账户与其中保存的第一账户进行比对,若比对一致,则控制指令为智能终端所属账户发送的,智能终端执行该控制指令。若比对不一致,则控制指令不是智能终端所属账户发送的,智能终端不执行控制指令。
由于用户自家的家居摆放位置发生变化,或者wifi、蓝牙等的部署位置发生变化,或者在隔壁、楼上、楼下等家庭的wifi、蓝牙等的部署位置发生变化或者家里的家居摆放位置发生变化、或者楼上、隔壁、楼下或自己家修改了信号标识等情况下,会导致在同一个采集位置采集到的信号强度和/或信号的标识信息等发生变化,进而导致同一个采集位置对应的第一信号指纹发生变化,因此,为了确保采集位置对应的第一信号指纹的准确性和实效性,智能终端还可以在设置位置采集信号,并生成第三信号指纹,将第三信号指纹发送至服务器。服务器接收第三信号指纹,以及通过第三信号指纹对第一信号指纹(即与第二信号指纹匹配的第一信号指纹)进行更新。
为了能够快速的实现智能终端的设备配置,服务器向智能终端发送第三配置信息,第三配置信息用于指示智能终端的设备配置信息。智能终端在接受到第三配置信息后,根据第三配置信息进行设备配置,以使智能终端根据第三配置信息配置的内容运行。需要说明的是,第三配置信息可以包括智能终端在正常运行的过程中的所需的配置信息,例如,访问接口、信息上报频率、数据格式、使用的协议等。
由于在一个家庭中共同生活的人可能不止一位,或者在一个办公区域中办公的人可能也不止一位,因此,为了便于用户的关联用户(即用户的家人或者同事等)操作智能终端,用户还可以通过用户终端将第一账户的关联账户(即第二账户)事先发送至服务器。服务器接收第二账户。这样,在服务器将第一账户与智能终端绑定后,将智能终端与第二账户绑定。
在此基础上,服务器向关联用户正在使用的用户终端发送第一配置信息,其中,第一配置信息包括智能终端的设备标识。关联用户正在使用的用户终端接收第一配置信息,并根据第一配置信息中智能终端的设备标识添加智能终端的操作控件,以使关联用户可以基于该操作控件控制智能终端。
为了使智能终端能够识别其所属的账户的关联账户(即第二账户),以及在关联用户通过服务器向智能终端下发控制指令时,智能终端可以根据控制指令中携带的账户判断控制指令是否为第二账户发送的控制指令,以确保智能终端控制的安全性,服务器向智能终端发送第二账户。智能终端接收并保存第二账户。
为了控制第一账户对应的用户和第二账户对应的用户对智能终端的操作权限,用户通过用户终端向服务器发送第四配置信息,其中,第四配置信息包括第一账户对智能终端的操作权限以及第二账户对智能终端的操作权限。基于此,在用户向服务器发送对智能终端的控制指令时,服务器可以基于第四配置信息并根据控制指令中携带的账户和指令信息判断该用户是否有向智能终端发送该指令的权限,若是,将该控制指令发送至智能终端,若否,则向该用户返回操作超范围的提示信息。
在此基础上,在服务器将智能终端和第一账户绑定后,可以将第四配置信息发送至智能终端,智能终端接收第四配置信息,以及根据第四配置信息对智能终端的权限配置信息进行配置。这样在智能终端接收到用户对该智能终端的控制指令后,根据指令中携带的账户和指令信息判断是否执行该指令。
为了实现智能终端与网络的自动连接,用户还可以通过用户终端向服务器发送第一账户对应的网络配置信息,服务器接收第一账户对应的网络配置信息。这样,在服务器将智能终端和第一账户绑定后,将第一账户对应的网络配置信息发送至智能终端,以使智能终端根据第一账户对应的网络配置信息接入网络。
图4为本申请实施例提供的插座绑定方法的流程示意图。在图4中,用户设置的智能终端为插座,该插座为上述图1中的至少一个智能终端中的一个,用户使用的用户终端为平板电脑,该平板电脑为图1中的至少一个用户终端中的一个,中枢设备为音箱,该音箱为图1中的至少一个中枢设备中的一个,服务器为智能家电云服务器,以及用户在其房子中设置插座,且该房子为两室一厅的结构。基于此,插座绑定方法可以包括以下步骤:
401、用户向平板电脑发起智能家电云服务的注册请求。
具体的,用户可以通过打开安装在平板电脑中的智能家电客户端,并点击智能家电客户端的显示界面中的注册控件,以向平板电脑发起智能家电云服务的注册请求。
402、平板电脑接收并响应于该注册请求,获取第一账户和登录密码,其中,第一账户为用户登录智能家电客户端的账户。
具体的,平板电脑接收并响应于该注册请求,使智能家电客户端在显示界面提供一账户注册界面,用户可以在账户注册界面中输入第一账户和登录密码,以使平板电脑获取第一账户和登录密码。
403、平板电脑将第一账户和登录密码发送至智能家电云服务器。
404、智能家电云服务器接收第一账户和登录密码,判断其中存储的账户中是否存在与第一账户相同的账户,若不存在,则向平板电脑发送注册成功的应答信息。
405、平板电脑接收该注册成功的应答信息,并显示一成功注册的信息,以告知用户账户注册成功,用户可以通过第一账户和登录密码登录智能家电客户端。
需要说明的是,若智能家电云服务器中存储有与第一账户相同的账户,则需要向平板电脑发送重新获取第一账户和登录密码的指示,直至注册成功。
406、用户通过第一账户和登录密码登录安装在平板电脑上的智能家电客户端。
407、用户手持平板电脑在房子中的不同房间行走,每走到一个房间的一个采集位置处时,向平板电脑发起一次信号指纹采集指令。
408、平板电脑接收并响应于信号指纹采集指令,在每个房间的采集位置采集信号,并根据在每个房间的采集位置采集的信号生成每个房间的采集位置的第一信号指纹,以及获取每个第一信号指纹对应的第一区域标识,其中,第一信号指纹的数量与采集位置的数量相同,且一个采集位置对应一个第一信号指纹,第一信号指纹对应的第一区域标识为第一信号指纹对应的采集位置所属的区域的标识。
在一个采集位置采集信号并生成该采集位置的第一信号指纹的过程包括:首先驱动一信号采集程序,在采集位置处检测信号,采集检测到的每个信号的标识信息和信号强度,将检测到的所有信号的标识信息和信号强度打包之后,即可得到该采集位置的第一信号指纹。
第一信号指纹对应的第一区域标识的获取方式为:通过向用户询问的方式获取第一信号指纹对应的第一区域标识,例如,在用户移动到一个采集位置时,平板电脑向用户发起询问请求,询问该采集位置所属的区域的标识,并基于用户的回答获取该采集位置所属的 区域的标识,以及将该采集位置所属的区域的标识设置为该采集位置的第一信号指纹对应的第一区域标识。
由于用户在其房子中设置插座,且用户的房子为两室一厅的结构,因此可以在客厅和两个房间中分别选择一个采集位置,这样得到三个采集位置和三个第一信号指纹,三个采集位置和三个第一信号指纹一一对应,其中,三个采集位置分别为第一采集位置至第三采集位置,第一采集位置位于客厅,第二采集位置位于第一房间,第三采集位置位于第二房间。
第一采集位置的第一信号指纹如表5所示,在表5中,第一采集位置的第一信号指纹包括5个信号,且5个信号均为wifi信号,每个WiFi信号的标识信息SSID和每个wifi信号的信号强度RSSI如表5中所示,且表5中的第一信号指纹对应的第一区域标识为客厅。
SSID RSSI
AP1 20
AP2 100
AP3 78
AP4 63
AP5 59
表5
第二采集位置的第一信号指纹如表6所示,在表6中,第二采集位置的第一信号指纹包括5个信号,且5个信号均为wifi信号,每个WiFi信号的标识信息SSID和每个wifi信号的信号强度RSSI如表6中所示,且表6中的第一信号指纹对应的第一区域标识为第一房间。
SSID RSSI
AP1 50
AP2 89
AP3 128
AP4 89
AP5 30
表6
第三采集位置的第一信号指纹如表7所示,在表7中,第三采集位置的第一信号指纹包括5个信号,且5个信号均为wifi信号,每个WiFi信号的标识信息SSID和每个wifi信号的信号强度RSSI如表7中所示,且表7中的第一信号指纹对应的第一区域标识为第二房间。
SSID RSSI
AP1 30
AP2 139
AP3 78
AP4 28
AP5 97
表7
需要说明的是,在本申请的其他实施例中,在生成一个采集位置的第一信号指纹的过程中,采集检测到的每个信号的标识信息和信号强度的同时,还可以采集检测到的每个信号的信号类型、信号的时间戳、信号强度的变化速度以及其他可检测的信号相关的公开信息等中的至少一个,其中,信号的类型包括WiFi信号、蓝牙信号、UWB信号等。以及在将检测到的所有信号的标识信息和信号强度打包的同时,还需将检测到的所有信号的信号类型、信号的时间戳、信号强度的变化速度以及其他可检测的信号相关的公开信息等中的至少一个也进行打包,以得到该采集位置的第一信号指纹。
409,在平板电脑生成每个采集位置对应的第一信号指纹后,将上述三个第一信号指纹、三个第一信号指纹对应的第一账户和每个第一信号指纹对应的第一区域标识发送至智能家电云服务器。
410、智能家电云服务器接收平板电脑发送的三个第一信号指纹、三个第一信号指纹对应的第一账户和每个第一信号指纹对应的第一区域标识,并将三个第一信号指纹与对应的第一账户和对应的第一区域标识进行关联存储。
由上可知,通过在采集位置采集信号,并生成第一信号指纹,以及将第一信号指纹和对应的第一账户,以及第一信号指纹对应的第一区域标识发送至智能家电云服务器,为智能家电云服务器确定插座所属账户提供数据基础。
411、用户买到插座后,将插座设置在设置位置(例如第一房间的一个位置处),给插座通电。
412、插座在通电之后,在设置位置采集信号,并生成第二信号指纹。即插座启动信号采集程序,在设置位置处检测信号,采集检测到的每个信号的标识信息和信号强度,将检测到的所有信号的标识信息和信号强度打包之后,即可得到第二信号指纹。
第二信号指纹如表8所示,在表8中,第二信号指纹包括5个信号,且5个信号均为wifi信号,每个WiFi信号的标识信息SSID和每个wifi信号的信号强度RSSI如表8中所示。
SSID RSSI
AP1 53
AP2 83
AP3 132
AP4 80
AP5 37
表8
需要说明的是,在本申请的其他实施例中,在生成第二信号指纹的过程中,采集检测 到的每个信号的标识信息和信号强度的同时,还可以采集检测到的每个信号的信号类型、信号的时间戳、信号强度的变化速度以及其他可检测的信号相关的公开信息等中的至少一个,其中,信号的类型包括WiFi信号、蓝牙信号、UWB信号等。以及在将检测到的所有信号的标识信息和信号强度打包的同时,还需将检测到的所有信号的信号类型、信号的时间戳、信号强度的变化速度以及其他可检测的信号相关的公开信息等中的至少一个也进行打包,以得到第二信号指纹。
413、插座通过音箱将第二信号指纹和对应的插座的设备标识发送至智能家电云服务器,其中,音箱处于网络连接的状态。
具体的,插座通过已配置的受限网络的接入信息连接音箱,以及将第二信号指纹和对应的插座的设备标识发送至音箱,音箱接收第二信号指纹和对应的插座的标识信息,并将第二信号指纹和对应的插座的设备标识发送至智能家电云服务器。
由于,此处的音箱为插座在其能够检测到的中枢设备中选择的一个中枢设备,因此,音箱可以是用户自家设置的音箱,还可以用户的邻居设置的音箱。基于此,在插座通过音箱发送第二信号指纹和对应的插座的设备标识之前,插座需要在其能够检测到的中枢设备中选择一个中枢设备(即音箱),然后,插座通过选择的中枢设备(即音箱)发送第二信号指纹和对应的插座的设备标识。
需要说明的是,在本申请的其他实施例中,插座还可以通过虚拟SIM卡将第二信号指纹以及对应的插座的设备标识发送至智能家电云服务器。即在插座出厂时,在插座中设置一虚拟SIM卡,通过该虚拟SIM卡将插座与网络连接,从而通过虚拟SIM卡将第二信号指纹和插座的设备标识发送至智能家电云服务器。
由上可知,插座通过在设置位置采集信号并生成第二信号指纹,以及将第二信号指纹和对应的插座的设备标识发送至智能家电云服务器,以使智能家电云服务器根据第二信号指纹确定插座所属的账户,以实现插座与其所属账户的自动绑定。
414、智能家电云服务器接收插座发送的第二信号指纹和对应的插座的设备标识,以及确定第二信号指纹对应的第一账户和第二信号指纹对应的第一区域标识。
具体的,由于每个用户在使用智能家电云服务时,均会向智能家电云服务器发送用户的第一账户、第一账户对应的第一信号指纹以及第一信号指纹对应的第一区域标识,即智能家电云服务器中存储有至少一个第一账户、每个第一账户对应的第一信号指纹以及每个第一信号指纹对应的第一区域标识。
基于此,确定第二信号指纹对应的第一账户和第一区域标识的过程包括:将第二信号指纹与智能家电云服务器中存储的每个第一信号指纹进行匹配,若一个第一信号指纹与第二信号指纹匹配,则将该第一信号指纹对应的第一账户确定为第二信号指纹对应的第一账户,即第二信号指纹与该第一信号指纹对应的第一账户对应,将该第一信号指纹对应的第一区域标识确定为第二信号指纹对应的第一区域标识,即第二信号指纹与该第一信号指纹对应的第一区域标识对应。
信号指纹的匹配原理如下:
计算第二信号指纹和每个第一信号指纹的相似度,根据第二信号指纹和每个第一信号指纹的相似度确定最大相似度,判断最大相似度是否大于预设相似度,若是,则最大相似度对应的第一信号指纹与第二信号指纹匹配。
计算第二信号指纹和一个第一信号指纹的相似度的原理已经在上文中进行了说明,因此此处不再进行赘述。
根据上述匹配方式,第二信号指纹与表6所指示的第一信号指纹的相似度最大且大于预设相似度,因此,将表6所指示的第一信号指纹对应的第一账户确定为第二信号指纹所属的账户,即第二信号指纹与表6所指示的第一信号指纹对应的第一账户对应,将表6所指示的第一信号指纹对应的第一区域标识(即第一房间)确定为第二信号指纹对应的第一区域标识。
需要说明的是,在确定第二信号指纹对应的第一账户和第一区域标识之前,还可以先验证插座是否为智能家电云服务认证的设备,若是,则确定插座对应的第一账户和第一区域标识,若否,则不确定插座对应的第一账户和第一区域标识。
具体的,验证插座是否为智能家电云服务认证的设备的原理与上文中验证冰箱是否为智能家电云服务认证的设备的原理相同,因此此处不作特殊限定。
415、智能家电云服务器根据第二信号指纹与插座的设备标识的对应关系,将插座与第二信号指纹对应的第一账户绑定,并通过第二信号指纹对应的第一区域标识(第一房间)标记插座。即将第二信号指纹对应的第一账户确定为插座所属的账户,将插座与第一账户绑定,实现了插座和其所属账户的绑定,以及将第二信号指纹对应的第一区域标识确定为插座对应的第一区域标识,实现了插座的设置位置所属区域的确定。
由上可知,智能家电云服务器通过将插座采集并生成的第二信号指纹和第一信号指纹进行匹配,确定第二信号指纹对应的第一账户和第一区域标识,从而根据第二信号指纹与插座的设备标识的对应关系,将第二信号指纹对应的第一账户确定为插座所属的账户,将第二信号指纹对应的第一区域标识所指示的区域确定为插座的设置位置所属的区域,以及将第二信号指纹对应的第一账户和插座绑定,通过第二信号指纹对应的第一区域标识标记插座,实现了插座与其所属账户的绑定和插座的设置位置所属区域的确定,且绑定和区域确定步骤简单易行,无需各种复杂的配置过程,绑定和区域确定效率高,绑定和区域确定时间短,用户体验好。
需要说明的是,为了进一步确定绑定的准确性,提升用户体验,在步骤415之前,智能家电云服务器还可以向平板电脑发送一是否绑定的询问请求,平板电脑展示该询问请求,用户基于该询问请求向平板电脑发送应答信息,平板电脑将应答信息发送至智能家电云服务器,智能家电云服务器接收该应答信息,若应答信息为肯定信息,则执行步骤415,若应答信息为否定信息,则放弃插座和第一账户的绑定以及插座的设置位置所属区域的确定。
在实现插座和第一账户的绑定后,智能家电云服务器还可以向平板电脑同步第一配置信息,其中,第一配置信息包括插座的设备标识和第一区域标识等,以使用户在通过第一账户和登录密码登录平板电脑中的智能家电客户端后,平板电脑中的智能家电客户端根据第一配置信息中的插座的设备标识和第一区域标识在智能家电客户端的界面中添加插座的操作控件,以使用户基于该操作控件控制位于第一区域标识所指示的区域内的插座。
为了使插座能够识别其所属的账户和设置位置所属的区域,即第一账户和第一区域标识所指示的区域,以及在用户通过智能家电云服务器向插座下发控制指令时,插座可以根据控制指令中携带的账户和区域标识判断控制指令是否为其所属账户发送至位于第一区 域标识所指示的区域内的插座的控制指令,以确保插座控制的安全性,智能家电云服务器可以通过音箱向插座发送第二配置信息,其中,第二配置信息包括第一账户和第一区域标识。插座接收并保存第二配置信息。这样在插座接收到控制指令后,将控制指令中携带的账户与其中保存的第一账户进行比对并将控制指令中携带的区域标识与其中保存的第一区域标识进行比对,若均比对一致,则控制指令为插座所属账户发送给位于第一区域标识所指示的区域内的插座的,插座执行该控制指令。若比对不一致,则控制指令不是插座所属账户发送给位于第一区域标识所指示的区域内的插座的,插座不执行控制指令。
由于在用户自家的家居摆放位置发生变化,或者wifi、蓝牙等的部署位置发生变化,或者在隔壁、楼上、楼下等家庭的wifi、蓝牙等的部署位置发生变化或者家里的家居摆放位置发生变化、或者楼上、隔壁、楼下或自己家修改了信号标识等情况下,会导致同一个采集位置采集到的信号的信号强度和/或信号的标识信息等发生变化,进而导致同一个采集位置对应的第一信号指纹发生变化,因此,为了确保采集位置对应的第一信号指纹的准确性和实效性,插座还可以在设置位置采集信号,并生成第三信号指纹,将第三信号指纹通过音箱发送至智能家电云服务器。智能家电云服务器接收第三信号指纹,以及通过第三信号指纹对第一信号指纹(即与第二信号指纹匹配的第一信号指纹)进行更新。需要说明的是,生成第三信号指纹与生成第二信号指纹的原理相同,因此,此处不再进行赘述。
为了能够快速的对插座进行设备配置,智能家电云服务器通过音箱向插座发送第三配置信息,第三配置信息用于指示设置在第一区域标识所指示的区域内的插座的设备配置信息。插座在接收到第三配置信息后,根据第三配置信息进行设备配置,以使插座根据第三配置信息配置的内容运行。需要说明的是,第三配置信息可以包括位于第一区域标识所指示的区域内的插座在正常运行的过程中所需的配置信息,例如,访问接口、信息上报频率、数据格式、使用的协议等。
由于在一个家庭中共同生活的人可能不止一位,或者在一个办公区域中办公的人可能也不止一位,因此,为了便于用户的关联用户(即用户的家人或者同事等)操作插座,用户还可以通过平板电脑将第一账户的关联账户(即第二账户)事先发送至智能家电云服务器。智能家电云服务器接收第二账户。基于此,智能家电云服务器在将第一账户与插座绑定后,将插座与第二账户绑定。
在此基础上,关联用户在其使用的用户终端(例如,手机、电脑、平板电脑等)上通过第二账户登录智能家电客户端后,智能家电云服务器向关联用户的用户终端发送第一配置信息,其中,第一配置信息包括插座的设备标识和第一区域标识。关联用户的用户终端接收第一配置信息,并根据第一配置信息中插座的设备标识和第一区域标识在智能家电客户端的界面中添加位于第一区域标识所指示的区域内的插座的操作控件,以使关联用户可以基于该操作控件控制位于第一区域标识所指示的区域内的插座。
为了使插座能够识别其所属账户的关联账户(即第二账户),以及在关联用户通过智能家电云服务器向插座下发控制指令时,插座可以根据控制指令中携带的账户判断控制指令是否为第二账户发送的控制指令,以确保插座控制的安全性,智能家电云服务器向插座发送第二账户。插座接收并保存第二账户,这样在接收到控制指令后,根据控制指令中携带的账户和第二账户的匹配结果判断控制指令是否为第二账户发送的控制指令。
为了控制第一账户对应的用户和第二账户对应的用户对插座的操作权限,用户通过平 板电脑向智能家电云服务器发送第四配置信息,其中,第四配置信息包括第一账户对插座的操作权限以及第二账户对插座的操作权限。例如,第一账户具有对插座读写的权限,而第二账户具有对插座的读权限。智能家电云服务器接收平板电脑发送的第四配置信息。基于此,在用户向智能家电云服务器发送对插座的控制指令时,智能家电云服务器可以基于第四配置信息并根据控制指令中携带的账户和指令信息判断用户是否有向插座发送控制指令的权限,若是,将控制指令发送至插座,若否,则向该用户返回操作超范围的提示信息。
在此基础上,在智能家电云服务器将插座和第一账户绑定后,可以通过音箱将第四配置信息发送至插座,插座接收第四配置信息,以及根据第四配置信息对插座的权限配置信息进行配置。这样在插座接收到用户对该插座的控制指令后,根据指令中携带的账户和指令信息判断是否执行该指令。
需要说明的是,关联用户也可以通过用户终端采集第一信号指纹,并将第一信号指纹和对应的第二账户发送至智能家电云服务器,智能家电云服务器接收到关联用户的用户终端发送的第一信号指纹和对应的第二账户后,将第二账户对应的第一信号指纹和第一账户对应的第一信号指纹集中在一起进行存储,即将用户以及其关联用户采集的第一信号指纹存储在一起,这样,增加了第一信号指纹的数量,丰富了第一信号指纹,使得第二信号指纹和第一信号指纹的匹配结果更加准确。
为了实现插座与网络的自动连接,用户还可以通过平板电脑向智能家电云服务器发送第一账户对应的网络配置信息,智能家电云服务器接收第一账户对应的网络配置信息。这样,在智能家电云服务器将插座和第一账户绑定后,通过音箱将第一账户对应的网络配置信息发送至插座,以使插座根据第一账户对应的网络配置信息接入网络。例如,若第一账户对应的网络配置信息为路由器的账户和密码,则插座根据路由器的账户和密码连接到路由器中,进而连接至网络,使得智能家电云服务器可以直接通过网络与插座进行交互,而不用通过音箱的受限网络与插座进行交互。
需要说明的是,在本申请的其他实施例中,在插座没有与网络连接的情况下,智能家电云服务器向插座下发的各种配置信息,以及插座向智能家电云服务器发送的各种信息等还可以通过虚拟SIM卡来转发,即智能家电云服务器与插座之间的信息交互均通过虚拟SIM卡来实现。在插座与网络连接的情况下,智能家电云服务器与插座之间的信息交互均通过网络实现,无需中枢设备和虚拟SIM卡的参与。
基于上述图4中示出的插座绑定方法,本申请提供一种设备绑定方法,图5为本申请实施例提供的一种设备绑定方法的流程示意图二,如图5所示,包括以下步骤:
501、用户终端在采集位置采集信号,生成第一信号指纹。
502、用户终端将第一信号指纹、第一信号指纹对应的第一账户、以及第一信号指纹对应的第一区域标识发送至服务器。
503、智能终端在设置位置采集信号,生成第二信号指纹。
由于生成第一信号指纹和第二信号指纹的原理已经在上文中进行了说明,因此此处不再进行赘述。
504、智能终端将第二信号指纹以及对应的智能终端的设备标识发送至服务器。
具体实现方式包括以下两种:
第一种、智能终端将第二信号指纹以及对应的智能终端的设备标识通过中枢设备发送至服务器。
第二种、智能终端将第二信号指纹以及对应的智能终端的设备标识通过虚拟SIM卡发送至服务器。
505、服务器确定第二信号指纹与第一信号指纹匹配,以确定第二信号指纹与第一账户对应,以及第二信号指纹与第一区域标识对应。即服务器将第二信号指纹与每个第一信号指纹进行匹配,若确定一个信号指纹与第二信号指纹匹配,则将该第一信号指纹对应的第一账户确定为第二信号指纹对应的第一账户,即第二信号指纹与该第一信号指纹对应的第一账户对应,以及将该第一信号指纹对应的第一区域标识确定为第二信号对应的第一区域标识。由于信号指纹的具体匹配过程已经在上文中进行了说明,因此此处不再进行赘述。
506、服务器根据第二信号指纹与智能终端的设备标识的对应关系,将智能终端与第一账户绑定,以及通过第一区域标识标记智能终端。即将第一账户确定为智能终端所属的账户,将智能终端与第一账户绑定,实现了智能终端与其所属账户的绑定,将第一区域标记所指示的区域确定为智能终端的设置位置所属的区域。
综上,用户终端在采集位置采集信号,生成第一信号指纹,以及将第一信号指纹和对应的第一账户、以及第一信号指纹对应的第一区域标识发送至服务器,使得服务器保存第一信号指纹和对应的第一账户以及第一信号指纹对应的第一区域标识,智能终端在设置位置采集信号,生成第二信号指纹后,通过将第二信号指纹和对应的智能终端的设备标识发送至服务器,使得服务器确定第二信号指纹与第一信号指纹匹配后,确定第二信号指纹与第一账户对应,第二信号指纹与第一区域标识对应,从而根据第二信号指纹与智能终端的设备标识的对应关系,将智能终端与第一账户绑定,用第一区域标识标记智能终端,实现了智能终端与其所属账户的绑定,以及智能终端的设置位置所属区域的确定,相比于现有技术,无需各种复杂的配置过程,提高了绑定和区域确定的效率,缩短了绑定和区域确定的时间,提升了用户体验。另外,仅通过信号指纹的匹配,即可确定智能终端所属账户和设置位置所属的区域,进而实现智能终端与其所属账户的绑定和设置位置所属区域的确定,绑定步骤和区域确定步骤简单,易于执行。
此外,在相关技术中,提供了一种设备绑定方法,该设备绑定方法的实现过程如下:
用户在平台中注册账户,并通过该账户购买智能终端,在购买智能终端的同时,服务器会将该账户与购买的智能终端绑定,这样,在智能终端买回家并通上电后,服务器会根据购买智能终端时,账户与智能终端的绑定关系,将购买智能终端的账户确定为智能终端所属的账户,并将购买智能终端的账户与智能终端绑定,以使用户通过购买智能终端的账户控制智能终端。基于此,若用户用自己的账户给父母购买了智能终端,按照上述设备绑定原理,用户购买的智能终端会与用户购买该智能终端的账户绑定,即智能终端与用户的账户绑定,而无法与用户的父母的账户绑定,从而出现绑定错误的情况,使得用户的父母无法使用自己的账户控制智能终端。
而在本申请实施例提供的设备绑定方法中,由于智能终端所属账户(即第一账户)的确定与智能终端的设置位置对应的第二信号指纹和采集位置对应的第一信号指纹相关,与购买智能终端的账户无关,因此,可以实现智能终端的准确绑定。
在本申请实施例中,在实现智能终端与第一账户的绑定后,服务器还可以向用户终端 发送第一配置信息,其中,第一配置信息包括智能终端的设备标识和第一区域标识等,以在用户终端中根据第一配置信息中的智能终端的设备标识和第一区域标识添加智能终端的操作控件,以使用户基于该操作控件控制设置在第一区域标识所指示的区域内的智能终端。
为了使智能终端能够识别其所属的账户和其设置位置所属的区域,即第一账户和第一区域标识所指示的区域,以及在用户通过服务器向位于第一区域标识所指示的区域内的智能终端下发控制指令时,智能终端可以根据控制指令中携带的账户和区域标识判断控制指令是否为其所属账户发送给位于第一区域标识所指示的区域内的智能终端的控制指令,以确保智能终端控制的安全性,服务器可以向智能终端发送第二配置信息,其中,第二配置信息包括第一账户和第一区域标识。智能终端接收并保存第二配置信息。这样在智能终端接收到控制指令后,将控制指令中携带的账户与其中保存的第一账户进行比对,并将控制指令中携带的区域标识与其中保存的第一区域标识进行比对,若比对一致,则控制指令为智能终端所属账户发送给设置在第一区域标识所指示的区域内的智能终端的,智能终端执行该控制指令。若比对不一致,则控制指令不是智能终端所属账户发送给设置在第一区域标识所指示的区域内的智能终端的,智能终端不执行控制指令。
由于在用户自家的家居摆放位置发生变化,或者wifi、蓝牙等的部署位置发生变化,或者在隔壁、楼上、楼下等家庭的wifi、蓝牙等的部署位置发生变化或者家里的家居摆放位置发生变化、或者楼上、隔壁、楼下或自己家修改了信号标识等情况下,会导致在同一采集位置采集到的信号的信号强度和/或信号的标识信息等发生变化,进而导致同一个采集位置对应的第一信号指纹发生变化,因此,为了确保采集位置对应的第一信号指纹的准确性和实效性,智能终端还可以在设置位置采集信号,并生成第三信号指纹,将第三信号指纹发送至服务器。服务器接收第三信号指纹,以及通过第三信号指纹对第一信号指纹(即与第二信号指纹匹配的第一信号指纹)进行更新。
为了能够快速的对智能终端进行设备配置,服务器向智能终端发送第三配置信息,第三配置信息用于指示设置在第一区域标识所指示的区域内的智能终端的设备配置信息。智能终端在接收到第三配置信息后,根据第三配置信息进行设备配置,以使智能终端根据第三配置信息配置的内容运行。需要说明的是,第三配置信息可以包括位于第一区域标识所指示的区域内的智能终端在正常运行的过程中的所需的配置信息,例如,访问接口、信息上报频率、数据格式、使用的协议等。
由于在一个家庭中共同生活的人可能不止一位,或者在一个办公区域中办公的人可能也不止一位,因此,为了便于用户的关联用户(即用户的家人或者同事等)操作智能终端,用户还可以通过用户终端将第一账户的关联账户(即第二账户)事先发送至服务器。服务器接收第二账户。基于此,服务器在将第一账户与智能终端绑定后,将智能终端与第二账户绑定。
在此基础上,关联用户在其使用的用户终端(例如,手机、电脑、平板电脑等)上通过第二账户登录智能家电客户端后,智能家电云服务器向关联用户的用户终端发送第一配置信息,其中,第一配置信息包括智能终端的设备标识和第一区域标识。关联用户的用户终端接收第一配置信息,并根据第一配置信息中智能终端的设备标识和第一区域标识在智能家电客户端的界面中添加位于第一区域标识所指示的区域内的智能终端的操作控件,以 使关联用户可以基于该操作控件控制位于第一区域标识所指示的区域内的智能终端。
为了使智能终端能够识别其所属账户的关联账户(即第二账户),以及在关联用户通过服务器向智能终端下发控制指令时,智能终端可以根据控制指令中携带的账户判断控制指令是否为第二账户发送的控制指令,以确保智能终端控制的安全性,服务器向智能终端发送第二账户。智能终端接收并保存第二账户,这样在接收到控制指令后,根据控制指令中携带的账户和第二账户的匹配结果判断控制指令是否为第二账户发送的控制指令。
为了控制第一账户对应的用户和第二账户对应的用户对智能终端的操作权限,用户通过用户终端向服务器发送第四配置信息,其中,第四配置信息包括第一账户对智能终端的操作权限以及第二账户对智能终端的操作权限。基于此,在用户向服务器发送对智能终端的控制指令时,服务器可以基于第四配置信息并根据控制指令中携带的账户和指令信息判断该用户是否有向智能终端发送该指令的权限,若是,将控制指令发送至智能终端,若否,则向该用户返回操作超范围的提示信息。
在此基础上,在服务器将智能终端和第一账户绑定后,可以将第四配置信息发送至智能终端,智能终端接收第四配置信息,以及根据第四配置信息对智能终端的权限配置信息进行配置。这样在智能终端接收到用户对该智能终端的控制指令后,根据指令中携带的账户和指令信息判断是否执行该指令。
需要说明的是,关联用户也可以通过用户终端采集第一信号指纹,并将第一信号指纹和对应的第二账户以及第一信号指纹对应的第一区域标识发送至服务器,智能家电云服务器接收到关联用户的用户终端发送的第一信号指纹和对应的第二账户以及第一信号指纹对应的第一区域标识后,将第二账户对应的第一信号指纹和第一账户对应的第一信号指纹集中在一起进行存储,即将用户以及其关联用户采集的第一信号指纹存储在一起,这样,增加了第一信号指纹的数量,丰富了第一信号指纹,使得第二信号指纹和第一信号指纹的匹配结果更加准确。
为了实现智能终端与网络的自动连接,用户还可以通过用户终端向服务器发送第一账户对应的网络配置信息,服务器接收第一账户对应的网络配置信息。这样,在服务器将智能终端和第一账户绑定后,将第一账户对应的网络配置信息发送至智能终端,以使智能终端根据第一账户对应的网络配置信息接入网络。
需要说明的是,在智能终端处于未连接网络的状态下,智能终端和服务器之间的交互可以通过中枢设备或者虚拟SIM卡来实现,在智能终端处于连接网络的状态下,智能终端和服务器之间的交互直接通过网络实现,无需中枢设备和虚拟SIM卡的参与。
本申请实施例还提供了一种终端设备,该终端设备包括:通信模块、一个或多个存储器、一个或多个处理器。其中:通信模块用于与其他设备通信;一个或多个存储器用于存储一个或多个计算机程序;一个或多个处理器用于执行一个或多个计算机程序,使得终端设备执行上述用户终端中任一项所述的方法。
需要说明的是,此处的终端设备指用户终端,该用户终端例如可以为手机、平板电脑等具有人机交互功能的终端设备。下面,以用户终端为手机为例对用户终端的结构进行说明。
图6为本申请实施例提供的手机的结构示意图。
手机600可以包括处理器610,外部存储器接口620,内部存储器621,USB接口630, 充电管理模块640,电源管理模块641,电池642,天线1,天线2,移动通信模块651,无线通信模块652,音频模块670,扬声器670A,受话器670B,麦克风670C,耳机接口670D,传感器模块680,按键690,马达691,指示器692,摄像头693,显示屏694,以及SIM卡接口695等。其中传感器模块680可以包括陀螺仪传感器680A,加速度传感器680B,接近光传感器680G、指纹传感器680H,触摸传感器680K、转轴传感器680M(当然,手机600还可以包括其它传感器,比如温度传感器,压力传感器、距离传感器、磁传感器、环境光传感器、气压传感器、骨传导传感器等,图中未示出)。
可以理解的是,本申请实施例示意的结构并不构成对手机600的具体限定。在本申请另一些实施例中,手机600可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器610可以包括一个或多个处理单元,例如:处理器610可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(Neural-network Processing Unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是手机600的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器610中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器610中的存储器为高速缓冲存储器。该存储器可以保存处理器610刚用过或循环使用的指令或数据。如果处理器610需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器610的等待时间,因而提高了系统的效率。
处理器610可以运行本申请提供的上述用户终端的执行方法,通过采集第一账户对应的第一信号指纹,并将第一账户及其对应的第一信号指纹发送至服务器,为智能终端和其所属账户的绑定提供数据支持。当处理器610集成不同的器件,比如集成CPU和GPU时,CPU和GPU可以配合执行本申请实施例提供的处理方法,比如该处理方法部分算法由CPU执行,另一部分算法由GPU执行,以得到较快的处理效率。
显示屏694用于显示图像,视频等。显示屏694包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,手机600可以包括1个或N个显示屏694,N为大于1的正整数。
摄像头693(前置摄像头或者后置摄像头,或者一个摄像头既可作为前置摄像头,也可作为后置摄像头)用于捕获静态图像或视频。通常,摄像头693可以包括感光元件比如镜头组和图像传感器,其中,镜头组包括多个透镜(凸透镜或凹透镜),用于采集待拍摄物体反射的光信号,并将采集的光信号传递给图像传感器。图像传感器根据所述光信号生成待拍摄物体的原始图像。
内部存储器621可以用于存储计算机可执行程序代码,所述可执行程序代码包括指 令。处理器610通过运行存储在内部存储器621的指令,从而执行手机600的各种功能应用以及信号处理。内部存储器621可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,应用程序(比如相机应用,微信应用等)的代码等。存储数据区可存储手机600使用过程中所创建的数据(比如相机应用采集的图像、视频等)等。
内部存储器621还可以存储的防误触算法的代码。当内部存储器621中存储的防误触算法的代码被处理器610运行时,可以对折叠或者展开过程中的触摸操作进行屏蔽。
此外,内部存储器621可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
当然,本申请实施例提供的用于实现设备绑定的算法的代码还可以存储在外部存储器中。这种情况下,处理器610可以通过外部存储器接口620运行存储在外部存储器中的算法的代码,实现设备绑定。
下面介绍传感器模块680的功能。
陀螺仪传感器680A,可以用于确定手机600的运动姿态。在一些实施例中,可以通过陀螺仪传感器680A确定手机600围绕三个轴(即,x,y和z轴)的角速度。即陀螺仪传感器680A可以用于检测手机600当前的运动状态,比如抖动还是静止。
加速度传感器680B可检测手机600在各个方向上(一般为三轴)加速度的大小。即陀螺仪传感器680A可以用于检测手机600当前的运动状态,比如抖动还是静止。
接近光传感器680G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。手机通过发光二极管向外发射红外光。手机使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定手机附近有物体。当检测到不充分的反射光时,手机可以确定手机附近没有物体。
陀螺仪传感器680A(或加速度传感器680B)可以将检测到的运动状态信息(比如角速度)发送给处理器610。处理器610基于运动状态信息确定当前是手持状态还是脚架状态(比如,角速度不为0时,说明手机600处于手持状态)。
指纹传感器680H用于采集指纹。手机600可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
触摸传感器680K,也称“触控面板”。触摸传感器680K可以设置于显示屏694,由触摸传感器680K与显示屏694组成触摸屏,也称“触控屏”。触摸传感器680K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏694提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器680K也可以设置于手机600的表面,与显示屏694所处的位置不同。
示例性的,手机600的显示屏694显示主界面,主界面中包括多个应用(比如相机应用、微信应用等)的图标。用户通过触摸传感器680K点击主界面中相机应用的图标,触发处理器610启动相机应用,打开摄像头693。显示屏694显示相机应用的界面,例如取景界面。
手机600的无线通信功能可以通过天线1,天线2,移动通信模块651,无线通信模块652,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。手机600中的每个天线可用于覆盖单个 或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块651可以提供应用在手机600上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块651可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块651可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块651还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块651的至少部分功能模块可以被设置于处理器610中。在一些实施例中,移动通信模块651的至少部分功能模块可以与处理器610的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器670A,受话器670B等)输出声音信号,或通过显示屏694显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器610,与移动通信模块651或其他功能模块设置在同一个器件中。
无线通信模块652可以提供应用在手机600上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块652可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块652经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器610。无线通信模块652还可以从处理器610接收待发送的信号,对其进行调频、放大,经天线2转为电磁波辐射出去。
在一些实施例中,手机600的天线1和移动通信模块651耦合,天线2和无线通信模块652耦合,使得手机600可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS))和/或星基增强系统(satellite based augmentation systems,SBAS)。
另外,手机600可以通过音频模块670,扬声器670A,受话器670B,麦克风670C,耳机接口670D,以及应用处理器等实现音频功能。例如音乐播放,录音等。手机600可以接收按键690输入,产生与手机600的用户设置以及功能控制有关的键信号输入。手机 600可以利用马达691产生振动提示(比如来电振动提示)。手机600中的指示器692可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。手机600中的SIM卡接口695用于连接SIM卡。SIM卡可以通过插入SIM卡接口695,或从SIM卡接口695拔出,实现和手机600的接触和分离。
应理解,在实际应用中,手机600可以包括比图6所示的更多或更少的部件,本申请实施例不作限定。
本申请实施例还提供了一种终端设备,该终端设备包括:通信模块、一个或多个存储器、一个或多个处理器。其中:通信模块用于与其他设备通信;一个或多个存储器用于存储一个或多个计算机程序;一个或多个处理器用于执行一个或多个计算机程序,使得终端设备执行上述智能终端中任一项所述的方法。
需要说明的是,此处的终端设备指智能终端,该智能终端例如可以为灯、插座、冰箱、洗衣机、空调、烤箱、电饭煲、电视机、扫地机器人等,此处不作特殊限定。下面,以智能终端为冰箱为例对智能终端的结构进行说明。
图7为本申请实施例提供的冰箱的结构示意图。
冰箱700可以包括处理器710,外部存储器接口720,内部存储器730,电源管理模块740,无线通信模块750、天线1,传感器模块760,显示屏770、至少一个储物结构(图中未示出)、温控模块780、压控模块790等。其中传感器模块760可以包括触摸传感器761、温度传感器762,气压传感器763等。
可以理解的是,本申请实施例示意的结构并不构成对冰箱700的具体限定。在本申请另一些实施例中,冰箱700可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器710可以包括一个或多个处理单元,例如:处理器710可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(Neural-network Processing Unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是冰箱700的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器710中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器710中的存储器为高速缓冲存储器。该存储器可以保存处理器710刚用过或循环使用的指令或数据。如果处理器710需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器710的等待时间,因而提高了系统的效率。
处理器710可以运行本申请提供的智能终端执行的方法,通过采集第二信号指纹,并将第二信号指纹和冰箱的设备标识发送至服务器,使得服务器可以根据第二信号指纹确定冰箱所属的账户,进而实现冰箱及其所属账户的绑定。当处理器710集成不同的器件,比如集成CPU和GPU时,CPU和GPU可以配合执行本申请实施例提供的处理方法,比如该处理方法部分算法由CPU执行,另一部分算法由GPU执行,以得到较快的处理效率。
显示屏770用于显示图像,视频等。显示屏570包括显示面板。显示面板可以采用液 晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,冰箱700可以包括1个或N个显示屏770,N为大于1的正整数。
内部存储器730可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器710通过运行存储在内部存储器730的指令,从而执行冰箱700的各种功能应用以及信号处理。内部存储器730可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,应用程序(比如相机应用,微信应用等)的代码等。存储数据区可存储冰箱700使用过程中所创建的数据。
内部存储器730还可以存储防误触算法的代码。当内部存储器730中存储的防误触算法的代码被处理器710运行时,可以对折叠或者展开过程中的触摸操作进行屏蔽。
此外,内部存储器730可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
当然,本申请实施例提供的用于实现设备绑定的算法的代码还可以存储在外部存储器中。这种情况下,处理器710可以通过外部存储器接口720运行存储在外部存储器中算法的代码,实现设备绑定。
下面介绍传感器模块760的功能。
触摸传感器761,也称“触控面板”。触摸传感器761可以设置于显示屏770,由触摸传感器761与显示屏770组成触摸屏,也称“触控屏”。触摸传感器770用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏770提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器761也可以设置于冰箱700的表面,与显示屏770所处的位置不同。
温度传感器762设置在冰箱700内部,用于检测冰箱700中的温度,并将检测到的温度发送至处理器710,使得处理器710根据温度传感器762检测的温度确定冰箱700的温度是否正常,若否,生成温度调整方案,并将温度调整方法发送至温控模块780,以使温控模块580根据温度调整方法调节冰箱700内的温度。
气压传感器763设置在冰箱700内部,用于检测冰箱700中的气压,并将检测的气压发送至处理器710,使得处理器710根据气压传感器763检测的气压判断冰箱700的气压是否正常,若否,处理器710生成气压调整方案,并将气压调整方法发送至压控模块790,以使压控模块790根据气压调整方法调节冰箱700内的气压。
示例性的,冰箱700的显示屏770显示主界面,主界面中包括多个应用(比如菜谱、居家小妙招等)的图标。用户通过触摸传感器761点击主界面中菜谱应用的图标,触发处理器710启动菜谱应用,打开菜谱。显示屏770显示菜谱的展示界面。
冰箱700的无线通信功能可以通过天线1,无线通信模块750,调制解调处理器以及基带处理器等实现。
天线1用于发射和接收电磁波信号。冰箱700中的天线可用于覆盖单个或多个通信频带。
无线通信模块750可以提供应用在冰箱700上的包括无线局域网(wireless local area  networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT)等无线通信的解决方案。无线通信模块750可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块750经由天线1接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器710。无线通信模块750还可以从处理器710接收待发送的信号,对其进行调频、放大,经天线1转为电磁波辐射出去。
应理解,在实际应用中,冰箱700可以包括比图7所示的更多或更少的部件,本申请实施例不作限定。
本申请实施例还提供了一种终端设备,该终端设备包括:通信模块、一个或多个存储器、一个或多个处理器。其中:通信模块用于与其他设备通信;一个或多个存储器用于存储一个或多个计算机程序;一个或多个处理器用于执行一个或多个计算机程序,使得终端设备执行上述服务器中任一项所述的方法。
需要说明的是,此处的终端设备指服务器,服务器可以时物理服务器或者云服务器。下面,以服务器为物理服务器为例对服务器的结构进行说明。
图8为本申请实施例提供的物理服务器的结构示意图。
图8显示的物理服务器800仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。
如图8所示,物理服务器800的组件可以包括但不限于:上述至少一个处理器810、至少一个存储器820、连接不同系统组件(包括存储其820和处理器810)的总线830。
其中,所述存储器820存储有计算机程序,该计算机程序可以被处理器810执行,使得处理器810执行本说明书中描述的服务器的执行步骤。
存储器820可以包括易失性存储单元,例如随机存取存储单元(RAM)8201和/或高速缓存存储单元8202,还可以进一步包括只读存储单元(ROM)8203。
存储器820还可以包括具有一组(至少一个)程序模块8205的程序/实用工具8204,这样的程序模块8205包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。
总线830可以包括数据总线、地址总线和控制总线。
物理服务器800也可以与一个或多个外部设备860(例如键盘、指向设备、蓝牙设备等)通信,这种通信可以通过输入/输出(I/O)接口840进行。物理服务器800还可以通过网络适配器850与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器850通过总线830与物理服务器800的其它模块通信。应当明白,尽管图中未示出,可以结合物理服务器800使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。
本申请还提供一种计算机可读存储介质,包括计算机程序,所述计算机程序在计算机上被执行时,使得所述计算机执行上述用户终端执行的任一项方法或上述服务器执行的任一项方法或者上述智能终端执行的任一项方法。
本申请还提供一种计算机程序,当所述计算机程序被计算机执行时,用于执行上述用户终端执行的任一项方法或上述服务器执行的任一项方法或者上述智能终端执行的任一项方法。
本申请还提供一种芯片,包括处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,以执行上述用户终端执行的任一项方法或上述服务器执行的任一项方法或者上述智能终端执行的任一项方法。
进一步地,所述芯片还可以包括存储器和通信接口。所述通信接口可以是输入/输出接口、管脚或输入/输出电路等。
在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、特定应用集成电路(application-specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。本申请实施例公开的方法的步骤可以直接体现为硬件编码处理器执行完成,或者用编码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。
上述各实施例中提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间 接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (31)

  1. 一种设备绑定方法,其特征在于,包括:
    用户终端在采集位置采集信号,生成第一信号指纹;
    所述用户终端将所述第一信号指纹以及对应的第一账户发送至服务器;
    智能终端在设置位置采集信号,生成第二信号指纹;
    所述智能终端将所述第二信号指纹以及对应的所述智能终端的设备标识发送至所述服务器;
    所述服务器确定所述第二信号指纹与所述第一信号指纹匹配,以确定所述第二信号指纹与所述第一账户对应;
    所述服务器根据所述第二信号指纹与所述智能终端的设备标识的对应关系,将所述智能终端与所述第一账户绑定。
  2. 根据权利要求1所述的方法,其特征在于,还包括:
    所述用户终端将所述第一信号指纹以及对应的第一账户发送至服务器的同时,还将所述第一信号指纹对应的第一区域标识发送至所述服务器;
    所述服务器确定所述第二信号指纹与所述第一信号指纹匹配,以确定所述第二信号指纹与所述第一区域标识对应;
    所述服务器根据所述第二信号指纹与所述智能终端的设备标识的对应关系,通过所述第一区域标识标记所述智能终端。
  3. 根据权利要求1或2所述的方法,其特征在于,所述智能终端将所述第二信号指纹以及对应的所述智能终端的设备标识发送至所述服务器包括:
    所述智能终端将所述第二信号指纹以及对应的所述智能终端的设备标识通过中枢设备发送至所述服务器;或者
    所述智能终端将所述第二信号指纹以及对应的所述智能终端的设备标识通过虚拟SIM卡发送至所述服务器。
  4. 一种用于服务器的设备绑定方法,其特征在于,包括:
    接收用户终端发送的第一信号指纹以及对应的第一账户,所述第一信号指纹由所述用户终端在采集位置采集的信号生成;
    接收智能终端发送的第二信号指纹以及对应的所述智能终端的设备标识,所述第二信号指纹由所述智能终端在设置位置采集的信号生成;
    确定所述第二信号指纹与所述第一信号指纹匹配,以确定所述第二信号指纹与所述第一账户对应;
    根据所述第二信号指纹与所述智能终端的设备标识的对应关系,将所述智能终端与所述第一账户绑定。
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:
    接收所述用户终端发送的第一信号指纹以及对应的第一账户的同时,还接收所述用户终端发送的所述第一信号指纹对应的第一区域标识;
    确定所述第二信号指纹与所述第一信号指纹匹配,以确定所述第二信号指纹与所述第一区域标识对应;
    根据所述第二信号指纹与所述智能终端的设备标识的对应关系,通过所述第一区域标识标记所述智能终端。
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    向所述用户终端发送第一配置信息,其中,所述第一配置信息包括所述智能终端的设备标识和所述第一区域标识,以使所述用户终端根据所述第一配置信息设置所述智能终端的操作控件。
  7. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    向所述智能终端发送第二配置信息,其中,所述第二配置信息包括所述第一账户和所述第一区域标识,以使所述智能终端根据所述第二配置信息确定所述智能终端所属的账户和区域。
  8. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    接收所述智能终端发送的第三信号指纹,其中,所述第三信号指纹由所述智能终端在所述设置位置采集的信号生成;
    通过所述第三信号指纹对所述第一信号指纹进行更新。
  9. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    向所述智能终端发送第三配置信息,所述第三配置信息用于指示设置在所述第一区域标识所指示的区域内的所述智能终端的设备配置信息,以使所述智能终端根据所述第三配置信息进行设备配置。
  10. 根据权利要求4~9中任一项所述的方法,其特征在于,所述方法还包括:
    将所述智能终端与第二账户绑定,所述第二账户与所述第一账户关联。
  11. 根据权利要求10所述的方法,其特征在于,所述方法还包括:
    接收所述用户终端发送的第四配置信息;
    其中,所述第四配置信息包括所述第一账户对所述智能终端的操作权限以及所述第二账户对所述智能终端的操作权限;
    向所述智能终端发送所述第四配置信息,以使所述智能终端根据所述第四配置信息确定所述第一账户和所述第二账户的操作权限。
  12. 根据权利要求4~9中任一项所述的方法,其特征在于,所述方法还包括:
    接收所述用户终端发送的所述第一账户对应的网络配置信息;
    向所述智能终端发送所述第一账户对应的网络配置信息,以使所述智能终端根据所述第一账户对应的网络配置信息连接入网。
  13. 根据权利要求4~9中任一项所述的方法,其特征在于,所述接收智能终端发送的第二信号指纹以及对应的智能终端的设备标识包括:
    通过中枢设备或者虚拟SIM卡接收所述智能终端发送的第二信号指纹以及对应的智能终端的设备标识。
  14. 一种用于用户终端的设备绑定方法,其特征在于,包括:
    在采集位置采集信号,生成第一信号指纹;
    将所述第一信号指纹以及对应的第一账户发送至服务器,以使所述服务器在确定智能终端发送的设置位置的第二信号指纹与所述第一信号指纹匹配后,将所述智能终端与所述第一账户绑定。
  15. 根据权利要求14所述的方法,其特征在于,还包括:
    将所述第一信号指纹以及对应的第一账户发送至服务器的同时,还将所述第一信号指纹对应的第一区域标识发送至所述服务器,以使所述服务器在确定智能终端发送的设置位置的第二信号指纹与所述第一信号指纹匹配后,通过所述第一区域标识标记所述智能终端。
  16. 根据权利要求15所述的方法,其特征在于,所述方法还包括:
    接收所述服务器发送的第一配置信息,其中,所述第一配置信息包括所述智能终端的设备标识和所述第一区域标识;
    根据所述第一配置信息设置所述智能终端的操作控件。
  17. 根据权利要求14或15所述的方法,其特征在于,所述方法还包括:
    向所述服务器发送第四配置信息;其中,所述第四配置信息包括所述第一账户对所述智能终端的操作权限以及第二账户对所述智能终端的操作权限,所述第二账户与所述第一账户关联,以使所述服务器根据所述第四配置信息确定所述第一账户和第二账户的操作权限。
  18. 根据权利要求14或15所述的方法,其特征在于,所述方法还包括:
    向所述服务器发送所述第一账户对应的网络配置信息。
  19. 一种用于智能终端的设备绑定方法,其特征在于,包括:
    在设置位置采集信号,生成第二信号指纹;
    将所述第二信号指纹以及对应的智能终端的设备标识发送至服务器,以使所述服务器在确定所述第二信号指纹与用户终端发送的第一信号指纹匹配后,将所述智能终端与所述第一信号指纹对应的第一账户绑定。
  20. 根据权利要求19所述的方法,其特征在于,所述方法包括:
    接收所述服务器发送的第二配置信息;
    其中,所述第二配置信息包括所述第一账户和第一区域标识,所述第一区域标识与所述第一信号指纹对应;
    根据所述第二配置信息确定所述智能终端所属的账户和区域。
  21. 根据权利要求19或20所述的方法,其特征在于,所述方法还包括:
    在所述设置位置采集信号,生成第三信号指纹;
    将所述第三信号指纹发送至所述服务器,以使所述服务器通过所述第三信号指纹对所述第一信号指纹进行更新。
  22. 根据权利要求19所述的方法,其特征在于,所述方法包括:
    接收所述服务器发送的第三配置信息,所述第三配置信息用于指示设置在第一区域标识所指示的区域内的所述智能终端的设备配置信息,所述第一区域标识与所述第一信号指纹对应;
    根据所述第三配置信息进行设备配置。
  23. 根据权利要求19所述的方法,其特征在于,所述方法还包括:
    接收所述服务器发送的第四配置信息;
    其中,所述第四配置信息包括所述第一账户对所述智能终端的操作权限以及第二账户对所述智能终端的操作权限,所述第二账户与所述第一账户关联;
    根据所述第四配置信息确定所述第一账户和所述第二账户的操作权限。
  24. 根据权利要求19所述的方法,其特征在于,所述方法还包括:
    接收所述服务器发送的所述第一账户对应的网络配置信息;
    根据所述第一账户对应的网络配置信息连接入网。
  25. 根据权利要求19所述的方法,其特征在于,所述将所述第二信号指纹以及对应的智能终端的设备标识发送至服务器包括:
    通过中枢设备或者虚拟SIM卡将所述第二信号指纹以及对应的智能终端的设备标识发送至服务器。
  26. 一种终端设备,其特征在于,包括:
    通信模块,用于与其他设备通信;
    一个或多个存储器,用于存储一个或多个计算机程序;
    一个或多个处理器,用于执行所述一个或多个计算机程序,使得所述终端设备执行如权利要求4~13中任一项所述的方法。
  27. 一种终端设备,其特征在于,包括:
    通信模块,用于与其他设备通信;
    一个或多个存储器,用于存储一个或多个计算机程序;
    一个或多个处理器,用于执行所述一个或多个计算机程序,使得所述终端设备执行如权利要求14~18中任一项所述的方法。
  28. 一种终端设备,其特征在于,包括:
    通信模块,用于与其他设备通信;
    一个或多个存储器,用于存储一个或多个计算机程序;
    一个或多个处理器,用于执行所述一个或多个计算机程序,使得所述终端设备执行如权利要求19~25中任一项所述的方法。
  29. 一种计算机可读存储介质,包括计算机程序,所述计算机程序在计算机上被执行时,使得所述计算机执行权利要求4~13中任一项所述的方法或者权利要求14~18中任一项所述的方法或者权利要求19~25中任一项所述的方法。
  30. 一种计算机程序,当所述计算机程序被计算机执行时,用于执行权利要求4~13中任一项所述的方法或者权利要求14~18中任一项所述的方法或者权利要求19~25中任一项所述的方法。
  31. 一种芯片,包括处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,以执行权利要求4~13中任一项所述的方法或者权利要求14~18中任一项所述的方法或者权利要求19~25中任一项所述的方法。
PCT/CN2021/079519 2020-04-17 2021-03-08 设备绑定方法和终端设备 Ceased WO2021208634A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US17/919,199 US11996978B2 (en) 2020-04-17 2021-03-08 Device binding method and terminal device
EP21787705.9A EP4132047B1 (en) 2020-04-17 2021-03-08 Device binding method and terminal device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010307428.6A CN113613247B (zh) 2020-04-17 2020-04-17 设备绑定方法和终端设备
CN202010307428.6 2020-04-17

Publications (1)

Publication Number Publication Date
WO2021208634A1 true WO2021208634A1 (zh) 2021-10-21

Family

ID=78085031

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/079519 Ceased WO2021208634A1 (zh) 2020-04-17 2021-03-08 设备绑定方法和终端设备

Country Status (4)

Country Link
US (1) US11996978B2 (zh)
EP (1) EP4132047B1 (zh)
CN (2) CN113613247B (zh)
WO (1) WO2021208634A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205227A (zh) * 2021-12-10 2022-03-18 珠海格力电器股份有限公司 设备的同步方法和装置、存储介质、电子装置
CN115086322A (zh) * 2022-06-15 2022-09-20 南京林业大学 一种基于云服务的智能视觉家居系统
WO2026056507A1 (zh) * 2024-09-14 2026-03-19 腾讯科技(深圳)有限公司 对象信息关联的方法、对象信息的关联处理系统、装置和计算机设备

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501425B (zh) * 2022-01-24 2023-10-10 珠海格力电器股份有限公司 设备绑定方法、装置、电子设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547556A (zh) * 2010-12-27 2012-07-04 腾讯科技(深圳)有限公司 一种用户关联关系添加方法、移动终端和服务器
CN107071862A (zh) * 2017-03-28 2017-08-18 北京小米移动软件有限公司 账号绑定方法及装置和智能设备
CN110308660A (zh) * 2019-06-06 2019-10-08 美的集团股份有限公司 智能设备控制方法及装置

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639498B (zh) * 2013-11-06 2017-12-29 阿里巴巴集团控股有限公司 一种指纹匹配的方法、装置及系统
US11799573B2 (en) * 2014-06-10 2023-10-24 PB, Inc. Radiobeacon data sharing by forwarding low energy transmissions to a cloud host
US9813505B2 (en) * 2014-10-15 2017-11-07 Ayla Networks, Inc. Devices in a flexible registration framework
US9648055B2 (en) * 2014-10-15 2017-05-09 Ayla Networks, Inc. Applications in a flexible registration framework
CN104936304B (zh) * 2015-06-01 2018-09-18 小米科技有限责任公司 智能设备绑定方法、智能设备及服务器
US9849364B2 (en) * 2016-02-02 2017-12-26 Bao Tran Smart device
CN106211264B (zh) 2016-07-11 2018-07-31 九阳股份有限公司 一种家电配网方法及装置
CN106102184B (zh) * 2016-07-15 2020-05-22 杭州赫智电子科技有限公司 一种用于管理蓝牙设备绑定连接的系统及方法
CN106385352A (zh) * 2016-10-20 2017-02-08 北京小米移动软件有限公司 设备绑定方法及装置
CN106549977B (zh) * 2016-12-09 2019-08-30 北京小米移动软件有限公司 一种建立账户与设备的绑定关系方法、装置和系统
US11134386B2 (en) * 2016-12-13 2021-09-28 Zscaler, Inc. Device identification for management and policy in the cloud
CN107659489A (zh) * 2017-09-18 2018-02-02 北京小米移动软件有限公司 一种发送信息的方法和装置
US11243983B2 (en) 2017-10-30 2022-02-08 Qualcomm Incorporated System and method for compact storage and efficient retrieval of access point information for detecting rogue access points
CN108063704A (zh) 2017-11-27 2018-05-22 海尔优家智能科技(北京)有限公司 一种网络接入方法和系统
CN108541078B (zh) * 2017-12-28 2021-07-06 Tcl家用电器(合肥)有限公司 终端绑定方法、系统、终端和服务器
CN109600252B (zh) 2018-11-21 2021-11-19 广东美的制冷设备有限公司 设备配网方法、装置和家电设备
US12114150B2 (en) * 2020-12-23 2024-10-08 Prove Identity, Inc. Authenticated communications device to tie real-world and digital identities
US12003660B2 (en) * 2021-12-31 2024-06-04 Avila Technology, LLC Method and system to implement secure real time communications (SRTC) between WebRTC and the internet of things (IoT)

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547556A (zh) * 2010-12-27 2012-07-04 腾讯科技(深圳)有限公司 一种用户关联关系添加方法、移动终端和服务器
CN107071862A (zh) * 2017-03-28 2017-08-18 北京小米移动软件有限公司 账号绑定方法及装置和智能设备
CN110308660A (zh) * 2019-06-06 2019-10-08 美的集团股份有限公司 智能设备控制方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4132047A4

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205227A (zh) * 2021-12-10 2022-03-18 珠海格力电器股份有限公司 设备的同步方法和装置、存储介质、电子装置
CN115086322A (zh) * 2022-06-15 2022-09-20 南京林业大学 一种基于云服务的智能视觉家居系统
WO2026056507A1 (zh) * 2024-09-14 2026-03-19 腾讯科技(深圳)有限公司 对象信息关联的方法、对象信息的关联处理系统、装置和计算机设备

Also Published As

Publication number Publication date
EP4132047A4 (en) 2023-03-22
CN116528247A (zh) 2023-08-01
EP4132047A1 (en) 2023-02-08
EP4132047B1 (en) 2026-05-06
US11996978B2 (en) 2024-05-28
CN113613247B (zh) 2023-01-06
CN113613247A (zh) 2021-11-05
US20230179473A1 (en) 2023-06-08

Similar Documents

Publication Publication Date Title
WO2021208634A1 (zh) 设备绑定方法和终端设备
JP7317242B2 (ja) ブルートゥース接続方法、システム、および電子デバイス
US11979251B2 (en) Home device control method and device
US11470058B2 (en) Network connection method, mobile terminal, electronic device, and graphical user interface
US11929872B2 (en) Method for configuring home devices in batches and device
CN106878923B (zh) 超低功耗智能设备快速入网方法及智能家居系统
US20230308861A1 (en) Profile Transfer Method and Apparatus
CN110568767A (zh) 一种智能家居设备选择方法及终端
CN113163379A (zh) 一种发现及配网的方法和电子设备
KR102025754B1 (ko) 와이파이 네트워크를 이용한 디바이스 연결 시스템 및 방법
KR20190075644A (ko) 네트워크에서 노드를 제어하는 전자 장치 및 제어 방법
EP3624404A1 (en) Method and device for establishing wireless communication connection
US20200178079A1 (en) Wireless local area network configuration method and device
KR102375847B1 (ko) AP(access point)에 대한 정보를 제공하는 전자장치 및 방법
US11032862B2 (en) Device and communication connection method for connecting multiple devices
WO2016191961A1 (zh) 一种与车机交互数据的方法、服务器、移动终端和装置
WO2020042119A1 (zh) 一种消息传输方法及设备
CN107147656A (zh) 远程控制的建立方法、系统及可读存储介质
US12284521B2 (en) IoT device and IoT device authorization method
US20230283994A1 (en) Automatic Control Method, Electronic Device, and Computer-Readable Storage Medium
WO2024114274A1 (zh) IoT设备配网方法及相关装置
CN110324214A (zh) 一种无线控制方法、装置及系统
EP4394635A1 (en) Data management method and device
CN114637627A (zh) 数据恢复的方法以及系统
US20240053460A1 (en) Device location determining method, apparatus, and system

Legal Events

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

Ref document number: 21787705

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202217061230

Country of ref document: IN

ENP Entry into the national phase

Ref document number: 2021787705

Country of ref document: EP

Effective date: 20221026

NENP Non-entry into the national phase

Ref country code: DE

WWG Wipo information: grant in national office

Ref document number: 202217061230

Country of ref document: IN