CN111049797B - Network distribution method for intelligent household equipment, data transmission method, equipment and storage medium - Google Patents

Network distribution method for intelligent household equipment, data transmission method, equipment and storage medium Download PDF

Info

Publication number
CN111049797B
CN111049797B CN201911047220.9A CN201911047220A CN111049797B CN 111049797 B CN111049797 B CN 111049797B CN 201911047220 A CN201911047220 A CN 201911047220A CN 111049797 B CN111049797 B CN 111049797B
Authority
CN
China
Prior art keywords
equipment
mobile terminal
data packet
private key
intelligent household
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
CN201911047220.9A
Other languages
Chinese (zh)
Other versions
CN111049797A (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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201911047220.9A priority Critical patent/CN111049797B/en
Publication of CN111049797A publication Critical patent/CN111049797A/en
Application granted granted Critical
Publication of CN111049797B publication Critical patent/CN111049797B/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/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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN

Abstract

The application relates to a method, equipment and a storage medium for distributing a network for intelligent household equipment and transmitting data, wherein the method comprises the following steps: transmitting the generated random number to the intelligent household equipment; receiving a data packet returned by the intelligent home equipment, wherein the data packet comprises the physical parameters of the intelligent home equipment and an equipment private key encrypted by the random number; decrypting the data packet by adopting the random number to obtain the physical parameter and the equipment private key; storing the private key of the equipment, sending the physical parameter to a server, and verifying whether the physical parameter is legal or not by the server; receiving a verification result returned by the server; and according to the verification result, the intelligent household equipment is provided with a distribution network. The application is used for solving the following problems: the problem that product data are stolen due to unsafe distribution process possibly existing when the intelligent household equipment is distributed with a network and the problem of illegal equipment connection possibly existing when the intelligent household equipment is distributed with a network.

Description

Network distribution method for intelligent household equipment, data transmission method, equipment and storage medium
Technical Field
The application relates to the field of smart home, in particular to a method, equipment and a storage medium for distributing a network and transmitting data for smart home equipment.
Background
With the development of information technology, human beings have entered the big data era, and data security is becoming a topic of more and more concern. In the field of smart home, data of smart products relate to privacy and security of users. If the smart home field does not have a reliable data encryption mechanism, the privacy of the user can be easily detected by lawbreakers, and even more importantly, the intelligent product of the user is controlled by an illegal means, the data of the user is read, and the privacy of the user is spread.
Disclosure of Invention
The application provides a network distribution method for intelligent household equipment, a data transmission method, equipment and a storage medium, which are used for solving the problems that product data are stolen due to unsafe network distribution process possibly existing when the intelligent household equipment is used for the network distribution, and illegal equipment connection possibly existing when the intelligent household equipment is used for the network distribution.
In a first aspect, the application provides a method for distributing a network for smart home devices, which is applied to a mobile terminal, and the method includes:
transmitting the generated random number to the intelligent household equipment;
receiving a data packet returned by the intelligent home equipment, wherein the data packet comprises the physical parameters of the intelligent home equipment and an equipment private key encrypted by the random number;
decrypting the data packet by adopting the random number to obtain the physical parameter and the equipment private key;
storing the private key of the equipment, sending the physical parameter to a server, and verifying whether the physical parameter is legal or not by the server;
receiving a verification result returned by the server;
and according to the verification result, the intelligent household equipment is provided with a distribution network.
Optionally, transmitting the generated random number to the smart home device includes: and the generated random number is transmitted to the intelligent household equipment in a direct connection mode.
Optionally, the distribution network for the smart home device according to the verification result includes:
if the verification result is determined to be legal, configuring network parameters for the intelligent household equipment;
and if the verification result is determined to be illegal, determining that the distribution network fails.
In a second aspect, the present application provides a method for transmitting parameters of smart home devices, where the method is applied to the smart home devices, and the method includes:
acquiring a random number transmitted by a mobile terminal;
encrypting a data packet by adopting a random number, wherein the data packet comprises physical parameters of the intelligent household equipment and an equipment private key;
and transmitting the encrypted data packet to the mobile terminal, and decrypting the data packet by the mobile terminal by adopting the random number to obtain the physical parameter and the equipment private key.
Optionally, the obtaining a random number transmitted by the mobile terminal includes: and acquiring the random number transmitted by the mobile terminal by adopting a direct connection mode.
In a third aspect, the present application provides a data transmission method, including:
the mobile terminal receives a data packet sent by the intelligent household equipment;
the mobile terminal decrypts the data packet by adopting a pre-stored equipment private key of the intelligent household equipment to obtain decrypted data;
or
The mobile terminal encrypts a data packet needing to be sent to the intelligent household equipment by adopting a pre-stored equipment private key of the intelligent household equipment to obtain encrypted data;
the mobile terminal sends the encrypted data to the intelligent household equipment;
or
The method comprises the steps that the intelligent home equipment receives a data packet sent by the mobile terminal;
the intelligent home equipment decrypts the data packet by adopting an equipment private key of the intelligent home equipment to obtain decrypted data;
or
The intelligent home equipment encrypts a data packet to be sent to the mobile terminal by adopting an equipment private key of the intelligent home equipment to obtain encrypted data;
the intelligent home equipment sends the encrypted data to the mobile terminal;
wherein the device private key is: and after the intelligent home equipment sends the data packet obtained by encrypting the physical parameters of the intelligent home equipment and the equipment private key by using the random number to the mobile terminal, the mobile terminal decrypts the data packet by using the random number to obtain the data packet.
In a fourth aspect, the present application provides a mobile terminal, comprising: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus; the memory for storing a computer program; the processor is configured to execute the program stored in the memory, and implement the method for distributing a network for smart home devices in the first aspect, or the data transmission method in the third aspect.
In a fifth aspect, the present application provides an intelligent home device, including: the system comprises a processor, a communication component, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor is configured to execute the program stored in the memory, and implement the transmission method of the smart home device parameter according to the second aspect, or the data transmission method according to the third aspect.
In a sixth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the method for distributing a network for smart homes according to the first aspect is implemented.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method provided by the embodiment of the application, the legality of the equipment parameter verification is verified to the server, so that the mobile terminal and the intelligent household equipment are correspondingly connected, namely, the connection is configured correctly or fails, and the problem of illegal equipment connection is solved. In the process of distribution network, a method of encrypting the device parameters and the device private key by using the random number is adopted, wherein the random number is unique and can not be simulated, so that the data can not be used for other operations even if being illegally monitored in the process of distribution network, the data safety is ensured, and the potential safety hazard of products is avoided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a method for a mobile terminal to distribute a network for smart home devices in an embodiment of the present application;
fig. 2 is a schematic flow chart of a transmission method of parameters of smart home devices in an embodiment of the present application;
fig. 3 is a schematic flowchart of a data transmission method in an embodiment of the present application;
fig. 4 is a schematic flowchart of another data transmission method in the embodiment of the present application;
fig. 5 is a schematic structural diagram of smart home devices in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The first embodiment of the application provides a method for distributing a network for an intelligent home, which is applied to a mobile terminal. The mobile terminal and the intelligent household equipment establish communication connection.
As shown in fig. 1, when an intelligent home device starts to be used, a user needs to distribute a network to the intelligent home device through a mobile terminal, wherein the mobile terminal distributes the network to the intelligent home device according to the following steps:
and step 101, transmitting the generated random number to the intelligent household equipment.
The mobile terminal generates a random number, and encrypts and sends the random number to the intelligent device by using a public key.
The transmission mode of transmitting the random number to the intelligent household equipment is various, for example, transmission through Bluetooth, transmission through wifi, transmission through a peripheral U disk and the like.
In a specific embodiment, the mobile terminal is directly connected with the smart home device, that is, connected in a wired manner. The mobile terminal transmits the random number to the intelligent household equipment in the direct connection mode. The random number is transmitted in a direct connection mode instead of a broadcasting mode, the random number is guaranteed to be received by only one intelligent household device, data can be safely reached, or a network distribution failure is achieved, and the effect of stopping data leakage is achieved.
And the random number sent by the mobile terminal is unique and non-simulative, so that the random number cannot be used for other operations after being monitored and stolen by other people in the network distribution process, the data safety is ensured, and the potential safety hazard of products is avoided. Meanwhile, the random number is disposable, if the distribution network fails, a user generates a new random number when the distribution network is performed again, and the random number generated last time is invalid.
For example, when a user distributes a network to an intelligent air conditioner, the user generates a random number by using the mobile terminal and sends the random number to the air conditioner, but the network distribution is not successful finally, the user initiates the network distribution again, the mobile terminal generates a new random number again, and the previous random number is invalidated and cannot be used again.
And 102, receiving a data packet returned by the intelligent household equipment, wherein the data packet comprises the physical parameters of the intelligent household equipment and an equipment private key encrypted by a random number.
In a specific embodiment, the physical parameter of the smart home device may be a parameter that uniquely identifies the smart home device, such as a physical (Mac) address and an Internet Protocol (IP) address of the smart home device.
And 103, decrypting the data packet by adopting the random number to obtain the physical parameters and the equipment private key.
In a specific embodiment, the mobile terminal decrypts a data packet returned by the smart home device by using a random number, where the data packet includes a physical parameter of the smart home device and a device private key. The random number is generated by the mobile terminal, is unique and can not be simulated, and the transmission security of the private key of the equipment is ensured by adopting random number encryption, so that the private key of the equipment is in a secure state. Even if the smart home device is monitored by a lawbreaker in the using process, the lawbreaker cannot decrypt the data packet, cannot obtain the device private key, and cannot monitor any data of the smart home device.
And step 104, storing the private key of the equipment, sending the physical parameters to the server, and verifying whether the physical parameters are legal by the server.
In a specific embodiment, after decrypting the data packet returned by the smart home device, the mobile terminal stores the device private key, sends the physical parameter, for example, the Mac address of the smart home device, to the server, and the server verifies whether the physical parameter is legal.
And step 105, receiving the verification result returned by the server.
In a specific embodiment, the server returns the verification result to the mobile terminal by inquiring whether the acquired physical parameters of the smart home device are legal. For example, if the physical parameter is legal, return 1; otherwise 0 is returned.
And step 106, distributing the network for the intelligent household equipment according to the verification result.
In a specific embodiment, the mobile terminal determines whether to perform network distribution according to a result returned by the server. If the result is legal, the network distribution is successful, and the subsequent data interaction between the mobile terminal and the intelligent household equipment is encrypted by adopting an equipment private key; otherwise, the distribution network fails, and the user is prompted to prompt the user for specific error information or contact the official after-sale. The specific error information may be: no your network is detected, device parameters are incorrect, etc. In addition, after the distribution network fails, the mobile terminal deletes the stored equipment private key, so that the equipment private key is prevented from being leaked, and the data security is further ensured.
The second embodiment of the application also provides a transmission method of the intelligent household equipment parameters, and the method is applied to the intelligent household equipment. As shown in fig. 2, the transmission method of the smart home device parameters is as follows:
step 201, acquiring a random number transmitted by the mobile terminal.
In a specific embodiment, the smart home devices acquire the random number transmitted by the mobile terminal in a direct connection manner, so that the random number can only be acquired by the smart home devices, and the data security is ensured.
Step 202, encrypting a data packet containing physical parameters of the smart home device and a device private key by using a random number.
In a specific embodiment, the smart home device encrypts the physical parameters of the smart home device, such as the Mac address, and the device private key of the smart home device using the random number transmitted by the mobile terminal as a password to form a new data packet.
And 203, transmitting the encrypted data packet to the mobile terminal, and decrypting the data packet by the mobile terminal by adopting a random number to obtain the physical parameters and the equipment private key.
In a specific embodiment, the smart home device transmits the new data packet back to the mobile terminal, the random number is used as a password for transmission, the security of the data is guaranteed, and the device private key is transmitted safely.
Through the first embodiment and the second embodiment, the validity of the equipment parameter verification is verified by the server, so that the mobile terminal and the intelligent household equipment are correspondingly connected, namely, the connection is configured correctly or fails, and the problem of illegal equipment connection is solved. In the process of distribution network, a method of encrypting the device parameters and the device private key by using the random number is adopted, wherein the random number is unique and can not be simulated, so that the data can not be used for other operations even if being illegally monitored in the process of distribution network, the data safety is ensured, and the potential safety hazard of products is avoided.
In addition, in the process of distribution network, the random number is transmitted by adopting a direct connection mode instead of a broadcast mode, so that the random number can be only received by one wireless communication module, and the data transmission is safer.
The third embodiment of the present application further provides a data transmission method, which is applied to the first device. As shown in fig. 3, the data transmission process is as follows:
step 301, receiving a data packet sent by the second device.
In a specific embodiment, when the first device is a mobile terminal and the second device is an intelligent home device, the mobile terminal receives an encrypted data packet sent by the intelligent device. For example, the mobile terminal receives a data packet which is sent by the intelligent air conditioner and the current temperature of which is already the lowest limit temperature.
In a specific embodiment, when the first device is an intelligent home device and the second device is a mobile terminal, the intelligent home device receives an encrypted data packet sent by the intelligent device. For example, the intelligent air conditioner receives a data packet sent by the mobile terminal and used for turning on the air conditioner.
And 302, decrypting the data packet by using a pre-stored device private key of the intelligent household device to obtain decrypted data.
Wherein, the private key of the device is: the intelligent home equipment encrypts the physical parameters of the intelligent home equipment and the data packet of the equipment private key by using the random number, and sends the data packet to the mobile terminal, and the mobile terminal decrypts the data packet by using the random number to obtain the data packet.
In a specific embodiment, when the first device is a mobile terminal and the second device is an intelligent home device, the intelligent home device and the intelligent home device to which the device private key belongs are the same device. The mobile terminal decrypts the data packet sent by the intelligent home equipment by adopting a pre-stored equipment private key, and obtains the data transmitted by the intelligent home equipment. For example, the mobile terminal receives an encrypted data packet sent by the intelligent air conditioner, and decrypts to obtain the instruction that the current temperature is the lowest limit temperature.
In a specific embodiment, when the first device is an intelligent home device and the second device is a mobile terminal, the intelligent home device and the intelligent home device to which the device private key belongs are the same device. The intelligent home equipment decrypts the data packet sent by the mobile terminal by adopting a pre-stored equipment private key, and obtains the data transmitted by the mobile terminal. For example, the smart home device receives an encrypted data packet sent by the mobile terminal, and decrypts the encrypted data packet to obtain a temperature-lowering instruction.
In a fourth embodiment of the present application, a data transmission method is further provided, where the method is applied to a first device. As shown in fig. 4, the data transmission process is as follows:
step 401, encrypting a data packet to be sent to the second device by using a pre-stored device private key of the smart home device, to obtain encrypted data.
In a specific embodiment, when the first device is a mobile terminal and the second device is an intelligent home device, the intelligent home device and the intelligent home device to which the device private key belongs are the same device. The mobile terminal sends data to the intelligent household equipment, and the sent data are encrypted by an equipment private key. For example, when the mobile terminal sends an instruction for opening the air conditioner to the intelligent air conditioner, the instruction is encrypted by using the equipment private key.
In a specific embodiment, when the first device is an intelligent home device and the second device is a mobile terminal, the intelligent home device and the intelligent home device to which the device private key belongs are the same device. When the intelligent home equipment sends data to the mobile terminal, the data to be sent is encrypted by adopting an equipment private key. For example, when the intelligent air conditioner sends data of which the current temperature is the lowest limit temperature to the mobile terminal, the data is encrypted by using a device private key.
Step 402, sending the encrypted data to the second device;
wherein, the private key of the device is: the intelligent home equipment encrypts the physical parameters of the intelligent home equipment and the data packet of the equipment private key by using the random number, and sends the data packet to the mobile terminal, and the data packet is decrypted by the mobile terminal by using the random number to obtain the data packet.
In a specific embodiment, when the first device is a mobile terminal and the second device is an intelligent home device, the mobile terminal sends data encrypted by a device private key to the intelligent home device.
In a specific embodiment, when the first device is an intelligent home device and the second device is a mobile terminal, the intelligent home device sends data encrypted by a device private key to the mobile terminal.
In the third embodiment and the fourth embodiment, the private key of the device is used for encryption transmission, so that the password is not easy to be broken by illegal molecules, the data security is ensured, and the product security is also ensured.
Based on the same concept, the embodiment of the present application further provides an electronic device, where the electronic device may be the mobile terminal or the smart home device mentioned in the first to fourth method embodiments. As shown in fig. 4, the electronic device mainly includes: a processor 501, a communication interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communication interface 502 and the memory 503 are communicated with each other through the communication bus 504. The memory 503 stores therein a program executable by the processor 501, and the processor 501 executes the program stored in the memory 503 to implement any one of the first to fourth method embodiments.
The communication bus 504 mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 504 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
The communication interface 502 is used for communication between the above-described electronic apparatus and other apparatuses.
The Memory 503 may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the aforementioned processor 501.
The Processor 501 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc., and may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components.
In yet another embodiment of the present application, there is also provided a computer-readable storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute any one of the above first to fourth method embodiments described in the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes, etc.), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for distributing a network for intelligent household equipment is applied to a mobile terminal, and comprises the following steps:
transmitting the generated random number to the intelligent household equipment;
receiving a data packet returned by the intelligent home equipment, wherein the data packet comprises physical parameters of the intelligent home equipment and an equipment private key encrypted by the random number, and the equipment private key is used for encrypting data interacted between the mobile terminal and the intelligent home equipment after the intelligent home equipment is successfully distributed;
decrypting the data packet by adopting the random number to obtain the physical parameter and the equipment private key;
storing the private key of the equipment, sending the physical parameter to a server, and verifying whether the physical parameter is legal or not by the server;
receiving a verification result returned by the server;
and according to the verification result, the intelligent household equipment is provided with a distribution network.
2. The method for the network distribution of the intelligent household equipment according to claim 1, wherein the step of transmitting the generated random number to the intelligent household equipment comprises: and the generated random number is transmitted to the intelligent household equipment in a direct connection mode.
3. The method for the network distribution of the intelligent household equipment according to the claim 1 or 2, wherein the network distribution of the intelligent household equipment is performed according to the verification result, and the method comprises the following steps:
if the verification result is determined to be legal, configuring network parameters for the intelligent household equipment;
and if the verification result is determined to be illegal, determining that the distribution network fails.
4. A transmission method of intelligent household equipment parameters is applied to the intelligent household equipment, and the method comprises the following steps:
acquiring a random number transmitted by a mobile terminal;
encrypting a data packet by using the random number, wherein the data packet comprises physical parameters of the intelligent household equipment and an equipment private key;
and transmitting the encrypted data packet to the mobile terminal, decrypting the data packet by the mobile terminal by adopting the random number to obtain the physical parameter and the equipment private key, wherein the equipment private key is used for encrypting the interactive data of the mobile terminal and the intelligent household equipment after the intelligent household equipment successfully distributes the network.
5. The method for transmitting the parameters of the smart home devices according to claim 4, wherein the obtaining of the random number transmitted by the mobile terminal comprises: and acquiring the random number transmitted by the mobile terminal by adopting a direct connection mode.
6. A method of data transmission, the method comprising:
the mobile terminal receives a data packet sent by the intelligent household equipment;
the mobile terminal decrypts the data packet by adopting a pre-stored equipment private key of the intelligent household equipment to obtain decrypted data;
or
The mobile terminal encrypts a data packet needing to be sent to the intelligent household equipment by adopting a pre-stored equipment private key of the intelligent household equipment to obtain encrypted data;
the mobile terminal sends the encrypted data to the intelligent household equipment;
or
The method comprises the steps that the intelligent home equipment receives a data packet sent by the mobile terminal;
the intelligent home equipment decrypts the data packet by adopting an equipment private key of the intelligent home equipment to obtain decrypted data;
or
The intelligent home equipment encrypts a data packet to be sent to the mobile terminal by adopting an equipment private key of the intelligent home equipment to obtain encrypted data;
the intelligent home equipment sends the encrypted data to the mobile terminal;
wherein the device private key is: and after the intelligent home equipment sends the data packet obtained by encrypting the physical parameters of the intelligent home equipment and the equipment private key by using the random number to the mobile terminal, the mobile terminal decrypts the data packet by using the random number to obtain the data packet.
7. A mobile terminal, comprising: the system comprises a processor, a communication component, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor is used for executing the program stored in the memory and realizing the method for the network distribution of the intelligent household equipment according to any one of claims 1 to 3;
or, the processor is configured to execute the receiving of the data packet sent by the smart home device; decrypting the data packet by adopting a pre-stored equipment private key of the intelligent household equipment to obtain decrypted data;
or, the processor is configured to execute the pre-stored device private key of the smart home device, encrypt a data packet that needs to be sent to the smart home device, and obtain encrypted data; sending the encrypted data to the intelligent household equipment;
wherein the device private key is: and after the intelligent home equipment sends the data packet obtained by encrypting the physical parameters of the intelligent home equipment and the equipment private key by using the random number to the mobile terminal, the mobile terminal decrypts the data packet by using the random number to obtain the data packet.
8. The utility model provides an intelligent household equipment which characterized in that includes: the system comprises a processor, a communication component, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor is configured to execute the program stored in the memory, and implement the transmission method of the smart home device parameter according to any one of claims 4 to 5;
or, the processor is configured to execute the receiving of the data packet sent by the mobile terminal; decrypting the data packet by using the equipment private key of the intelligent household equipment to obtain decrypted data;
or, the processor is configured to execute the device private key of the smart home device, encrypt a data packet that needs to be sent to the mobile terminal, and obtain encrypted data; transmitting the encrypted data to the mobile terminal;
wherein the device private key is: and after the intelligent home equipment sends the data packet obtained by encrypting the physical parameters of the intelligent home equipment and the equipment private key by using the random number to the mobile terminal, the mobile terminal decrypts the data packet by using the random number to obtain the data packet.
9. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method for providing a network for smart home devices according to any one of claims 1 to 3, or implements the data transmission method according to claim 6.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method for transmitting parameters of smart home devices according to any one of claims 4 to 5.
CN201911047220.9A 2019-10-30 2019-10-30 Network distribution method for intelligent household equipment, data transmission method, equipment and storage medium Active CN111049797B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911047220.9A CN111049797B (en) 2019-10-30 2019-10-30 Network distribution method for intelligent household equipment, data transmission method, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911047220.9A CN111049797B (en) 2019-10-30 2019-10-30 Network distribution method for intelligent household equipment, data transmission method, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111049797A CN111049797A (en) 2020-04-21
CN111049797B true CN111049797B (en) 2021-06-18

Family

ID=70232217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911047220.9A Active CN111049797B (en) 2019-10-30 2019-10-30 Network distribution method for intelligent household equipment, data transmission method, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111049797B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885595B (en) * 2020-07-24 2024-01-23 海尔优家智能科技(北京)有限公司 Intelligent household appliance configuration networking method, device and system
CN112130461A (en) * 2020-09-24 2020-12-25 珠海格力电器股份有限公司 Smart home control method and device, storage medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230671A (en) * 2016-08-01 2016-12-14 珠海格力电器股份有限公司 The control method of a kind of Smart Home, device and terminal
CN106603234A (en) * 2015-10-14 2017-04-26 阿里巴巴集团控股有限公司 Method, device and system for device identity authentication
CN109462850A (en) * 2017-09-06 2019-03-12 九阳股份有限公司 A kind of network collocating method and smart machine of smart machine
CN110121170A (en) * 2019-04-17 2019-08-13 广东电网有限责任公司信息中心 Mobile network's auth method based on encryption technology

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9888283B2 (en) * 2013-03-13 2018-02-06 Nagrastar Llc Systems and methods for performing transport I/O
US9461820B1 (en) * 2013-06-05 2016-10-04 Teradici Corporation Method and apparatus for providing a conditional single sign on
CN106100854A (en) * 2016-08-16 2016-11-09 黄朝 The reverse authentication method of terminal unit based on authority's main body and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603234A (en) * 2015-10-14 2017-04-26 阿里巴巴集团控股有限公司 Method, device and system for device identity authentication
CN106230671A (en) * 2016-08-01 2016-12-14 珠海格力电器股份有限公司 The control method of a kind of Smart Home, device and terminal
CN109462850A (en) * 2017-09-06 2019-03-12 九阳股份有限公司 A kind of network collocating method and smart machine of smart machine
CN110121170A (en) * 2019-04-17 2019-08-13 广东电网有限责任公司信息中心 Mobile network's auth method based on encryption technology

Also Published As

Publication number Publication date
CN111049797A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
TWI592051B (en) Network assisted fraud detection apparatus and methods
CN108512846B (en) Bidirectional authentication method and device between terminal and server
WO2018050081A1 (en) Device identity authentication method and apparatus, electric device, and storage medium
KR101019974B1 (en) Apparatus authentication device, apparatus authentication method, information processing device, information processing method, and a computer-readable medium
JP4734872B2 (en) Content distribution management apparatus and content distribution management method
CN105191255B (en) Content receiving is set to be able to access that encrypted content
EP3211929B1 (en) Method of targeted discovery of devices in a network
CN101860540B (en) Method and device for identifying legality of website service
US9547756B2 (en) Registration of devices in a digital rights management environment
EP2382830B1 (en) Multi-mode device registration
US20150172283A1 (en) Method of Authentication by Token
WO2017192736A1 (en) Methods and apparatus for device authentication and secure data exchange between a server application and a device
CN107135205B (en) Network access method and system
WO2018014760A1 (en) Method and device for providing and obtaining graphic code information, and terminal
KR20060018808A (en) Information processing device, access control processing method, and computer program
CN110545252B (en) Authentication and information protection method, terminal, control function entity and application server
WO2008018743A1 (en) Method and terminal for authenticating between drm agents for moving ro
WO2019047375A1 (en) Authentication method, device, server and storage medium for preventing automated gift farming
CN111049797B (en) Network distribution method for intelligent household equipment, data transmission method, equipment and storage medium
JP6296253B2 (en) Whitelist distributed for security upgradability
CN111757152B (en) Multimedia content projection method and device and electronic equipment
CN111726801B (en) Network security control method
WO2019047511A1 (en) Method, device, and live broadcast system for preventing automated farming
US20130247152A1 (en) Access device, access system and computer program product
US10764279B2 (en) Method and an information appliance device for preventing security breach in information appliance device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant