Security communication control system based on Internet of Things
By designing a secure communication control system based on the Internet of Things in the virtual private cloud system, the problem that the virtual private cloud is vulnerable to attacks is solved, the efficient and stable operation of the gateway and the standardization of data storage are achieved, and the security and privacy of users are improved. Accuracy of data transmission.
Patent Information
- Application Number
- CN202310401934.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-17
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-04-17
AI Technical Summary
Due to the increase in the number of users in virtual private clouds, cloud hosts and network resources have protection loopholes and are vulnerable to attacks, threatening user privacy and security and affecting user satisfaction.
Design a secure communication control system based on the Internet of Things to improve the security and work efficiency of the virtual private cloud through gateway management, database table storage, security analysis, data encryption and log summary control.
Through the preliminary processing module, analysis management module and encryption summary module, the efficient and stable operation of the virtual private cloud system gateway is achieved, the work efficiency of the virtual private cloud and the clarity of data storage are improved, and the security of server and client sessions is enhanced.
Smart Images

Figure CN116545875B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of secure communication technology, and in particular to a secure communication control system based on the Internet of Things. Background Art
[0002] A virtual private cloud (VPC) is a collection of computing, storage, and network resources across multiple sites on a wide area network. It is a private cloud built on a public cloud and managed by the user. Users can rent cloud hosts directly from public cloud service providers, use the public IP and network resources provided by public cloud operators to maintain their own business management systems, or create their own virtual private cloud platforms in the computer room through an open source cloud platform. Users can configure and maintain internal network resources through a virtual private cloud. However, with the massive increase in the number of users, the corresponding cloud hosts and network resources have loopholes in their protection, which can easily lead to attacks on virtual private clouds, posing a great threat to user privacy and security, and seriously affecting user satisfaction. Therefore, it is necessary to design a secure communication control system based on the Internet of Things with intelligent control processing and strong practicality. Summary of the invention
[0003] The purpose of the present invention is to provide a secure communication control system based on the Internet of Things to solve the problems raised in the above background technology.
[0004] In order to solve the above technical problems, the present invention provides the following technical solutions: a secure communication control method based on the Internet of Things, comprising:
[0005] Manage and control the gateway and bypass networking of the virtual private cloud system;
[0006] Data storage and management of virtual private cloud through database tables;
[0007] Conduct security management analysis on virtual private cloud systems;
[0008] Perform data encryption and log aggregation control processing.
[0009] According to the above technical solution, the management and control of the gateway and bypass networking of the virtual private cloud system includes:
[0010] Optimize the operation of the gateway of the virtual private cloud system and realize the management and control of the virtual private cloud's controllers and abnormal monitoring;
[0011] After completing the optimized management of the gateway, data forwarding of the target service of the virtual private cloud system is performed through bypass networking.
[0012] According to the above technical solution, the data storage management of the virtual private cloud through the database table includes:
[0013] Design database tables to provide classified storage management services for virtual private cloud data.
[0014] According to the above technical solution, the security management analysis of the virtual private cloud system includes:
[0015] Determine the type of data packet based on the protocol header and conduct session management analysis of the virtual private cloud system;
[0016] Control and manage session keys between the server and the client through key negotiation;
[0017] After completing the key negotiation process, the gateway will send the encrypted authentication data packet to the controller for gateway identity authentication processing.
[0018] According to the above technical solution, the data encryption and log aggregation control processing includes:
[0019] After receiving the data request data packet sent by the controlled device, the controller encrypts the query result in plain text and sends the ciphertext to the controlled device;
[0020] The system logs are used to summarize and classify the operations and processing of the virtual private cloud, providing a reliable reference for further optimization and improvement.
[0021] According to the above technical solution, a secure communication control system based on the Internet of Things includes:
[0022] A preliminary processing module, used for preliminary processing of the virtual private cloud system;
[0023] Analysis and management module, used for security management and analysis of virtual private cloud systems;
[0024] The encryption summary module is used for data encryption and log summary control processing.
[0025] According to the above technical solution, the preliminary processing module includes:
[0026] Gateway management module, used for gateway management of virtual private cloud system;
[0027] Bypass networking module, used for management and control of bypass networking;
[0028] Database table module, used for management and storage of database tables.
[0029] According to the above technical solution, the analysis management module includes:
[0030] A session management module, used for session management analysis of a virtual private cloud system;
[0031] Key negotiation module, used for controlling and managing the session key between the server and the client;
[0032] Analysis and authentication module, used for gateway identity authentication processing.
[0033] According to the above technical solution, the encryption summary module includes:
[0034] A data encryption module, used for data encryption processing;
[0035] The log aggregation module is used to control and store log aggregation.
[0036] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: the present invention, by providing a preliminary processing module, an analysis management module and an encryption summary module, can make the gateway operation of the virtual private cloud system more efficient and stable, improve the work efficiency of the virtual private cloud, facilitate security processing, and make the storage of virtual private cloud data clearer and more standardized, making data retrieval and transmission more efficient and accurate, and effectively improving the session security between the server and the client. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0038] Figure 1 is a flow chart of a secure communication control method based on the Internet of Things provided by Embodiment 1 of the present invention;
[0039] Figure 2 This is a module structure diagram of a secure communication control system based on the Internet of Things provided in Embodiment 2 of the present invention. DETAILED DESCRIPTION
[0040] 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.
[0041] Embodiment 1: Figure 1 This is a flow chart of a secure communication control method based on the Internet of Things provided in Embodiment 1 of the present invention. This embodiment can be applied to a communication system. The method can be executed by a secure communication control system based on the Internet of Things provided in an embodiment of the present invention. The system is composed of multiple software and hardware modules, such as Figure 1 As shown, the method specifically comprises the following steps:
[0042] S101, managing and controlling the gateway and bypass networking of the virtual private cloud system;
[0043] Exemplarily, in an embodiment of the present invention, the gateway operation of the virtual private cloud system is optimized and managed to realize the management and control of the virtual private cloud's controller and exception monitoring; in this step, the gateway is controlled to receive instructions sent by the controller and execute corresponding operations to monitor the status of other services on the gateway, and at the same time, the normal startup of other programs is ensured through exception monitoring. When a process exits, a network exception, etc. occurs, the startup process is controlled and the network configuration is restored to ensure the normal operation of the system. At the same time, the gateway controller is further enabled to communicate securely with the controller. First, the VPN configuration information and network configuration information are obtained from the controller, and the corresponding configuration file is generated. Then, the data of the networking gateway is forwarded to other networking gateways through the data tunnel of the networking service. Through this processing, the gateway operation of the virtual private cloud system can be made more efficient and stable, the work efficiency of the virtual private cloud is improved, and subsequent security processing is facilitated.
[0044] After completing the optimization management of the gateway, the data forwarding of the target service of the virtual private cloud system is carried out through bypass networking. In this step, first, according to the situation that the user provides the public network IP and port mapping, a secure access gateway is deployed on the private cloud core switch that the user needs to bypass access, and a VPN server is deployed on the secure gateway as a data server for accessing the private cloud network. A VPN client is deployed on the gateway of the user's bypass network, and the gateway intranet NAT rules are configured to introduce the bypass access data into the VPN data channel for forwarding. Then, if the user does not provide a public network IP, a VPN server is deployed on the public cloud as a data forwarding server. At the same time, a GRE tunnel is configured on the VPN data channel of the gateway for IP penetration, and static routing is further configured to forward the intranet data to the GRE tunnel to achieve bypass access and improve the data transmission flexibility of the virtual private cloud.
[0045] S102, performing data storage management of the virtual private cloud through a database table;
[0046] Exemplarily, in an embodiment of the present invention, a database table is designed to provide classified storage management services for virtual private cloud data; in this step, a gateway information table, a project table, a link table, a public routing table and a private routing table are respectively established through the database table for classified storage management of virtual private cloud data. Specifically, the gateway information table includes: storage gateway MAC address, WAN segment information, LAN segment information, expiration time, link configuration, virtual IP, access control rules, private routing, etc. The project table is a collection of gateways, which is used to manage gateways in the same network. The fields include project name, project description and creation time, etc. The link table is a collection of multiple resources. A link includes multiple resources. After the gateway is bound to this link, when a resource is unavailable, it can switch to other resources to ensure the stability of the service. The public routing table stores the routing information that all gateways under the project need to load. The private routing table stores the routing information that a single gateway needs to load. Through this processing, the storage of virtual private cloud data is clearer and more standardized, and the retrieval and transmission of data are more efficient and accurate.
[0047] S103, performing security management analysis on the virtual private cloud system;
[0048] Exemplarily, in an embodiment of the present invention, the type of data packet is determined according to the protocol header, and session management analysis of the virtual private cloud system is performed; since the communication protocol header mainly includes four types, where Ox01 represents a data packet in the key negotiation phase, Ox02 represents a gateway authentication data packet, 0x03 represents a transmitted user data packet, and Ox04 represents a heartbeat packet, the session management in this step determines the role of the data packet according to the identification of the protocol header, and performs different processing on data packets with different protocol headers according to the set rules, wherein a timeout session deletion mechanism is provided for sessions with abnormal network communications to prevent the network port from being occupied or the session from being full, resulting in the inability to provide services, and the judgment basis for the session timeout is the number of successful heartbeat packet receptions. If the server does not receive the heartbeat packet sent by the client for more than the set number of times, the server determines that the session has timed out, deletes the connection from the session list, and releases related resources, thereby indirectly improving the operational security, smoothness, and stability of the virtual private cloud system.
[0049] The session key control and management between the server and the client is performed through key negotiation. In this step, the controller receives and parses the key negotiation data packet, obtains the public key and the client nonce value, generates and saves the session ID, and further calculates the new nonce value based on the session ID and the received client nonce value. The public-private key generation algorithm is then called to generate the public key and private key, and the private key is used to sign the protocol header, nonce value, session ID and public key. After the signature is completed, it is sent to the controlled end. After receiving the signature, the controlled end will verify the signature based on the obtained public key and other information. After the verification is passed, the key negotiation process is completed with the controller. Through this processing, the session security between the server and the client can be effectively improved.
[0050] After completing the key negotiation process, the gateway will send an encrypted authentication data packet to the controller for gateway identity authentication processing; in this step, after receiving the encrypted authentication data packet, the controller first queries the local database for the existence of the gateway information to determine whether the gateway is expired or disabled. If the gateway is neither expired nor disabled, an authentication packet constructed based on the username and password is sent to the authentication server for authentication, and the authentication result is encrypted and returned to the gateway. If the gateway does not exist in the database or the gateway has expired, a data packet indicating authentication failure is directly returned to the gateway, and the gateway terminates the process of establishing a secure channel; this processing can greatly increase the security of the virtual private cloud system and effectively protect the privacy of users.
[0051] S104, performing data encryption and log aggregation control processing;
[0052] Exemplarily, in an embodiment of the present invention, after receiving a data request data packet sent by the controlled device, the controller encrypts the query result in plain text and sends the ciphertext to the controlled device; the encryption parameters are parameters generated in the key negotiation phase, and this processing can effectively improve the data transmission security of the virtual private cloud system.
[0053] The system logs are used to summarize and classify the operations and processing of the virtual private cloud, providing a reliable reference for further optimization and improvement.
[0054] Embodiment 2: Embodiment 2 of the present invention provides a secure communication control system based on the Internet of Things. Figure 2 The schematic diagram of the module structure of the secure communication control system based on the Internet of Things provided in the second embodiment is as follows: Figure 2 As shown, the system includes:
[0055] A preliminary processing module, used for preliminary processing of the virtual private cloud system;
[0056] Analysis and management module, used for security management and analysis of virtual private cloud systems;
[0057] The encryption summary module is used for data encryption and log summary control processing.
[0058] In some embodiments of the present invention, the preliminary processing module includes:
[0059] Gateway management module, used for gateway management of virtual private cloud system;
[0060] Bypass networking module, used for management and control of bypass networking;
[0061] Database table module, used for management and storage of database tables.
[0062] In some embodiments of the present invention, the analysis management module includes:
[0063] A session management module, used for session management analysis of a virtual private cloud system;
[0064] Key negotiation module, used for controlling and managing the session key between the server and the client;
[0065] Analysis and authentication module, used for gateway identity authentication processing.
[0066] In some embodiments of the present invention, the encryption summary module includes:
[0067] A data encryption module, used for data encryption processing;
[0068] The log aggregation module is used to control and store log aggregation.
[0069] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0070] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A secure communication control method based on the Internet of Things, characterized in that: include: Manage and control the gateway and bypass networking of the virtual private cloud system; Data storage and management of virtual private cloud through database tables; Conduct security management analysis on virtual private cloud systems; Perform data encryption and log aggregation control processing; The management and control of the gateway and bypass networking of the virtual private cloud system includes: Optimize the operation of the gateway of the virtual private cloud system to achieve the management and control of the virtual private cloud's controlled devices and abnormal monitoring. In this step, the gateway receives instructions from the controller and executes corresponding operations to monitor the status of other services on the gateway. At the same time, abnormal monitoring is used to ensure the normal startup of other programs. When a process exits or a network abnormality occurs, the startup process is controlled and the network configuration is restored to ensure the normal operation of the system. At the same time, the gateway controlled device is further enabled to communicate securely with the controller. First, the VPN configuration information and network configuration information are obtained from the controller, and the corresponding configuration file is generated. Then, the data of the networking gateway is forwarded to other networking gateways through the data tunnel of the networking service. After completing the optimization management of the gateway, the data forwarding of the target service of the virtual private cloud system is carried out through bypass networking; in this step, firstly, according to the situation that the user provides the public network IP and port mapping, a secure access gateway is deployed on the private cloud core switch that the user needs to bypass access, and a VPN server is deployed on the secure gateway as a data server for accessing the private cloud network, and a VPN client is deployed on the gateway of the user's bypass network, and the gateway intranet NAT rules are configured to introduce the bypass access data into the VPN data channel for forwarding. Then, if the user does not provide a public network IP, a VPN server is deployed on the public cloud as a data forwarding server, and a GRE tunnel is configured on the VPN data channel of the gateway for IP penetration, and static routing is further configured to forward the intranet data to the GRE tunnel to achieve bypass access and improve the data transmission flexibility of the virtual private cloud; The data storage management of the virtual private cloud through the database table includes: Design database tables to provide classified storage management services for virtual private cloud data; in this step, a gateway information table, a project table, a link table, a public routing table and a private routing table are respectively established through the database table to perform classified storage management on the data of the virtual private cloud. Specifically, the gateway information table includes: storage gateway MAC address, WAN segment information, LAN segment information, expiration time, link configuration, virtual IP, access control rules, and private routing. The project table is a collection of gateways and is used to manage gateways in the same network. The fields include project name, project description and creation time. The link table is a collection of multiple resources. A link includes multiple resources. After the gateway is bound to this link, when a resource is unavailable, it can switch to another resource to ensure the stability of the service. The public routing table stores the routing information that all gateways under the project need to load. The private routing table stores the routing information that a single gateway needs to load. The security management analysis of the virtual private cloud system includes: The type of data packet is determined according to the protocol header, and the session management analysis of the virtual private cloud system is performed; since the communication protocol header mainly includes four types, where Ox01 represents the data packet in the key negotiation stage, Ox02 represents the gateway authentication data packet, 0x03 represents the transmitted user data packet, and Ox04 represents the heartbeat packet, the session management in this step determines the role of the data packet according to the identification of the protocol header, and performs different processing on the data packets of different protocol headers according to the set rules. For the session with abnormal network communication, a timeout session deletion mechanism is set to prevent the network port from being occupied or the session being full and causing the service to be unable to be provided. The judgment basis for the session timeout is the number of successful heartbeat packet receptions. If the server does not receive the heartbeat packet sent by the client for more than the set number of times, the server determines that the session has timed out, deletes the connection from the session list, and releases related resources, indirectly improving the operation security and smoothness and stability of the virtual private cloud system; The session key control and management between the server and the client is performed through key negotiation. In this step, the controller receives the key negotiation data packet and parses it. After obtaining the public key and the client nonce value, it generates and saves the session ID. At the same time, it further calculates the new nonce value based on the session ID and the received client nonce value, and then calls the public-private key generation algorithm to generate the public key and private key. The private key is used to sign the protocol header, nonce value, session ID and public key. After the signature is completed, it is sent to the controlled end. After receiving the signature, the controlled end will verify the signature based on the obtained public key information. After the verification is passed, the key negotiation process is completed with the controller. After completing the key negotiation process, the gateway will send an encrypted authentication data packet to the controller for gateway identity authentication. In this step, after receiving the encrypted authentication data packet, the controller first queries the local database for the existence of the gateway information to determine whether the gateway is expired or disabled. If the gateway is not expired or disabled, an authentication packet constructed based on the username and password is sent to the authentication server for authentication. The authentication result is encrypted and returned to the gateway. If the gateway does not exist in the database or the gateway has expired, a data packet indicating authentication failure is directly returned to the gateway, and the gateway terminates the process of establishing a secure channel.
2. The secure communication control method based on the Internet of Things according to claim 1 is characterized in that: The data encryption and log aggregation control process includes: After receiving the data request data packet sent by the controlled device, the controller encrypts the query result in plain text and sends the ciphertext to the controlled device; The system logs are used to summarize and classify the operations and processing of the virtual private cloud, providing a reliable reference for further optimization and improvement.
3. A secure communication control system based on the Internet of Things, characterized in that: include: A preliminary processing module, used for preliminary processing of the virtual private cloud system; It includes optimizing the operation of the gateway of the virtual private cloud system, and realizing the management and control of the virtual private cloud's controlled devices and abnormal monitoring. In this step, the gateway receives instructions from the controller and executes corresponding operations to monitor the status of other services on the gateway. At the same time, abnormal monitoring is used to ensure the normal startup of other programs. When a process exits or a network abnormality occurs, the startup process is controlled and the network configuration is restored to ensure the normal operation of the system. At the same time, the gateway controlled device is further enabled to communicate securely with the controller. First, the VPN configuration information and network configuration information are obtained from the controller, and the corresponding configuration file is generated. Then, the data of the networking gateway is forwarded to other networking gateways through the data tunnel of the networking service. After completing the optimization management of the gateway, the data forwarding of the target service of the virtual private cloud system is carried out through bypass networking; in this step, first, according to the situation that the user provides the public network IP and port mapping, a secure access gateway is deployed on the private cloud core switch that the user needs to bypass access, and a VPN server is deployed on the secure gateway as a data server for accessing the private cloud network, and a VPN client is deployed on the gateway of the user's bypass network, and the gateway intranet NAT rules are configured to introduce the bypass access data into the VPN data channel for forwarding. Then, if the user does not provide a public network IP, a VPN server is deployed on the public cloud as a data forwarding server, and a GRE tunnel is configured on the VPN data channel of the gateway for IP penetration, and static routing is further configured to forward the intranet data to the GRE tunnel to achieve bypass access and improve the data transmission flexibility of the virtual private cloud; the database table is designed for virtual Provide classified storage management services for the data of the virtual private cloud; in this step, a gateway information table, a project table, a link table, a public routing table and a private routing table are established through the database table respectively, which are used to classify and store the data of the virtual private cloud. Specifically, the gateway information table includes: storage gateway MAC address, WAN segment information, LAN segment information, expiration time, link configuration, virtual IP, access control rules, private routing, the project table is a collection of gateways, which is used to manage gateways in the same network, and the fields include project name, project description and creation time, the link table is a collection of multiple resources, and a link includes multiple resources. After the gateway is bound to this link, when there is a resource that is unavailable, it can switch to other resources to ensure the stability of the service, the public routing table, the routing information that all gateways under the storage project need to load, the private routing table, the routing information that a single gateway needs to load; The analysis and management module is used to perform security management and analysis on the virtual private cloud system; including judging the type of data packet according to the protocol header and performing session management analysis on the virtual private cloud system; since the communication protocol header mainly includes four types, among which Ox01 represents the data packet in the key negotiation stage, Ox02 represents the gateway authentication data packet, 0x03 represents the transmitted user data packet, and Ox04 represents the heartbeat packet, the session management in this step determines the role of the data packet according to the identification of the protocol header, and performs different processing on the data packets of different protocol headers according to the set rules, wherein for the session with abnormal network communication, a timeout session deletion mechanism is set to prevent the network port from being occupied or the session being full and causing the service to be unable to be provided, and the judgment basis for the session timeout is the number of successful heartbeat packet receptions. If the server does not receive the heartbeat packet sent by the client for more than the set number of times, the server determines that the session has timed out, deletes the connection from the session list, and releases related resources, indirectly improving the operation safety and smooth stability of the virtual private cloud system; the session key control and management between the server and the client are performed through key negotiation; in this step, the controller receives the key negotiation After the data packet is parsed and the public key and the client nonce value are obtained, a session ID is generated and saved. At the same time, a new nonce value is further calculated based on the session ID and the received client nonce value, and then the public-private key generation algorithm is called to generate the public key and private key, and the protocol header, nonce value, session ID and public key are signed with the private key. After the signature is completed, it is sent to the controlled end. After the controlled end receives the signature, it will verify the signature according to the obtained public key information. After the verification is passed, the key negotiation process is completed with the controller; after completing the key negotiation process, the gateway will send the encrypted authentication data packet to the controller for gateway identity authentication processing. In this step, after the controller receives the encrypted authentication data packet, it first queries the local database for the existence of the gateway information to determine whether the gateway is expired or disabled. If the gateway is not expired or disabled, an authentication packet constructed according to the user name and password is sent to the authentication server for authentication, and the authentication result is encrypted and returned to the gateway. If the gateway does not exist in the database or the gateway has expired, a data packet indicating authentication failure is directly returned to the gateway, and the gateway terminates the process of establishing a secure channel; The encryption summary module is used for data encryption and log summary control processing.
4. The secure communication control system based on the Internet of Things according to claim 3 is characterized in that: The preliminary processing module comprises: Gateway management module, used for gateway management of virtual private cloud system; Bypass networking module, used for management and control of bypass networking; Database table module, used for management and storage of database tables.
5. The secure communication control system based on the Internet of Things according to claim 3 is characterized in that: The analysis management module includes: A session management module, used for session management analysis of a virtual private cloud system; Key negotiation module, used for controlling and managing the session key between the server and the client; Analysis and authentication module, used for gateway identity authentication processing.
6. The secure communication control system based on the Internet of Things according to claim 3 is characterized in that: The encryption summary module comprises: A data encryption module, used for data encryption processing; The log aggregation module is used to control and store log aggregation.
