Search

CN-116915533-B - Network access authentication method, device, equipment and medium of intelligent home gateway equipment

CN116915533BCN 116915533 BCN116915533 BCN 116915533BCN-116915533-B

Abstract

The embodiment of the application discloses a network access authentication method, device, equipment and medium of intelligent home gateway equipment. In the embodiment of the application, the intelligent home gateway equipment is triggered to send the network access request to the intelligent home server through the network access event, the intelligent home server verifies the target gateway for sending the network access request, and after verification is passed, different secret keys are correspondingly distributed according to the network type of the current connection, when the intelligent home client and the intelligent home gateway equipment communicate, the communication data is encrypted and decrypted by using the corresponding secret keys according to the network type used by the current communication, and the secret key generation and verification triggered based on the network access event and the secret key configuration corresponding to different network types effectively improve the complexity and unpredictability of the secret keys, and effectively reduce the protection vulnerability to network attacks.

Inventors

  • LIU ZHENGLIN
  • ZENG YI
  • WENG YUNFENG
  • HUANG XUEBIAO

Assignees

  • 广州河东科技有限公司

Dates

Publication Date
20260505
Application Date
20230703

Claims (9)

  1. 1. The network access authentication method of the intelligent home gateway equipment is used for an intelligent home system and is characterized in that the intelligent home system comprises an intelligent home client, an intelligent home server and the intelligent home gateway equipment, and the network access authentication method comprises the following steps: The intelligent home gateway equipment monitors network access events in real time, and sends network access requests to the intelligent home server when the network access events are monitored, wherein the network access events comprise timing update events; the intelligent home gateway equipment monitors network access events in real time, and comprises the steps that the intelligent home gateway equipment compares the system time with the appointed moment received from the intelligent home server, and when the system time is matched with the appointed moment, the network access events are confirmed to be monitored; When the intelligent home server receives the network access request, confirming the type of a current network access event corresponding to the network access request, when the current network access event is a timing update event, comparing the sending moment of the network access request with the appointed moment distributed to the target gateway equipment in advance, and confirming that the sending moment is matched with the appointed moment, wherein the intelligent home server is used for verifying the type of the current network access event corresponding to the network access request; generating a public network secret key and a local area network secret key when verification is passed, and transmitting the public network secret key and the local area network secret key to the target gateway equipment and a target client, wherein the target client is an intelligent home client associated with the target gateway equipment; The public network secret key is used for encrypting the data entity part when the target client sends the data packet to the target gateway equipment through the public network and decrypting the data entity part when the target gateway equipment receives the data packet through the public network, and the local area network secret key is used for encrypting the data entity part when the target client sends the data packet to the target gateway equipment through the local area network and decrypting the data entity part when the target gateway receives the data packet through the local area network.
  2. 2. The network access authentication method of claim 1, wherein the network access event further comprises a network access reset event and a power-up event.
  3. 3. The network access authentication method of claim 1, wherein the synchronization transmission is randomly generated when the smart home server transmits a public network key and a local network key to the target gateway device at the specified time.
  4. 4. A network access authentication method according to claim 1 or 3, wherein the specified time is randomly generated by the smart home server for independent transmission to the target gateway device.
  5. 5. A network entry authentication method according to claim 2 or 3, wherein two adjacent said specified times are within a predetermined time interval.
  6. 6. A network access authentication method according to any one of claims 2 to 3, wherein when the smart home server receives the network access request, verifying a target gateway device corresponding to the network access request includes: When the intelligent home server receives the network access request, confirming the type of the current network access event corresponding to the network access request; when the current network access event is a network access reset event, sending a verification reminder to at least one random target client, wherein the verification reminder is used for prompting a user to confirm network access reset through a third party information channel; And when receiving the confirmation reply of the at least one random target client to the verification prompt, passing the verification.
  7. 7. The network access authentication device of the intelligent home gateway equipment is used for an intelligent home system and is characterized in that the intelligent home system comprises an intelligent home client, an intelligent home server and the intelligent home gateway equipment, and the network access authentication device comprises: the intelligent home gateway equipment monitors the network access event in real time, and comprises the intelligent home gateway equipment compares the system time with the appointed moment received from the intelligent home server, and confirms that the network access event is monitored when the system time is matched with the appointed moment; The intelligent home server receives the network access request, confirms the type of a current network access event corresponding to the network access request, compares the sending moment of the network access request with the appointed moment distributed to the target gateway equipment in advance when the current network access event is a timing update event, and confirms that the sending moment and the appointed moment are matched, passes the verification, generates a public network secret key and a local area network secret key when the verification is passed, and sends the public network secret key and the local area network secret key to the target gateway equipment and a target client, wherein the target client is an intelligent home client associated with the target gateway equipment; The public network secret key is used for encrypting the data entity part when the target client sends the data packet to the target gateway equipment through the public network and decrypting the data entity part when the target gateway equipment receives the data packet through the public network, and the local area network secret key is used for encrypting the data entity part when the target client sends the data packet to the target gateway equipment through the local area network and decrypting the data entity part when the target gateway receives the data packet through the local area network.
  8. 8. An electronic device, comprising: One or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the electronic device cooperates with other electronic devices to implement the network access authentication method of the smart home gateway device according to any one of claims 1-6.
  9. 9. A non-volatile storage medium storing computer executable instructions which when executed by a computer processor are for performing the network access authentication method of the smart home gateway device of any of claims 1-6.

Description

Network access authentication method, device, equipment and medium of intelligent home gateway equipment Technical Field The embodiment of the application relates to the field of intelligent home, in particular to a network access authentication method, device, equipment and medium of intelligent home gateway equipment. Background With the development of computer networks and electronic technologies, smart home applications are becoming more and more widespread. Under the concept of intelligent home, a user can send control instructions to electronic equipment in a target house through various control terminals, for example, the user can remotely start an air conditioner before the user arrives at home, the user can have the most comfortable temperature at home, and the user can remotely check the indoor state through indoor monitoring. However, when the inventor uses the existing smart home to realize remote control, the security mechanism in the data transmission process of the existing smart home through the network is relatively fixed, and a large security hole exists in protecting network attacks. Disclosure of Invention The application provides a network access authentication method, device, equipment and medium of intelligent home gateway equipment, which are used for solving the technical problem that the security mechanism in the data transmission process of the existing intelligent home through a network is relatively fixed, and a large security hole exists in the protection of network attack. In a first aspect, a network access authentication method of an intelligent home gateway device is provided, where the network access authentication method is used for an intelligent home system, the intelligent home system includes an intelligent home client, an intelligent home server and an intelligent home gateway device, and the network access authentication method includes: The intelligent home gateway equipment monitors a network access event in real time and sends a network access request to the intelligent home server when the network access event is monitored; When the intelligent home server receives the network access request, verifying target gateway equipment corresponding to the network access request, generating a public network secret key and a local area network secret key when verification passes, and sending the public network secret key and the local area network secret key to the target gateway equipment and a target client, wherein the target client is an intelligent home client associated with the target gateway equipment; The public network secret key is used for encrypting the data entity part when the target client sends the data packet to the target gateway equipment through the public network and decrypting the data entity part when the target gateway equipment receives the data packet through the public network, and the local area network secret key is used for encrypting the data entity part when the target client sends the data packet to the target gateway equipment through the local area network and decrypting the data entity part when the target gateway receives the data packet through the local area network. The network access event comprises a network access reset event, a power-on event and a timing update event. The intelligent home gateway equipment monitors network access events in real time and comprises: the intelligent home gateway equipment compares the system time with the appointed time which is received from the intelligent home server recently, and when the system time is matched with the appointed time, the intelligent home gateway equipment confirms that the network access event is monitored; Correspondingly, when the intelligent home server receives the network access request, verifying the target gateway device corresponding to the network access request, including: When the intelligent home server receives the network access request, confirming the type of the current network access event corresponding to the network access request; When the current network access event is a timing update event, comparing the sending time of the network access request with the appointed time which is allocated to the target gateway equipment in advance; and when the sending time is confirmed to be matched with the appointed time, passing verification. And the intelligent home server randomly generates synchronous transmission when sending the public network secret key and the local network secret key to the target gateway equipment at the appointed moment. And the intelligent home server randomly generates independent transmission to the target gateway equipment at the appointed moment. Wherein two adjacent appointed moments are within a preset time interval range. When the intelligent home server receives the network access request, verifying the target gateway device corresponding to the network access request, including: When the intelligent home server receives the net