Network communication method, device, terminal and storage medium based on zero trust technology
By introducing zero trust technology and MTLS encryption into TCP network communication, combined with the deployment of reinforcement shield and reinforcement root, the problem of insufficient network communication security in the existing technology is solved, and authentication authorization and encrypted communication between the client and the server are realized. Significantly improves security and reduces the risk of exposure to service resources.
Patent Information
- Application Number
- CN202210019853.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-07
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2042-01-07
AI Technical Summary
There are risks in existing TCP network communications that are plain text transmission, secure encryption is easily cracked, lack of authorization mechanisms and user identity authentication, resulting in insufficient security of network communications.
Using a zero-trust technology approach, continuous authentication and encryption is performed through the deployment of reinforced shields and reinforced roots, two-way authentication and information encryption is performed using MTLS, and access rights of the management client are configured according to the application service policy configuration.
It significantly improves the security of the communication process, reduces the risk of service resource exposure, realizes fine-grained user permission control and encrypted communication, and ensures the security and reinforcement of the communication process.
Smart Images

Figure CN114531348B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to a network communication method, specifically, a network communication method, device, terminal and storage medium based on zero-trust technology, belonging to the field of network communication security technology. Background Art
[0002] In recent years, with the rapid development of computer and Internet technology, network communication has become an indispensable means of communication in people's daily work and life. Along with this, there are always security risks in the process of network communication. Affected by various rogue software, computer viruses, and even hackers, the security of network communication has received more and more attention from all walks of life.
[0003] Taking the most basic TCP network communication as an example, the architecture is as follows Figure 1 As shown in the figure, it is a connection-oriented, reliable, byte stream-based transport layer communication method, that is, a TCP connection will be established between the client and the server before exchanging data, and then data will be transmitted to each other. In the process, functions such as timeout retransmission, discarding duplicate data, checking data, and flow control are provided to ensure that data is transmitted from one end to the other. However, in the current TCP network communication, the following problems are common:
[0004] 1. When the program does not actively perform security encryption, the communication process uses plain text transmission by default, such as the http protocol, and the content is easily obtained by a third party;
[0005] 2. When the program is encrypted, the protection level of the encryption is too dependent on the program itself, which poses a high risk of being cracked;
[0006] 3. The service resources of the server need to be accessed by external clients, and there is no authorization mechanism by default in the entire communication process. After the client completes the authentication, it can access them at will, which greatly increases the possibility of service resource exposure;
[0007] 4. User identity is difficult to define, and there is a high authentication risk. For example, for systems that require password verification to log in, although the system's security policy requires users to set complex passwords and update them regularly, it cannot be completely assumed that users are trustworthy. Attackers can easily obtain user passwords using common attack methods such as phishing and database dragging; in addition, although users have updated their passwords regularly as required and used relatively complex passwords, in order to facilitate memorization, there is a pattern between the passwords they use each time, which is also easy to be cracked.
[0008] In summary, how to propose a new network communication method, device, terminal and storage medium that can achieve the purpose of security reinforcement based on the existing technology has become a common concern of technicians in this field. Summary of the invention
[0009] In view of the above-mentioned defects in the prior art, the purpose of the present invention is to propose a network communication method, device, terminal and storage medium based on zero-trust technology, as follows.
[0010] A network communication method based on zero trust technology, comprising:
[0011] Receive application service policy information, complete policy configuration of application service resources according to the application service policy information, and determine the service policy of the application service resources;
[0012] Obtain an application service access request from a client, the application service access request is encrypted using MTLS, and determine whether to respond to the application service access request based on the service policy of the application service resource; if yes,
[0013] An application service corresponding to the application service access request is searched from the application service resources, an application communication link is established with the client, and the client is allowed to access the application service.
[0014] Preferably, before receiving the application service policy information, completing the policy configuration of the application service resource according to the application service policy information, and determining the service policy of the application service resource, the method further includes:
[0015] Obtain the security reinforcement data package from the control center and complete the registration and installation of the reinforcement control, which at least includes a reinforcement shield and an MTLS authentication certificate.
[0016] Preferably, the obtaining of an application service access request from a client, the application service access request being encrypted using MTLS, and determining whether to respond to the application service access request according to a service policy of the application service resource, comprises:
[0017] Obtain the application service access request, which is generated by the client according to the customer operation and encrypted by the reinforced shield connected to the back end of the client by signal, and the encryption method is MTLS encryption, and determine whether to respond to the application service access request according to the service policy of the application service resource; if not,
[0018] The application communication link with the client is disconnected, and the client is prohibited from accessing the application service.
[0019] Preferably, the obtaining of an application service access request from a client, the application service access request being encrypted using MTLS, and determining whether to respond to the application service access request according to a service policy of the application service resource, further comprises:
[0020] If multiple application service access requests are obtained from the same client, only the application service access requests that comply with the service policy of the application service resource are responded to, the application service corresponding to the responded application service access request is searched from the application service resource, an application communication link is established, and the client is allowed to access the application service.
[0021] A network communication device based on zero-trust technology, comprising:
[0022] A service policy configuration module is configured to receive application service policy information, complete policy configuration of application service resources according to the application service policy information, and determine a service policy of the application service resources;
[0023] The access request response module is configured to obtain an application service access request from a client, the application service access request is encrypted using MTLS, and determine whether to respond to the application service access request based on the service policy of the application service resource; if yes,
[0024] The access operation permission module is configured to search the application service corresponding to the application service access request from the application service resources, establish an application communication link with the client, and allow the client to access the application service.
[0025] Preferably, the network communication device based on zero-trust technology further includes:
[0026] The control registration and installation module is configured to obtain a security reinforcement data packet from the control center and complete the registration and installation of the reinforcement control, wherein the reinforcement control at least includes a reinforcement shield and an MTLS authentication certificate.
[0027] Preferably, the access request response module includes:
[0028] an access request acquisition unit, configured to acquire the application service access request, the application service access request is generated by the client according to the customer operation and encrypted by the reinforced shield connected to the back end of the client by signal, the encryption method is MTLS encryption, and whether to respond to the application service access request is determined according to the service policy of the application service resource; if otherwise
[0029] The access request prohibition unit is configured to disconnect the application communication link with the client and prohibit the client from accessing the application service.
[0030] Preferably, the access request response module further includes:
[0031] The access request synchronization processing unit is configured to, if multiple application service access requests are obtained from the same client, only respond to the application service access requests that comply with the service policy of the application service resource, search the application service corresponding to the responded application service access request from the application service resource, establish an application communication link, and allow the client to access the application service.
[0032] A terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps in the network communication method based on zero trust technology as described above are implemented.
[0033] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the network communication method based on zero-trust technology as described above are implemented.
[0034] The advantages of the present invention are mainly reflected in the following aspects:
[0035] The network communication method based on zero-trust technology proposed in the present invention realizes authentication authorization and encrypted communication between the client and the server in TCP network communication through the deployment of a reinforced shield and a reinforced root. At the same time, the method uses MTLS for continuous two-way authentication and information encryption during the communication process, which significantly improves the security of the communication process and ensures the effect of security reinforcement. Moreover, the method also greatly reduces the risk of service resource exposure by hiding application services. In addition, the method systematically manages the authorization of application services after the reinforced root, allowing or prohibiting a user's access request, thereby realizing fine-grained and precise control of user permissions.
[0036] Corresponding to the above method, the network communication device, terminal and storage medium based on zero-trust technology proposed in the present invention realize security reinforcement in the TCP network communication process with a systematic and standardized processing flow, thereby providing technical support for the continuous and stable network communication. The hardware solution has high adaptability and compatibility and can be effectively applied to various network communication scenarios.
[0037] The present invention also provides a reference for other technical solutions related to TCP network communication, which can be used as a basis for expansion, extension and in-depth research, and has a very broad application prospect.
[0038] The specific implementation modes of the present invention are further described below in combination with the accompanying drawings of the embodiments, so that the technical solutions of the present invention are easier to understand and grasp. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The drawings constituting a part of this application are used to provide a further understanding of this application, so that other features, purposes and advantages of this application become more obvious. The schematic embodiment drawings and their descriptions of this application are used to explain this application and do not constitute an improper limitation on this application. In the drawings:
[0040] Figure 1 It is a schematic diagram of the architecture of TCP network communication in the prior art;
[0041] Figure 2 This is a schematic diagram of the TCP network communication architecture after using this solution;
[0042] Figure 3 It is a schematic diagram of the process part of the present invention;
[0043] Figure 4 It is a structural schematic diagram of the device part in the present invention. DETAILED DESCRIPTION
[0044] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0045] This invention adopts zero-trust core technology, uses the deployment method of reinforced shield and reinforced root, and continuously authenticates and encrypts the client and server using TCP network communication. The overall communication architecture is as follows: Figure 2 As shown. Solve the problems of authentication, authorization and transmission encryption. From the perspective of reinforcement effect, if the attacker does not have a legitimate identity, he cannot move horizontally in the data plane. Because after the network policy whitelist is set at the network layer, illegal access at the network layer is prohibited. In addition, complete authentication authorization and communication encryption can be achieved between users and application services, ultimately achieving the purpose of strengthening network communication security. The specific plan is as follows.
[0046] On the one hand, the present invention relates to a network communication method based on zero trust technology, such as Figure 3 As shown, the following steps are included:
[0047] S1. Obtain the security reinforcement data package from the control center and complete the registration and installation of the reinforcement control, which includes the reinforcement shield, reinforcement root and MTLS authentication certificate.
[0048] Among them, the reinforcement shield is deployed at the back end of the client, and the reinforcement root can be deployed at the front end of the server or inside the server according to actual usage needs. The reinforcement shield and the reinforcement root maintain a signal connection, and one reinforcement root can correspond to multiple reinforcement shields.
[0049] S2, the reinforcement shield receives the application data proxy information from the control center, completes the policy configuration of the application proxy data according to the application data proxy information, and determines the proxy policy of the application data;
[0050] The reinforcement root receives the application service policy information from the control center, completes the policy configuration of the application service resources according to the application service policy information, and determines the service policy of the application service resources.
[0051] S3, the reinforcement root obtains the application service access request, the application service access request is generated by the client according to the customer operation and is encrypted by the reinforcement shield connected to the back end of the client by signal, the encryption method is MTLS encryption (and if not specified, all encryption is performed by default), and determines whether to respond to the application service access request according to the service policy of the application service resource;
[0052] If yes, searching the application service corresponding to the application service access request from the application service resource, implementing the application communication link between the client and the server through the reinforced root, and allowing the client to access the application service;
[0053] Otherwise, the application communication link with the client is disconnected, and the client is prohibited from accessing the application service.
[0054] It should be noted that, in this process, if multiple application service access requests are obtained from the same client, only the application service access requests that comply with the service policy of the application service resource will be responded to, the application service corresponding to the responded application service access request will be searched from the application service resource, an application communication link will be established, and the client will be allowed to access the application service.
[0055] The above-mentioned operation mode can prohibit access without affecting the access of the reinforced shield to other application services behind the reinforced root, nor affecting the access of other reinforced shields to application services, thus realizing fine-grained application and user-level traffic control.
[0056] In summary, the network communication method based on zero-trust technology proposed in the present invention realizes authentication authorization and encrypted communication between the client and the server in TCP network communication through the deployment of a reinforced shield and a reinforced root. At the same time, the method uses MTLS for continuous two-way authentication and information encryption during the communication process, which significantly improves the security of the communication process and ensures the effect of security reinforcement. Moreover, the method also greatly reduces the risk of service resource exposure by hiding application services. In addition, the method systematically manages the authorization of application services after the reinforced root, allowing or prohibiting a user's access request, thereby realizing fine-grained and precise control of user permissions.
[0057] On the other hand, the present invention also relates to a network communication device based on zero trust technology, whose structure is as follows: Figure 4 As shown, including:
[0058] A control registration and installation module is configured to obtain a security reinforcement data package from a control center and complete the registration and installation of a reinforcement control, wherein the reinforcement control at least includes a reinforcement shield and an MTLS authentication certificate;
[0059] A service policy configuration module is configured to receive application service policy information, complete policy configuration of application service resources according to the application service policy information, and determine a service policy of the application service resources;
[0060] The access request response module is configured to obtain an application service access request from a client, the application service access request is encrypted using MTLS, and determine whether to respond to the application service access request based on the service policy of the application service resource; if yes,
[0061] The access operation permission module is configured to search the application service corresponding to the application service access request from the application service resources, establish an application communication link with the client, and allow the client to access the application service.
[0062] In a possible implementation, the access request response module includes:
[0063] an access request acquisition unit, configured to acquire the application service access request, the application service access request is generated by the client according to the customer operation and encrypted by the reinforced shield connected to the back end of the client by signal, the encryption method is MTLS encryption, and whether to respond to the application service access request is determined according to the service policy of the application service resource; if otherwise
[0064] an access request prohibiting unit, configured to disconnect the application communication link with the client and prohibit the client from accessing the application service;
[0065] The access request synchronization processing unit is configured to, if multiple application service access requests are obtained from the same client, only respond to the application service access requests that comply with the service policy of the application service resource, search the application service corresponding to the responded application service access request from the application service resource, establish an application communication link, and allow the client to access the application service.
[0066] In another aspect, the present invention further relates to a terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps in the network communication method based on zero trust technology as described above are implemented, for example Figure 1 Alternatively, when the processor executes the computer program, the functions of each module / unit in the above-mentioned device embodiments are implemented, for example Figure 3 The functions of each module / unit shown.
[0067] On the other hand, the present invention also relates to a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the network communication method based on zero trust technology as described above are implemented.
[0068] Among them, the readable storage medium can be a computer storage medium or a communication medium. The communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The computer storage medium can be any available medium that can be accessed by a general or special-purpose computer. For example, a readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application-specific integrated circuit (ASIC). In addition, the ASIC can be located in a user device. Of course, the processor and the readable storage medium can also exist in a communication device as discrete components. The readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0069] Corresponding to the content of the above method, the network communication device, terminal and storage medium based on zero-trust technology proposed in the present invention realize security reinforcement in the TCP network communication process with a systematic and standardized processing flow, thereby providing technical support for the continuous and stable network communication. The hardware solution has high adaptability and compatibility and can be effectively applied to various network communication scenarios.
[0070] The present invention also provides a reference for other technical solutions related to TCP network communication, which can be used as a basis for expansion, extension and in-depth research, and has a very broad application prospect.
[0071] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit and essential features of the present invention. Therefore, the embodiments should be considered exemplary and non-restrictive in all respects, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims be included in the present invention.
[0072] Finally, it should be understood that although this specification is described according to implementation methods, not every implementation method contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.
Claims
1. A network communication method based on zero trust technology, characterized in that: include: Receive application service policy information, complete policy configuration of application service resources according to the application service policy information, and determine the service policy of the application service resources; Obtaining an application service access request from a client, the application service access request being encrypted using MTLS, and determining whether to respond to the application service access request based on a service policy of the application service resource; If yes, searching the application service corresponding to the application service access request from the application service resource, establishing an application communication link with the client, and allowing the client to access the application service; otherwise, disconnecting the application communication link with the client and prohibiting the client from accessing the application service; If multiple application service access requests are obtained from the same client, only the application service access requests that comply with the service policy of the application service resource are responded to, an application service corresponding to the responded application service access request is searched from the application service resource, an application communication link is established, and the client is allowed to access the application service; Before receiving the application service policy information, completing the policy configuration of the application service resource according to the application service policy information, and determining the service policy of the application service resource, the method further includes: Obtain the security reinforcement data package from the control center and complete the registration and installation of the reinforcement control, which at least includes a reinforcement shield, a reinforcement root and an MTLS authentication certificate.
2. The network communication method based on zero-trust technology according to claim 1, characterized in that: The obtaining of an application service access request from a client, wherein the application service access request is encrypted using MTLS, and determining whether to respond to the application service access request according to a service policy of the application service resource, includes: Obtain the application service access request, which is generated by the client according to the customer operation and encrypted by the reinforced shield connected to the back end of the client by signal, and the encryption method is MTLS encryption, and determine whether to respond to the application service access request according to the service policy of the application service resource; if not, The application communication link with the client is disconnected, and the client is prohibited from accessing the application service.
3. The network communication method based on zero-trust technology according to claim 2, characterized in that: The obtaining of an application service access request from a client, wherein the application service access request is encrypted using MTLS, and determining whether to respond to the application service access request according to a service policy of the application service resource, further includes: If multiple application service access requests are obtained from the same client, only the application service access requests that comply with the service policy of the application service resource are responded to, the application service corresponding to the responded application service access request is searched from the application service resource, an application communication link is established, and the client is allowed to access the application service.
4. A network communication device based on zero-trust technology, characterized in that: include: A service policy configuration module is configured to receive application service policy information, complete policy configuration of application service resources according to the application service policy information, and determine a service policy of the application service resources; An access request response module is configured to obtain an application service access request from a client, the application service access request being encrypted using MTLS, and determine whether to respond to the application service access request based on a service policy of the application service resource; If an access operation permission module, configured to search the application service corresponding to the application service access request from the application service resources, establish an application communication link with the client, and allow the client to access the application service; otherwise, disconnecting the application communication link with the client and prohibiting the client from accessing the application service; If multiple application service access requests are obtained from the same client, only the application service access requests that comply with the service policy of the application service resource are responded to, an application service corresponding to the responded application service access request is searched from the application service resource, an application communication link is established, and the client is allowed to access the application service; Also includes: The control registration and installation module is configured to obtain a security reinforcement data package from the control center and complete the registration and installation of the reinforcement control, wherein the reinforcement control at least includes a reinforcement shield, a reinforcement root and an MTLS authentication certificate.
5. The network communication device based on zero-trust technology according to claim 4, characterized in that: The access request response module includes: an access request acquisition unit, configured to acquire the application service access request, the application service access request is generated by the client according to the customer operation and encrypted by the reinforced shield connected to the back end of the client by signal, the encryption method is MTLS encryption, and whether to respond to the application service access request is determined according to the service policy of the application service resource; if otherwise The access request prohibition unit is configured to disconnect the application communication link with the client and prohibit the client from accessing the application service.
6. The network communication device based on zero-trust technology according to claim 5, characterized in that: The access request response module further includes: The access request synchronization processing unit is configured to, if multiple application service access requests are obtained from the same client, only respond to the application service access requests that comply with the service policy of the application service resource, search the application service corresponding to the responded application service access request from the application service resource, establish an application communication link, and allow the client to access the application service.
7. A terminal 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 computer program, the steps of the network communication method based on zero trust technology as described in any one of claims 1 to 3 are implemented.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by the processor, the steps in the network communication method based on zero trust technology as described in any one of claims 1 to 3 are implemented.
