Smart home security communication system and communication method
By introducing high-speed quantum random number generators and the dual-key XOR encryption and decryption strategy of the intelligent control center into smart home devices, the problems of traditional key predictability and low encryption rate are solved, and high security of massive data is achieved. Encryption and identity authentication significantly improve the overall security of the smart home system.
Patent Information
- Application Number
- CN202210408989.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-19
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-04-19
AI Technical Summary
The keys used for identity authentication and user data and privacy protection in smart home devices are based on traditional pseudo-random number generation, making the keys predictable and unable to meet the one-time encryption requirements for massive data, reducing system security.
Use a high-speed quantum random number generator to generate true random numbers, and communicate with smart home devices through the intelligent control center to achieve two-factor authentication mode for long-distance access and dual-key XOR encryption and decryption for near-field access, and dynamic selection Encryption and decryption algorithms to improve security.
It effectively prevents key prediction, meets the one-time encryption requirements of massive data, reduces the risk of overall device information being stolen, and significantly improves the security of smart home systems.
Smart Images

Figure CN114826574B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of smart home communication technology, and in particular relates to a smart home security communication system and a communication method. Background Art
[0002] With the popularization of mobile Internet, smart home devices are appearing in all aspects of people's lives. Therefore, the protection of identity authentication, user data and privacy in smart home devices is particularly important. However, the keys used for identity authentication and user data and privacy protection in smart home devices are currently a series of pseudo-random numbers generated by traditional key generation devices and technologies. Pseudo-random numbers are predictable to a certain extent, which brings great risks of leakage to user data and privacy. At the same time, the key rate generated by traditional methods is low, so it is impossible to encrypt massive data once and for all, which also reduces the security of related systems. At the same time, the process of identity authentication and data encryption and decryption of smart home devices is relatively simple, which also brings certain risks to the security of smart home devices. Summary of the invention
[0003] The purpose of the present invention is to overcome the defects of the prior art and provide a smart home security communication system and communication method, which can meet the encryption requirements of massive data with one key at a time. The double authentication mode of long-distance access and the dual-key XOR encryption and decryption of near-field access reduce the risk of the overall device information being stolen, greatly improving the security of the smart home system.
[0004] The object of the present invention is achieved through the following technical solutions:
[0005] A smart home security communication system, the system comprising a command initiating terminal, a control center, a smart gateway and smart home devices;
[0006] The instruction initiating terminal directly communicates with the smart home device through near field communication or communicates with the smart home device through the control center, the instruction initiating terminal is bound to a key storage medium, and the instruction initiating terminal and the key storage medium record and save each other's physical hardware information;
[0007] The command initiating terminal may be a general mobile device such as a mobile phone or an iPad, or a dedicated mobile control device, or a general fixed device such as a desktop computer or a dedicated fixed control device.
[0008] The key storage medium is used to carry the true random numbers generated by the true random number generator and encapsulate them into quantum key products.
[0009] The smart gateway divides the internal and external networks, transfers the external network communication data to the control center connected to the internal network, and provides internal network access for the control center and smart home devices;
[0010] The control center includes a true random number generator, a key storage area, an encryption and decryption algorithm storage area, and a user information storage area, and the control center communicates with the smart home device through the smart gateway;
[0011] Among them, the true random number generator can be a universal high-speed quantum random number generator.
[0012] The key storage area includes an authentication key storage area, a storage key storage area and a transmission key storage area. The control center encapsulates the true random number generated by the true random number generator into an authentication key, a storage key and a transmission key, and stores the authentication key in the authentication key storage area, the storage key in the storage key storage area and the transmission key in the transmission key storage area.
[0013] Furthermore, the true random number generator includes a main true random number generator and a backup true random number generator. When the main true random number generator is in an abnormal working state, the backup true random number generator is switched to generate true random numbers.
[0014] Furthermore, the encryption algorithms in the encryption and decryption algorithm storage area are stored in a hierarchical manner according to the computing power and encryption strength that can be supported by the device type of the smart home security communication system.
[0015] Furthermore, the encapsulation format of the authentication key, the storage key and the transmission key includes a production date of the key and an expiration date of the key.
[0016] Furthermore, the key storage medium includes a quantum key card.
[0017] Furthermore, the true random number generator includes a high-speed quantum random number generator.
[0018] On the other hand, the present invention further provides a communication method of any of the aforementioned smart home security communication systems, wherein the instruction initiating terminal communicates with the smart home device through the control center, and the communication method comprises:
[0019] Connect the key storage medium and smart home devices to the control center for registration;
[0020] The key storage medium registration includes: connecting the key storage medium offline to the control center, injecting a certain number of authentication keys and transmission keys into the key storage medium according to the requirements, registering the physical hardware information of the key storage medium in the control center, and entering the user's biometric information in the control center;
[0021] Smart home device registration includes: the smart home device accesses the control center through the intranet to register, and the control center injects the authentication key and the transmission key into the connected smart home device;
[0022] The command initiating terminal initiates a first authentication request to the control center to authenticate the correctness and legality of the connected command initiating terminal and the key storage medium;
[0023] When the command initiating terminal passes the first authentication, the control center generates the second authentication key K1 through a true random number generator and encapsulates it for storage;
[0024] Dynamically select an encryption and decryption algorithm to encrypt the message containing the second authentication key K1, and send the encrypted message to the instruction initiating terminal;
[0025] After receiving the encrypted message, the instruction initiating terminal parses the message and saves the second authentication key K1, and initiates a second authentication request to authenticate the correctness and legitimacy of the user's identity;
[0026] After the second authentication is passed, the command initiating terminal extracts the transmission key, and dynamically selects the encryption and decryption algorithm to encrypt the control information or data information, and sends the encrypted control information or data information, message type, transmission key hash value and transmission key length information to the control center;
[0027] The control center parses the received messages and sends control instructions or data to smart home devices through the intranet.
[0028] Furthermore, the first re-authentication request specifically includes:
[0029] The instruction initiating terminal initiates an authentication request to the control center, wherein the authentication request includes user account information, network information, physical hardware information of the instruction initiating terminal and physical hardware information of the key storage medium;
[0030] The authentication request message extracts the authentication key from the key storage medium as the encryption key and dynamically selects the encryption and decryption algorithm to encrypt the authentication message, and at the same time sends the message type, key hash value and key length to the control center;
[0031] After receiving the authentication request from the command initiating terminal, the control center dynamically selects the encryption and decryption algorithm, extracts the corresponding decryption key according to the key hash value and key length in the request message, and decrypts the plaintext;
[0032] The user account information entered by the control center is compared with the user account information in the authentication request. If the results are inconsistent, the authentication request is rejected. If the results are consistent, the authentication is passed.
[0033] Furthermore, the second authentication request specifically includes:
[0034] Collect user biometric information, form a double authentication message, and extract the authentication key K2 from the key storage medium;
[0035] The result of the XOR operation of K1 and K2 is used as the encryption key, and the encryption and decryption algorithm is dynamically selected to encrypt the double authentication message, and the message type, key hash value and key length are sent to the control center;
[0036] The control center obtains the second authentication key K1 and the authentication key K2 from the local according to the key hash value in the double authentication message, parses the double authentication message, and compares the user biometric information stored in the control center with the user biometric information in the double authentication message. If they are consistent, the double authentication is passed, otherwise the authentication request is rejected.
[0037] On the other hand, the present invention further provides a communication method of any of the aforementioned smart home security communication systems, wherein the instruction initiating terminal directly communicates with the smart home device via near field communication, and the communication method comprises:
[0038] Connect the key storage medium and smart home devices to the control center for registration;
[0039] The key storage medium registration includes: connecting the key storage medium offline to the control center, injecting a certain number of authentication keys and transmission keys into the key storage medium according to the requirements, registering the physical hardware information of the key storage medium in the control center, and entering the user's biometric information in the control center;
[0040] Smart home device registration includes: the smart home device accesses the control center through the intranet to register, and the control center injects the authentication key and the transmission key into the connected smart home device;
[0041] The instruction initiating terminal sends an authentication access request to the corresponding smart home device through a near field communication method, wherein the authentication access request includes user account information, user biometric information, physical hardware information of the instruction initiating terminal, and physical hardware information of the key storage medium. The authentication access request message extracts the authentication key in the key storage medium as an encryption key and dynamically selects an encryption algorithm to encrypt the authentication request message, and at the same time sends the message type, key hash value, and key length to the smart home device;
[0042] After receiving the authentication request message, the smart home device forwards it to the control center through the intranet for analysis and comparison of the user account information, user biometric information, instruction initiating terminal physical hardware information and key storage medium physical hardware information. If the comparison is successful, the smart home device is notified to allow access, otherwise the access is denied;
[0043] After the command initiating terminal successfully accesses the smart home device, the smart home device is controlled in real time, and the control information and data form a control message. The control message is encrypted by extracting the transmission key from the key storage medium and using an XOR encryption method. At the same time, the message type, key hash value and key length are sent to the smart home device.
[0044] After receiving the control message, the smart home device extracts the transmission key in the smart home device, encrypts the control message, and sends the key hash value and key length to the control center;
[0045] The control center parses the control message, retrieves the key hash value of the transmission key encrypted by the command initiating terminal and the smart home device respectively, extracts the corresponding transmission key, decrypts the ciphertext, and then sends the control command or data directly to the smart home device.
[0046] The beneficial effects of the present invention are:
[0047] The smart home security communication system and communication method provided by the present invention can effectively prevent the prediction of keys, meet the encryption requirements of massive data with one key at a time, and the double authentication mode for long-distance access and the dual-key XOR encryption and decryption for near-field access reduce the risk of the overall device information being stolen, greatly improving the security of the smart home system. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 is a schematic diagram of the structure of the smart home security communication system provided by this embodiment;
[0049] Figure 2 is a flow chart of a method for a command initiating terminal to communicate with a smart home device through a control center provided in this embodiment;
[0050] Figure 3 This is a flow chart of a method provided by the present embodiment for a command initiating terminal to directly communicate with a smart home device through near field communication. DETAILED DESCRIPTION
[0051] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0052] Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making any creative work shall fall within the scope of protection of the present invention.
[0053] At present, the keys used for identity authentication and user data and privacy protection in smart home devices are a series of pseudo-random numbers generated by traditional key generation equipment and technology. Pseudo-random numbers are predictable to a certain extent, which brings great risks of leakage to user data and privacy. At the same time, the key rate generated by traditional methods is low, so it is impossible to encrypt massive data once and for all, which also reduces the security of related systems. At the same time, the process of identity authentication and data encryption and decryption of smart home devices is relatively simple, which also brings certain risks to the security of smart home devices.
[0054] In order to solve the above technical problems, the following embodiments of the smart home security communication system and communication method of the present invention are proposed.
[0055] In order to solve the security problem of traditional smart home devices, the present invention improves them from two aspects. First, starting from the key generation source, a high-speed quantum random number generator is introduced. Since the high-speed quantum random number generator generates true random numbers, and the characteristic of true random numbers is that they are completely unpredictable, it can effectively prevent the leakage of encryption keys. At the same time, the high-speed quantum random number generator can generate a large number of true random numbers in a short time, which can meet the one-time one-key requirements of massive data. Secondly, a complex and reasonable identity authentication and encryption and decryption strategy is designed, such as dynamically selecting the encryption and decryption algorithm, so as to prevent illegal users from accessing and ciphertext from being cracked.
[0056] Example 1
[0057] Reference Figure 1 ,like Figure 1 FIG. 1 is a schematic diagram of a smart home security communication system structure provided by this embodiment. The system specifically includes the following structures:
[0058] The entire device consists of an intelligent control center (ICC), an intelligent gateway, smart home devices, mobile devices and a quantum key storage card.
[0059] The intelligent control center mainly consists of the main QRNG (high-speed quantum random number generator), the backup QRNG, the key storage area, and the encryption and decryption algorithm storage area. When the main QRNG is in normal working condition, it generates true random numbers, which are encapsulated into quantum key products and stored in the key storage area. When the main QRNG is in abnormal working condition, it switches to the backup QRNG to generate true random numbers. The encryption algorithm storage area is pre-set with encryption algorithms such as AES, RC4, and one-time XOR encryption algorithms. These algorithms are used to dynamically encrypt keys, user data, privacy information, etc., and the number of algorithms can be dynamically increased or decreased. The encryption algorithm is graded according to the size of the computing power (encryption and decryption speed, resource consumption) that the relevant device type can support and the strength of the encryption, and different encryption algorithms are classified into different levels. The intelligent control center communicates with smart home devices and other devices through the internal and external networks of the intelligent gateway.
[0060] The intelligent control center encapsulates the true random numbers generated by QRNG into three types of keys, namely authentication key, storage key and transmission key, and stores them in the key storage area.
[0061] The common encapsulation formats of the three types of keys are shown in the following table:
[0062]
[0063] Table 1 General encapsulation format of key
[0064] Among them, the type corresponds to the authentication key, storage key and transmission key, respectively, to distinguish different key types, the hash value is the hash value calculated for the key of fixed size (100M, 500M, 1G bytes), to uniquely identify the key, the length records the length of the key data itself, the production date records the time point when the key product is generated, and the expiration date records the time point before which the key product is valid. Each field in the encapsulation format can be added, deleted and modified as needed.
[0065] The intelligent control center will dynamically select encryption and decryption algorithms to encrypt and decrypt data. The dynamic selection of encryption and decryption algorithms first selects the same level of algorithm library based on the computing power of the hardware of both parties. Secondly, it selects an encryption and decryption algorithm from the selected algorithm library based on the time synchronization dynamic password algorithm (TOTP). This requires the local time of both parties to be consistent, so all devices in the device system must be synchronized regularly. At the same time, the intelligent control center will store the user's biometric information for related identity authentication. Figure 3As shown: In the encryption and decryption algorithm and biometric storage area, multiple key algorithms can be preset, and the number of key algorithms can be dynamically increased or decreased and configured as needed. The encryption algorithm is graded according to the size of the computing power (encryption and decryption speed, resource consumption, etc.) supported by the relevant equipment and the encryption strength, and different encryption algorithms are classified into different levels. In addition, biometric information includes but is not limited to face, fingerprint, iris, vein, etc.
[0066] The smart gateway is responsible for dividing the internal and external networks, transferring the external network communication data to the smart control center connected to the internal network, and providing internal network access for the smart control center and smart home devices so that they can communicate with each other;
[0067] Smart home devices include smart door locks, smart TVs, smart speakers, smart water heaters, etc. They are controlled by the smart control center by connecting to the intranet, and can also be controlled through near-field communication of related mobile devices;
[0068] Mobile devices include mobile phones, special devices, bracelets, etc., which can access the smart gateway and smart control center through the external network, and can also communicate directly with smart home devices through near-field communication.
[0069] The smart home security communication system provided in this embodiment can effectively prevent the prediction of keys and meet the encryption requirements of massive data with one key at a time. The double authentication mode for long-distance access and the dual-key XOR encryption and decryption for near-field access reduce the risk of the overall device information being stolen, greatly improving the security of the smart home system.
[0070] Example 2
[0071] The specific working principle and process of the aforementioned smart home security communication system are divided into two scenarios, namely, a scenario in which a mobile terminal communicates with a smart control center to control a smart home, and a scenario in which a mobile terminal directly communicates with a smart home device through near field communication to control a smart home. This embodiment provides a scenario process in which a mobile terminal communicates with a smart control center to control a smart home.
[0072] Before the command initiating terminal communicates with the smart home device through the control center, a registration step is also included, in which the key storage medium and the smart home device are connected to the control center for registration;
[0073] The key storage medium registration includes: connecting the key storage medium offline to the control center, injecting a certain number of authentication keys and transmission keys into the key storage medium according to the requirements, registering the physical hardware information of the key storage medium in the control center, and entering the user's biometric information in the control center;
[0074] Smart home device registration includes: the smart home device accesses the control center through the intranet to register, and the control center injects the authentication key and the transmission key into the connected smart home device;
[0075] Reference Figure 2 ,like Figure 2 The flowchart of the method provided by the present embodiment for the instruction initiating terminal to communicate with the smart home device through the control center is shown. The method specifically includes the following steps:
[0076] Step 1: The mobile terminal initializes the association and binding of the blank quantum key card, and records and saves each other's physical hardware information, so that it can be used every time the mobile terminal device accesses the quantum key card to read the other party's physical hardware information in real time and compare it with the locally stored information. The quantum key card is connected to the intelligent control center offline. After hardware authentication and identification, the intelligent control center will key the quantum key card and inject a certain number of authentication keys and transmission keys according to needs. The quantum key card also registers its own physical information in the intelligent control center. At the same time, users need to enter relevant biometric information in the intelligent control center, including but not limited to face, fingerprint, iris, vein, etc.
[0077] Step ②: The smart home device is connected to the smart control center through the intranet and registered, and its physical hardware information is registered and retained in the smart control center. At the same time, the smart control center injects authentication and transmission keys into the connected smart home device.
[0078] Step ③: The mobile terminal starts the client program and automatically initiates an authentication request to the intelligent control center. This authentication is the first level of authentication, which mainly authenticates the correctness and legitimacy of the connected mobile terminal and the quantum key card. The authentication request information contains the mobile terminal user account information, network information, mobile terminal physical hardware information, and quantum key card physical hardware information. The authentication request message extracts the authentication key stored in the quantum key card as the encryption key and selects the encryption and decryption algorithm according to the dynamic encryption and decryption selection algorithm to encrypt the authentication message. At the same time, it carries the message type, the hash value of the key used, and the key length and sends it to the intelligent control center.
[0079] Among them, the smart home security communication system is graded according to the size of the computing power (encryption and decryption speed, resource consumption) and the encryption strength that the relevant device type can support, and different encryption algorithms are classified into different levels. Therefore, the dynamic encryption and decryption algorithm is selected based on the computing power and encryption strength that the relevant device type can support. The size of the computing power (encryption and decryption speed, resource consumption) that the relevant device type can support and the encryption strength classification are custom attributes, which can be set according to the encryption strength requirements and the software and hardware computing capabilities of the relevant device itself.
[0080] After receiving the authentication request from the mobile terminal, the intelligent control center selects the encryption and decryption algorithm according to the dynamic key selection algorithm, and extracts the corresponding decryption key according to the key hash value and key length in the request message, decrypts the plaintext, and then compares the user's relevant information with the data in the database. If the results are inconsistent, the authentication request is rejected, otherwise the authentication is passed.
[0081] It should be noted that since the encrypting and decrypting parties do not know what encryption algorithm the other party uses, the decrypting party also needs to dynamically select the corresponding algorithm based on the relevant device type in order to decrypt. This encryption and decryption method greatly improves the security of smart home authentication.
[0082] Step ④: When the mobile terminal passes the first authentication, the intelligent control center generates the double-authentication quantum key K1 in real time through QRNG, encapsulates it and saves it locally, then selects the encryption and decryption algorithm through the dynamic encryption and decryption selection algorithm to encrypt the message containing K1 and send it to the mobile terminal in step ③.
[0083] Step ⑤ After the mobile terminal receives the message sent in step ④, it parses and saves K1, and starts double authentication, that is, collects user biometric information in real time to form a double authentication message, extracts the authentication key K2 from the quantum key card, and uses K1⊕K2 as the encryption key. The dynamic encryption and decryption selection algorithm is used to select the encryption and decryption algorithm to encrypt the double authentication message, and carries the message type, hash values of K1 and K2, key length and other information, and then sends it to the intelligent control center. The intelligent control center obtains K1 and K2 from the local according to the hash value information in the message, parses the message, and compares the biometric information. If they are consistent, the double authentication is passed, otherwise the mobile terminal is denied access.
[0084] in, Indicates that k1 and k2 are XORed.
[0085] Step ⑥: The mobile terminal extracts the transmission key and uses the dynamic encryption selection algorithm to select the encryption and decryption algorithm to encrypt the control information or data information, and carries the message type, the hash value of the encryption key, the length and other information, and sends it to the intelligent control center.
[0086] Step 7: The intelligent control center parses the message sent by the mobile terminal in step 6, and sends the control command or data to the smart home device through the intranet.
[0087] The smart home secure communication method provided in this embodiment can effectively prevent the prediction of keys, meet the encryption requirements of massive data with one key at a time, reduce the risk of overall device information being stolen with a two-factor authentication mode for long-distance access, and greatly improve the security of the smart home system.
[0088] Example 3
[0089] This embodiment provides a mobile terminal to directly communicate with smart home devices through near field communication to control the scene process of the smart home.
[0090] Before the command initiating terminal directly communicates with the smart home device through near field communication, a registration step is also included, in which the key storage medium and the smart home device are connected to the control center for registration;
[0091] Among them, the key storage medium registration includes: connecting the key storage medium offline to the control center, injecting a certain number of authentication keys and transmission keys into the key storage medium according to needs, registering the physical hardware information of the key storage medium in the control center, and entering the user's biometric information in the control center.
[0092] Reference Figure 3 ,like Figure 3 The figure is a flow chart of a method provided by the present embodiment for a command initiating terminal to directly communicate with a smart home device via near field communication. The method specifically comprises the following steps:
[0093] Step ①: The mobile terminal sends an authentication access request to the corresponding smart home device via near field communication. The authentication access request contains user account information, biometric information, mobile terminal physical hardware information, and quantum key card physical hardware information. The authentication request message extracts the authentication key stored in the quantum key card as the encryption key and selects the encryption algorithm according to the dynamic encryption selection algorithm to encrypt the authentication message. At the same time, it carries the message type, the hash value of the key used, and the key length and sends it to the smart home device.
[0094] Step ②: After receiving the authentication request message, the smart home device forwards it to the smart control center through the intranet. After parsing the message, the smart control center compares the corresponding authentication information. If the comparison is successful, the smart home device is notified to allow access, otherwise the access is denied.
[0095] Step 3: After the mobile terminal successfully accesses the smart home device, it controls the smart home device in real time. The control information and data form a message. By extracting the transmission key from the quantum key card, the message is encrypted using XOR encryption. At the same time, it carries the message type and the hash value of the encryption key used, and sends it to the smart home device. After receiving the message, the smart home device extracts its own transmission key, encrypts the message using XOR encryption, and adds information such as the hash value of the encryption key used, and sends it to the smart control center.
[0096] Step ④: The intelligent control center parses the message, retrieves the transmission key hash value encrypted by XOR of the mobile terminal and the smart home device respectively, extracts the corresponding transmission key, and then XOR decrypts the ciphertext, and then directly sends the corresponding control command or data to the smart home device.
[0097] The smart home secure communication method provided in this embodiment can effectively prevent the prediction of keys, and can meet the encryption requirements of massive data with one key at a time. The dual-key XOR encryption and decryption for near-field access reduces the risk of the overall device information being stolen, greatly improving the security of the smart home system.
[0098] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A communication method of a smart home security communication system, wherein the smart home security communication system comprises a command initiating terminal, a control center, a smart gateway and smart home devices, It is characterized in that The instruction initiating terminal directly communicates with the smart home device through near field communication or communicates with the smart home device through the control center, the instruction initiating terminal is bound to a key storage medium, and the instruction initiating terminal and the key storage medium record and save each other's physical hardware information; The smart gateway divides the internal and external networks, transfers the external network communication data to the control center connected to the internal network, and provides internal network access for the control center and smart home devices; The control center includes a true random number generator, a key storage area, an encryption and decryption algorithm storage area, and a user information storage area, and the control center communicates with the smart home device through the smart gateway; The key storage area includes an authentication key storage area, a storage key storage area and a transmission key storage area, and the control center encapsulates the true random number generated by the true random number generator into an authentication key, a storage key and a transmission key, and stores the authentication key in the authentication key storage area, the storage key in the storage key storage area and the transmission key in the transmission key storage area; The communication method comprises: The instruction initiating terminal communicates with the smart home device through the control center; Connect the key storage medium and smart home devices to the control center for registration; The key storage medium registration includes: connecting the key storage medium offline to the control center, injecting a certain number of authentication keys and transmission keys into the key storage medium according to the requirements, registering the physical hardware information of the key storage medium in the control center, and entering the user's biometric information in the control center; Smart home device registration includes: the smart home device accesses the control center through the intranet to register, and the control center injects the authentication key and the transmission key into the connected smart home device; The command initiating terminal initiates a first re-authentication request to the control center, which is used to authenticate the correctness and legitimacy of the accessed command initiating terminal and the key storage medium. The first re-authentication request specifically includes: The instruction initiating terminal initiates an authentication request to the control center, wherein the authentication request includes user account information, network information, physical hardware information of the instruction initiating terminal and physical hardware information of the key storage medium; The authentication request message extracts the authentication key from the key storage medium as the encryption key and dynamically selects the encryption and decryption algorithm to encrypt the authentication message, and at the same time sends the message type, key hash value and key length to the control center; After receiving the authentication request from the command initiating terminal, the control center dynamically selects the encryption and decryption algorithm, extracts the corresponding decryption key according to the key hash value and key length in the request message, and decrypts the plaintext; Compare the user account information entered by the control center with the user account information in the authentication request. If the results are inconsistent, the authentication request is rejected. If the results are consistent, the authentication is passed. When the command initiating terminal passes the first authentication, the control center generates the second authentication key K1 through a true random number generator and saves it after packaging; Dynamically select an encryption and decryption algorithm to encrypt the message containing the second authentication key K1, and send the encrypted message to the instruction initiating terminal; After receiving the encrypted message, the instruction initiating terminal parses the message and saves the second authentication key K1, and initiates a second authentication request for authenticating the correctness and legitimacy of the user identity. The second authentication request specifically includes: Collect user biometric information, form a double authentication message, and extract the authentication key K2 from the key storage medium; The result of the XOR operation of K1 and K2 is used as the encryption key, and the encryption and decryption algorithm is dynamically selected to encrypt the double authentication message, and the message type, key hash value and key length are sent to the control center; The control center obtains the second authentication key K1 and the authentication key K2 from the local according to the key hash value in the double authentication message, parses the double authentication message, and compares the user biometric information stored in the control center with the user biometric information in the double authentication message. If they are consistent, the double authentication is passed, otherwise the authentication request is rejected; After the second authentication is passed, the command initiating terminal extracts the transmission key, and dynamically selects the encryption and decryption algorithm to encrypt the control information or data information, and sends the encrypted control information or data information, message type, transmission key hash value and transmission key length information to the control center; The control center parses the received messages and sends control instructions or data to smart home devices through the intranet.
2. The communication method of the smart home security communication system according to claim 1, It is characterized in that The instruction initiating terminal directly communicates with the smart home device via near field communication, and the communication method includes: Connect the key storage medium and smart home devices to the control center for registration; The key storage medium registration includes: connecting the key storage medium offline to the control center, injecting a certain number of authentication keys and transmission keys into the key storage medium according to the requirements, registering the physical hardware information of the key storage medium in the control center, and entering the user's biometric information in the control center; Smart home device registration includes: the smart home device accesses the control center through the intranet to register, and the control center injects the authentication key and the transmission key into the connected smart home device; The instruction initiating terminal sends an authentication access request to the corresponding smart home device through a near field communication method, wherein the authentication access request includes user account information, user biometric information, physical hardware information of the instruction initiating terminal, and physical hardware information of the key storage medium. The authentication access request message extracts the authentication key in the key storage medium as an encryption key and dynamically selects an encryption algorithm to encrypt the authentication request message, and at the same time sends the message type, key hash value, and key length to the smart home device; After receiving the authentication request message, the smart home device forwards it to the control center through the intranet for analysis and comparison of the user account information, user biometric information, instruction initiating terminal physical hardware information and key storage medium physical hardware information. If the comparison is successful, the smart home device is notified to allow access, otherwise the access is denied; After the command initiating terminal successfully accesses the smart home device, the smart home device is controlled in real time, and the control information and data form a control message. The control message is encrypted by extracting the transmission key from the key storage medium and using an XOR encryption method. At the same time, the message type, key hash value and key length are sent to the smart home device. After receiving the control message, the smart home device extracts the transmission key in the smart home device, encrypts the control message using XOR encryption, and sends the key hash value and key length to the control center; The control center parses the control message, retrieves the key hash value of the transmission key encrypted by the command initiating terminal and the smart home device respectively, extracts the corresponding transmission key, decrypts the ciphertext, and then sends the control command or data directly to the smart home device.
3. The communication method of the smart home security communication system according to claim 1, It is characterized in that The true random number generator comprises a main true random number generator and a backup true random number generator. When the main true random number generator is in an abnormal working state, the backup true random number generator is switched to generate true random numbers.
4. The communication method of the smart home security communication system according to claim 1, It is characterized in that The encryption algorithms in the encryption and decryption algorithm storage area are stored in a hierarchical manner according to the computing power and encryption strength that can be supported by the device type of the smart home security communication system.
5. The communication method of the smart home security communication system according to claim 1, It is characterized in that The encapsulation formats of the authentication key, the storage key, and the transmission key include a production date of the key and an expiration date of the key.
6. The communication method of the smart home security communication system according to claim 5, It is characterized in that The key storage medium includes a quantum key card.
7. The communication method of the smart home security communication system according to claim 1, It is characterized in that The true random number generator includes a high-speed quantum random number generator.
Citation Information
Patent Citations
Identity authentication and digital signature method based on three-layered overlapping type key management technology
CN102833075A
Smart home system equipment authentication methods, and devices
CN105141584A
Methods and devices for storing, deleting and reading data on SD (secure digital) card
CN105512578A
Quantum fortress machine system and authentication method thereof
CN106888084A
Door lock communication system and method based on security chips
CN108122316A
