A data communication gateway trusted authentication method, system and electronic device

Through the system, application and network trust authentication method of the data communication gateway, the problem of weak security protection mechanism in the existing technology is solved, efficient and comprehensive security control of the data communication gateway is realized, and the equipment is ensured in the face of network attacks. Trustworthy, controllable and reliable.

CN114095227BActive Publication Date: 2024-10-11XUCHANG XJ SOFTWARE TECHNOLOGIES LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111348352.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-15
Publication Date
2024-10-11
Estimated Expiration
2041-11-15

AI Technical Summary

Technical Problem

When the data communication gateway of the existing power monitoring system faces multi-dimensional, multi-angle, and multi-level network attack threats, the security protection mechanism is weak. The security event detection range of the Agent sniffing software is limited and cannot exhaust logical combinations. There are logical Risks of vulnerabilities and false positives, and the lack of a credible traceability mechanism.

Method used

A trustworthy authentication method for data communication gateways is proposed. Through system trustworthy authentication, application trustworthy authentication and network trustworthy authentication, a comprehensive and complete trustworthy chain is established, including obtaining code data for system trustworthy authentication and registering program processes for application. Trusted authentication, monitoring network operation data for network trusted authentication, using trusted security chips to store key data, detecting and blocking illegal processes in real time, and monitoring network behavior and traffic.

Benefits of technology

It achieves efficient, comprehensive and timely security control of data communication gateways, ensures system data reliability, monitors background work processes in real time, proactively defends against and immunizes against network security risks, and forms a complete trusted chain to ensure that all devices start from the time they are powered on. The links are credible, controllable and reliable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114095227B_ABST
    Figure CN114095227B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a data communication gateway trusted authentication method, system and electronic device, which can perform efficient, comprehensive and timely security management and control of digital communication gateways. The method includes: obtaining code data of the data communication gateway, and performing system trusted authentication on the data communication gateway according to the code data; registering multiple program processes of the data communication gateway, and performing application trusted authentication on the data communication gateway according to the registration information; obtaining network operation data of the data communication gateway, and performing network trusted authentication on the data communication gateway according to the network operation data. The system includes a system trusted authentication module, an application trusted authentication module and a network trusted authentication module. The electronic device includes a memory, a processor and a computer program stored in the memory and executable on the processor, and the data communication gateway trusted authentication method is implemented when the processor executes the program.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] One or more embodiments of the present application relate to the field of power system automation technology, and in particular, to a data communication gateway trusted authentication method, system and electronic device. Background Art

[0002] As the middle link of the power grid dispatching system, the data communication gateway is one of the most important automation equipment in the substation monitoring system, and plays a key role in connecting the upper and lower levels. Therefore, as the most widely used secondary equipment in substations, the security protection mechanism of the data communication gateway itself is still extremely weak. At present, the overall strategy for the security protection of the power monitoring system is still the traditional passive defense methods of blocking, blocking, and checking, such as virus killing, firewalls, forward and reverse isolation, and intrusion detection, but it is still difficult to cope with the current multi-dimensional, multi-angle, and multi-level network attack threats.

[0003] At present, the data communication gateway is used as the secondary equipment security monitoring object of the power monitoring system. The Agent sniffing software is embedded in the equipment to transmit the security event report to the network security management platform in real time, and the network security management platform is managed and controlled uniformly. However, due to the limited scope of security events detected by the Agent, it is impossible to exhaust all logical combinations, and there are logical loopholes and security risks such as missed reports and false reports; at the same time, the detection software is highly dependent on the host operating system configuration and operating environment, and is also highly related to the security level of the operating system; finally, since the Agent sniffing software can be installed in all secondary equipment of the power monitoring system without restrictions, there is no effective judgment mechanism for the trusted traceability of the Agent itself, which becomes the biggest security risk of this security protection strategy. Summary of the invention

[0004] In view of this, the purpose of one or more embodiments of the present application is to propose a data communication gateway trusted authentication method, system and electronic device, which can perform efficient, comprehensive and timely security management and control of digital communication gateways.

[0005] Based on the above objectives, in a first aspect, one or more embodiments of the present application provide a data communication gateway trusted authentication method, including:

[0006] Acquire code data of a data communication gateway, and perform system trustworthiness authentication on the data communication gateway according to the code data;

[0007] Registering multiple program processes of the data communication gateway, and performing application trusted authentication on the data communication gateway according to the registration information;

[0008] The network operation data of the data communication gateway is obtained, and network trust authentication is performed on the data communication gateway according to the network operation data.

[0009] Optionally, the acquiring code data of the data communication gateway and performing system trustworthiness authentication on the data communication gateway according to the code data includes:

[0010] Selecting a trusted root node from a plurality of data nodes of the data communication gateway;

[0011] Starting from the trusted root node, performing trust measurement on a plurality of the data nodes according to the code data;

[0012] An audit log generated by the trustworthy measure is obtained, and a trustworthy report is made on the audit log.

[0013] Optionally, performing trustworthiness measurement on the plurality of data nodes according to the code data includes:

[0014] Calculating a hash value of the code data corresponding to the data node;

[0015] Comparing the hash value of the data node with the initial hash value of the data node to determine whether the corresponding code data of the data node has changed;

[0016] In response to the fact that the corresponding code data of the data node has not changed, the data node trustworthiness measure passes.

[0017] Optionally, the obtaining of the audit log generated by the trustworthy measure and making a trustworthy report on the audit log includes:

[0018] Sending the audit log to the audit computing platform by means of digital signature;

[0019] The audit log is encrypted and stored after passing the digital signature authentication of the audit computing platform.

[0020] Optionally, the plurality of data nodes of the data communication gateway include trusted security chip nodes;

[0021] The performing system trustworthy authentication on the data communication gateway according to the code data also includes utilizing the trusted security chip node to perform trustworthy storage on the key data of the data communication gateway;

[0022] The using the trusted security chip node to trustably store the key data of the data communication gateway includes:

[0023] The key data is stored in a tree storage structure, a root key in the key data is stored in the trusted security chip node, and a private key and a symmetric key in the key data are stored in a virtual storage space.

[0024] Optionally, registering multiple program processes of the data communication gateway and performing application trusted authentication on the data communication gateway according to the registration information includes:

[0025] Generate a process whitelist according to the registration information;

[0026] Detecting all working processes of the data communication gateway in real time to determine whether the working process belongs to the process whitelist;

[0027] In response to the working process not belonging to the process whitelist, blocking and deleting the working process;

[0028] In response to the working process belonging to the process whitelist, a periodic check is performed on the working process.

[0029] Optionally, the acquiring the network operation data of the data communication gateway and performing network trusted authentication on the data communication gateway according to the network operation data includes:

[0030] Determine the IP address, port number and network card information of the data communication gateway when performing network communication according to the network operation data;

[0031] The IP address, the port number and the network card information are monitored according to a preset network whitelist, and network data flowing through an unbound network card with an unauthorized IP address and port number is actively filtered and shielded, and network communication is shut down;

[0032] Determining network behavior data of the data communication network card according to the network operation data;

[0033] Configure communication service rules according to the network behavior rule library, monitor the network behavior data according to the communication service rules, and actively filter and shield the network behavior data that does not comply with the communication service rules;

[0034] The communication flow and communication duration of the data communication network card are determined according to the network operation data, and network disconnection or communication diversion processing is performed when the communication flow exceeds the flow upper limit or the communication duration exceeds the communication time upper limit.

[0035] Based on the above purpose, in a second aspect, one or more embodiments of the present application provide a data communication gateway trusted authentication system, including:

[0036] A system trusted authentication module, used to obtain code data of a data communication gateway, and perform system trusted authentication on the data communication gateway according to the code data;

[0037] An application trusted authentication module, used to register multiple program processes of the data communication gateway, and perform application trusted authentication on the data communication gateway according to the registration information;

[0038] And a network trusted authentication module, used to obtain the network operation data of the data communication gateway, and perform network trusted authentication on the data communication gateway according to the network operation data.

[0039] Based on the above purpose, in a second aspect, an embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the data communication gateway trusted authentication method as described in the first aspect is implemented.

[0040] It can be seen from the above that a data communication gateway trusted authentication method, system and electronic device provided by one or more embodiments of the present application have the following beneficial technical effects:

[0041] By conducting trusted authentication on all system codes of the data communication gateway, the reliability of system data can be guaranteed. When the data communication gateway is running, all background work processes are monitored in real time to achieve application trusted authentication, ensuring that the data communication gateway can operate safely and stably. When the data communication gateway is communicating over the network, its network operation data is monitored and detected to achieve network trusted authentication, and active defense and active immunity are carried out against possible network security risks. The trusted authentication scheme includes system trust, application trust, and network trust, and forms a complete trusted chain, ensuring that all links of the data communication gateway are trusted, controllable, and reliable since power-on, and can perform efficient, comprehensive, and timely security management and control of the digital communication gateway. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate one or more embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only one or more embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0043] Figure 1 A schematic diagram of a data communication gateway trusted authentication method provided by one or more embodiments of the present application;

[0044] Figure 2 A schematic diagram of a system trusted authentication method in a data communication gateway trusted authentication method provided by one or more embodiments of the present application;

[0045] Figure 3A schematic diagram of a trust measurement method in a data communication gateway trust authentication method provided by one or more embodiments of the present application;

[0046] Figure 4 A schematic diagram of a data storage structure of the key data in a data communication gateway in a data communication gateway trusted authentication method provided by one or more embodiments of the present application;

[0047] Figure 5 A schematic diagram of a trusted authentication method applied in a trusted authentication method for a data communication gateway provided by one or more embodiments of the present application;

[0048] Figure 6 A schematic diagram of a network trusted authentication method in a data communication gateway trusted authentication method provided by one or more embodiments of the present application;

[0049] Figure 7 A schematic diagram of the structure of a data communication gateway trusted authentication system provided by one or more embodiments of the present application;

[0050] Figure 8 A schematic diagram of the structure of a data communication gateway trusted authentication electronic device provided in one or more embodiments of the present application. DETAILED DESCRIPTION

[0051] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0052] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in one or more embodiments of the present application should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in one or more embodiments of the present application do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0053] As the middle link of the power grid dispatching system, the data communication gateway is one of the most important automation equipment in the substation monitoring system, and plays a key role in connecting the upper and lower levels. Therefore, as the most widely used secondary equipment in substations, the security protection mechanism of the data communication gateway itself is still extremely weak. At present, the overall strategy for the security protection of the power monitoring system is still the traditional passive defense methods of blocking, blocking, and checking, such as virus killing, firewalls, forward and reverse isolation, and intrusion detection. However, it is still difficult to cope with the current multi-dimensional, multi-angle, and multi-level network attack threats. For example, there may be protocol attacks on network interfaces, backdoor program attacks, Trojan viruses, data scanning attacks, secret key data attacks, etc. on data disks, and password attacks and configuration attacks on system BIOS.

[0054] At present, the data communication gateway is used as the secondary equipment security monitoring object of the power monitoring system. The Agent sniffing software is embedded in the equipment to transmit the security event report to the network security management platform in real time, and the network security management platform is managed and controlled uniformly. However, due to the limited scope of security events detected by the Agent, it is impossible to exhaust all logical combinations, and there are logical loopholes and security risks such as missed reports and false reports; at the same time, the detection software is highly dependent on the host operating system configuration and operating environment, and is also highly related to the security level of the operating system; finally, since the Agent sniffing software can be installed in all secondary equipment of the power monitoring system without restrictions, there is no effective judgment mechanism for the trusted traceability of the Agent itself, which becomes the biggest security risk of this security protection strategy.

[0055] With the orderly advancement of the localization of secondary equipment in my country's power system, although the software and hardware have largely avoided unknown vulnerabilities and network attacks, they are still in a passive position in terms of overall network security threats and are unable to achieve active defense, active immunity, and active reporting mechanisms during the operation of data communication gateways.

[0056] In response to the above problems, the technical solution of this application aims to propose a trusted authentication method mechanism to perform trusted authentication from three aspects: system, application and network, establish a comprehensive and complete trusted chain, and ensure that all links of the data communication gateway are trusted, controllable and reliable since power-on.

[0057] The technical solution of this application is described below through specific embodiments.

[0058] On the one hand, based on the above-mentioned invention objectives, an embodiment of the present application provides a data communication gateway trusted authentication method.

[0059] like Figure 1 As shown, a data communication gateway trusted authentication method provided by one or more optional embodiments of the present application includes:

[0060] S1: Obtain code data of a data communication gateway, and perform system trustworthiness authentication on the data communication gateway according to the code data.

[0061] The data communication gateway includes multiple data nodes, each of which stores a corresponding node code. The data communication gateway may be attacked by a network during long-term operation, causing its internal code data to change. Therefore, the trusted authentication method can achieve system trusted authentication of the data communication gateway by detecting whether the code data has changed.

[0062] S2: registering multiple program processes of the data communication gateway, and performing application trusted authentication on the data communication gateway according to the registration information.

[0063] Multiple program processes in the data communication gateway can be registered in advance, and the safe processes that meet the requirements are registered and generate corresponding registration information, while processes that do not meet the requirements or may have security risks cannot be registered. The background processes running in real time in the data communication gateway can be monitored through the registration information, thereby realizing the application trust authentication of the data communication gateway.

[0064] S3: Obtain the network operation data of the data communication gateway, and perform network trust authentication on the data communication gateway according to the network operation data.

[0065] When the data communication gateway is working, network communication, network behavior and network traffic may be attacked by network attacks. In addition to adopting network defense measures such as network isolation and intrusion detection, the data communication gateway can also perform trustworthy authentication on network communication, network behavior and network traffic.

[0066] The data communication gateway trusted authentication method can ensure the reliability of system data by performing trusted authentication on all system codes of the data communication gateway, and can monitor all background work processes in real time when the data communication gateway is running to achieve application trusted authentication, ensuring that the data communication gateway can operate safely and stably, and can monitor and detect its network operation data when the data communication gateway is performing network communication to achieve network trusted authentication, and actively defend and immunize against possible network security risks. The trusted authentication scheme includes system trust, application trust, and network trust, and forms a complete trusted chain, ensuring that all links of the data communication gateway are trusted, controllable, and reliable since power-on, and can perform efficient, comprehensive, and timely security management and control of the digital communication gateway.

[0067] like Figure 2As shown, in a data communication gateway trusted authentication method provided by one or more optional embodiments of the present application, the step of obtaining code data of the data communication gateway and performing system trusted authentication on the data communication gateway according to the code data includes:

[0068] S201: Selecting a trusted root node from a plurality of data nodes of the data communication gateway.

[0069] The multiple data nodes in the data communication network may include a trusted security chip node, a CPU chip node, and a BIOS chip node. One of the trusted security chip node, the CPU chip node, and the BIOS chip node may be selected as a trusted root node. In some optional embodiments of the present application, a trusted security chip node is selected as the trusted root node.

[0070] S202: Starting from the trusted root node, a trust measurement is performed on the plurality of data nodes according to the code data.

[0071] Taking the trusted security chip node as a trusted root node as an example, the trusted security chip node first performs self-measurement to detect whether the code data inside the node has changed. After the self-measurement passes, the integrity trust measurement of the BIOS is performed, and the BIOS is started after the measurement passes; the BIOS then measures the OS Loader, and the control is transferred only after the measurement passes. This approach can ensure the trusted boot and trusted startup of the data communication network. It can be understood by those skilled in the art that other important data nodes can also be selected as trusted root nodes to build a complete trusted startup chain to perform trusted measurements and startup in turn.

[0072] S203: Obtain the audit log generated by the trustworthy measure, and make a trustworthy report on the audit log. In some optional embodiments of the present application, making a trustworthy report on the audit log includes:

[0073] The audit log is sent to the audit computing platform in a digitally signed manner, and the audit log is encrypted and stored after being authenticated by the digital signature of the audit computing platform.

[0074] The audit log generated by the trustworthy measure can be sent to the audit computing platform in a digitally signed manner. After receiving the audit computing platform, the digital signature authentication is first performed. After the authentication is passed, the audit log is encrypted and stored, and can be accessed by the trusted management center software. In some optional embodiments, the SM4 symmetric encryption algorithm can be used to encrypt and store the audit log. It should be understood by those skilled in the art that other encryption algorithms can also be used for processing.

[0075] like Figure 3As shown, in a data communication gateway trusted authentication method provided by one or more optional embodiments of the present application, the trusted measurement of the plurality of data nodes according to the code data includes:

[0076] S301: Calculate the hash value of the code data corresponding to the data node.

[0077] The hash value of the code data may be calculated using a hash algorithm SM3.

[0078] S302: Compare the hash value of the data node with the initial hash value of the data node to determine whether the corresponding code data of the data node has changed.

[0079] The hash value of the data node is compared with the pre-stored initial hash value of the data node. If the two are the same, it means that the code data has not changed. Otherwise, it means that the code data has changed and the data communication gateway system may be attacked from the outside.

[0080] S303: In response to the code data corresponding to the data node not being changed, the trustworthiness of the data node passes. If the code data is changed, the trustworthiness fails.

[0081] The data communication gateway trusted authentication method can ensure the reliability of system data by performing trusted authentication on all system codes of the data communication gateway.

[0082] In a data communication gateway trusted authentication method provided in one or more optional embodiments of the present application, the performing system trusted authentication on the data communication gateway according to the code data further includes using the trusted security chip node to perform trusted storage on the key data of the data communication gateway;

[0083] like Figure 4 4. The data storage structure diagram of the key data in the data communication gateway is shown in FIG. 4. In some optional embodiments, the key data may be stored in a tree-like storage structure, the root key in the key data is stored in the trusted security chip node 401, and the private key and the symmetric key in the key data are stored in the virtual storage space 402.

[0084] like Figure 5 As shown, in a data communication gateway trusted authentication method provided by one or more optional embodiments of the present application, the multiple program processes of the data communication gateway are registered, and the data communication gateway is subjected to application trusted authentication according to the registration information, including:

[0085] S501: Generate a process whitelist according to the registration information.

[0086] A trusted application service can be created, and all application processes, daemon processes, audit processes, and third-party processes of the data communication gateway machine are uniformly registered by calling the trusted application service interface in advance. For safe process registration, the registration information is uniformly managed by the trusted application service, and a unique registration code is assigned to each process. The registration information includes the registration code, and a process whitelist can be generated based on the registration code.

[0087] S502: Detect all working processes of the data communication gateway in real time to determine whether the working process belongs to the process whitelist.

[0088] Whether the working process belongs to the whitelist may be determined by detecting whether the working process has a registration code and whether the registration code is correct.

[0089] S503: In response to the working process not belonging to the process whitelist, blocking and deleting the working process.

[0090] S504: In response to the working process belonging to the process whitelist, the working process is periodically verified, including malicious tampering, resource anomalies, unauthorized access, process deadlock, process hijacking, dangerous operations, memory leaks, etc., and an alarm is issued in real time and an audit report is generated.

[0091] The data communication gateway trusted authentication method monitors all background working processes in real time when the data communication gateway is running, thereby realizing application trusted authentication and ensuring that the data communication gateway can run safely and stably.

[0092] like Figure 6 As shown, in a data communication gateway trusted authentication method provided by one or more optional embodiments of the present application, the obtaining of the network operation data of the data communication gateway and performing network trusted authentication on the data communication gateway according to the network operation data include:

[0093] S601: Determine the IP address, port number and network card information of the data communication gateway when performing network communication according to the network operation data;

[0094] S602: monitoring the IP address, the port number and the network card information according to a preset network whitelist, actively filtering and shielding network data flowing through an unbound network card with an unauthorized IP address and port number, and shutting down network communication;

[0095] S603: Determine network behavior data of the data communication network card according to the network operation data;

[0096] S604: configuring communication service rules according to a network behavior rule library, monitoring the network behavior data according to the communication service rules, and actively filtering and shielding the network behavior data that does not comply with the communication service rules;

[0097] S605: Determine the communication flow and communication duration of the data communication network card according to the network operation data, and disconnect the network or perform communication diversion processing when the communication flow exceeds the flow upper limit or the communication duration exceeds the communication time upper limit.

[0098] The data communication gateway trusted authentication method monitors and detects network communication, network behavior and network traffic when the data communication gateway performs network communication, thereby realizing network trusted authentication and actively defending and immunizing against possible network security risks.

[0099] It should be noted that the method of the embodiment of the present disclosure can be performed by a single device, such as a computer or a server. The method of the present embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the described method.

[0100] It should be noted that the above describes some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0101] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides a data communication gateway trusted authentication system.

[0102] like Figure 7 As shown, a data communication gateway trusted authentication device provided by one or more optional embodiments of the present application includes:

[0103] The system trusted authentication module 701 is used to obtain code data of the data communication gateway and perform system trusted authentication on the data communication gateway according to the code data;

[0104] The application trusted authentication module 702 is used to register multiple program processes of the data communication gateway and perform application trusted authentication on the data communication gateway according to the registration information;

[0105] And a network trusted authentication module 703, which is used to obtain the network operation data of the data communication gateway and perform network trusted authentication on the data communication gateway according to the network operation data.

[0106] For the convenience of description, the above system is described by dividing the functions into various modules. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0107] The device of the above embodiment is used to implement the corresponding data communication gateway trusted authentication method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0108] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the data communication gateway trusted authentication method described in any of the above embodiments is implemented.

[0109] Figure 8 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0110] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0111] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0112] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0113] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0114] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0115] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0116] The electronic device of the above embodiment is used to implement the corresponding data communication gateway trusted authentication method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0117] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the data communication gateway trusted authentication method as described in any of the above embodiments.

[0118] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0119] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the data communication gateway trusted authentication method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0120] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples. Based on the concept of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of different aspects of one or more embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0121] In addition, to simplify the description and discussion, and in order not to make one or more embodiments of the present application difficult to understand, the known power / ground connections to the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making one or more embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which one or more embodiments of the present application will be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present disclosure, it is obvious to those skilled in the art that one or more embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0122] Although the present disclosure has been described in conjunction with specific embodiments of the present disclosure, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0123] One or more embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of one or more embodiments of the present application should be included in the scope of protection of the present disclosure.

Claims

1. A data communication gateway trusted authentication method, characterized in that: include: Acquire code data of a data communication gateway, and perform system trustworthiness authentication on the data communication gateway according to the code data; Registering multiple program processes of the data communication gateway, and performing application trusted authentication on the data communication gateway according to the registration information; Acquiring network operation data of the data communication gateway, and performing network trustworthy authentication on the data communication gateway according to the network operation data; The obtaining of the network operation data of the data communication gateway and performing network trustworthy authentication on the data communication gateway according to the network operation data includes: Determine the IP address, port number and network card information of the data communication gateway when performing network communication according to the network operation data; The IP address, the port number and the network card information are monitored according to a preset network whitelist, and network data flowing through an unbound network card with an unauthorized IP address and port number is actively filtered and shielded, and network communication is shut down; Determining network behavior data of the data communication network card according to the network operation data; Configure communication service rules according to the network behavior rule library, monitor the network behavior data according to the communication service rules, and actively filter and shield the network behavior data that does not comply with the communication service rules; Determine the communication flow and communication duration of the data communication network card according to the network operation data, and disconnect the network or perform communication diversion processing when the communication flow exceeds the flow upper limit or the communication duration exceeds the communication time upper limit; The step of obtaining code data of a data communication gateway and performing system trustworthiness authentication on the data communication gateway according to the code data includes: Selecting a trusted root node from a plurality of data nodes of the data communication gateway; Starting from the trusted root node, performing trust measurement on a plurality of the data nodes according to the code data; Obtaining an audit log generated by a trustworthy measure, and making a trustworthy report on the audit log; The performing trustworthiness measurement on the plurality of data nodes according to the code data includes: Calculating a hash value of the code data corresponding to the data node; Compare the hash value of the data node with the initial hash value of the data node to determine whether the corresponding code data of the data node has changed; In response to the code data corresponding to the data node not being changed, the trustworthiness measurement of the data node passes; The registering of the plurality of program processes of the data communication gateway and performing application trusted authentication on the data communication gateway according to the registration information comprises: Generate a process whitelist according to the registration information; Detecting all working processes of the data communication gateway in real time to determine whether the working process belongs to the process whitelist; In response to the working process not belonging to the process whitelist, blocking and deleting the working process; In response to the working process belonging to the process whitelist, a periodic check is performed on the working process.

2. The method according to claim 1, characterized in that The obtaining of the audit log generated by the trustworthy measure and making a trustworthy report on the audit log include: Sending the audit log to the audit computing platform by means of digital signature; The audit log is encrypted and stored after passing the digital signature authentication of the audit computing platform.

3. The method according to claim 1, characterized in that The plurality of data nodes of the data communication gateway include trusted security chip nodes; The performing system trustworthy authentication on the data communication gateway according to the code data also includes utilizing the trusted security chip node to perform trustworthy storage on the key data of the data communication gateway; The using the trusted security chip node to trustably store the key data of the data communication gateway includes: The key data is stored in a tree storage structure, a root key in the key data is stored in the trusted security chip node, and a private key and a symmetric key in the key data are stored in a virtual storage space.

4. A data communication gateway trusted authentication system, characterized in that: A method for implementing a trusted authentication method for a data communication gateway as claimed in any one of claims 1 to 3, comprising: A system trusted authentication module, used to obtain code data of a data communication gateway, and perform system trusted authentication on the data communication gateway according to the code data; An application trusted authentication module, used to register multiple program processes of the data communication gateway, and perform application trusted authentication on the data communication gateway according to the registration information; And a network trusted authentication module is used to obtain the network operation data of the data communication gateway and perform network trusted authentication on the data communication gateway according to the network operation data.

5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 3 is implemented.