A security management platform for information data transmission
By integrating multiple modules into the security management platform, including device identity authentication, encrypted transmission, edge network isolation, and multi-party secure computing, the deficiencies of traditional platforms in data transmission security and automatic response capabilities are solved, and end-to-end encryption protection is achieved. and dynamic policy self-healing, improving the security and reliability of edge computing environments.
Patent Information
- Application Number
- CN202311167980.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-12
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-09-12
AI Technical Summary
Traditional security management platforms lack end-to-end encryption protection in data transmission and cannot automatically respond and handle security incidents, resulting in slow response times and the inability to quickly contain threats.
Designed a security management platform for information data transmission, including device identity authentication and key management, encrypted transmission, edge network isolation, security policy management and monitoring, self-healing response and backup, security audit and monitoring, edge devices The management and multi-party secure computing module uses strong encryption algorithms such as TLS and SSL, multi-party secure computing protocols, machine learning and artificial intelligence technology to ensure the security of data transmission and automated response.
It realizes end-to-end data encryption protection and dynamic policy self-healing in the edge computing environment, quickly responds to security threats, improves the security and reliability of data transmission and computing processes, ensures the confidentiality and privacy of data, and prevents unauthorized access. Authorized access and attacks.
Smart Images

Figure CN117201131B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data security management, and in particular to a security management platform for information data transmission. Background Art
[0002] A security management platform refers to a comprehensive software and hardware system designed to help organizations manage and protect their information technology security. Such platforms usually integrate multiple security tools, technologies and strategies to achieve comprehensive security management and protection of the organization's internal networks, systems, data and devices. The main goal of the security management platform is to help organizations prevent, monitor, detect and respond to various security threats and risks to ensure the confidentiality, integrity and availability of information and assets.
[0003] The security management platform for information data transmission refers to a security platform specifically used to protect data transmitted during the information process. These platforms are usually used to ensure the confidentiality, integrity and availability of data during transmission, and prevent data leakage, tampering or unauthorized access. Such platforms involve data encryption, identity authentication, access control, and security protocols to ensure the secure transmission of sensitive data.
[0004] However, traditional security management platforms lack end-to-end encryption protection for data transmission, which makes data easily intercepted or tampered with during transmission. At the same time, they are unable to automatically respond to and handle security incidents and require manual intervention, resulting in slow response time and inability to quickly contain threats. Therefore, there is an urgent need for a security management platform for information data transmission that strengthens edge computing security and can achieve dynamic policy self-healing to solve such problems. Summary of the invention
[0005] 1. Technical issues to be resolved
[0006] In view of the deficiencies in the prior art, the present invention provides a security management platform for information data transmission, which solves the problems in the prior art such as lack of end-to-end encryption protection in data transmission, inability to automatically respond to and handle security incidents, and requiring manual intervention, resulting in slow response time and inability to quickly contain threats.
[0007] (II) Technical solution
[0008] To achieve the above objectives, the present invention is implemented through the following technical solutions. The present invention provides a security management platform for information data transmission, characterized in that the platform includes:
[0009] Device authentication and key management module, used for device authentication and key management. Only authorized devices can participate in data transmission and calculation. A unique digital certificate is generated for each device, and certificates are managed and updated.
[0010] Encrypted transmission module, which uses strong encryption algorithms TLS and SSL to encrypt data and transmits data end-to-end between edge devices and edge nodes;
[0011] The edge network isolation module isolates edge devices and edge nodes in a secure network area through network isolation policies and firewall rules;
[0012] Security policy management and monitoring module, which monitors the security status of the edge computing environment in real time and dynamically adjusts security policies based on security events and threat intelligence;
[0013] The self-healing response and backup module automatically handles detected security incidents and simultaneously retains a backup of the system status;
[0014] The security audit and monitoring module includes a database and a monitoring system, which collects and stores log information of security events and activities, establishes an audit database, provides a visual monitoring interface, and records and analyzes security events and activities in the edge computing environment;
[0015] The edge device management module includes a device management system that provides a centralized management interface for edge devices, performs device configuration management, vulnerability repair, and firmware upgrades;
[0016] The multi-party secure computing module uses multi-party secure computing protocols, homomorphic encryption, and secure multi-party computing to encrypt and protect data transmission and computing processes in edge computing scenarios involving multiple parties.
[0017] In the device identity authentication and key management module, the specific steps of key generation and management include:
[0018] A private key is generated using a random number generator. The private key contains two large prime numbers, p and q.
[0019] Using the mathematical calculation of the RSA algorithm, the corresponding public key is calculated:
[0020] ,
[0021] in Take 65537 as a fixed value, and Obtained by multiplying two large prime numbers p and q;
[0022] Store the generated private and public keys in a secure storage area, ensuring that only the device itself can access the private key, while the public key is shared with other devices and the security management platform;
[0023] Device identity authentication after the security management platform issues a digital certificate;
[0024] For encrypted communication, keys are exchanged between devices to ensure data encryption and decryption during communication. Specifically:
[0025] Using the Diffie-Hellman key exchange algorithm, two large prime numbers p and g are selected and published to the devices participating in the key exchange;
[0026] The large prime number p is selected as one of 1024 bits and 2048 bits as the modulus of the finite field, and g is a primitive root used to specify a generator on the finite field;
[0027] Each device selects a private random number as a private parameter. Suppose device A selects private parameter a and device B selects private parameter b.
[0028] Then device A and device B use public parameters and private parameters to calculate their respective public values in the following way:
[0029] ,
[0030] ,
[0031] in is the public value of device A, is the public value of device B;
[0032] Device A will Send it to device B, and device B will Send to device A;
[0033] Device A and device B use the received public value and their own private parameters to calculate a shared session key, specifically:
[0034] ,
[0035] ,
[0036] in, Calculate the shared key formula for device A, Calculate the shared key formula for device B;
[0037] The AES symmetric encryption algorithm is used between devices to encrypt and decrypt communication data using a shared session key K;
[0038] In the encryption transmission module, strong encryption algorithms TLS and SSL are used to encrypt data transmission. The specific steps are as follows:
[0039] Establish a secure connection between the client and device B, which is protected by TLS and SSL protocols;
[0040] The client initiates a TLS / SSL handshake request to the server, indicating that it wants to establish a secure connection;
[0041] The server responds to the handshake request and performs TLS and SSL handshake negotiation. During the handshake negotiation, the client and server negotiate and select an encryption suite, including encryption algorithm, key exchange algorithm, and digital signature algorithm.
[0042] During the handshake process, the client and server generate a temporary session key to encrypt and decrypt data transmission;
[0043] The client uses the session key to encrypt the data to be sent and obtains the ciphertext. Specifically:
[0044] The AES encryption algorithm is used, and the specific formula is:
[0045] The AES encryption algorithm used for encryption is recorded as ,in is the session key, is the data to be encrypted, and the encrypted data is ;
[0046] The server uses the session key to decrypt the received ciphertext and restore the original data;
[0047] Suppose the AES decryption algorithm used for decryption is recorded as ,in is the session key, is the received ciphertext, then:
[0048] ;
[0049] The specific self-healing operation steps in the self-healing response and backup module include:
[0050] Analyze various security incidents that may occur and determine their impact and threat level to the edge computing environment;
[0051] According to the analysis results of security incidents, formulate corresponding self-healing response measures, including closing abnormal ports, blocking attack source IPs, and resetting infected devices;
[0052] According to the formulated self-healing response measures, write automated script commands to implement self-healing operations;
[0053] A trigger mechanism is set up. When a certain security event is detected, the corresponding self-healing script is automatically triggered to perform self-healing operations;
[0054] In the security audit and monitoring module, the steps of establishing an audit database and providing a visual monitoring interface specifically include:
[0055] Establishing an audit database and providing a visual monitoring interface is divided into the following steps:
[0056] Select MySQL or PostgreSQL database to store audit data, design the database table structure to store audit data, and create corresponding tables and fields according to the type of audit data and the information to be recorded;
[0057] Establish a connection with the database in the monitoring system;
[0058] Monitor and detect security incidents in edge computing environments and record relevant audit data, including incident type, occurrence time, participants, and impact;
[0059] When a security incident occurs, relevant audit data is stored in the audit database through database insertion;
[0060] Use Grafana and Kibana to build the monitoring interface, and configure the connection with the audit database in the visualization tool;
[0061] Thresholds and conditions set in the monitoring panel to trigger alarm and notification mechanisms;
[0062] When specific security events are detected and the set thresholds are exceeded, alarm and notification mechanisms are triggered;
[0063] The present invention is further configured as follows: the remote management and maintenance of edge devices in the edge device management module, as well as the support for automated firmware upgrades and vulnerability repair steps specifically include:
[0064] Design a device management interface for administrators to remotely manage and maintain edge devices;
[0065] Establish a database to store device information and related configurations, including device type, IP address, and firmware version;
[0066] Establish remote connections with edge devices in the device management system to facilitate remote management and maintenance operations;
[0067] Remotely configure relevant parameters of edge devices, including network settings and access rights, through the device management system;
[0068] The device management system monitors and detects known vulnerabilities on the device and provides vulnerability repair solutions;
[0069] The present invention is further configured as follows: the specific steps of the multi-party secure computing module using homomorphic encryption and secure multi-party computing protocol for encryption protection are:
[0070] Each participant generates their own key pair, including public key and private key;
[0071] Each participant uses the public key to encrypt their own data and send it to other participants;
[0072] Encrypted data transmission between parties;
[0073] Perform secure multi-party computation on the participants’ encrypted data;
[0074] The specific steps of using homomorphic addition are:
[0075] Suppose there are three parties A, B and C, with private keys a, b, c and public keys A, B, C respectively;
[0076] Participant A generates public key A and private key a, participant B generates public key B and private key b, and participant C generates public key C and private key c.
[0077] Participant A has data x, participant B has data y, and participant C has data z. After encrypting the data using the corresponding public keys, encrypted data X, Y, and Z are obtained respectively;
[0078] Participant A sends encrypted data X to B and C, participant B sends encrypted data Y to A and C, and participant C sends encrypted data Z to A and B;
[0079] After party A obtains the encrypted data X and Y, it uses the homomorphic addition protocol to perform calculations in an encrypted state: , and then send the calculation results to B and C;
[0080] Participants B and C use their private keys b and c to decrypt the data. , and get the final calculation result .
[0081] (III) Beneficial effects
[0082] The present invention provides a security management platform for information data transmission, which has the following beneficial effects:
[0083] The security management platform provided by the present invention is designed to achieve secure data transmission and computing in an edge computing environment, and includes multiple modules: device authentication and key management, encrypted transmission, edge network isolation, security policy management and monitoring, self-healing response and backup, and edge device management. In addition, the platform uses multi-party secure computing technology to protect data transmission and computing processes.
[0084] In terms of device authentication and key management, each device is assigned a unique digital certificate for authentication. The device securely generates private and public keys. The private key is accessible only to the device itself. The platform handles the issuance, management and update of certificates. Strong encryption algorithms TLS and SSL are used to ensure secure data transmission between edge devices and nodes. At the same time, shared session keys are used to encrypt and decrypt communication data. Devices and nodes are placed in different subnets for isolation. Firewall rules are configured to achieve network isolation and limit unauthorized access. Machine learning and artificial intelligence technologies are used to analyze security data, adjust security policies based on real-time threats and events, and automatically adjust security policies, including firewall rules and access control, to respond to potential threats. At the same time, by analyzing security incidents and automatically triggering response measures, centralized management and maintenance of edge devices are achieved through a dedicated management interface, known vulnerabilities on devices are detected and repair solutions are provided, and multi-party secure computing protocols, homomorphic encryption and secure multi-party computing technologies are used to protect data and computing processes in edge computing.
[0085] In terms of end-to-end protection and dynamic policy self-healing, strong encryption algorithms TLS and SSL are used to ensure that data is always encrypted during transmission from edge devices to edge nodes. Even if the data is intercepted during transmission, attackers cannot read or tamper with its content, thus protecting the confidentiality and integrity of the data. At the same time, a unique digital certificate is generated for each device for identity authentication and key management. Only authorized devices can participate in data transmission and calculation, preventing access and attacks from unauthorized devices. Multi-party secure computing technology is used to protect the security of data during the calculation process involving multiple parties. In this computing environment, the participants can perform calculations together without leaking their respective private data, thus ensuring data privacy.
[0086] For dynamic policy self-healing, machine learning and artificial intelligence technologies are used to analyze security data in the edge computing environment, including logs, network traffic, and security event records, to monitor and detect potential security threats in real time. At the same time, the monitoring system continuously collects security data from edge devices, edge nodes, and various parts of the edge network. Once a specific security event is detected that exceeds the set threshold, the corresponding self-healing script is automatically triggered to perform self-healing operations, quickly respond to security threats, and take necessary measures to contain attacks.
[0087] Through end-to-end encryption protection and dynamic policy self-healing, the security of the edge computing environment is effectively improved, ensuring the security and reliability of data transmission and computing processes. At the same time, automated security response and adjustment strategies enable the system to quickly adapt to new security threats and protect the edge computing ecosystem from potential attacks.
[0088] It solves the problems existing in the prior art of lack of end-to-end encryption protection for data transmission, and the inability to automatically respond to and handle security incidents, requiring manual intervention, resulting in slow response time and inability to quickly contain threats. BRIEF DESCRIPTION OF THE DRAWINGS
[0089] Figure 1 This is a framework diagram of the security management platform for information data transmission of the present invention. DETAILED DESCRIPTION
[0090] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0091] Example: See Figure 1 The present invention provides a security management platform for information data transmission, the platform comprising:
[0092] Device authentication and key management module, used for device authentication and key management. Only authorized devices can participate in data transmission and calculation. A unique digital certificate is generated for each device, and certificates are managed and updated.
[0093] The specific steps of key generation and management include:
[0094] A private key is generated using a random number generator. The private key contains two large prime numbers, p and q.
[0095] Using the mathematical calculation of the RSA algorithm, the corresponding public key is calculated:
[0096]
[0097] in Take 65537 as a fixed value, and Obtained by multiplying two large prime numbers p and q;
[0098] The public key consisting of e and n will be used to encrypt data, while the private key contains two large prime numbers, p and q, for subsequent decryption operations;
[0099] Store the generated private and public keys in a secure storage area, ensuring that only the device itself can access the private key, while the public key is shared with other devices and the security management platform;
[0100] Private key and public key are used for subsequent identity authentication, data encryption and signature security operations;
[0101] Device identity authentication after the security management platform issues a digital certificate;
[0102] During data transmission and communication, other devices can authenticate the identity of the device by using the device's public key;
[0103] For encrypted communication, keys are exchanged between devices to ensure data encryption and decryption during communication. Specifically:
[0104] Using the Diffie-Hellman key exchange algorithm, two large prime numbers p and g are selected and published to the devices participating in the key exchange;
[0105] The large prime number p is selected as one of 1024 bits and 2048 bits as the modulus of the finite field, and g is a primitive root used to specify a generator on the finite field;
[0106] Each device selects a private random number as a private parameter. Suppose device A selects private parameter a and device B selects private parameter b.
[0107] Then device A and device B use public parameters and private parameters to calculate their respective public values in the following way:
[0108] ,
[0109] ,
[0110] in is the public value of device A, is the public value of device B;
[0111] Device A will Send it to device B, and device B will Send to device A;
[0112] Device A and device B use the received public value and their own private parameters to calculate a shared session key, specifically:
[0113] ,
[0114] ,
[0115] in, Calculate the shared key formula for device A, Calculate the shared key formula for device B;
[0116] Device A and device B now both have the same shared key K, which can be used for subsequent symmetric encryption communications;
[0117] Through the Diffie-Hellman key exchange algorithm, device A and device B exchange information on an open channel, but do not directly transmit the shared key. Instead, they calculate the same shared key K locally. Therefore, even if the transmission is eavesdropped, the actual shared key cannot be known, ensuring secure communication between devices.
[0118] The AES symmetric encryption algorithm is used between devices to encrypt and decrypt communication data using a shared session key K;
[0119] By using the same session key K, device A encrypts the data and device B decrypts the data, thus achieving secure encrypted communication;
[0120] Encrypted transmission module, which uses strong encryption algorithms TLS and SSL to encrypt data, and end-to-end encrypted transmission between edge devices and edge nodes to ensure that data is protected during transmission;
[0121] In the encrypted transmission module, strong encryption algorithms TLS and SSL are used for encrypted data transmission. The specific steps are as follows:
[0122] Establish a secure connection between the client and device B, which is protected by TLS and SSL protocols;
[0123] The client initiates a TLS / SSL handshake request to the server, indicating that it wants to establish a secure connection;
[0124] The server responds to the handshake request and performs TLS and SSL handshake negotiation. During the handshake negotiation, the client and server negotiate and select an encryption suite, including encryption algorithm, key exchange algorithm, and digital signature algorithm.
[0125] During the handshake process, the client and server generate a temporary session key to encrypt and decrypt data transmission;
[0126] The client uses the session key to encrypt the data to be sent and obtains the ciphertext. Specifically:
[0127] The AES encryption algorithm is used, and the specific formula is:
[0128] The AES encryption algorithm used for encryption is recorded as ,in is the session key, is the data to be encrypted, and the encrypted data is ;
[0129] The server uses the session key to decrypt the received ciphertext and restore the original data;
[0130] Suppose the AES decryption algorithm used for decryption is recorded as ,in is the session key, is the received ciphertext, then:
[0131] ,
[0132] Encrypted transmission ensures that data is protected end-to-end during transmission. The data is symmetrically encrypted using session keys to ensure data confidentiality and integrity. Even if the data is eavesdropped during transmission, the session key and actual data content cannot be obtained.
[0133] The edge network isolation module isolates edge devices and edge nodes in a secure network area through network isolation policies and firewall rules, thus achieving network isolation of edge devices and edge nodes and preventing unauthorized access and attacks;
[0134] The specific steps for setting network isolation policies and firewall rules in the edge network isolation module are as follows:
[0135] Place edge devices and edge nodes in different subnets;
[0136] Assign independent IP address segments to each network area;
[0137] Configure firewall rules at edge nodes in the edge network to achieve network isolation;
[0138] Configure firewall rules to deny access requests from edge device A, not allow it to connect to edge device B, and only allow devices from the specified IP address range to access edge nodes;
[0139] Security policy management and monitoring module, which monitors the security status of the edge computing environment in real time and dynamically adjusts security policies based on security events and threat intelligence;
[0140] The intelligent security policy management and monitoring module uses machine learning and artificial intelligence technologies. The specific monitoring methods are as follows:
[0141] Collect security data in the edge computing environment from edge devices, edge nodes, and various parts of the edge network, including logs, network traffic, and security event records;
[0142] Extract features of security events and threat intelligence from preprocessed data, including device behavior, network traffic patterns, and abnormal logs;
[0143] Introduce machine learning support vector machine (SVM) algorithm to establish a model for security incident detection and threat intelligence analysis;
[0144] Use historical data to train the established model so that the model can learn how to identify security events and threat intelligence;
[0145] Input the data collected in real time into the trained model to monitor and analyze the current security status;
[0146] Generate corresponding security policy adjustment suggestions based on the output results of the model, including updating firewall rules, network access control, and device permission settings;
[0147] Automatically adjust security policies in edge computing environments to respond to potential threats and security incidents based on recommendations generated by security policies;
[0148] The self-healing response and backup module automatically handles detected security incidents and simultaneously retains a backup of the system status;
[0149] The specific self-healing operation steps in the self-healing response and backup module include:
[0150] Analyze various security incidents that may occur and determine their impact and threat level to the edge computing environment;
[0151] According to the analysis results of security incidents, formulate corresponding self-healing response measures, including closing abnormal ports, blocking attack source IPs, and resetting infected devices;
[0152] According to the formulated self-healing response measures, write automated script commands to implement self-healing operations;
[0153] A trigger mechanism is set up. When a certain security event is detected, the corresponding self-healing script is automatically triggered to perform self-healing operations;
[0154] The automated scripts for implementing self-healing response measures in the self-healing response and backup modules are written in scripting languages such as Shell and Python.
[0155] When a security event is triggered, a specific abnormal port needs to be automatically closed and a log needs to be recorded. The code written in Python is as follows:
[0156] importsubprocess
[0157] importlogging
[0158] defclose_abnormal_port(port):
[0159] try:
[0160] #Use the subprocess module to close the port
[0161] command=f"sudoiptables-AINPUT-ptcp--dport{port}-jDROP"
[0162] subprocess.run(command,shell=True,check=True)
[0163] #Logging
[0164] logging.info(f"Closedabnormalport:{port}")
[0165] exceptsubprocess.CalledProcessErrorase:
[0166] #Handle execution command exception
[0167] logging.error(f"Failedtocloseport:{port},Error:{e}")
[0168] #Call the self-healing script when a security event is triggered
[0169] if__name__=="__main__":
[0170] #Assume that the security event is abnormal access to port number 8080
[0171] port_to_close=8080
[0172] close_abnormal_port(port_to_close)
[0173] In the above sample code, a function named 'close_abnormal_port' is defined to close the abnormal port with the specified port number. When a security event is triggered, this function is called to implement automatic self-healing response measures.
[0174] Develop a strategy for system status backup, including backup frequency, backup content, and backup storage location;
[0175] Perform system status backup operations regularly according to the backup strategy;
[0176] The security audit and monitoring module includes a database and a monitoring system, which collects and stores log information of security events and activities, establishes an audit database, provides a visual monitoring interface, and records and analyzes security events and activities in the edge computing environment;
[0177] The steps to establish an audit database and provide a visual monitoring interface include:
[0178] Establishing an audit database and providing a visual monitoring interface is divided into the following steps:
[0179] Select MySQL or PostgreSQL database to store audit data, design the database table structure to store audit data, and create corresponding tables and fields according to the type of audit data and the information to be recorded;
[0180] Establish a connection with the database in the monitoring system;
[0181] Monitor and detect security incidents in edge computing environments and record relevant audit data, including incident type, occurrence time, participants, and impact;
[0182] When a security incident occurs, relevant audit data is stored in the audit database through database insertion;
[0183] Use Grafana and Kibana to build the monitoring interface, and configure the connection with the audit database in the visualization tool;
[0184] Thresholds and conditions set in the monitoring panel to trigger alarm and notification mechanisms;
[0185] When specific security events are detected and the set thresholds are exceeded, alarm and notification mechanisms are triggered;
[0186] The steps to write audit data into MySQL database using Python are:
[0187] importmysql.connector
[0188] #Establish a connection with the MySQL database
[0189] db = mysql.connector.connect(
[0190] host="localhost",
[0191] user="username",
[0192] password="password",
[0193] database="audit_db")
[0194] #Get the database cursor
[0195] cursor=db.cursor()
[0196] #Audit data
[0197] event_type="Login attempt"
[0198] event_time="time"
[0199] user="user123"
[0200] ip="192.168.1.100"
[0201] #Insert audit data into the database table
[0202] sql="INSERTINTOaudit_table(event_type,event_time,user,ip)VALUES(%s,%s,%s,%s)"
[0203] val=(event_type,event_time,user,ip)
[0204] cursor.execute(sql,val)
[0205] #Commit transaction
[0206] db.commit()
[0207] #Close the database connection
[0208] db.close()
[0209] Use Python's MySQL connection library to connect to the MySQL database and insert the audit data into the audit_table database table;
[0210] The edge device management module includes a device management system that provides a centralized management interface for edge devices, performs device configuration management, vulnerability repair, and firmware upgrades;
[0211] The edge device management module remotely manages and maintains edge devices, and supports automated firmware upgrades and vulnerability repair steps, including:
[0212] Design a device management interface for administrators to remotely manage and maintain edge devices;
[0213] Establish a database to store device information and related configurations, including device type, IP address, and firmware version;
[0214] Establish remote connections with edge devices in the device management system to facilitate remote management and maintenance operations;
[0215] Remotely configure relevant parameters of edge devices, including network settings and access rights, through the device management system;
[0216] The device management system monitors and detects known vulnerabilities on the device and provides vulnerability repair solutions;
[0217] The specific implementation steps for using Python's paramiko library to implement SSH remote management of devices and using the requests library for firmware upgrades and vulnerability repairs are as follows:
[0218] importparamiko
[0219] importrequests
[0220] #Device remote management function
[0221] defremote_manage(device_ip,username,password,command):
[0222] #Establish SSH connection
[0223] ssh_client=paramiko.SSHClient()
[0224] ssh_client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
[0225] ssh_client.connect(hostname=device_ip,username=username,password=password)
[0226] #Execute commands
[0227] stdin,stdout,stderr=ssh_client.exec_command(command)
[0228] #Get the output results
[0229] output = stdout.read().decode()
[0230] #Close the SSH connection
[0231] ssh_client.close()
[0232] returnoutput
[0233] #Remote firmware upgrade function
[0234] deffirmware_upgrade(device_ip,firmware_url):
[0235] #Download the firmware file
[0236] firmware_data=requests.get(firmware_url).content
[0237] #Send firmware upgrade request
[0238] response=requests.post(f'http: / / {device_ip} / upgrade',data=firmware_data)
[0239] #Return the firmware upgrade result
[0240] returnresponse.text
[0241] #Remote vulnerability repair function
[0242] defvulnerability_fix(device_ip,fix_command):
[0243] #Call the device remote management function to execute the repair command
[0244] result=remote_manage(device_ip,'admin','password',fix_command)
[0245] returnresult
[0246] #Call the function to perform remote management and maintenance operations in actual use
[0247] if__name__=="__main__":
[0248] #Remotely manage device IP and execute commands
[0249] device_ip = '192.168.1.100'
[0250] command_to_execute='ls -l'
[0251] #Call remote management function to execute command
[0252] output=remote_manage(device_ip,'admin','password',command_to_execute)
[0253] print(output)
[0254] #Remote Firmware Upgrade
[0255] firmware_url='http: / / example.com / firmware.bin'
[0256] upgrade_result=firmware_upgrade(device_ip,firmware_url)
[0257] print(upgrade_result)
[0258] #Remote vulnerability fixes
[0259] fix_command='patch_command'
[0260] fix_result=vulnerability_fix(device_ip,fix_command)
[0261] print(fix_result)
[0262] Use the paramiko library to establish an SSH connection and execute device remote management commands, and use the requests library for firmware upgrades and vulnerability fixes;
[0263] The multi-party secure computing module uses multi-party secure computing protocols, homomorphic encryption, and secure multi-party computing to encrypt and protect data transmission and computing processes in edge computing scenarios involving multiple parties.
[0264] The specific steps of the multi-party secure computing module using homomorphic encryption and secure multi-party computing protocol for encryption protection are as follows:
[0265] Each participant generates their own key pair, including public key and private key;
[0266] Each participant uses the public key to encrypt their own data and send it to other participants;
[0267] Encrypted data transmission between parties;
[0268] Perform secure multi-party computation on the encrypted data of the participants; after the computation is completed, the participants can use their respective private keys to decrypt the computation results and obtain the final computation results;
[0269] The specific steps of using homomorphic addition are:
[0270] Suppose there are three parties A, B and C, with private keys a, b, c and public keys A, B, C respectively;
[0271] Participant A generates public key A and private key a, participant B generates public key B and private key b, and participant C generates public key C and private key c.
[0272] Participant A has data x, participant B has data y, and participant C has data z. After encrypting the data using the corresponding public keys, encrypted data X, Y, and Z are obtained respectively;
[0273] Participant A sends encrypted data X to B and C, participant B sends encrypted data Y to A and C, and participant C sends encrypted data Z to A and B;
[0274] After party A obtains the encrypted data X and Y, it uses the homomorphic addition protocol to perform calculations in an encrypted state: , and then send the calculation results to B and C;
[0275] Participants B and C use their private keys b and c to decrypt the data. , and get the final calculation result .
[0276] In view of the above, in this application:
[0277] The security management platform provided by the present invention is designed to achieve secure data transmission and computing in an edge computing environment, and includes multiple modules: device authentication and key management, encrypted transmission, edge network isolation, security policy management and monitoring, self-healing response and backup, and edge device management. In addition, the platform uses multi-party secure computing technology to protect data transmission and computing processes.
[0278] In terms of device authentication and key management, each device is assigned a unique digital certificate for authentication. The device securely generates private and public keys. The private key is accessible only to the device itself. The platform handles the issuance, management and update of certificates. Strong encryption algorithms TLS and SSL are used to ensure secure data transmission between edge devices and nodes. At the same time, shared session keys are used to encrypt and decrypt communication data. Devices and nodes are placed in different subnets for isolation. Firewall rules are configured to achieve network isolation and limit unauthorized access. Machine learning and artificial intelligence technologies are used to analyze security data, adjust security policies based on real-time threats and events, and automatically adjust security policies, including firewall rules and access control, to respond to potential threats. At the same time, by analyzing security incidents and automatically triggering response measures, centralized management and maintenance of edge devices are achieved through a dedicated management interface, known vulnerabilities on devices are detected and repair solutions are provided, and multi-party secure computing protocols, homomorphic encryption and secure multi-party computing technologies are used to protect data and computing processes in edge computing.
[0279] In terms of end-to-end protection and dynamic policy self-healing, strong encryption algorithms TLS and SSL are used to ensure that data is always encrypted during transmission from edge devices to edge nodes. Even if the data is intercepted during transmission, attackers cannot read or tamper with its content, thus protecting the confidentiality and integrity of the data. At the same time, a unique digital certificate is generated for each device for identity authentication and key management. Only authorized devices can participate in data transmission and calculation, preventing access and attacks from unauthorized devices. Multi-party secure computing technology is used to protect the security of data during the calculation process involving multiple parties. In this computing environment, the participants can perform calculations together without leaking their respective private data, thus ensuring data privacy.
[0280] For dynamic policy self-healing, machine learning and artificial intelligence technologies are used to analyze security data in the edge computing environment, including logs, network traffic, and security event records, to monitor and detect potential security threats in real time. At the same time, the monitoring system continuously collects security data from edge devices, edge nodes, and various parts of the edge network. Once a specific security event is detected that exceeds the set threshold, the corresponding self-healing script is automatically triggered to perform self-healing operations, quickly respond to security threats, and take necessary measures to contain attacks.
[0281] Through end-to-end encryption protection and dynamic policy self-healing, the security of the edge computing environment is effectively improved, ensuring the security and reliability of data transmission and computing processes. At the same time, automated security response and adjustment strategies enable the system to quickly adapt to new security threats and protect the edge computing ecosystem from potential attacks.
[0282] In the description of the embodiments of the present invention, it will be understood by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A security management platform for information data transmission, characterized in that: The platform includes: Device authentication and key management module, used for device authentication and key management. Only authorized devices can participate in data transmission and calculation. A unique digital certificate is generated for each device, and certificates are managed and updated. Encrypted transmission module, which uses strong encryption algorithms TLS and SSL to encrypt data and transmits data end-to-end between edge devices and edge nodes; The edge network isolation module isolates edge devices and edge nodes in a secure network area through network isolation policies and firewall rules, thus achieving network isolation of edge devices and edge nodes and preventing unauthorized access and attacks; The specific steps for setting network isolation policies and firewall rules in the edge network isolation module are as follows: Place edge devices and edge nodes in different subnets; Assign independent IP address segments to each network area; Configure firewall rules at edge nodes in the edge network to achieve network isolation; Configure firewall rules to deny access requests from edge device A, not allow it to connect to edge device B, and only allow edge devices from the specified IP address range to access edge nodes; Security policy management and monitoring module, which monitors the security status of the edge computing environment in real time and dynamically adjusts security policies based on security events and threat intelligence; Machine learning and artificial intelligence technologies are used in the security policy management and monitoring module. The specific monitoring methods are as follows: Collect security data in the edge computing environment from edge devices, edge nodes, and various parts of the edge network, including logs, network traffic, and security event records; Extract features of security events and threat intelligence from preprocessed data, including device behavior, network traffic patterns, and abnormal logs; Introduce machine learning support vector machine (SVM) algorithm to establish a model for security incident detection and threat intelligence analysis; Use historical data to train the established model so that the model can learn how to identify security events and threat intelligence; Input the data collected in real time into the trained model to monitor and analyze the current security status; Generate corresponding security policy adjustment suggestions based on the output results of the model, including updating firewall rules, network access control, and device permission settings; Automatically adjust security policies in edge computing environments to respond to potential threats and security incidents based on recommendations generated by security policies; The self-healing response and backup module automatically handles detected security incidents and simultaneously retains a backup of the system status; The security audit and monitoring module includes a database and a monitoring system, which collects and stores log information of security events and activities, establishes an audit database, provides a visual monitoring interface, and records and analyzes security events and activities in the edge computing environment; The edge device management module includes a device management system that provides a centralized management interface for edge devices, performs device configuration management, vulnerability repair, and firmware upgrades; The multi-party secure computing module uses multi-party secure computing protocols, homomorphic encryption, and secure multi-party computing to encrypt and protect data transmission and computing processes in edge computing scenarios involving multiple parties. In the device identity authentication and key management module, the specific steps of key generation and management include: A private key is generated using a random number generator. The private key contains two large prime numbers, p and q. Using the mathematical calculation of the RSA algorithm, the corresponding public key is calculated: in Take 65537 as a fixed value, and Obtained by multiplying two large prime numbers p and q; The generated private and public keys are stored in a secure storage area. Only the device itself can access the private key, while the public key is shared with other devices and the security management platform. Device identity authentication after the security management platform issues a digital certificate; For encrypted communication, keys are exchanged between devices to ensure data encryption and decryption during communication. Specifically: Using the Diffie-Hellman key exchange algorithm, two large prime numbers p and g are selected and published to the devices participating in the key exchange; The large prime number p is selected as one of 1024 bits and 2048 bits as the modulus of the finite field, and g is a primitive root used to specify a generator on the finite field; Each device selects a private random number as a private parameter. Suppose device A selects private parameter a and device B selects private parameter b. Then device A and device B use public parameters and private parameters to calculate their respective public values in the following way: , , in is the public value of device A, is the public value of device B; Device A will Send it to device B, and device B will Send to device A; Device A and device B use the received public value and their own private parameters to calculate a shared session key, specifically: , , in, Calculate the shared key formula for device A, Calculate the shared key formula for device B; The AES symmetric encryption algorithm is used between devices to encrypt and decrypt communication data using a shared session key K; In the encryption transmission module, strong encryption algorithms TLS and SSL are used to encrypt data transmission. The specific steps are as follows: Establish a secure connection between the client and device B, which is protected by TLS and SSL protocols; The client initiates a TLS / SSL handshake request to the server, indicating that it wants to establish a secure connection; The server responds to the handshake request and performs TLS and SSL handshake negotiation. During the handshake negotiation, the client and server negotiate to select an encryption suite, including encryption algorithm, key exchange algorithm, and digital signature algorithm. During the handshake process, the client and server generate a temporary session key to encrypt and decrypt data transmission; The client uses the session key to encrypt the data to be sent and obtains the ciphertext. Specifically: The AES encryption algorithm is used, and the specific formula is: The AES encryption algorithm used for encryption is recorded as ,in is the session key, is the data to be encrypted, and the encrypted data is ; The server uses the session key to decrypt the received ciphertext and restore the original data; Suppose the AES decryption algorithm used for decryption is recorded as ,in is the session key, is the received ciphertext, then: ; The specific self-healing operation steps in the self-healing response and backup module include: Analyze various security incidents that may occur and determine their impact and threat level to the edge computing environment; According to the analysis results of security incidents, formulate corresponding self-healing response measures, including closing abnormal ports, blocking attack source IPs, and resetting infected devices; According to the formulated self-healing response measures, write automated script commands to implement self-healing operations; A trigger mechanism is set up. When a certain security event is detected, the corresponding self-healing script is automatically triggered to perform self-healing operations; In the security audit and monitoring module, the steps of establishing an audit database and providing a visual monitoring interface specifically include: Establishing an audit database and providing a visual monitoring interface is divided into the following steps: Select MySQL or PostgreSQL database to store audit data, design the database table structure to store audit data, and create corresponding tables and fields according to the type of audit data and the information to be recorded; Establish a connection with the database in the monitoring system; Monitor and detect security incidents in edge computing environments and record relevant audit data, including incident type, occurrence time, participants, and impact; When a security incident occurs, relevant audit data is stored in the audit database through database insertion; Use Grafana and Kibana to build the monitoring interface, and configure the connection with the audit database in the visualization tool; Thresholds and conditions set in the monitoring panel to trigger alarm and notification mechanisms; When specific security events are detected and the set thresholds are exceeded, alarm and notification mechanisms are triggered; The edge device management module remotely manages and maintains edge devices, and supports automated firmware upgrades and vulnerability repair steps, including: Design a device management interface for administrators to remotely manage and maintain edge devices; Establish a database to store device information and related configurations, including device type, IP address, and firmware version; Establish remote connections with edge devices in the device management system to facilitate remote management and maintenance operations; Remotely configure relevant parameters of edge devices, including network settings and access rights, through the device management system; The device management system monitors and detects known vulnerabilities on the device and provides vulnerability repair solutions.
2. A security management platform for information data transmission according to claim 1, characterized in that: The specific steps of the multi-party secure computing module using homomorphic encryption and secure multi-party computing protocol for encryption protection are as follows: Each participant generates their own key pair, including public key and private key; Each participant uses the public key to encrypt their own data and send it to other participants; Encrypted data transmission between parties; Perform secure multi-party computation on the participants’ encrypted data; The specific steps of using homomorphic addition are: Suppose there are three parties A, B and C, with private keys a, b, c and public keys A, B, C respectively; Participant A generates public key A and private key a, participant B generates public key B and private key b, and participant C generates public key C and private key c; Participant A has data x, participant B has data y, and participant C has data z. After encrypting the data using the corresponding public keys, encrypted data X, Y, and Z are obtained respectively; Participant A sends encrypted data X to B and C, participant B sends encrypted data Y to A and C, and participant C sends encrypted data Z to A and B; After party A obtains the encrypted data X and Y, it uses the homomorphic addition protocol to perform calculations in an encrypted state: , and then send the calculation results to B and C; Participants B and C use their respective private keys b and c to decrypt the data , and get the final calculation result .
Citation Information
Patent Citations
Method for establishing TLS (Transport Layer Security) channel based on state secret algorithm
CN103338215A
Safety authentication and data communication system between internet of things equipment
CN109379387A
Sensor signal processing system based on secure network
CN112565279A
