CN107800687B - Equipment binding method and system based on Internet of things and washing machine - Google Patents

Equipment binding method and system based on Internet of things and washing machine Download PDF

Info

Publication number
CN107800687B
CN107800687B CN201710882507.8A CN201710882507A CN107800687B CN 107800687 B CN107800687 B CN 107800687B CN 201710882507 A CN201710882507 A CN 201710882507A CN 107800687 B CN107800687 B CN 107800687B
Authority
CN
China
Prior art keywords
random code
server
internet
things
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710882507.8A
Other languages
Chinese (zh)
Other versions
CN107800687A (en
Inventor
强晓龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Little Swan Electric Co Ltd
Original Assignee
Wuxi Little Swan 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 Wuxi Little Swan Co Ltd filed Critical Wuxi Little Swan Co Ltd
Priority to CN201710882507.8A priority Critical patent/CN107800687B/en
Publication of CN107800687A publication Critical patent/CN107800687A/en
Application granted granted Critical
Publication of CN107800687B publication Critical patent/CN107800687B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • H04L63/0838Network architectures or network communication protocols for network security for authentication of entities using passwords using one-time-passwords
    • 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
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/108Network architectures or network communication protocols for network security for controlling access to devices or network resources when the policy decisions are valid for a limited amount of time

Landscapes

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

Abstract

The invention provides an equipment binding method and system based on the Internet of things and a washing machine, wherein the method comprises the following steps: the method comprises the steps that a distribution network instruction is sent to a server through the Internet of things by an equipment end, so that the server generates a random code and effective duration corresponding to the equipment end, the equipment end displays the random code according to the effective duration, a client side sends the random code input by a user to the server, the random code input by the user is received in the effective duration determined by the server, and after the random code input by the user is matched with the generated random code, a binding relationship between the equipment end and the client side is established. In this embodiment, the device end is bound with the client through the internet of things, and compared with the prior art in which the device end is bound with the client through the WIFI module, multiple steps of connection between the device end and the wireless router is avoided, and the technical problems in the prior art that the binding step is complicated, the failure rate is high, time is long, and the user experience is poor are solved.

Description

Equipment binding method and system based on Internet of things and washing machine
Technical Field
The invention relates to the technical field of Internet of things, in particular to an equipment binding method and system based on the Internet of things and a washing machine.
Background
The Internet of Things (Internet of Things) is a network concept that all common physical objects capable of being independently addressed realize interconnection and intercommunication based on information carriers such as the Internet, a traditional telecommunication network and the like. Theoretically, the internet of things can realize interconnection and intercommunication of ubiquitous terminal equipment and facilities through various wireless communication networks.
Before the client needs to control the household appliances, the client and the household appliances need to be bound in a distribution network, so that the client can control the bound household appliances relatively. In the related technology, the household appliance is connected with the internet of things through a wireless local area network (WIFI) module, so that the binding of a client and the distribution network of the household appliance is realized, the WIFI module needs to break and connect the network for many times, the binding step is complex, the failure rate is high, the consumed time is long, the waiting time of a user is long, and the user experience is poor.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, the invention provides an equipment binding method based on the Internet of things, so that the equipment end can be bound with the client through the Internet of things, and compared with the prior art that the equipment end and the client are bound through a WIFI module, the method avoids multiple steps that the equipment end needs to be connected with a wireless router first and possible router connection failure, simultaneously avoids the problem that the equipment end needs to be reconnected and bound after the router is disconnected, and solves the technical problems that the binding step is complex, the failure rate is high, the time consumption is long, and the user experience is poor in the prior art. In addition, due to the adoption of the random code and the effective duration, the accuracy and the safety of the distribution network are enhanced, and the possibility of mistakenly distributing the network is greatly reduced.
The invention provides an equipment binding system based on the Internet of things.
The invention provides a washing machine.
The invention provides a computer readable storage medium.
To achieve the above object, an embodiment of a first aspect of the present invention provides an apparatus binding method based on the internet of things, including:
the method comprises the steps that a distribution network instruction is sent to a server by an equipment end through the Internet of things, so that the server generates a random code corresponding to the equipment end and determines the effective duration of the random code;
after the equipment end receives the random code and the effective duration, the random code is displayed according to the effective duration, so that a user inputs the random code displayed by the equipment end, the client sends the random code input by the user to the server, the server determines that the random code input by the user is received in the effective duration, and after the random code input by the user is matched with the generated random code, the binding relationship between the equipment end and the client is established.
In the method for binding the device based on the internet of things, the device side sends a distribution network instruction to the server through the internet of things, so that the server generates a random code corresponding to the device side and effective duration of the random code, the device side receives the random code and the effective duration, the random code is displayed according to the effective duration, a user inputs the random code displayed by the device side, the client side sends the random code input by the user to the server, the server determines that the random code input by the user is received in the effective duration, and after the random code input by the user is matched with the generated random code, a binding relationship between the device side and the client side is established. In the embodiment of the invention, the equipment end is adopted to send the distribution network instruction to the server through the Internet of things module to complete the binding of the equipment end and the client, compared with the prior art that the equipment end and the client are bound through the WIFI module, the problems that the equipment end needs to establish connection with a wireless router first and the connection of the router is possibly failed are solved, meanwhile, the problem that the equipment end needs to be reconnected and bound after the router is disconnected from the network is solved, and the technical problems that the binding step is complex, the failure rate is high, the time consumption is long and the user experience is poor in the prior art are solved. In addition, due to the adoption of the random code and the effective duration, the accuracy and the safety of the distribution network are enhanced, and the possibility of mistakenly distributing the network is greatly reduced.
In order to achieve the above object, an embodiment of a second aspect of the present invention provides an apparatus binding system based on the internet of things, including: a client, a device and a server;
the server is used for generating a random code corresponding to the equipment end and determining the effective duration of the random code when a distribution network instruction sent by the equipment end is received; sending the random code and the effective duration to the equipment end;
the equipment end is used for sending a distribution network instruction to the server through the Internet of things; after receiving the random code and the effective duration, displaying the random code according to the effective duration;
the client is used for sending the random code input by the user to the server after the user inputs the random code according to the random code displayed by the equipment terminal;
the server is further configured to establish a binding relationship between the device side and the client side if the random code input by the user is received from the client side within the effective duration and the random code input by the user is matched with the generated random code.
In the device binding system based on the internet of things, the device side is configured to send a distribution network instruction to the server through the internet of things, receive the random code and the valid duration, and display the random code according to the valid duration. The server is used for generating a random code corresponding to the equipment end and determining the effective duration of the random code when receiving a distribution network instruction sent by the equipment end, and sending the random code and the effective duration to the equipment end. The client is used for sending the random code input by the user to the server after the user inputs the random code according to the random code displayed by the equipment terminal. And the server is also used for establishing the binding relationship between the equipment end and the client if the random code input by the user is received from the client within the effective duration and is matched with the generated random code. In the embodiment of the invention, the equipment end is adopted to send the distribution network instruction to the server through the Internet of things module to complete the binding of the equipment end and the client, compared with the prior art that the equipment end and the client are bound through the WIFI module, the problems that the equipment end needs to establish connection with a wireless router first and the connection of the router is possibly failed are solved, meanwhile, the problem that the equipment end needs to be reconnected and bound after the router is disconnected from the network is solved, and the technical problems that the binding step is complex, the failure rate is high, the time consumption is long and the user experience is poor in the prior art are solved.
In order to achieve the above object, a third embodiment of the present invention provides a washing machine, which serves as an equipment side and includes a control board, where the control board includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the method for binding equipment based on the internet of things as described in the first embodiment of the invention is implemented.
In order to achieve the above object, a fourth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for device binding based on the internet of things according to the first aspect.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of an apparatus binding method based on the internet of things according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another method for binding devices based on the internet of things according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of an interaction method for device binding based on the internet of things according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an internet of things-based device binding system according to an embodiment of the present invention; and
fig. 5 is a schematic structural diagram of another device binding system based on the internet of things according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The internet of things based device binding method, system and washing machine according to the embodiments of the present invention are described below with reference to the accompanying drawings.
The equipment end in this embodiment may specifically be a washing machine, and those skilled in the art can know that the equipment end may also be other internet of things equipment, and each internet of things equipment may be bound with the client by referring to the scheme provided in this embodiment.
In the following embodiments, an apparatus side is taken as an example of a washing machine, and a method for completing distribution network binding by the washing machine and a client based on the internet of things is explained.
Fig. 1 is a schematic flow chart of an apparatus binding method based on the internet of things according to an embodiment of the present invention.
As shown in fig. 1, the method comprises the steps of:
step S101, the equipment side sends a distribution network instruction to a server through the Internet of things, so that the server generates a random code corresponding to the equipment side and determines the effective duration of the random code.
Specifically, the device side is provided with a first distribution network key, when the device side detects that a user presses the first distribution network key, the device side reads a device identifier, and sends a distribution network instruction carrying the device identifier to the server through a narrow-band cellular internet of things NB-IoT connected with the internet of things module, wherein the device identifier comprises a unique identification code of the device and/or a unique identification code of an internet of things module arranged in the device side.
It should be noted that an internet of things module, such as NB-IoT, is built in the device end, and the module is registered on the internet of things before leaving a factory and connected with the internet of things, and the device end can send and receive information to the internet of things.
And then, after receiving the distribution network instruction carrying the equipment identifier, the server generates a random number and effective duration corresponding to the equipment terminal.
As a possible implementation manner, the server in this embodiment may include a plurality of servers, where the plurality of servers include a client server, a conversion server, and an internet of things server. As a possible implementation manner, the conversion server may employ an asymmetric encryption algorithm (RSA) to generate a non-repeating random code in a recursive manner, where the random code may be a random number with 3-10 bits, for example, 841, and the effective duration may be 5-20 minutes, which is not specifically limited in this embodiment.
Meanwhile, the conversion server sends the equipment identifier, the random code and the effective duration to the Internet of things server, and the Internet of things server caches the equipment identifier, the random code and the effective duration in the storage unit.
And S102, after the equipment end receives the random code and the effective duration, displaying the random code according to the effective duration, so that after a user inputs the random code according to the random code displayed by the equipment end, the client sends the random code input by the user to the server, the server determines that the random code input by the user is received in the effective duration, and after the random code input by the user is matched with the generated random code, the binding relationship between the equipment end and the client is established.
Specifically, after receiving the random code and the effective duration sent by the conversion server, the equipment end determines the display duration according to the effective duration, starts timing, and displays the random code on a display screen of the equipment end within the display duration. The display duration may be less than or equal to the effective duration, or may be greater than the effective duration, for example, the effective duration is 10 minutes, and the display duration is 5 minutes; or the effective time is 8 minutes, and the display time is 10 minutes. The display time length is not particularly limited in this embodiment.
The user can log in the application program APP at the client before or after pressing a first distribution network key of the equipment end, the client sends login information carrying the user identification to the client server, and the client server allows the client to log in the application program APP after the login information is verified. And clicking a distribution network button on the APP interface by a user, entering a distribution network interface, and waiting for a device end needing to be distributed with a distribution network to distribute the distribution network. After the equipment terminal displays the random code, a user inputs the random code on a distribution network interface of the client according to the random code displayed on a display screen of the equipment terminal, the client sends the obtained random code to the client server, and the client server sends the random code and the user identification input by the user to the server of the Internet of things within effective time after receiving the random code. After receiving the random code sent by the client server, the server of the internet of things compares the random code input by the user with the random code generated by the conversion server, and if the random code is consistent with the random code generated by the conversion server, a corresponding relationship between the client and the equipment end is established, specifically, the corresponding relationship between the client and the equipment end is established by establishing a corresponding relationship between a user identifier corresponding to the client and an equipment identifier corresponding to the equipment end and sending the equipment identifier to the client through the client server, so that the corresponding relationship between the client and the equipment end is established, and the binding of the client and the equipment end is completed.
After the client and the device end are bound, the corresponding relation between the user identification and the device identification is established, so that the corresponding device end can be operated and controlled through the APP application program of the client, for example, the device end is a washing machine, the washing program and the reservation time of the washing machine can be set on the APP, and the washing requirements of the user are met.
In the method for binding the device based on the internet of things, the device side sends a distribution network instruction to the server through the internet of things, so that the server generates a random code corresponding to the device side and effective duration of the random code, the device side receives the random code and the effective duration, the random code is displayed according to the effective duration, a user inputs the random code displayed by the device side, the client side sends the random code input by the user to the server, the server determines that the random code input by the user is received in the effective duration, and after the random code input by the user is matched with the generated random code, a binding relationship between the device side and the client side is established. In the embodiment of the invention, the device end and the client end are bound through the Internet of things, compared with the prior art that the device end and the client end are bound through the WIFI module, the method and the device for binding the wireless router avoid multiple steps that the device end needs to be connected with the wireless router first, and solve the technical problems that the binding step is complex, the failure rate is high, the time consumption is long, and the user experience is poor in the prior art. In addition, due to the adoption of the random code and the effective duration, the accuracy and the safety of the distribution network are enhanced, and the possibility of mistakenly distributing the network is greatly reduced.
On the basis of the foregoing embodiment, an embodiment of the present invention further provides a possible device binding method based on the internet of things, fig. 2 is a schematic flow chart of another device binding method based on the internet of things provided in the embodiment of the present invention, as shown in fig. 2, after step S102, the method may further include:
step S201, when the operation for resetting the binding relationship is detected, sending an instruction for resetting the binding relationship through the server, so that the binding relationship between the device side and the client side is released when the server receives the instruction for resetting the binding relationship.
Optionally, after the device end and the client are bound, when the device end detects that the first distribution network key is pressed again, the device end sends an instruction for resetting the binding relationship to the internet of things server through the conversion server, so that when the internet of things server receives the instruction for resetting the binding relationship, the device end sends an instruction for releasing the binding relationship to the client server, and the user identifier of the client and the device identifier of the device end are released from the binding relationship.
In the method for binding the device based on the internet of things, the device side sends a distribution network instruction to the server through the internet of things, so that the server generates a random code corresponding to the device side and effective duration of the random code, the device side receives the random code and the effective duration, the random code is displayed according to the effective duration, a user inputs the random code displayed by the device side, the client side sends the random code input by the user to the server, the server determines that the random code input by the user is received in the effective duration, and after the random code input by the user is matched with the generated random code, a binding relationship between the device side and the client side is established. In the embodiment of the invention, the device end is bound with the client through the Internet of things, so that compared with the prior art that the device end and the client are bound through the WIFI module, the problems that the device end needs to establish connection with a wireless router first and the connection of the router is likely to fail are solved, the problem that the device end needs to be connected and bound again after the router is disconnected is solved, and the technical problems that the binding step is complex, the failure rate is high, the time consumption is long and the user experience is poor in the prior art are solved. In addition, due to the adoption of the random code and the effective duration, the accuracy and the safety of the distribution network are enhanced, and the possibility of mistakenly distributing the network is greatly reduced.
For clearly illustrating the above embodiments, this embodiment provides an interaction schematic diagram of device binding based on the internet of things, fig. 3 is a flowchart of an interaction method for device binding based on the internet of things provided in the embodiment of the present invention, and as shown in fig. 3, the interaction method includes the following steps:
step S301, a user logs in a client APP.
Specifically, the client installs an application program APP of the distribution network, the user clicks the APP and inputs login information, and the login information includes a user identifier of the corresponding client.
Step S302, the client sends the login information to the client server.
Specifically, the client sends login information containing user identification input by a user to the client server, and the client server verifies the identity of the user, and the client server are allowed to establish communication connection after verification is passed.
And then, clicking a second distribution network key of the APP interface of the client by the user, entering a distribution network interface, displaying an interface of the user for inputting the random code, and waiting for the input of the user.
Step S303, the device reads the device identifier.
Specifically, a user clicks a first distribution network key of the device side, and when the device side detects that the first distribution network key is pressed down, the device identification is read, wherein the device identification contains a unique identification code of the device and/or a unique identification code of an internet of things module built in the device side.
And step S304, the equipment side sends a distribution network instruction to the conversion server.
Specifically, the equipment end generates a distribution network instruction carrying an equipment identifier, and sends the distribution network instruction to the conversion server through the Internet of things module.
Step S305, the conversion server sends the generated random code and the effective time length to the equipment end.
Specifically, after receiving the distribution network instruction, the conversion server generates a random code corresponding to the equipment end according to a preset algorithm, determines the effective duration, and sends the random code and the effective duration to the equipment end.
And step S306, the equipment terminal displays the random code in the display time length.
Specifically, after receiving the random code and the valid duration, the device determines the display duration according to the valid duration, and displays the random code on the display interface of the device within the time of the display duration.
And step S307, the conversion server sends the random code, the effective duration and the equipment identifier to the Internet of things server.
Step S308, the client acquires the random code.
Specifically, a user reads a random code within the display duration of the device side and inputs the random code into a distribution network interface of the client side, that is, the client side obtains the random code.
And step S309, the client sends the acquired random code to the Internet of things server.
Specifically, the client sends the obtained random code and the user identifier corresponding to the client to the internet of things server through the client server.
And step S310, the Internet of things server matches the received random code.
Specifically, the internet of things server judges whether the random code is received within the effective duration, and if so, the random code sent by the client is matched with the random code of the corresponding equipment terminal sent by the conversion server.
Step S311, the internet of things server sends the device identifier to the client.
Specifically, if the random code sent by the client is matched with the random code of the corresponding device sent by the conversion server, the internet of things server establishes a corresponding relationship between the device identifier of the corresponding device and the user identifier of the corresponding client, and sends the device identifier to the client, thereby establishing a binding relationship between the client and the device.
In the device binding interaction method based on the internet of things, the device end completes the binding of the device end and the client through the internet of things, and compared with the prior art in which the device end and the client are bound through the WIFI module, the method avoids multiple steps that the device end needs to establish connection with a wireless router first, and the problem of possible router connection failure, and meanwhile, the method avoids the problem that the device end needs to be reconnected and bound after the router is disconnected from the network, and solves the technical problems that the binding steps are complex, the failure rate is high, the time consumption is long, and the user experience is poor in the prior art. In addition, due to the adoption of the random code and the effective duration, the accuracy and the safety of the distribution network are enhanced, and the possibility of mistakenly distributing the network is greatly reduced.
In order to implement the embodiment, the invention further provides an equipment binding system based on the internet of things.
Fig. 4 is a schematic structural diagram of an internet of things-based device binding system according to an embodiment of the present invention.
As shown in fig. 4, the system includes: client 41, device side 42, and server 43.
The server 43 is configured to generate a random code corresponding to the device end 42 and determine an effective duration of the random code when receiving the distribution network instruction sent by the device end 42, and send the random code and the effective duration to the device end 42.
And the device end 42 is configured to send a distribution network instruction to the server 43 through the internet of things, receive the random code and the valid duration, and display the random code according to the valid duration.
The client 41 is configured to send the random code input by the user to the server 43 after the user inputs the random code according to the random code displayed by the device 42.
The server 43 is further configured to establish a binding relationship between the device side 42 and the client 41 if the random code input by the user is received from the client 41 within the valid duration and the random code input by the user is matched with the generated random code.
As a possible implementation manner, the device end 42 is provided with a first distribution network key, and the device end 42 is specifically configured to:
when the operation of triggering the first distribution network key is detected, reading an equipment identifier, wherein the equipment identifier comprises a unique identification code of the equipment and/or a unique identification code of an internet of things module built in an equipment end, and sending a distribution network instruction to a server through a narrow-band cellular internet of things NB-IoT connected with the internet of things module, wherein the distribution network instruction carries the equipment identifier.
After the device end 42 receives the random code and the valid duration, the random code is displayed according to the valid duration, and as a possible implementation manner, the device end 42 is specifically configured to: and determining the display duration according to the effective duration, starting timing from the moment when the random code and the effective duration are received, displaying the random code, and stopping displaying the random code when the timing reaches the display duration.
As a possible implementation manner, the client 41 is provided with a second distribution network key, and the client 41 is specifically configured to: and logging in the server 43 according to the login information input by the user, displaying an interface for inputting the random code by the user when the triggering of the second distribution network key is detected, and sending the random code input by the user to the server 43.
It should be noted that the foregoing explanation of the method embodiment is also applicable to the system of this embodiment, and is not repeated here.
In the device binding system based on the internet of things, the device side is configured to send a distribution network instruction to the server through the internet of things, receive the random code and the valid duration, and display the random code according to the valid duration. The server is used for generating a random code corresponding to the equipment end and determining the effective duration of the random code when receiving a distribution network instruction sent by the equipment end, and sending the random code and the effective duration to the equipment end. The client is used for sending the random code input by the user to the server after the user inputs the random code according to the random code displayed by the equipment terminal. And the server is also used for establishing the binding relationship between the equipment end and the client if the random code input by the user is received from the client within the effective duration and is matched with the generated random code. In the embodiment of the invention, the device end is bound with the client through the Internet of things, so that compared with the prior art that the device end and the client are bound through the WIFI module, the problems that the device end needs to establish connection with a wireless router first and the connection of the router is likely to fail are solved, the problem that the device end needs to be connected and bound again after the router is disconnected is solved, and the technical problems that the binding step is complex, the failure rate is high, the time consumption is long and the user experience is poor in the prior art are solved. In addition, due to the adoption of the random code and the effective duration, the accuracy and the safety of the distribution network are enhanced, and the possibility of mistakenly distributing the network is greatly reduced.
Based on the foregoing embodiment, the present invention further provides a possible device binding system based on the internet of things, and fig. 5 is a schematic structural diagram of another device binding system based on the internet of things provided in the embodiment of the present invention, as shown in fig. 5, there are a plurality of servers 43, and the servers 43 may further include: a client server 431, a conversion server 432 and an internet of things server 433.
The conversion server 432 is in communication with the device end 42, and is configured to receive, through the internet of things, a distribution network instruction sent by the device end 42, generate a random code corresponding to the device end 42 by using a preset algorithm, determine effective duration of the random code, and send the generated random code, the effective duration of the random code, and a device identifier carried by the distribution network instruction to the internet of things server 433, where the random code generated by the conversion server 432 is 3 to 10 bits.
And the client server 431 is communicated with the client and is used for acquiring login information, allowing the client to log in when the login information passes the verification, receiving the random code input by the user, and sending the random code input by the user and the user identifier in the login information to the internet of things server 433.
And the internet-of-things server 433 is in communication with the conversion server 432 and the client server 431, and is configured to start timing from the reception of the random code generated by the conversion server 432 and the effective duration of the random code, establish a correspondence between the user identifier and the device identifier if the random code input by the user is received within the effective duration and the random code input by the user is matched with the random code generated by the conversion server 432, and send the device identifier to the client 41 through the client server 431.
As a possible implementation, the client 41 may further be configured to:
when detecting that the user performs the operation of unbinding, sending the device identification of the required unbinding device to the internet of things server 433 through the client server 431.
The device side 42 may be further configured to send, through the conversion server 432, an instruction for resetting the binding relationship to the internet of things server 433 when an operation for resetting the binding relationship is detected.
The internet of things server 433 is further configured to:
when receiving an instruction to reset the binding relationship, the correspondence between the user identifier of the client 41 and the device identifier of the device to be unbound is released.
It should be noted that the foregoing explanation of the method embodiment is also applicable to the system of this embodiment, and is not repeated here.
In the device binding system based on the internet of things, the device side is configured to send a distribution network instruction to the server through the internet of things, receive the random code and the valid duration, and display the random code according to the valid duration. The server is used for generating a random code corresponding to the equipment end and determining the effective duration of the random code when receiving a distribution network instruction sent by the equipment end, and sending the random code and the effective duration to the equipment end. The client is used for sending the random code input by the user to the server after the user inputs the random code according to the random code displayed by the equipment terminal. And the server is also used for establishing the binding relationship between the equipment end and the client if the random code input by the user is received from the client within the effective duration and is matched with the generated random code. In the embodiment of the invention, the device end is bound with the client through the Internet of things, so that compared with the prior art that the device end and the client are bound through the WIFI module, the problems that the device end needs to establish connection with a wireless router first and the connection of the router is likely to fail are solved, the problem that the device end needs to be connected and bound again after the router is disconnected is solved, and the technical problems that the binding step is complex, the failure rate is high, the time consumption is long and the user experience is poor in the prior art are solved. In addition, due to the adoption of the random code and the effective duration, the accuracy and the safety of the distribution network are enhanced, and the possibility of mistakenly distributing the network is greatly reduced.
In order to implement the foregoing embodiment, an embodiment of the present invention further provides a washing machine, where the washing machine serves as an equipment end, and includes a control board, where the control board includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the program, the method for binding equipment based on the internet of things described in the foregoing method embodiment is implemented.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (13)

1. An equipment binding method based on the Internet of things is characterized by comprising the following steps:
the method comprises the steps that a device side sends a distribution network instruction to a server through a narrow-band internet of things (NB-IoT) based on honeycomb so that the server generates a random code corresponding to the device side and determines the effective duration of the random code;
after the equipment end receives the random code and the effective duration, the random code is displayed according to the effective duration, so that a user inputs the random code displayed by the equipment end, the client sends the random code input by the user to the server, the server determines that the random code input by the user is received in the effective duration, and after the random code input by the user is matched with the generated random code, a binding relationship between the equipment end and the client is established.
2. The internet of things-based device binding method according to claim 1, wherein after receiving the random code and the valid duration, the device displays the random code according to the valid duration, including:
the equipment end determines the display duration according to the effective duration;
the equipment end starts timing from the moment when the random code and the effective duration are received, and displays the random code;
and when the timing reaches the display duration, the equipment end stops displaying the random code.
3. The device binding method based on the internet of things according to claim 1 or 2, wherein the device end is provided with a first distribution network key, and the device end sends a distribution network instruction to the server through the internet of things, including:
when the operation of triggering the first distribution network key is detected, the equipment end reads an equipment identifier; the equipment identification comprises a unique identification code of the equipment and/or a unique identification code of an internet of things module built in the equipment end;
the equipment side sends the distribution network instruction to the server through a narrow-band cellular internet of things (NB-IoT) connected with the internet of things module; and the distribution network instruction carries the equipment identifier.
4. The internet of things-based device binding method according to claim 1 or 2, wherein the method further comprises:
when the operation for resetting the binding relationship is detected, sending an instruction for resetting the binding relationship to the server, so that the binding relationship between the equipment side and the client side is released when the server receives the instruction for resetting the binding relationship; and the random code corresponding to the equipment end and the corresponding effective duration are regenerated.
5. An internet of things-based device binding system, comprising: a client, a device and a server;
the server is used for generating a random code corresponding to the equipment end and determining the effective duration of the random code when a distribution network instruction sent by the equipment end is received; sending the random code and the effective duration to the equipment end;
the equipment end is used for sending the distribution network instruction to the server through a cellular-based narrowband internet of things (NB-IoT); receiving the random code and the effective duration sent by the server, and displaying the random code according to the effective duration;
the client is used for sending the random code input by the user to the server after the user inputs the random code according to the random code displayed by the equipment terminal;
the server is further configured to establish a binding relationship between the device side and the client side if the random code input by the user is received from the client side within the effective duration and the random code input by the user is matched with the generated random code.
6. The internet of things-based device binding system of claim 5, wherein the device side is specifically configured to:
determining a display time length according to the effective time length; starting timing from the moment when the random code and the effective duration are received, and displaying the random code; and when the timing reaches the display duration, stopping displaying the random code.
7. The internet of things-based device binding system according to claim 5, wherein the device end is provided with a first distribution network key, and the device end is specifically configured to:
reading an equipment identifier when the operation of triggering the first distribution network key is detected; the equipment identification comprises a unique identification code of the equipment and/or a unique identification code of an internet of things module built in the equipment end; sending the distribution network instruction to the server through a narrow-band cellular internet of things (NB-IoT) connected with the internet of things module; and the distribution network instruction carries the equipment identifier.
8. The internet of things-based device binding system of claim 5, wherein the client is provided with a second network distribution key, and the client is specifically configured to:
logging in the server according to login information input by a user; when the second distribution network key is detected to be triggered, displaying an interface for inputting a random code by a user; and sending the random code input by the user to the server.
9. The internet of things based device binding system of any one of claims 5-8, wherein the number of servers is multiple, and the multiple servers include a client server, a conversion server and an internet of things server;
the conversion server is communicated with the equipment end and used for receiving a distribution network instruction sent by the equipment end through the Internet of things; generating a random code corresponding to the equipment terminal by adopting a preset algorithm, and determining the effective duration of the random code; sending the generated random code, the effective duration of the random code and the equipment identifier carried by the distribution network instruction to the Internet of things server; wherein, the random code generated by the conversion server is 3 to 10 bits;
the client server is communicated with the client and used for acquiring login information and allowing the client to log in when the login information passes the verification; receiving the random code input by the user, and sending the random code input by the user and the user identifier in the login information to the Internet of things server;
the Internet of things server is communicated with the conversion server and the client server and is used for starting timing from the random code generated by the conversion server and the effective time length of the random code, if the random code input by a user is received in the effective time length and is matched with the random code generated by the conversion server, establishing the corresponding relation between the user identification and the equipment identification, and sending the equipment identification to the client through the client server.
10. The internet of things-based device binding system of claim 9, wherein the client is further configured to:
when detecting that a user executes an operation of unbinding, sending a device identifier of a device to be unbound to the Internet of things server through the client server;
the internet of things server is further used for:
and releasing the corresponding relation between the user identifier of the client and the device identifier of the device needing to be unbound.
11. The internet of things-based device binding system of claim 9, wherein the device side is further configured to:
when the operation for resetting the binding relationship is detected, sending an instruction for resetting the binding relationship to the Internet of things server through the conversion server;
the internet of things server is further used for:
and when the command for resetting the binding relationship is received, releasing the corresponding relationship between the device end corresponding device identification and the user identification.
12. A washing machine, characterized in that the washing machine, as an equipment end, comprises a control panel, the control panel comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, and when the processor executes the program, the Internet of things-based equipment binding method as claimed in any one of claims 1 to 4 is implemented.
13. A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the internet of things-based device binding method of any one of claims 1 to 4.
CN201710882507.8A 2017-09-26 2017-09-26 Equipment binding method and system based on Internet of things and washing machine Active CN107800687B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710882507.8A CN107800687B (en) 2017-09-26 2017-09-26 Equipment binding method and system based on Internet of things and washing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710882507.8A CN107800687B (en) 2017-09-26 2017-09-26 Equipment binding method and system based on Internet of things and washing machine

Publications (2)

Publication Number Publication Date
CN107800687A CN107800687A (en) 2018-03-13
CN107800687B true CN107800687B (en) 2020-04-14

Family

ID=61531579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710882507.8A Active CN107800687B (en) 2017-09-26 2017-09-26 Equipment binding method and system based on Internet of things and washing machine

Country Status (1)

Country Link
CN (1) CN107800687B (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108667950B (en) * 2018-03-23 2021-12-21 海信集团有限公司 Method and device for obtaining device identification
CN109246217A (en) * 2018-09-12 2019-01-18 厦门优胜卫厨科技有限公司 A kind of matching method of intelligent bathtub equipment, pair system and intelligent bathtub equipment
CN110912946A (en) * 2018-09-13 2020-03-24 青岛海尔洗衣机有限公司 Control method of washing system
CN109151774A (en) * 2018-09-16 2019-01-04 安徽三实软件科技有限公司 A kind of Internet of Things means of communication based on NB-IoT technology
CN109246604B (en) * 2018-09-30 2020-07-03 美的集团股份有限公司 Intelligent device safety binding method, server, intelligent device and user side device
CN109587113A (en) * 2018-10-30 2019-04-05 歌尔科技有限公司 A kind of equipment correlating method, equipment and storage medium
CN109660432B (en) * 2018-10-31 2021-12-21 无锡小天鹅电器有限公司 Household appliance and control system and binding method thereof
CN109361703B (en) * 2018-12-12 2020-06-12 百度在线网络技术(北京)有限公司 Voice equipment binding method, device, equipment and computer readable medium
CN110191033A (en) * 2019-05-24 2019-08-30 广东美的制冷设备有限公司 Method and apparatus for household appliance and client binding
CN110166332A (en) * 2019-05-24 2019-08-23 广东美的制冷设备有限公司 Method and apparatus for household appliance and client binding
CN112312386A (en) * 2019-07-15 2021-02-02 广东美的制冷设备有限公司 Equipment binding method and device and electronic equipment
CN112443868B (en) * 2019-08-29 2022-03-18 宁波方太厨具有限公司 Indoor range hood remote control terminal binding method in centralized smoke exhaust system of building
CN110677248B (en) * 2019-10-30 2022-09-30 宁波奥克斯电气股份有限公司 Safe binding method and system based on narrowband Internet of things
CN110798531B (en) * 2019-11-07 2022-07-01 芜湖美的厨卫电器制造有限公司 Control method, control device, server, water drinking equipment and control system
CN110912761B (en) * 2019-12-31 2021-05-14 美的集团股份有限公司 Binding method and false allocation prevention method for automatic distribution network of equipment and cloud server
CN113761501A (en) * 2020-06-03 2021-12-07 上海惠芽信息技术有限公司 Activation method, electronic device, and computer storage medium
CN113365225A (en) * 2021-06-03 2021-09-07 青岛海尔科技有限公司 Method and device for receiving building connection result, storage medium and electronic device
CN114095221A (en) * 2021-11-11 2022-02-25 合肥移瑞通信技术有限公司 Security verification method, device, equipment and storage medium
CN114389932B (en) * 2021-12-16 2024-04-05 杭州华橙软件技术有限公司 Intelligent device binding method and device, computer device and storage medium
CN114339839A (en) * 2022-01-05 2022-04-12 深圳华芯信息技术股份有限公司 Equipment 3G or 4G network configuration method, system, equipment end and APP end

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102307350B (en) * 2011-09-14 2016-02-03 深圳Tcl新技术有限公司 The association authentication method of mobile terminal and television set, television set and system
CN106571974B (en) * 2016-10-09 2020-12-04 美的智慧家居科技有限公司 Network distribution method and system of household appliance, household appliance and mobile terminal
CN106707854A (en) * 2016-12-09 2017-05-24 东莞桐石网络科技有限公司 Air conditioner system based on NB-IOT (Narrow Band Internet of Things) remote control
CN107193239A (en) * 2017-07-11 2017-09-22 国网福建省电力有限公司 Ground line signals monitoring method based on Internet of Things NBIOT technologies

Also Published As

Publication number Publication date
CN107800687A (en) 2018-03-13

Similar Documents

Publication Publication Date Title
CN107800687B (en) Equipment binding method and system based on Internet of things and washing machine
JP7216659B2 (en) smart broadcast device
CN109495358B (en) Network distribution method and network distribution system for household appliances
US9258380B2 (en) Cross-platform multimedia interaction system with multiple displays and dynamically-configured hierarchical servers and related method, electronic device and computer program product
KR20190126005A (en) Smart broadcasting method and device
CN110177362B (en) Equipment binding method and device and electronic equipment
CN102571996B (en) IP (Internet Protocol) address assignment method, IP address assignment device and network system
CN110365704B (en) Equipment binding method and device and electronic equipment
CN109246604A (en) Smart machine secure binding method, server, smart machine and ustomer premises access equipment
CN107148018B (en) Wireless network configuration method, device and system
CN104518910B (en) Apparatus for configuring Ethernet device and method for configuring Ethernet device
JP2018534704A (en) Method of using apparatus based on two-dimensional code and washing machine
CN111614523A (en) Control method of household appliance, intelligent terminal and household appliance
CN105471678A (en) Method and system for detecting networking failure reason of household appliance and mobile terminal
CN104077123A (en) Interface display method, device, terminal and server
CN113765714A (en) Equipment network distribution method and device, storage medium and electronic equipment
CN113207144A (en) Wireless network detection method and device for screen projection equipment, medium and screen projection equipment
CN104580380A (en) Synchronization method and system for logging status
CN113965904B (en) Device registration method, device and storage medium
CN110853323A (en) Upgrading method and device for remote control equipment
CN110381057A (en) Processing method, device, storage medium, processor and the system of communication connection
CN103812841A (en) Bypass authentication method, device and system
CN110072235B (en) Networking method and device for intelligent equipment, electronic device and storage medium
CN109740306B (en) Method and device for authorizing application software based on mixed scheme
CN113596030A (en) Equipment network distribution method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190802

Address after: 214028 No. 18 Changjiang South Road, Wuxi National High-tech Development Zone, Jiangsu Province

Applicant after: Wuxi Swan Electrical Appliances Co., Ltd.

Address before: 214028 Wuxi Changjiang Road, New District, Jiangsu, No. 18

Applicant before: Wuxi Xiaotianer Co., Ltd.

GR01 Patent grant
GR01 Patent grant