Communication method and device based on data security, electronic equipment and storage medium

By generating unique virtual IPv6 addresses and building a trusted network within the data security vault, achieving double-layer encryption and audit logs, the problem of the data security vault being unable to resist external malicious attacks is solved, thereby improving data security and reducing network protection costs.

CN118659938BActive Publication Date: 2024-11-05北京华瀛安盛科技发展有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411148979.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-11-05
Estimated Expiration
2044-08-21

AI Technical Summary

Technical Problem

Existing data security vaults are unable to effectively defend against malicious external attacks, resulting in a lack of protection for user data security.

Method used

By generating a virtual IPv6 address that uniquely corresponds to a network device, and using a trusted network management server for security verification and registration, a trusted network is constructed. This enables a two-layer encryption strategy to communicate with other communication nodes and records access behavior information to generate audit logs.

Benefits of technology

It effectively prevents Internet Protocol addresses from being spoofed and attacked, reduces manpower and maintenance costs for network security protection, and improves the defense capabilities of the data security vault.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118659938B_ABST
    Figure CN118659938B_ABST
Patent Text Reader

Abstract

The present invention provides a communication method and device based on data security, an electronic device and a storage medium, which relate to the field of communication. The method comprises: a network device other than a trusted network device sends an access request to a control server in a trusted network; after receiving a first message returned by the control server that the access request passes security verification, the network device generates a first virtual IPv6 address according to a public key in a first key pair; the network device sends the first virtual IPv6 address as a target virtual IPv6 address to the control server; when receiving a second message returned by the control server that the target virtual IPv6 address is successfully registered, the network device communicates with other communication nodes in the trusted network based on the target virtual IPv6 address. The present invention can reduce the risk of malicious attacks on data safe houses and reduce the manpower cost and maintenance cost of network security protection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communications, and in particular to a communication method and device, electronic equipment and storage medium based on data security. Background Art

[0002] "Data Safe House" is a data security solution that protects the privacy and security of family and personal data through physical isolation, encryption and security authentication.

[0003] Data safe houses can currently be built based on blockchain technology or cloud collaboration technology.

[0004] Building a data safe house based on blockchain technology mainly uses blockchain technology to achieve decentralization, accurately connect data providers, data demanders, algorithm providers, etc., and use a trusted third party (such as the government) to save all blockchain records by aggregating different algorithms.

[0005] The data safe house is built based on cloud collaboration technology, mainly through technical means such as blockchain, bastion host, and audit process to ensure data security, separate data ownership and usage rights, and help users analyze and exchange data in a safe, convenient and flexible way. Cloud collaboration technology takes cloud computing as the technical core. Under this framework, the data safe house can provide a complete set of cloud-based security technologies, computing technologies and circulation rules to ensure that users can safely and controllably, quickly and efficiently realize data circulation and sharing, and will not enter the user's business field, thereby ensuring the security of the user's business.

[0006] At present, although data safe houses can ensure data security through a variety of security authentication and encryption technologies and separate data ownership and usage rights, they are still unable to resist network attacks launched from the outside by malicious attackers, resulting in the inability to guarantee user data security. Summary of the invention

[0007] The present invention provides a communication method and device based on data security, an electronic device and a storage medium, which are used to solve the defect in the prior art that the data safe house cannot resist malicious attacks initiated from the outside, thereby achieving the purpose of reducing the risk of the data safe house being attacked maliciously, and at the same time reducing the manpower cost and maintenance cost of network security protection.

[0008] The present invention provides a communication method based on data security, comprising: sending an access request to a control server in a trusted network; after receiving a first message returned by the control server indicating that the access request has passed security verification, generating a first virtual IPv6 address according to a public key in a first key pair; sending the first virtual IPv6 address as a target virtual IPv6 address to the control server; and upon receiving a second message returned by the control server indicating that the target virtual IPv6 address has been successfully registered, communicating with other communication nodes in the trusted network based on the target virtual IPv6 address.

[0009] According to a communication method based on data security provided by the present invention, after sending the first virtual IPv6 address as the target virtual IPv6 address to the management and control server, it also includes: after receiving the third message returned by the management and control server indicating the registration failure of the target virtual IPv6 address, generating the Nth key pair; wherein N is the number of times the key pair is generated, N is a positive integer and N is greater than or equal to 2; generating the Nth virtual IPv6 address according to the public key in the Nth key pair; and sending the Nth virtual IPv6 address as the target virtual IPv6 address to the management and control server.

[0010] According to a communication method based on data security provided by the present invention, before sending an access request to a control server in a trusted network, it also includes: sending an access request to the control server; after receiving a fourth message returned by the control server indicating that the access request has passed the security verification, sending the above-mentioned access request to the control server.

[0011] According to a data security-based communication method provided by the present invention, the access request is a request initiated based on the single-packet knocking technology.

[0012] According to a data security-based communication method provided by the present invention, after communicating with other communication nodes in a trusted network based on a target virtual IPv6 address, it also includes: after receiving a data access request from any target communication node in the trusted network, recording the access behavior information of the target communication node; and generating an audit log based on the access behavior information.

[0013] According to a communication method based on data security provided by the present invention, the communication nodes in the trusted network include a data provider communication node, a data user communication node and a data transmission communication node, and communicate with other communication nodes in the trusted network based on a target virtual IPv6 address, including: using a double-layer encryption strategy based on the target virtual IPv6 address to communicate with other communication nodes in the trusted network; the double-layer encryption strategy includes: when becoming a data owner communication node, using an asymmetric encryption algorithm to perform a first encryption on the target data to be transmitted, the recipient of the first encryption is the data user communication node requesting the target data, and the data owner communication node becomes a data transmission communication node after the first encryption; when becoming a data transmission communication node, using an asymmetric encryption algorithm to perform a second encryption on the target data to be transmitted, the recipient of the second encryption is a neighbor communication node to be passed through during the transmission of the target data to the data user communication node, and the neighbor communication node is adjacent to the data transmission communication node; the target data is transmitted to the neighbor communication node, and the neighbor communication node becomes the data transmission communication node.

[0014] The present invention also provides a communication method based on data security, comprising: after receiving an access request from a network device outside a trusted network, performing security verification on the access request; if the security verification passes, sending a first message to the network device; wherein the first message is used to instruct the network device to generate a first virtual IPv6 address based on a public key in a first key pair, and use the first virtual IPv6 address as a target virtual IPv6 address; after receiving the target virtual IPv6 address from the network device, registering the target virtual IPv6 address; if the target virtual IPv6 address is successfully registered, sending a second message to the network device; wherein the second message is used to instruct the network device to communicate with other communication nodes in the trusted network based on the target virtual IPv6 address.

[0015] According to a communication method based on data security provided by the present invention, after registering the target virtual IPv6 address, it also includes: in the event that the registration of the target virtual IPv6 address fails, sending a third message to the network device; wherein the third message is used to instruct the network device to generate an Nth key pair, generate an Nth virtual IPv6 address according to the public key in the Nth key pair, and send the Nth virtual IPv6 address as the target virtual IPv6 address to a management and control server in a trusted network; N is the number of times the key pair is generated, N is a positive integer and N is greater than or equal to 2; after receiving the target virtual IPv6 address from the network device, registering the target virtual IPv6 address.

[0016] According to a communication method based on data security provided by the present invention, the target virtual IPv6 address is successfully registered, including: at least one registered virtual IPv6 address is different from the target virtual IPv6 address.

[0017] The present invention also provides a communication device based on data security, comprising: a first sending module, a generating module, and a communication module.

[0018] The first sending module is used to send an access request to a management and control server in the trusted network.

[0019] The generation module is used to generate a first virtual IPv6 address according to the public key in the first key pair after receiving a first message returned by the management and control server indicating that the access request has passed the security verification.

[0020] The first sending module is further used to send the first virtual IPv6 address as the target virtual IPv6 address to the management and control server.

[0021] The communication module is used to communicate with other communication nodes in the trusted network based on the target virtual IPv6 address when receiving a second message indicating successful registration of the target virtual IPv6 address returned by the management and control server.

[0022] The present invention also provides a communication device based on data security, comprising: a security verification module, a second sending module, and a registration module.

[0023] The security verification module is used to perform security verification on the access request after receiving the access request from the network device outside the trusted network.

[0024] The second sending module is used to send a first message to the network device when the security verification passes; wherein the first message is used to instruct the network device to generate a first virtual IPv6 address according to the public key in the first key pair, and use the first virtual IPv6 address as the target virtual IPv6 address.

[0025] The registration module is used to register the target virtual IPv6 address after receiving the target virtual IPv6 address from the network device.

[0026] The second sending module is also used to send a second message to the network device when the registration is successful; wherein the second message is used to instruct the network device to communicate with other communication nodes in the trusted network based on the target virtual IPv6 address.

[0027] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-mentioned communication methods based on data security is implemented.

[0028] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, any of the above-mentioned communication methods based on data security is implemented.

[0029] The present invention also provides a computer program product, comprising a computer program, and when the computer program is executed by a processor, the computer program implements any of the above-mentioned communication methods based on data security.

[0030] The present invention provides a communication method and device based on data security, an electronic device and a storage medium, which can send an access request to a control server in a trusted network; after receiving a first message that the access request returned by the control server passes the security verification, a first virtual IPv6 address is generated according to the public key in the first key pair; the first virtual IPv6 address is sent to the control server as the target virtual IPv6 address; when a second message that the target virtual IPv6 address is successfully registered is received from the control server, the communication is performed with other communication nodes in the trusted network based on the target virtual IPv6 address. In the present invention, a network device generates a first virtual IPv6 address uniquely corresponding to the network device through the public key in the first key pair generated locally, and sends it as the target virtual IPv6 address to the control server of the trusted network for registration. When the target virtual IPv6 address is successfully registered, the network device also becomes a communication node in the trusted network, and communicates with other communication nodes in the trusted network based on the target virtual IPv6 address. The present invention achieves the purpose of building an endogenous security system of a virtual network layer on the Internet by building a trusted network. Any communication node in the trusted network communicates with other communication nodes in the trusted network based on its corresponding virtual IPv6 address, so that users in the trusted network can be invisible to the external network, effectively avoiding the spoofing of Internet Protocol (IP) addresses and the occurrence of network attacks, thereby solving the defect of data safe houses in the existing technology that they cannot resist malicious attacks initiated from the outside, and achieving the purpose of reducing the risk of malicious attacks on data safe houses while reducing the manpower cost and maintenance cost of network security protection. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0032] Figure 1 This is one of the flow charts of the communication method based on data security provided by the present invention.

[0033] Figure 2 This is the second flow chart of the communication method based on data security provided by the present invention.

[0034] Figure 3 This is the third flow chart of the communication method based on data security provided by the present invention.

[0035] Figure 4 This is the fourth flow chart of the communication method based on data security provided by the present invention.

[0036] Figure 5 This is the fifth flow chart of the communication method based on data security provided by the present invention.

[0037] Figure 6 This is the sixth flow chart of the communication method based on data security provided by the present invention.

[0038] Figure 7 This is one of the structural schematic diagrams of the communication device based on data security provided by the present invention.

[0039] Figure 8 This is the second structural schematic diagram of the communication device based on data security provided by the present invention.

[0040] Fig. 9 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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.

[0042] At present, data safe houses in related technologies are all built on the basis of Internet Protocol version 4 (IPv4). Since IPv4 is the core of the Internet, data safe houses are exposed to the Internet. In this case, as long as users access the Internet, user data may be stolen, forged or tampered with, and cannot resist network attacks launched by malicious attackers from the outside.

[0043] For example, for a data safe house built based on cloud collaboration technology, it is to realize the autonomous interconnection of third-party clouds through cloud collaboration, create a distributed accounting system based on blockchain technology, and configure a transaction system, community services and a supervision system on it, thus forming a complete cloud collaboration environment. Third-party independent cloud service providers that meet specific national standards and requirements can access the system for autonomous interconnection. In this case, important data such as user privacy and digital assets are in the hands of third-party cloud service providers. Once a third-party cloud service provider is invaded from the outside by an attacker, the user will lose these important data forever.

[0044] It can be seen that how to make the data safe house able to resist attacks launched from the outside by malicious attackers has become a problem that needs to be solved urgently.

[0045] In order to solve the above problems, the present invention provides a communication method based on data security to solve the problem in the prior art that data safe houses cannot resist malicious attacks initiated from the outside.

[0046] Combine the following Figure 1-Figure 6 A communication method based on data security according to an embodiment of the present invention is described.

[0047] It should be noted that the embodiment of the present invention provides a data safe house trusted environment system, which is composed of a management and control server, a trusted network, data owners and data users. The data owners are data generators in the data safe house, and the data users are data consumers in the data safe house.

[0048] Figure 1 FIG. 1 is one of the flow charts of the communication method based on data security provided by an embodiment of the present invention. Figure 1 As shown, the communication method based on data security includes the following S110~S140.

[0049] It should be noted that the data security-based communication method of S110-S140 is applied to network devices, that is, the execution subject of S110-S140 is a network device. The network device can be, for example, a smart phone, a desktop computer, a tablet computer, a laptop computer, a smart speaker, a digital assistant, an AR (Augmented Reality) device, a VR (Virtual Reality) device, a smart wearable device, and other devices that can access the Internet for communication.

[0050] S110: Sending an access request to a management and control server in the trusted network.

[0051] The access request may carry the device identification information of the network device sending the access request, the access network type, and the public key of the first key pair generated locally by the network device.

[0052] The first key pair is a key pair generated based on a non-encryption algorithm, and the first key pair includes a public key and a private key. The first key pair can uniquely identify the identity of the network device itself.

[0053] The management and control server is a server for managing a trusted network. The trusted network includes at least one communication node. Each communication node in the at least one communication node has registered its corresponding virtual IPv6 address.

[0054] The device identification information is the identification information of the network device that sends the access request. The identification information can uniquely identify the network device. The device identification information may be, for example, a Media Access Control Address (MAC address) of the network device.

[0055] The access network type refers to the type of network that the network device accesses, such as LAN, data network, or WiFi (Wireless Fidelity).

[0056] IPv6 stands for Internet Protocol version 6. The byte length of a virtual IPv6 address is 128 bits. Compared with IPv4, IPv6 can provide more unique addresses. Using virtual IPv6 addresses as communication addresses will prevent the situation of insufficient communication addresses.

[0057] S120: After receiving a first message returned by the management and control server indicating that the access request has passed security verification, generate a first virtual IPv6 address according to the public key in the first key pair.

[0058] When the control server performs security verification on the access request, it can perform security verification on the network device based on the device identification information, access network type, public key and other security verification information carried in the access message to ensure the legitimacy of the network device.

[0059] For example, the management and control server detects whether the MAC address is consistent with the connected LAN and whether the public key can be correctly decrypted. If the management and control server determines that the MAC address is consistent with the connected LAN and the public key can be correctly decrypted, it returns the first message.

[0060] After receiving the first message, the network device generates a first virtual IPv6 address according to the public key in the first key pair.

[0061] The network device may calculate a hash value corresponding to the public key based on a hash algorithm, and use the hash value as the first virtual IPv6 address.

[0062] S130: Send the first virtual IPv6 address as the target virtual IPv6 address to the management and control server.

[0063] Specifically, the first virtual IPv6 address is sent to the management and control server as the target virtual IPv6 address, so that the management and control server registers the target virtual IPv6 address.

[0064] S140: After receiving a second message indicating successful registration of the target virtual IPv6 address returned by the management and control server, communicate with other communication nodes in the trusted network based on the target virtual IPv6 address.

[0065] The target virtual IPv6 address is successfully registered, including: there is no virtual IPv6 address identical to the target virtual IPv6 address in at least one registered virtual IPv6 address.

[0066] When determining whether the target virtual IPv6 address is successfully registered, the control server may search whether there is a virtual IPv6 address identical to the target virtual IPv6 address in at least one registered virtual IPv6 address. If so, that is, at least one registered virtual IPv6 address has a virtual IPv6 address identical to the target virtual IPv6 address, then the registration fails. If not, that is, at least one registered virtual IPv6 address does not have a virtual IPv6 address identical to the target virtual IPv6 address, then the registration succeeds.

[0067] If one of the registered virtual IPv6 addresses registered in the management and control server is the same as the target virtual IPv6 address, it will obviously cause an address conflict in the trusted network. Therefore, it is necessary to ensure that at least one of the registered virtual IPv6 addresses is different from the target virtual IPv6 address so that the network device can communicate normally with other communication nodes in the trusted network based on the target virtual IPv6 address.

[0068] Therefore, there is no virtual IPv6 address identical to the target virtual IPv6 address in the at least one registered virtual IPv6 address, and the management and control server may return a second message.

[0069] When the target virtual IPv6 address is successfully registered on the control server, the network device becomes a communication node in the trusted network, thereby making the communication of the network device in the trusted network authentic and legal. Each communication node in the trusted network uses its corresponding virtual IPv6 address when communicating, so when the user accesses data in the trusted network through the network device, the user's real IP address is hidden. In this case, it can be ensured that all requests in and out of the trusted network will not expose the real IP address, which can effectively prevent the IP address from being spoofed and network attacks from occurring.

[0070] The target virtual IPv6 address may be successfully registered in the management and control server, or it may fail to be registered. Figure 2 This is the second flow chart of the communication method based on data security provided by the embodiment of the present invention. In the case where the target virtual IPv6 address fails to be registered in the control server, such as Figure 2 As shown, the embodiment of the present invention can execute S210~S230.

[0071] S210: After receiving the third message indicating the registration failure of the target virtual IPv6 address returned by the management and control server, generate the Nth key pair; wherein N is the number of times the key pair is generated, N is a positive integer and N is greater than or equal to 2.

[0072] The registration failure of the target virtual IPv6 address includes: there is a registered virtual IPv6 address among at least one registered virtual IPv6 address registered in the management and control server that is the same as the target virtual IPv6 address. In this case, the management and control server returns a third message.

[0073] In case that the third message is received for the first time, a key pair is generated for the second time (the key pair generated for the first time is the above-mentioned first key pair), and a second key pair is obtained, and the second key pair is a different key pair from the first key pair.

[0074] When the third message is received for the second time, a key pair is generated for the third time (the key pair generated for the first time is the above-mentioned first key pair), and a third key pair is obtained. The third key pair is a key pair different from both the first key pair and the second key pair.

[0075] By analogy, when the third message is received for the N-1th time, an Nth key pair is generated for the Nth time, and the Nth key pair is a key pair different from the N-1 key pairs generated before the Nth time.

[0076] S220: Generate an Nth virtual IPv6 address according to the public key in the Nth key pair.

[0077] For example, if the Nth key pair is the second key pair, the second virtual IPv6 address is generated according to the public key in the second key pair; if the Nth key pair is the third key pair, the third virtual IPv6 address is generated according to the public key in the third key pair, and so on.

[0078] S230: Send the Nth virtual IPv6 address as the target virtual IPv6 address to the management and control server.

[0079] For example, the Nth virtual IPv6 address is the second virtual IPv6 address, and the second virtual IPv6 address is sent to the control server as the target virtual IPv6 address so that the control server can register the target virtual IPv6 address again. If the target virtual IPv6 address is successfully registered, the control server returns the second message; if the target virtual IPv6 address fails to be registered, S210~S230 are executed again, at which time a third virtual IPv6 address is generated in S210, and the third virtual IPv6 address is sent to the control server as the target virtual IPv6 address in S230, and the control server registers the third virtual IPv6 address again, and returns the third message again in the case of registration failure. Based on the third message, the embodiment of the present invention executes S210~S230 again, and a completely different key pair is generated in S210, until the target virtual IPv6 address obtained based on the public key in the Nth key pair generated for the Nth time in S210 is successfully registered.

[0080] In order to further reduce the risk of malicious attacks, before executing S110, the legitimacy of the user using the network device may be verified. Figure 3 FIG3 is a flow chart of a communication method based on data security provided by an embodiment of the present invention. Figure 3 As shown, before executing S110, the following S310~S320 may also be executed.

[0081] S310: Send an access request to the management and control server.

[0082] The access request may carry account security verification information such as the public key and the user signature of the trusted network user to be logged in, which is used to verify the security of the account on the network device.

[0083] The above-mentioned trusted network user to be logged in may be a data owner user or a data user user. The public key carried in the access request is the public key in the key pair generated locally by the network device introduced in S110.

[0084] In some embodiments, the access request may be a request initiated based on a single-packet knocking technique. In this case, the access request may include multiple knocking packets (i.e., a data packet of a specific structure), and the multiple knocking packets may be issued in sequence according to a pre-set order, each knocking packet accesses the knocking port corresponding to it (corresponding to the trusted network service port in the trusted network), and each knocking packet carries a public key and a user signature.

[0085] Of course, it is understandable that the access request may also be a request initiated by other means besides the single-packet knocking technique, as long as the purpose of verifying the legitimacy of the user can be achieved.

[0086] S320: After receiving the fourth message returned by the control server indicating that the access request has passed the security verification, an access request is sent to the control server.

[0087] The control server opens access rights to the access request if the access request passes the security verification.

[0088] The control server can perform security verification of access requests based on the Keyed-Hashing for Message Authentication (HMAC) algorithm to calculate the legitimacy of the public key and user signature carried in the access request.

[0089] For example, when the access request includes multiple knock packets, the control server can calculate the legitimacy of the public key and user signature in the knock packet for accessing each trusted network service port based on the HMAC algorithm. When it is determined that both the public key and the user signature are legal, the control server returns the fourth message and opens the access rights of the access request to the network device. At this time, the network device executes S110, and the access request sent by the network device to the control server can be responded to by the control server, otherwise the access request sent by the network device to the control server cannot be responded to by the control server. The trusted network uses firewall rules to prohibit the opening of all data packets accessing the trusted network service port except for the correct knock packet access, thereby establishing a highly secure access threshold to effectively deny access by illegal users.

[0090] Through S310~S320, before allowing the network device to send an access request, the legitimacy of the user logged in on the network device can be verified, and only the access request sent by the network device logged in by the authenticated legitimate user is allowed to be received, which effectively prevents the access of unauthorized users and possible internal leakage, and realizes the boundary hiding function of the external access port. In other words, the external access port will not arbitrarily open access rights to the access request of the network device. For the access request of the illegal user network device logged in by the illegal user, since it cannot be accessed from the trusted network service port, the boundary of the trusted network is relatively hidden, thereby realizing the invisibility of the external network and further reducing the risk of malicious attacks.

[0091] In some embodiments, for data safe houses built based on cloud collaboration technology, important data such as user privacy and data assets are controlled by third-party service providers, which may be easily leaked. In order to avoid the above risks, in some embodiments, communicating with other communication nodes in the trusted network based on the target virtual IPv6 address may specifically be: communicating with other communication nodes in the trusted network based on the target virtual IPv6 address using a double-layer encryption strategy.

[0092] Figure 4 FIG4 is a flow chart of a communication method based on data security provided by an embodiment of the present invention. The execution process of the double-layer encryption strategy is as follows: Figure 4 As shown, it includes the following S410~S430.

[0093] S410: When becoming a data owner communication node, an asymmetric encryption algorithm is used to perform a first encryption on the target data to be transmitted. The recipient of the first encryption is the data user communication node requesting the target data. After the first encryption, the data owner communication node becomes a data transmission communication node.

[0094] When the network device successfully registers with the trusted network, it becomes a communication node in the trusted network. The communication nodes in the trusted network include data provider communication nodes and data user communication nodes. When the network device is a data owner communication node, the network device provides target data to the data user communication node.

[0095] The situation where the network device becomes the current data owner communication node includes: receiving a data request from a data user communication node requesting target data.

[0096] After the data owner communication node performs the first encryption, the data owner communication node becomes a data transmission communication node and starts to perform transmission encryption processing on the target data (corresponding to the second encryption in S420).

[0097] S420: When becoming a data transmission communication node, an asymmetric encryption algorithm is used to perform a second encryption on the target data to be transmitted. The recipient of the second encryption is a neighboring communication node that the target data must pass through during the process of transmitting the target data to the data user communication node. The neighboring communication node is adjacent to the data transmission communication node.

[0098] The trusted network in the embodiment of the present invention is a flat network running on the existing Internet architecture. In this case, the transmission of target data in the trusted network is transmitted between two adjacent communication nodes, and ends when the target data is finally transmitted to the data user communication node requesting the target data.

[0099] In this case, if the data user communication node requesting the target data is not adjacent to the data owner communication node, the data owner communication node needs to calculate the next communication node that the target data will pass through when transmitting the target data to the data user communication node. This communication node is adjacent to the data owner communication node, that is, the neighbor communication node of the data owner communication node.

[0100] Therefore, when the network device acts as a data owner communication node, after performing the first encryption on the target data, the network device also acts as a data transmission communication node and uses an asymmetric encryption algorithm to perform the second encryption on the target data to be transmitted. In this case, the network device performs the first encryption and the second encryption on the target data as the data owner communication node and the data transmission communication node respectively, and the target data is encrypted twice in total.

[0101] Asymmetric encryption algorithms are used to encrypt the key itself and to transmit sensitive small-scale data. S410 and S420 perform two encryptions in total. Based on this, even if the target data is intercepted during transmission, it cannot be decrypted without the correct key, effectively ensuring the confidentiality of the target data during transmission. In this case, the data transmitted by the user through the trusted network will not be intercepted, but it will be difficult to decrypt. In the case where important data such as user privacy and digital assets are controlled by a third party, the above two encryptions can effectively prevent these important data from being leaked.

[0102] S430: Transmit the target data to the neighbor communication node, and the neighbor communication node becomes a data transmission communication node.

[0103] The network device transmits the target data to the neighbor communication node, and the neighbor communication node becomes the current data owner communication node, and S420-S430 are executed again until the target data is transmitted to the data user communication node.

[0104] The communication node of the network device data owner performs the first encryption on the target data, and the communication node as the data transmission performs the second encryption on the target data. The target data is encrypted twice to implement a double-layer encryption strategy.

[0105] In some embodiments, comprehensive monitoring and post-analysis of network activities in the trusted network may also be performed. Figure 5 FIG. 5 is a flowchart of a communication method based on data security provided by an embodiment of the present invention. After executing S140, Figure 5 As shown, the embodiment of the present invention can also execute the following S510~S520.

[0106] S510: After receiving a data access request from any target communication node in the trusted network, record access behavior information of the target communication node.

[0107] When a network device acts as a data provider communication node and any data consumer communication node in a trusted network accesses data based on its corresponding virtual IPv6 address, it records the access behavior information of the data consumer communication node. The access behavior information may include: access time, visitor identity, access type, access duration and other information related to the access behavior.

[0108] S520: Generate an audit log based on the access behavior information.

[0109] The audit log is a summary of multiple access behavior information. Through S510~S520, not only can network activities be traced, but also the ability to identify and respond to network security threats can be enhanced.

[0110] The present invention provides a communication method based on data security, which can send an access request to a control server in a trusted network on one side of a network device; after receiving a first message that the access request returned by the control server passes the security verification, the network device generates a first virtual IPv6 address according to the public key in the first key pair; the network device sends the first virtual IPv6 address as the target virtual IPv6 address to the control server; when the network device receives a second message that the target virtual IPv6 address is successfully registered returned by the control server, it communicates with other communication nodes in the trusted network based on the target virtual IPv6 address. In the present invention, the network device generates a first virtual IPv6 address uniquely corresponding to the network device through the public key in the first key pair generated locally, and sends it as the target virtual IPv6 address to the control server of the trusted network for registration. When the target virtual IPv6 address is successfully registered, the network device also becomes a communication node in the trusted network, and communicates with other communication nodes in the trusted network based on the target virtual IPv6 address. The present invention achieves the purpose of building an endogenous security system of a virtual network layer on the Internet by building a trusted network. Any communication node in the trusted network communicates with other communication nodes in the trusted network based on its corresponding virtual IPv6 address, so that users in the trusted network can be invisible to the external network, effectively avoiding the spoofing of Internet Protocol (IP) addresses and the occurrence of network attacks, thereby solving the defect of data safe houses in the existing technology that they cannot resist malicious attacks initiated from the outside, and achieving the purpose of reducing the risk of malicious attacks on data safe houses while reducing the manpower cost and maintenance cost of network security protection.

[0111] Figure 6 This is the sixth flow chart of the communication method based on data security provided by the embodiment of the present invention. Figure 6 As shown, the communication method based on data security includes the following S610~S640.

[0112] It should be noted that the communication method based on data security of S610 to S640 is applied to the control server in the trusted network, that is, the execution subject of S610 to S640 is the control server in the trusted network.

[0113] S610: After receiving an access request from a network device outside the trusted network, perform security verification on the access request.

[0114] S620: When the security verification passes, send a first message to the network device; wherein the first message is used to instruct the network device to generate a first virtual IPv6 address according to the public key in the first key pair, and use the first virtual IPv6 address as the target virtual IPv6 address.

[0115] S630: After receiving the target virtual IPv6 address from the network device, register the target virtual IPv6 address.

[0116] S640: When the target virtual IPv6 address is successfully registered, send a second message to the network device; wherein the second message is used to instruct the network device to communicate with other communication nodes in the trusted network based on the target virtual IPv6 address.

[0117] The target virtual IPv6 address is successfully registered, including: there is no virtual IPv6 address identical to the target virtual IPv6 address in at least one registered virtual IPv6 address.

[0118] In some embodiments, after the management and control server registers the target virtual IPv6 address, the following steps may also be performed: in case the registration of the target virtual IPv6 address fails, a third message is sent to the network device; wherein the third message is used to instruct the network device to generate the Nth key pair, generate the Nth virtual IPv6 address according to the public key in the Nth key pair, and use the Nth virtual IPv6 address as the target virtual IPv6 address; N is the number of times the key pair is generated, N is a positive integer and N is greater than or equal to 2.

[0119] Specifically, contrary to the successful registration of the target virtual IPv6 address, the registration failure of the target virtual IPv6 address includes: there is a virtual IPv6 address identical to the target virtual IPv6 address in at least one registered virtual IPv6 address.

[0120] For the specific implementation of the communication method based on data security on the control server side, please refer to the corresponding introduction about the implementation part of the control server in the embodiment of the communication method based on data security on the above network device side, which will not be repeated here.

[0121] The present invention provides a communication method based on data security, which can realize security verification of access requests on the side of a control server in a trusted network after receiving access requests from network devices outside the trusted network; in the case of passing the security verification, a first message is sent to the network device; wherein the first message is used to instruct the network device to generate a first virtual IPv6 address according to the public key in the first key pair, and use the first virtual IPv6 address as the target virtual IPv6 address; after receiving the target virtual IPv6 address from the network device, the target virtual IPv6 address is registered; finally, the control server sends a second message to the network device when the target virtual IPv6 address is successfully registered; wherein the second message is used to instruct the network device to communicate with other communication nodes in the trusted network based on the target virtual IPv6 address. In the present invention, the network device generates a first virtual IPv6 address uniquely corresponding to the network device through the public key in the first key pair generated locally, and sends it as the target virtual IPv6 address to the control server of the trusted network for registration. In the case of successful registration of the target virtual IPv6 address, the network device also becomes a communication node in the trusted network, and communicates with other communication nodes in the trusted network based on the target virtual IPv6 address. The present invention achieves the purpose of building an endogenous security system of a virtual network layer on the Internet by building a trusted network. Any communication node in the trusted network communicates with other communication nodes in the trusted network based on its corresponding virtual IPv6 address, so that users in the trusted network have the ability to hide from the external network, effectively avoiding the occurrence of Internet Protocol (IP) addresses being spoofed and network attacks, thereby solving the defect of the data safe house in the prior art that it cannot resist malicious attacks initiated from the outside, and achieving the purpose of reducing the risk of malicious attacks on the data safe house and reducing the labor cost and maintenance cost of network security protection.

[0122] The communication device based on data security provided by the present invention is described below. The communication device based on data security described below and the communication method based on data security described above can be referenced to each other.

[0123] Figure 7 This is one of the structural schematic diagrams of the communication device based on data security provided by the present invention. Figure 7 The data security-based communication device 700 shown is applied to a network device.

[0124] like Figure 7 As shown, the communication device 700 based on data security includes:

[0125] The first sending module 701 is used to send an access request to a management and control server in a trusted network.

[0126] The generation module 702 is used to generate a first virtual IPv6 address according to the public key in the first key pair after receiving a first message returned by the management and control server indicating that the access request has passed the security verification.

[0127] The first sending module 701 is further used to send the first virtual IPv6 address as the target virtual IPv6 address to the management and control server.

[0128] The communication module 703 is used to communicate with other communication nodes in the trusted network based on the target virtual IPv6 address when receiving a second message indicating successful registration of the target virtual IPv6 address returned by the management and control server.

[0129] Optionally, the generation module 702 is further used to: after receiving a third message indicating that the registration of the target virtual IPv6 address has failed, returned by the control server, generate an Nth key pair; wherein N is the number of times the key pair is generated, N is a positive integer and N is greater than or equal to 2; generate an Nth virtual IPv6 address according to the public key in the Nth key pair;

[0130] The first sending module 701 is further used to send the Nth virtual IPv6 address as the target virtual IPv6 address to the management and control server.

[0131] Optionally, the first sending module 701 is further used to: send an access request to the control server; after receiving a fourth message returned by the control server indicating that the access request has passed the security verification, send an access request to the control server.

[0132] Optionally, the access request is a request initiated based on a single-packet knocking technique.

[0133] Optionally, the data security-based communication device 700 further includes: an access behavior recording module ( Figure 7 Not shown), after the communication module communicates with other communication nodes in the trusted network based on the target virtual IPv6 address, after receiving a data access request from any target communication node in the trusted network, the access behavior information of the target communication node is recorded; based on the access behavior information, an audit log is generated.

[0134] Optionally, the communication nodes in the trusted network include data provider communication nodes, data user communication nodes and data transmission communication nodes, and the communication module 703 is specifically used to: communicate with other communication nodes in the trusted network based on the target virtual IPv6 address using a double-layer encryption strategy; the double-layer encryption strategy includes: when becoming a data owner communication node, using an asymmetric encryption algorithm to perform a first encryption on the target data to be transmitted, and the recipient of the first encryption is the data user communication node requesting the target data, and the data owner communication node becomes a data transmission communication node after the first encryption; when becoming a data transmission communication node, using an asymmetric encryption algorithm to perform a second encryption on the target data to be transmitted, and the recipient of the second encryption is a neighbor communication node to be passed through in the process of transmitting the target data to the data user communication node, and the neighbor communication node is adjacent to the data transmission communication node; the target data is transmitted to the neighbor communication node, and the neighbor communication node becomes the data transmission communication node.

[0135] The present invention provides a communication device based on data security, which can send an access request to a control server in a trusted network through a first sending module on one side of a network device; after receiving a first message that the access request returned by the control server passes the security verification, a first virtual IPv6 address is generated according to a public key in a first key pair through a generation module; the first virtual IPv6 address is sent to the control server as a target virtual IPv6 address through the first sending module; and when a second message that the target virtual IPv6 address is successfully registered is received by the communication module, the communication module communicates with other communication nodes in the trusted network based on the target virtual IPv6 address. In the present invention, the network device generates a first virtual IPv6 address uniquely corresponding to the network device through the public key in the first key pair generated locally, and sends it as the target virtual IPv6 address to the control server of the trusted network for registration. When the target virtual IPv6 address is successfully registered, the network device also becomes a communication node in the trusted network, and communicates with other communication nodes in the trusted network based on the target virtual IPv6 address. The present invention achieves the purpose of building an endogenous security system of a virtual network layer on the Internet by building a trusted network. Any communication node in the trusted network communicates with other communication nodes in the trusted network based on its corresponding virtual IPv6 address, so that users in the trusted network can be invisible to the external network, effectively avoiding the spoofing of Internet Protocol (IP) addresses and the occurrence of network attacks, thereby solving the defect of data safe houses in the existing technology that they cannot resist malicious attacks initiated from the outside, and achieving the purpose of reducing the risk of malicious attacks on data safe houses while reducing the manpower cost and maintenance cost of network security protection.

[0136] Figure 8 This is the second structural schematic diagram of the communication device based on data security provided by the present invention. Figure 8 The data security-based communication device 800 shown is applied to a network device.

[0137] like Figure 8 As shown, the communication device 800 based on data security includes:

[0138] The security verification module 801 is used to perform security verification on the access request after receiving the access request from the network device outside the trusted network.

[0139] The second sending module 802 is used to send a first message to the network device when the security verification passes; wherein the first message is used to instruct the network device to generate a first virtual IPv6 address according to the public key in the first key pair, and use the first virtual IPv6 address as the target virtual IPv6 address.

[0140] The registration module 803 is used to register the target virtual IPv6 address after receiving the target virtual IPv6 address from the network device.

[0141] The second sending module 802 is further used to send a second message to the network device when the registration is successful; wherein the second message is used to instruct the network device to communicate with other communication nodes in the trusted network based on the target virtual IPv6 address.

[0142] Optionally, the second sending module 802 is also used to send a third message to the network device when the registration of the target virtual IPv6 address fails; wherein the third message is used to instruct the network device to generate the Nth key pair, generate the Nth virtual IPv6 address according to the public key in the Nth key pair, and send the Nth virtual IPv6 address as the target virtual IPv6 address to the management and control server in the trusted network; N is the number of times the key pair is generated, N is a positive integer and N is greater than or equal to 2.

[0143] The present invention provides a communication device based on data security, which can perform security verification on an access request after receiving an access request from a network device outside the trusted network through a security verification module on the side of a control server in a trusted network; send a first message to the network device through a second sending module when the security verification passes; wherein the first message is used to instruct the network device to generate a first virtual IPv6 address according to a public key in a first key pair, and use the first virtual IPv6 address as a target virtual IPv6 address; register the target virtual IPv6 address after receiving the target virtual IPv6 address from the network device through a registration module; finally, send a second message to the network device through the second sending module when the registration of the target virtual IPv6 address is successful; wherein the second message is used to instruct the network device to communicate with other communication nodes in the trusted network based on the target virtual IPv6 address. In the present invention, the network device generates a first virtual IPv6 address uniquely corresponding to the network device through the public key in the first key pair generated locally, and sends it as the target virtual IPv6 address to the management and control server of the trusted network for registration. When the target virtual IPv6 address is successfully registered, the network device also becomes a communication node in the trusted network, and communicates with other communication nodes in the trusted network based on the target virtual IPv6 address. The present invention achieves the purpose of building an endogenous security system of a virtual network layer on the Internet by building a trusted network. Any communication node in the trusted network communicates with other communication nodes in the trusted network based on its corresponding virtual IPv6 address, so that users in the trusted network have the ability to be invisible to the external network, effectively avoiding the occurrence of Internet Protocol (IP) addresses being counterfeited and network attacks, thereby solving the defect of the data safe house in the prior art that it cannot resist malicious attacks initiated from the outside, and achieving the purpose of reducing the risk of malicious attacks on the data safe house and reducing the manpower cost and maintenance cost of network security protection.

[0144] Fig. 9 An example of a physical structure diagram of an electronic device is shown in FIG. Fig. 9As shown, the electronic device may include: a processor 910, a communication interface 920, a memory 930 and a communication bus 940, wherein the processor 910, the communication interface 920 and the memory 930 complete mutual communication through the communication bus 940. The processor 910 may call the logic instructions in the memory 930 to execute a communication method based on data security, which is applied to a network device, and the method includes: sending an access request to a control server in a trusted network; after receiving a first message returned by the control server that the access request passes the security verification, generating a first virtual IPv6 address according to the public key in the first key pair; sending the first virtual IPv6 address as the target virtual IPv6 address to the control server; after receiving a second message returned by the control server that the target virtual IPv6 address is successfully registered, communicating with other communication nodes in the trusted network based on the target virtual IPv6 address.

[0145] Alternatively, the processor 910 may call logic instructions in the memory 930 to execute a communication method based on data security, which is applied to a management and control server, and the method includes: after receiving an access request from a network device outside a trusted network, performing security verification on the access request; if the security verification passes, sending a first message to the network device; wherein the first message is used to instruct the network device to generate a first virtual IPv6 address based on a public key in a first key pair, and use the first virtual IPv6 address as a target virtual IPv6 address; after receiving the target virtual IPv6 address from the network device, registering the target virtual IPv6 address; if the target virtual IPv6 address is successfully registered, sending a second message to the network device; wherein the second message is used to instruct the network device to communicate with other communication nodes in the trusted network based on the target virtual IPv6 address.

[0146] In addition, the logic instructions in the above-mentioned memory 930 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0147] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the communication method based on data security provided by the above methods. The method is applied to a network device, and the method includes: sending an access request to a control server in a trusted network; after receiving a first message returned by the control server that the access request has passed security verification, generating a first virtual IPv6 address according to a public key in a first key pair; sending the first virtual IPv6 address as a target virtual IPv6 address to the control server; after receiving a second message returned by the control server that the target virtual IPv6 address has been successfully registered, communicating with other communication nodes in the trusted network based on the target virtual IPv6 address.

[0148] Alternatively, a computer can execute the data security-based communication method provided by the above methods, which is applied to a management and control server in a trusted network, and the method includes: after receiving an access request from a network device outside the trusted network, performing security verification on the access request; if the security verification passes, sending a first message to the network device; wherein the first message is used to instruct the network device to generate a first virtual IPv6 address based on the public key in the first key pair, and use the first virtual IPv6 address as the target virtual IPv6 address; after receiving the target virtual IPv6 address from the network device, registering the target virtual IPv6 address; if the target virtual IPv6 address is successfully registered, sending a second message to the network device; wherein the second message is used to instruct the network device to communicate with other communication nodes in the trusted network based on the target virtual IPv6 address.

[0149] On the other hand, the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the communication method based on data security provided by the above-mentioned methods, the method being applied to a network device, the method comprising: sending an access request to a control server in a trusted network; after receiving a first message returned by the control server indicating that the access request has passed security verification, generating a first virtual IPv6 address according to a public key in a first key pair; sending the first virtual IPv6 address as a target virtual IPv6 address to the control server; after receiving a second message returned by the control server indicating that the target virtual IPv6 address has been successfully registered, communicating with other communication nodes in the trusted network based on the target virtual IPv6 address.

[0150] Alternatively, when the computer program is executed by a processor, it is implemented to execute the communication method based on data security provided by the above methods, which is applied to a management and control server in a trusted network, and the method includes: after receiving an access request from a network device outside the trusted network, performing security verification on the access request; if the security verification passes, sending a first message to the network device; wherein the first message is used to instruct the network device to generate a first virtual IPv6 address according to the public key in the first key pair, and use the first virtual IPv6 address as the target virtual IPv6 address; after receiving the target virtual IPv6 address from the network device, registering the target virtual IPv6 address; if the registration of the target virtual IPv6 address is successful, sending a second message to the network device; wherein the second message is used to instruct the network device to communicate with other communication nodes in the trusted network based on the target virtual IPv6 address.

[0151] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0152] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0153] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A communication method based on data security, characterized in that: include: Send an access request to the management and control server in the trusted network; After receiving a first message returned by the control server indicating that the access request has passed the security verification, generating a first virtual IPv6 address according to the public key in the first key pair; Sending the first virtual IPv6 address as the target virtual IPv6 address to the management and control server; After receiving a second message indicating that the target virtual IPv6 address is successfully registered, returned by the control server, communicating with other communication nodes in the trusted network based on the target virtual IPv6 address, and sending the first virtual IPv6 address as the target virtual IPv6 address to the control server, the method further includes: After receiving a third message returned by the control server indicating that the registration of the target virtual IPv6 address has failed, generating an Nth key pair; wherein N is the number of times the key pair is generated, and N is a positive integer and is greater than or equal to 2; Generate an Nth virtual IPv6 address according to the public key in the Nth key pair; The Nth virtual IPv6 address is sent to the management and control server as the target virtual IPv6 address.

2. The communication method based on data security according to claim 1, characterized in that: Before sending the access request to the management and control server in the trusted network, the method further includes: Sending an access request to the control server; After receiving the fourth message returned by the control server indicating that the access request has passed the security verification, the access request is sent to the control server.

3. The communication method based on data security according to claim 2, characterized in that: The access request is a request initiated based on the single-packet knocking technology.

4. The communication method based on data security according to claim 1, characterized in that: After communicating with other communication nodes in the trusted network based on the target virtual IPv6 address, the method further includes: After receiving a data access request from any target communication node in the trusted network, recording access behavior information of the target communication node; An audit log is generated based on the access behavior information.

5. The communication method based on data security according to claim 1, characterized in that: The communication nodes in the trusted network include a data provider communication node, a data user communication node, and a data transmission communication node, and the communicating with other communication nodes in the trusted network based on the target virtual IPv6 address includes: Communicating with other communication nodes in the trusted network using a double-layer encryption strategy based on the target virtual IPv6 address; The double-layer encryption strategy includes: In the case of becoming a data owner communication node, an asymmetric encryption algorithm is used to perform a first encryption on the target data to be transmitted, the recipient of the first encryption is a data user communication node requesting the target data, and the data owner communication node becomes the data transmission communication node after the first encryption; In the case of becoming the data transmission communication node, an asymmetric encryption algorithm is used to perform a second encryption on the target data to be transmitted, and the recipient of the second encryption is a neighbor communication node to be passed in the process of transmitting the target data to the data user communication node, and the neighbor communication node is adjacent to the data transmission communication node; The target data is transmitted to the neighbor communication node, and the neighbor communication node becomes the data transmission communication node.

6. A communication method based on data security, characterized in that: include: After receiving an access request from a network device outside the trusted network, performing security verification on the access request; If the security verification passes, sending a first message to the network device; wherein the first message is used to instruct the network device to generate a first virtual IPv6 address according to the public key in the first key pair, and use the first virtual IPv6 address as the target virtual IPv6 address; After receiving the target virtual IPv6 address from the network device, registering the target virtual IPv6 address; In the case where the target virtual IPv6 address is successfully registered, sending a second message to the network device; wherein the second message is used to instruct the network device to communicate with other communication nodes in the trusted network based on the target virtual IPv6 address; After registering the target virtual IPv6 address, the method further includes: In the event that the registration of the target virtual IPv6 address fails, a third message is sent to the network device; wherein the third message is used to instruct the network device to generate an Nth key pair, generate an Nth virtual IPv6 address according to the public key in the Nth key pair, and send the Nth virtual IPv6 address as the target virtual IPv6 address to the management and control server in the trusted network; N is the number of times the key pair is generated, N is a positive integer and N is greater than or equal to 2.

7. The communication method based on data security according to claim 6, characterized in that: The target virtual IPv6 address is successfully registered, including: There is no virtual IPv6 address identical to the target virtual IPv6 address among the at least one registered virtual IPv6 address.

8. A communication device based on data security, characterized in that: include: A first sending module, used to send an access request to a management and control server in a trusted network; A generating module, configured to generate a first virtual IPv6 address according to a public key in a first key pair after receiving a first message returned by the control server indicating that the access request has passed the security verification; The first sending module is further used to send the first virtual IPv6 address as the target virtual IPv6 address to the management and control server; A communication module, configured to communicate with other communication nodes in the trusted network based on the target virtual IPv6 address when receiving a second message returned by the control server indicating that the target virtual IPv6 address is successfully registered; The generation module is also used to: generate the Nth key pair after receiving the third message returned by the control server indicating the registration failure of the target virtual IPv6 address; wherein N is the number of times the key pair is generated, N is a positive integer and N is greater than or equal to 2; generate the Nth virtual IPv6 address according to the public key in the Nth key pair; and send the Nth virtual IPv6 address as the target virtual IPv6 address to the control server.

9. A communication device based on data security, characterized in that: include: A security verification module, configured to perform security verification on an access request after receiving the access request from a network device outside the trusted network; A second sending module is used to send a first message to the network device when the security verification passes; wherein the first message is used to instruct the network device to generate a first virtual IPv6 address according to the public key in the first key pair, and use the first virtual IPv6 address as the target virtual IPv6 address; A registration module, configured to register the target virtual IPv6 address after receiving the target virtual IPv6 address from the network device; The second sending module is also used to send a second message to the network device when the registration is successful; wherein the second message is used to instruct the network device to communicate with other communication nodes in the trusted network based on the target virtual IPv6 address; The second sending module is also used to: send a third message to the network device when the registration of the target virtual IPv6 address fails; wherein the third message is used to instruct the network device to generate an Nth key pair, generate an Nth virtual IPv6 address according to the public key in the Nth key pair, and send the Nth virtual IPv6 address as the target virtual IPv6 address to the management and control server in the trusted network; N is the number of times the key pair is generated, N is a positive integer and N is greater than or equal to 2.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the communication method based on data security as described in any one of claims 1 to 5 or the communication method based on data security as described in any one of claims 6 to 7 is implemented.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the communication method based on data security as claimed in any one of claims 1 to 5 or the communication method based on data security as claimed in any one of claims 6 to 7 is implemented.