Data transmission method, apparatus, device, storage medium, and program product

By generating and verifying semantic information commitment values ​​and compliance proofs for data, the problem of insufficient security control capabilities in the cross-domain transfer of highly sensitive data is solved, and security and compliance are achieved in the data transmission process.

CN123184983APending Publication Date: 2026-11-27CHINA MOBILE ZIJIN INNOVATION INST CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611676730.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-28
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In scenarios involving the cross-domain transfer of highly sensitive data, existing technologies fail to enable network devices to identify the data content carried by packets, resulting in poor security control capabilities. Furthermore, path selection cannot take into account the computing power load and security protection level of intermediate nodes, leading to security risks and a decline in service quality.

Method used

By extracting semantic information from the data to generate commitment values ​​and compliance proofs, these are encapsulated into messages for transmission, and compliance verification is performed at intermediate nodes to ensure the security and compliance of data transmission.

Benefits of technology

While preserving the semantic information of the data, it reduces the risk of semantic exposure, improves the security management capabilities of the data, and achieves verifiability of path compliance and security of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184983A_ABST
    Figure CN123184983A_ABST
Patent Text Reader

Abstract

The application provides a data transmission method, device, equipment, storage medium and program product, relates to the technical field of communication network and data security, and the method comprises the following steps: in the case that first data to be transmitted is acquired, semantic information of the first data is extracted; a commitment value of the semantic information is generated, the commitment value is used for identifying the semantic information without revealing the content of the semantic information; a compliance proof of the commitment value is generated, the compliance proof is used for proving that the semantic information meets a preset compliance condition without revealing the semantic information; the commitment value and the compliance proof are encapsulated into a message, and the encapsulated message is sent to a second device, so that the second device performs compliance processing based on the commitment value and the compliance proof. According to the embodiment of the application, the semantic exposure risk of the first data is reduced while the semantic information of the first data is retained, and the safety control ability of the data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication network and data security technology, and in particular to a data transmission method, apparatus, device, storage medium and program product. Background Technology

[0002] Currently, network devices typically perform multi-hop forwarding operations based on the destination Internet Protocol (IP) address when forwarding packets. During this process, the forwarding nodes cannot identify the data content carried by the packet, nor can they perceive the data service information. In scenarios involving the cross-domain transfer of highly sensitive data, the above forwarding method is insufficient for secure data control, resulting in poor data security management capabilities. Summary of the Invention

[0003] This application provides a data transmission method, apparatus, device, storage medium, and program product to address the problem of poor data security control capabilities.

[0004] To solve the above-mentioned technical problems, this application is implemented as follows: In a first aspect, embodiments of this application provide a data transmission method applied to a first device, the method comprising: In the case of acquiring the first data to be transmitted, extract the semantic information of the first data; Generate a commitment value for the semantic information, the commitment value being used to identify the semantic information without revealing its content; Generate a compliance certificate for the commitment value, which is used to prove that the semantic information meets preset compliance conditions without disclosing the semantic information; The first data, the commitment value, and the compliance certificate are encapsulated into a message, and the encapsulated message is sent to the second device.

[0005] Secondly, embodiments of this application provide a data transmission method applied to a second device, the method comprising: The system receives a message sent by a first device and obtains a commitment value and a compliance certificate of the first data carried in the message. The commitment value is generated based on the semantic information of the first data. The commitment value is used to identify the semantic information without disclosing its content. The compliance certificate is used to prove that the semantic information meets preset compliance conditions without disclosing its content. Verify whether the commitment value is equal to the commitment value in the compliance conditions to obtain the first verification result; The compliance proof is verified to obtain a second verification result; Based on at least one of the first verification result and the second verification result, the message is processed accordingly.

[0006] Thirdly, embodiments of this application provide a data transmission method applied to a third device, the method comprising: The device receives a message sent by a second device and obtains the node information of the target path carried in the message. The target path includes the node information of multiple nodes arranged in the order of message transmission. The target path is the shortest path determined by the first device among multiple paths based on the semantic constraints of the first data. Obtain the node sequence corresponding to the actual transmission path of the message, and verify whether the node sequence is consistent with the node information of the target path; If the node sequence matches the node information of the target path, it is determined that the actual transmission path of the message meets the compliance requirements.

[0007] Fourthly, embodiments of this application provide a data transmission apparatus applied to a first device, the apparatus comprising: The extraction module is used to extract semantic information from the first data to be transmitted when the first data to be transmitted is obtained. The first generation module is used to generate a commitment value for the semantic information, wherein the commitment value is used to identify the semantic information without revealing its content; The second generation module is used to generate a compliance certificate for the commitment value. The compliance certificate is used to prove that the semantic information meets preset compliance conditions without disclosing the semantic information. The sending module is used to encapsulate the first data, the commitment value, and the compliance certificate into a message and send the encapsulated message to the second device.

[0008] Fifthly, embodiments of this application provide a data transmission apparatus applied to a second device, the apparatus comprising: A receiving module is configured to receive a message sent by a first device and obtain a commitment value of the first data carried in the message and a compliance certificate of the commitment value. The commitment value is generated based on the semantic information of the first data. The commitment value is used to identify the semantic information without disclosing the content of the semantic information. The compliance certificate is used to prove that the semantic information meets preset compliance conditions without disclosing the semantic information. The first verification module is used to verify whether the commitment value is equal to the commitment value in the compliance conditions, and to obtain the first verification result; The second verification module is used to verify the compliance certificate and obtain a second verification result; The processing module is configured to perform corresponding processing on the message based on at least one of the first verification result and the second verification result.

[0009] Sixthly, embodiments of this application provide a data transmission apparatus applied to a third device, the apparatus comprising: The receiving module is used to receive a message sent by the second device and obtain the node information of the target path carried by the message. The target path includes the node information of multiple nodes arranged in the order of message transmission. The target path is the shortest path determined by the first device among multiple paths based on the semantic constraints of the first data. The acquisition module is used to acquire the node sequence corresponding to the actual transmission path of the message, and verify whether the node sequence is consistent with the node information of the target path; The determination module is used to determine whether the actual transmission path of the message meets compliance requirements when the node sequence is consistent with the node information of the target path.

[0010] In a seventh aspect, embodiments of this application provide an electronic device, including: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, it implements the steps of the data transmission method described in the first to third aspects.

[0011] Eighthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the data transmission method described in the first to third aspects.

[0012] A ninth aspect provides a computer program product including computer instructions that, when executed by a processor, implement the steps of the data transmission method as described in the first to third aspects.

[0013] In this embodiment of the application, by obtaining the commitment value and compliance certificate corresponding to the first data and sending a message carrying the commitment value and compliance certificate to the second device, the semantic information of the first data is preserved while reducing the risk of semantic exposure of the first data and improving the security control capability of the data. Attached Figure Description

[0014] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0015] Figure 1This is one of the flowcharts of a data transmission method provided in the embodiments of this application; Figure 2 This is a second flowchart of a data transmission method provided in an embodiment of this application; Figure 3 This is the third flowchart of a data transmission method provided in the embodiments of this application; Figure 4 This is the fourth flowchart of a data transmission method provided in the embodiments of this application; Figure 5 This is one of the structural schematic diagrams of a data transmission device provided in the embodiments of this application; Figure 6 This is a second schematic diagram of the structure of a data transmission device provided in an embodiment of this application; Figure 7 This is the third schematic diagram of a data transmission device provided in the embodiments of this application; Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0016] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0017] Currently, data flow control in the Internet system mainly relies on the underlying IP / Domain Name System (DNS) mechanism and application-layer security policies. Although it can support large-scale network operation, it exposes obvious limitations in scenarios involving the cross-domain flow of highly sensitive and high-value data.

[0018] Specifically, traditional IP addressing mechanisms are location-oriented static addressing. When forwarding packets, network devices only perform multi-hop forwarding based on the destination IP address, completely unaware of the data's content, sensitivity, timeliness, or other attributes. While content-centric networks allow addressing and caching through content, their namespaces are in plaintext, lacking a unified cryptographic expression for security attributes and dynamic permissions (such as version updates and permission changes), and thus cannot embed transmission constraints into the underlying addressing and forwarding process.

[0019] Data security and compliance controls are primarily focused on the network perimeter or application layer, resulting in very limited coverage. Current methods include configuring access control policies on the server side or setting up firewalls and Virtual Private Networks (VPNs) at the network perimeter for coarse-grained IP and port filtering. While protocols such as Transport Layer Security (TLS) and Internet Protocol Security (IPSec) can be used to encrypt data during transmission to prevent eavesdropping, once the data leaves the sending end, it enters a regulatory blind spot at the network layer. The network layer itself lacks the ability to detect and impose compliance constraints at each hop in real time.

[0020] In terms of path selection, traditional routing protocols such as Open Shortest Path First (OSPF) and Border Gateway Protocol (BGP) select routes based solely on network metrics such as bandwidth and latency, failing to consider the computing load and security protection level of intermediate nodes. This often leads to a "resource mismatch" phenomenon in the network, where highly sensitive data may be routed to nodes with weak security capabilities, or high-computing-power requests may be assigned to paths with limited computing power, thereby causing security risks and a decline in service quality.

[0021] This application provides a data transmission method, apparatus, device, storage medium, and program product to address the problem of poor data security control capabilities.

[0022] See Figure 1 , Figure 1 This is a flowchart of a data transmission method provided in an embodiment of this application, applied to a first device, such as... Figure 1 As shown, the method includes the following steps: Step 101: If the first data to be transmitted is obtained, extract the semantic information of the first data; Step 102: Generate a commitment value for the semantic information, wherein the commitment value is used to identify the semantic information without revealing its content; Step 103: Generate a compliance certificate for the commitment value. The compliance certificate is used to prove that the semantic information meets preset compliance conditions without disclosing the semantic information. Step 104: Encapsulate the first data, the commitment value, and the compliance certificate into a message, and send the encapsulated message to the second device.

[0023] The first device may be a sending device. When the first device generates a data transmission request, it extracts semantic information from the application context based on the data transmission request in at least one of the following dimensions: Content semantic dimensions: industry to which the data belongs (e.g., healthcare / finance / government affairs), data type (e.g., images / text / logs), and data identifier; Security and compliance dimensions: data sensitivity level (L0~L5), whether cross-border access is permitted, whether an audit node is required, and maximum retention time; Resource requirements: Expected minimum computing power (number of CPU cores / number of GPU memory), minimum bandwidth, and maximum latency tolerance; Geographic and time-sensitive dimensions: List of network domain identifiers (IDs) that are allowed to circulate, data version number, generation timestamp, and expiration date.

[0024] Based on the above information, construct the semantic vector of the first data to be transmitted. Each of them Belongs to a finite field ( (It is a large prime number) to facilitate subsequent cryptographic operations and to generate the commitment value C of the first data based on semantic information.

[0025] The first device can generate a random number r and use the random number to perform blinding processing on the semantic information S to obtain the commitment value C of the semantic information; it can also use encryption processing on the semantic information S to generate the commitment value C, such as using hash processing to generate the commitment value. The commitment value is generated based on the semantic information and can be used to identify or associate the semantic information of the first data without revealing the specific content of the semantic information.

[0026] By employing optimized Bulletproofs zero-knowledge proofs or other methods, it is proven that the semantic information corresponding to the commitment value satisfies the conditions of the preset compliance policy, that is, it satisfies the preset compliance conditions.

[0027] In some implementations, using This represents a set of multiple constraints within compliance conditions, for example: {sensitivity level} Allow cross-border or target region Allowed list, resource requirements Current network capabilities, ...}

[0028] Encode each component of the semantic vector (i.e., semantic information) S into binary bits to generate the following compliance proof: ; in, This represents a zero-knowledge proof. The prover holds a semantic vector S and a random number. , making Furthermore, S satisfies P. The verifier only needs to see (C, P, π) to be certain that a valid S exists that satisfies P, without knowing any specific value of S. The proof's data size is approximately 1-2 KB, and its generation time on a typical CPU is less than 5 ms, which meets the real-time requirements of high-frequency message scenarios.

[0029] The first device will The encapsulated message is encapsulated into the hop-by-hop option header of Internet Protocol version 6 (IPv6) or the Type Length Value (TLV) extension field of Segment Routing over IPv6 (SRv6) and sent to the second device (i.e., the forwarding device, also known as the forwarding node).

[0030] To facilitate the differentiation and management of different service flows, the packet header also carries a FlowID generated by the first device using a consistent hashing algorithm. This extension header is inserted after the standard IPv6 header and before the upper-layer protocol (Transmission Control Protocol (TCP) / User Datagram Protocol (UDP)). Subsequent network nodes do not need to decrypt the transport layer payload; they only need to parse this extension header to complete compliant forwarding decisions, making it completely transparent to the service layer.

[0031] Furthermore, before sending a message, a target path can be calculated based on the current node and the target node of the message to be received. The target path includes information about each node traversed. The forwarding node, i.e., the second device, is determined based on the calculated target path. The node information corresponding to the target path is encapsulated into the message or sent to the second device along with the message. The target path can be the shortest path, the path with the lowest cost, the path with the shortest time, etc.

[0032] In some implementations, the message and its carried information can be encrypted before being sent to the second device, or only specific information can be encrypted and sent to the second device. The second device can perform compliance processing based on the commitment value and compliance proof, such as verifying the legality of the commitment value and compliance proof.

[0033] To prevent malicious use of the commitment label, the following composite protection mechanism can also be designed: (1) Timestamp verification: The node checks whether the difference between the timestamp and the local time is within the allowed window (e.g., ±60 seconds). If it exceeds the window, it is discarded directly. (2) Commitment uniqueness verification: The node maintains a cache of recent commitment values ​​within the sliding time window. If a duplicate C is found under the same FlowID, it is determined to be a replay attack and is discarded. (3) Proof verification failure handling: If the verification fails, the node discards the message and writes it to the alarm log.

[0034] By embedding semantic information in the form of a cryptographic commitment in the network packet header and attaching a blind commitment label with a zero-knowledge compliance proof for routing and forwarding, the semantics are guaranteed to be verifiable but the content is not visible, while ensuring that the semantic content is completely invisible on the transmission path, thus achieving "usable but invisible" semantic delivery. By sending the packet to a second device, the second device performs compliance processing based on the commitment value and the compliance proof, such as verifying the compliance of the packet.

[0035] In this embodiment of the application, by obtaining the commitment value and compliance certificate corresponding to the first data and sending a message carrying the commitment value and compliance certificate to the second device, the semantic information of the first data is preserved while reducing the risk of semantic exposure of the first data and improving the security control capability of the data.

[0036] Optionally, the commitment value for generating the semantic information includes: Generate random numbers; The semantic information is blinded using the random number to obtain the commitment value of the semantic information.

[0037] The first device generates random numbers locally. (Blinding factor, length ≥ 256 bits), utilizing The semantic vector is blinded, and the commitment value is calculated. : ; Among them, semantic vector The hash function is a collision-resistant cryptographic hash function, and the timestamp is the current Unix timestamp (in seconds) to prevent replay attacks.

[0038] Based on the aforementioned commitment value, due to the one-way nature of hash functions, given The semantic vector cannot be derived. This can effectively protect the semantic privacy of data; due to the use of Timestamp and random numbers They are all different, even if they are the same. Sending at different times, generating The commitment values ​​also vary across different transmission instances, effectively preventing traffic analysis attacks. By introducing a randomization factor and a timestamp into the commitment construction, the commitment values ​​for the same semantics differ in different transmission instances, reducing the inherent semantic association and traffic analysis risks of plaintext semantic labeling schemes.

[0039] Optionally, before sending the encapsulated message to the second device, the method further includes: The semantic constraints corresponding to the first data are parsed, and the semantic constraints include at least one of the following: security level constraints, computing power constraints, and geographical constraints. Based on the semantic constraints, the shortest target path is determined among multiple paths, and the target path includes node information of multiple nodes arranged in the order of message transmission. The second device is determined based on the node information of the plurality of nodes; Sending the encapsulated message to the second device includes: The encapsulated message and node information of the plurality of nodes are sent to the second device.

[0040] Before the first device sends a message, the blind commitment carried in the data stream can be obtained by the first device or the SDN controller of the sending end where the first device is located. and compliance certification Parse the semantic constraints corresponding to the first data, including at least one of the following: Security level constraints : SEC_LEVEL constraint on the security level of all nodes on the path .

[0041] Computing power constraints Available computing power of at least one node on the path .

[0042] Geographical constraints All nodes must be in the list of allowed topology identifiers (TOPO_ID).

[0043] Based on the above constraints, the control plane corresponding to the first device executes a constrained shortest path search algorithm on the entire network topology to calculate the target path that satisfies all constraints. ,in This is the source node (i.e., the first device). The destination node.

[0044] The node information of multiple nodes corresponding to the aforementioned target path can be encapsulated into a message and sent to the second device, or sent to the second device along with the message or sequentially.

[0045] Optionally, before sending the encapsulated message and the node information of the plurality of nodes to the second device, the method further includes: The node information of the multiple nodes is concatenated according to the sending order to obtain concatenated information, and the path information of the target path is calculated based on the concatenated information and the commitment value of the first data; The path information is encapsulated with a hash value to generate path tag information; The path label information is digitally signed using a private key to obtain signature data; Sending the encapsulated message and the node information of the plurality of nodes to the second device includes: The encapsulated message, node information of the plurality of nodes, path label information, and signature data are sent to the second device.

[0046] The control plane corresponding to the first device generates a unique path label information for the target path. .

[0047] target path All node IDs on the array are concatenated into a byte string in sequence. Calculate the path information of the target path. : ; in, This is a blind commitment to the first data, where Timestamp is the current timestamp.

[0048] Encapsulate the path information and hash value into a path label structure (i.e., path label information): ; SeqNum is a monotonically increasing sequence number used to uniquely identify this path calculation.

[0049] The control plane uses its own private key Path label information Perform digital signature to obtain signature data : .

[0050] Finally, the control plane will store the node information and path label information of the target path. Signature data SRv6 SID list (e.g.) It is sent to the intermediate nodes (i.e. forwarding nodes) on the target path. The intermediate nodes perform forwarding according to the SRv6 SID list when forwarding, without any additional processing.

[0051] By employing the above method, path labels are bound one-to-one with the semantic commitments of specific business data flows, ensuring that path labels possess business-specific binding and inseparability. Any detour or replacement of the path will break the hash verification, preventing counterfeiters from forging legitimate path labels without knowing the business commitment C. Furthermore, the sequence number mechanism further prevents replay attacks. The receiving end can complete end-to-end confirmation of path compliance with a single signature verification, reducing computational overhead.

[0052] See Figure 2 , Figure 2 This is a flowchart of a data transmission method provided in this application, applied to a second device, the method comprising: Step 201: Receive a message sent by the first device, and obtain the commitment value of the first data carried in the message and the compliance certificate of the commitment value. The commitment value is generated based on the semantic information of the first data. The commitment value is used to identify the semantic information without disclosing the content of the semantic information. The compliance certificate is used to prove that the semantic information meets the preset compliance conditions without disclosing the semantic information. Step 202: Verify whether the commitment value is equal to the commitment value in the compliance conditions, and obtain the first verification result; Step 203: Verify the compliance certificate to obtain a second verification result; Step 204: Perform corresponding processing on the message based on at least one of the first verification result and the second verification result.

[0053] The second device can be an intermediate node or a forwarding node, used to forward packets.

[0054] After receiving a message from the first device, the second device obtains the commitment value and compliance proof of the first data sent along with or carried within the message. The second device can pre-obtain all compliance policies and the commitment value within those policies. It then verifies whether the commitment value is equal to the commitment value in the compliance conditions.

[0055] In some implementations, a polynomial is constructed with the commitment value in the compliance conditions as its root, and the commitment value of the first data is substituted into the polynomial to solve for it. When the solution result is 0, it is determined that the commitment value of the first data is equal to the commitment value in the compliance policy; in other implementations, the commitment value of the first data is compared with the commitment value in the compliance conditions to determine whether they are equal.

[0056] In addition, verify the legality and authenticity of compliance certificates.

[0057] If the first verification result indicates that the verification passed, it means that the commitment value of the first data is equal to the commitment value of the compliance condition; if the second verification result indicates that the verification passed, it means that the compliance proof is legal and authentic. When both verification results pass, the first data can be forwarded; if either verification fails, it can be discarded or processed according to local policy requirements.

[0058] Optionally, performing corresponding processing on the message based on at least one of the first verification result and the second verification result includes: If both the first verification result and the second verification result indicate that the verification is successful, the message is sent to the third device. If the first verification result indicates that the verification passed and the second verification result indicates that the verification failed, the message is discarded and an alarm log is recorded. If the first verification result indicates that the verification failed and the local policy allows forwarding, a mark is added to the message and the marked message is sent according to a preset path. The mark is used to indicate that the message is non-compliant. If the first verification result indicates verification failure and the local policy does not allow forwarding, the message is discarded.

[0059] When the commitment value carried in the message is received At that time, the second device evaluates according to the polynomial: ; according to Evaluation results and zero-knowledge proof The combination of verifications performs different operations.

[0060] like and Verification successful: Send a message to the third device, select the outgoing port according to the regular routing table, and retain the extended header for subsequent nodes to continue verification.

[0061] like but Verification failed: Discard the message and log an alarm.

[0062] like However, the local policy allows default forwarding: it forwards according to the default path and adds a "non-compliant" flag to the packet header for downstream nodes to audit and judge.

[0063] like Furthermore, local policies require strict compliance (i.e., forwarding is not allowed): packets must be discarded or redirected to the security audit gateway for further verification.

[0064] By employing the above methods, corresponding operations are performed based on the verification results of the commitment value and compliance proof, thereby improving the flexibility of data processing while ensuring data security.

[0065] Optionally, verifying whether the commitment value is equal to the commitment value in the compliance conditions to obtain a first verification result includes: The solution is obtained by solving a pre-constructed formula using the commitment values ​​of the first data. The formula includes a polynomial constructed from multiple commitment values, where the multiple commitment values ​​are semantic commitment values ​​in the compliance conditions. When both the first verification result and the second verification result indicate that the verification is successful, sending the message to the third device includes: If the solution result is 0 and the second verification result indicates that the compliance certificate has been verified, the message is sent to the third device.

[0066] The control plane of the second device collects the compliance conditions of all compliance policies, and the compliance conditions of each compliance policy correspond to a set of semantic commitments. The control surface is constructed with these commitment values ​​as its root. Polynomial of degree: ; After expansion, we obtain the polynomial coefficients. (in The core of this polynomial is that it is true if and only if equal to a certain hour, For any input that is not in the set, .

[0067] When compliance policies change, there is no need to redistribute the entire polynomial; instead, online updates are achieved through incremental calculations.

[0068] Added allowable commitments The original polynomial is The new polynomial is The node only needs to receive the linear factor. The two coefficients are multiplied and accumulated locally with the original coefficients using a polynomial multiplication.

[0069] Delete existing commitments : Known yes The factors, the new polynomial is The node calculates the new coefficients using polynomial synthesis division, thus completing the commitment revocation.

[0070] By incrementally maintaining the polynomial, the communication overhead and forwarding interruption risk caused by the full re-issuance of flow tables can be effectively avoided, making the policy update process almost imperceptible to online business flows.

[0071] The control surface will control the coefficients of the polynomial and module (Large prime numbers) are distributed to all network nodes (including the second device). The node's local flow table stores polynomial coefficients, not the actual prime numbers. Value. Due to Typically small, storage overhead is completely controllable, and even if a node is compromised, the attacker can only obtain the polynomial coefficients; to deduce the specific roots (i.e., ...) from the coefficients... Solving high-order polynomial equations over finite fields is computationally infeasible. Therefore, the storage format of polynomial coefficients has stronger resistance to theft compared to plaintext commitment lists.

[0072] When the second device receives the commitment value of the first data carried in the message At that time, the second device substitutes the promised value of the first data into the polynomial to evaluate: ; when When =0, it means that the commitment value of the first data is equal to the commitment value in the compliance conditions.

[0073] If the solution result is 0, and the compliance verification passes, a message is sent to the third device.

[0074] In some schemes, flow table matching directly compares the tag field in the packet with the exact value or prefix in the flow table. The flow table must store all allowed commitment values ​​in plaintext; once the flow table is leaked, attackers can obtain all compliant identifiers. By using a blind matching method based on polynomial evaluation, intermediate network nodes can determine whether a packet is allowed to be forwarded linearly, using only the commitment C and the proof π, without obtaining the plaintext semantics S. Simultaneously, the polynomial coefficient form ensures that the node flow table does not directly expose the set of usable allowed identifiers when compromised, effectively defending against probing attacks targeting traditional flow table rules.

[0075] Optionally, the message may also carry path label information, signature data, and node information corresponding to the target path; The target path is the shortest path determined by the first device among multiple paths based on the semantic constraints of the first data, and the target path includes node information of multiple nodes arranged in the order of message transmission. The path label information is generated by the first device by encapsulating the path information of the target path with a hash value. The path information is obtained by concatenating the node information of the multiple nodes according to the sending order, and calculating it based on the concatenated information and the commitment value of the first data. The signature data is obtained by the first device digitally signing the path label information using its private key.

[0076] The implementation process of this embodiment is described in the above embodiments and will not be repeated here.

[0077] See Figure 3 , Figure 3 This is a flowchart of a data transmission method provided in this application, applied to a third device, the method comprising: Step 301: Receive a message sent by the second device, and obtain the node information of the target path carried by the message. The target path includes the node information of multiple nodes arranged in the order of message sending. The target path is the shortest path determined by the first device among multiple paths based on the semantic constraints of the first data. Step 302: Obtain the node sequence corresponding to the actual transmission path of the message, and verify whether the node sequence is consistent with the node information of the target path; Step 303: If the node sequence is consistent with the node information of the target path, determine that the actual transmission path of the message meets the compliance requirements.

[0078] After receiving the message, the third device obtains the node information of the target path corresponding to the first data sent with the message or carried in the message.

[0079] In addition, the actual sequence of nodes traversed is extracted from the SRv6 SID list. The nodes mentioned above are arranged in the order in which the messages were actually sent.

[0080] Verify whether the actual node sequence of the message and the node sequence information of the target path are consistent, including whether the node information and node order are consistent. If the node sequence corresponding to the actual transmission path and the node information of the target path are consistent, it means that the actual transmission path of the message meets the compliance requirements.

[0081] Data that meets compliance requirements can be stored or otherwise processed.

[0082] Optionally, the message also carries path label information and signature data; wherein, the path label information is generated by the first device by encapsulating the path information of the target path with a hash value, the path information is obtained by concatenating the node information of the multiple nodes according to the sending order, and calculated based on the concatenated information and the commitment value of the first data, the commitment value being used to identify the semantic information without revealing the semantic information content of the first data; the signature data is obtained by the first device digitally signing the path label information using a private key; The method further includes: Use the public key to verify whether the signature data is a valid signature of the path label information; Determining that the actual transmission path of the message meets compliance requirements when the node sequence matches the node information of the target path includes: If the node sequence matches the node information of the target path, and the signature data is a valid signature of the path label information, then the actual transmission path of the message is determined to meet compliance requirements.

[0083] Obtain the path label information and signature data carried in the message; specifically, extract the path label information from the message extension header. and signature data And perform at least one of the following verifications.

[0084] Signature verification: using the control plane public key Verify signature data Is it for controlling path label information? A valid signature.

[0085] Hash verification: Recalculate ,and (i.e., the above path information) Compare whether they are consistent.

[0086] Serial number verification: Check Check if it is greater than the historical SeqNum under this FlowID to prevent replay attacks.

[0087] The receiving end considers the message path complete and that it has passed through a node sequence that meets compliance requirements only when at least one or all of the signature verification, hash verification, and sequence number verification passes.

[0088] Message verification improves data security.

[0089] Optionally, the method further includes: Obtain the frequency of occurrence of commitment values ​​for multiple data points, including the first data point; If the frequency of the commitment value of the first data is greater than a preset threshold, a target edge node that is less than a preset distance from the target user device and meets the security requirements is obtained, wherein the target user device is the user device that requests access to the first data. The first data is encrypted, and the encrypted first data is stored in the target edge node.

[0090] The control plane of the third device continuously calculates the commitment value corresponding to each data flow identifier (FlowID). The frequency of occurrence, when a certain When the number of occurrences of a commitment value (such as the first data) exceeds a preset threshold (such as 100 times / minute) within a unit of time, it is marked as a candidate for "hotspot semantic commitment" and triggers the subsequent edge preloading process.

[0091] The control plane of the third device selects target edge nodes from all network nodes that are geographically close to the target user equipment group and meet the data's geographical constraints and security level requirements, and commits to hotspot semantics. The commitment value of the first data (i.e., the first data) and the corresponding encrypted data block (i.e., the first data) are pushed to the target edge node together. The encrypted data block uses a symmetric key. Encryption, and It is encapsulated as a key commitment: ; in, This represents a one-time random number. With promise By performing association binding, the target edge node neither stores plaintext nor... It is not itself, but rather a storage triple. The key is only issued by the controller during authorization. This indicates an encrypted data block.

[0092] By distributing data in advance to edge nodes close to the user within the compliant area using the above method, the completion rate of cross-domain transmission can be improved.

[0093] Optionally, the method further includes: Upon receiving an access request for the first data sent by the device corresponding to the first user, the commitment value carried by the access request is obtained and verified. If the commitment value carried in the access request is verified, the first user's permissions are verified. If the first user's permissions are verified, the first data is decrypted and sent to the first user.

[0094] When the device corresponding to the first user sends an access request carrying a blind commitment C to the target edge node, the target edge node verifies the blind commitment value C to see if it matches the commitment value of the first data. If they match, the target edge node verifies whether the first user has legitimate access rights (i.e., permission verification) through identity authentication or authorization token.

[0095] If the access permission verification is successful, the target edge node requests a key from the control plane. After the control plane re-verifies user permissions and data compliance, it releases... Give the target edge node, the target edge node uses Decrypt EncryptedData and return the decrypted plaintext data (i.e., the first data) to the device corresponding to the first user.

[0096] Upon completion of the response, the target edge node immediately deletes the plaintext copy and Only the blind cache triples are retained so that the above authorization process can be executed again when a subsequent access request with the same blind commitment C is made.

[0097] The target edge node cannot decrypt data without authorization. Even if the node itself is attacked, the attacker can only obtain the encrypted blind cache content and cannot restore the plaintext data.

[0098] The target edge node can be any receiving device, and the target edge node can be a third device.

[0099] Traditional edge caching stores data in plaintext, which poses risks of data residue and unauthorized access. Even with the introduction of encrypted caching, the key is usually held persistently by the edge node, and if the node is compromised, it means that the key is leaked.

[0100] This application embodiment achieves verifiability of path compliance, that is, the receiving end can confirm with extremely low computational overhead that the message has indeed passed through the node sequence that meets the compliance requirements and has not been maliciously tampered with or bypassed; and verifies the compliance and security of edge caching, that is, edge nodes never hold readable plaintext data, reducing the risk of data leakage of the edge nodes themselves.

[0101] As one implementation method, the data transmission method of this application can be based on Figure 4The architecture shown can be composed of three core modules: a blind semantic commitment generation module, a multinomial flow table blind matching and compliant forwarding module, and a verifiable random path orchestration and edge blind caching module. These three modules are deployed at the data sending end, network forwarding node, and control plane, respectively. The three work together to achieve full-link closed-loop control from semantic labeling and hop-by-hop compliance decision-making to path verification and edge caching.

[0102] See Figure 5 , Figure 5 This is a schematic diagram of a data transmission device provided in an embodiment of this application, applied to a first device, such as... Figure 5 As shown, the data transmission device 500 includes: Extraction module 501 is used to extract semantic information of the first data when the first data to be transmitted is acquired; The first generation module 502 is used to generate a commitment value for the semantic information, wherein the commitment value is used to identify the semantic information without revealing its content; The second generation module 503 is used to generate a compliance certificate for the commitment value. The compliance certificate is used to prove that the semantic information meets preset compliance conditions without disclosing the semantic information. The sending module 504 is used to encapsulate the first data, the commitment value and the compliance certificate into a message and send the encapsulated message to the second device.

[0103] Optionally, the generation module is specifically used for: Generate random numbers; The semantic information is blinded using the random number to obtain the commitment value of the semantic information.

[0104] Optionally, the device further includes: The parsing module is used to parse the semantic constraints corresponding to the first data, and the semantic constraints include at least one of the following: security level constraints, computing power constraints, and geographical constraints. The first determining module is used to determine the shortest target path among multiple paths according to the semantic constraints, wherein the target path includes node information of multiple nodes arranged in the order of message transmission. The second determining module is used to determine the second device based on the node information of the plurality of nodes; The sending module is specifically used for: The encapsulated message and node information of the plurality of nodes are sent to the second device.

[0105] Optionally, the device further includes: The calculation module is used to concatenate the node information of the multiple nodes according to the sending order to obtain concatenated information, and calculate the path information of the target path based on the concatenated information and the commitment value of the first data; The encapsulation module is used to encapsulate the path information and hash value to generate path tag information; The signature module is used to digitally sign the path tag information using a private key to obtain signature data; The sending module is specifically used for: The encapsulated message, node information of the plurality of nodes, path label information, and signature data are sent to the second device.

[0106] Data transmission devices can achieve Figure 1 The various processes implemented in the method embodiments can achieve the same technical effect, and will not be described again here to avoid repetition.

[0107] It should be noted that the electronic device provided in this application embodiment is a device capable of performing the above data transmission. Therefore, all implementation methods in the above data transmission method embodiments are applicable to this electronic device and can achieve the same or similar beneficial effects. To avoid repetition, this embodiment will not elaborate further.

[0108] See Figure 6 , Figure 6 This is a schematic diagram of a data transmission device provided in an embodiment of this application, applied to a second device, such as... Figure 6 As shown, the data transmission device 600 includes: The receiving module 601 is used to receive a message sent by the first device and obtain the commitment value of the first data carried in the message and the compliance certificate of the commitment value. The commitment value is generated based on the semantic information of the first data. The commitment value is used to identify the semantic information without disclosing the content of the semantic information. The compliance certificate is used to prove that the semantic information meets the preset compliance conditions without disclosing the semantic information. The first verification module 602 is used to verify whether the commitment value is equal to the commitment value in the compliance conditions, and to obtain the first verification result; The second verification module 603 is used to verify the compliance certificate to obtain a second verification result; The processing module 604 is configured to perform corresponding processing on the message based on at least one of the first verification result and the second verification result.

[0109] Optionally, the processing module 604 includes: A sending submodule is configured to send the message to a third device when both the first verification result and the second verification result indicate that the verification is successful. The first discarding submodule is used to discard the message and record an alarm log when the first verification result indicates that the verification is successful and the second verification result indicates that the verification is unsuccessful. An additional submodule is added to the message when the first verification result indicates verification failure and the local policy allows forwarding, and the marked message is sent according to a preset path. The mark is used to indicate that the message is non-compliant. The second discarding submodule is used to discard the packet when the first verification result indicates that the verification failed and the local policy does not allow forwarding.

[0110] Optionally, the first verification module is specifically used for: The solution is obtained by solving a pre-constructed formula using the commitment values ​​of the first data. The formula includes a polynomial constructed from multiple commitment values, where the multiple commitment values ​​are semantic commitment values ​​in the compliance conditions. The sending submodule is specifically used for: If the solution result is 0 and the second verification result indicates that the compliance certificate has been verified, the message is sent to the third device.

[0111] Optionally, the message may also carry path label information, signature data, and node information corresponding to the target path; The target path is the shortest path determined by the first device among multiple paths based on the semantic constraints of the first data, and the target path includes node information of multiple nodes arranged in the order of message transmission. The path label information is generated by the first device by encapsulating the path information of the target path with a hash value. The path information is obtained by concatenating the node information of the multiple nodes according to the sending order, and calculating it based on the concatenated information and the commitment value of the first data. The signature data is obtained by the first device digitally signing the path label information using its private key.

[0112] Data transmission devices can achieve Figure 2 The various processes implemented in the method embodiments can achieve the same technical effect, and will not be described again here to avoid repetition.

[0113] It should be noted that the electronic device provided in this application embodiment is a device capable of performing the above data transmission. Therefore, all implementation methods in the above data transmission method embodiments are applicable to this electronic device and can achieve the same or similar beneficial effects. To avoid repetition, this embodiment will not elaborate further.

[0114] See Figure 7 , Figure 7 This is a schematic diagram of a data transmission device provided in an embodiment of this application, applied to a third device, such as... Figure 7 As shown, the data transmission device 700 includes: The receiving module 701 is used to receive a message sent by the second device and obtain the node information of the target path carried by the message. The target path includes the node information of multiple nodes arranged in the order of message transmission. The target path is the shortest path determined by the first device among multiple paths based on the semantic constraints of the first data. The acquisition module 702 is used to acquire the node sequence corresponding to the actual transmission path of the message, and verify whether the node sequence is consistent with the node information of the target path; The determination module 703 is used to determine whether the actual transmission path of the message meets compliance requirements when the node sequence is consistent with the node information of the target path.

[0115] Optionally, the message also carries path label information and signature data; wherein, the path label information is generated by the first device by encapsulating the path information of the target path with a hash value, the path information is obtained by concatenating the node information of the multiple nodes according to the sending order, and calculated based on the concatenated information and the commitment value of the first data, the commitment value being used to identify the semantic information without revealing the semantic information content of the first data; the signature data is obtained by the first device digitally signing the path label information using a private key; The device further includes: The verification module is used to verify, using a public key, whether the signature data is a legitimate signature of the path label information; The determining module is specifically used for: If the node sequence matches the node information of the target path, and the signature data is a valid signature of the path label information, then the actual transmission path of the message is determined to meet compliance requirements.

[0116] Optionally, the device further includes: The first acquisition module is used to acquire the frequency of occurrence of the commitment values ​​of multiple data, wherein the multiple data includes the first data. The second acquisition module is used to acquire a target edge node that is less than a preset distance from the target user device and meets the security requirements when the frequency of the commitment value of the first data is greater than a preset threshold. The target user device is the user device that requests access to the first data. An encryption module is used to encrypt the first data and store the encrypted first data in the target edge node.

[0117] Optionally, the device further includes: The third acquisition module is used to acquire the commitment value carried in the access request and verify the commitment value carried in the access request when it receives an access request for the first data sent by the device corresponding to the first user. The verification module is used to verify the permissions of the first user if the commitment value carried in the access request is verified successfully. The decryption module is used to decrypt the first data and send the decrypted first data to the first user after the first user's permission verification is passed.

[0118] Data transmission devices can achieve Figure 3 The various processes implemented in the method embodiments can achieve the same technical effect, and will not be described again here to avoid repetition.

[0119] It should be noted that the electronic device provided in this application embodiment is a device capable of performing the above data transmission. Therefore, all implementation methods in the above data transmission method embodiments are applicable to this electronic device and can achieve the same or similar beneficial effects. To avoid repetition, this embodiment will not elaborate further.

[0120] See Figure 8 As shown in the figure, this application embodiment also provides an electronic device, including a bus 801, a transceiver 802, an antenna 803, a bus interface 804, a processor 805, and a memory 806.

[0121] When the electronic device is the first device, the processor 805 is used for: In the case of acquiring the first data to be transmitted, extract the semantic information of the first data; Generate a commitment value for the semantic information, the commitment value being used to identify the semantic information without revealing its content; Generate a compliance certificate for the commitment value, which is used to prove that the semantic information meets preset compliance conditions without disclosing the semantic information; The first data, the commitment value, and the compliance certificate are encapsulated into a message, and the encapsulated message is sent to the second device.

[0122] exist Figure 8 In this document, a bus architecture (represented by bus 801) is used. Bus 801 can include any number of interconnected buses and bridges, linking various circuits including one or more processors represented by processor 805 and memory represented by memory 806. Bus 801 can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. Bus interface 804 provides an interface between bus 801 and transceiver 802. Transceiver 802 can be a single element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by processor 805 is transmitted over a wireless medium via antenna 803, which further receives data and transmits data to processor 805.

[0123] The processor 805 manages the bus 801 and handles general processing, and also provides various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory 806 can be used to store data used by the processor 805 during operation.

[0124] Alternatively, the processor 805 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a complex programmable logic device (CPLD).

[0125] Optionally, the processor 805 executes the commitment value for generating the semantic information, including: Generate random numbers; The semantic information is blinded using the random number to obtain the commitment value of the semantic information.

[0126] Optionally, before the processor 805 executes the step of sending the encapsulated message to the second device, it is further configured to: The semantic constraints corresponding to the first data are parsed, and the semantic constraints include at least one of the following: security level constraints, computing power constraints, and geographical constraints. Based on the semantic constraints, the shortest target path is determined among multiple paths, and the target path includes node information of multiple nodes arranged in the order of message transmission. The second device is determined based on the node information of the plurality of nodes; Processor 805 executes the sending of the encapsulated message to the second device, including: The encapsulated message and node information of the plurality of nodes are sent to the second device.

[0127] Optionally, before the processor 805 executes the step of sending the encapsulated message and the node information of the plurality of nodes to the second device, it is further configured to execute: The node information of the multiple nodes is concatenated according to the sending order to obtain concatenated information, and the path information of the target path is calculated based on the concatenated information and the commitment value of the first data; The path information is encapsulated with a hash value to generate path tag information; The path label information is digitally signed using a private key to obtain signature data; The processor 805 executes the step of sending the encapsulated message and node information of the plurality of nodes to the second device, including: The encapsulated message, node information of the plurality of nodes, path label information, and signature data are sent to the second device.

[0128] When the electronic device is a second device, the processor 805 is used for: The system receives a message sent by a first device and obtains a commitment value and a compliance certificate of the first data carried in the message. The commitment value is generated based on the semantic information of the first data. The commitment value is used to identify the semantic information without disclosing its content. The compliance certificate is used to prove that the semantic information meets preset compliance conditions without disclosing its content. Verify whether the commitment value is equal to the commitment value in the compliance conditions to obtain the first verification result; The compliance proof is verified to obtain a second verification result; Based on at least one of the first verification result and the second verification result, the message is processed accordingly.

[0129] Optionally, the processor 805 performs corresponding processing on the message based on at least one of the first verification result and the second verification result, including: If both the first verification result and the second verification result indicate that the verification is successful, the message is sent to the third device. If the first verification result indicates that the verification passed and the second verification result indicates that the verification failed, the message is discarded and an alarm log is recorded. If the first verification result indicates that the verification failed and the local policy allows forwarding, a mark is added to the message and the marked message is sent according to a preset path. The mark is used to indicate that the message is non-compliant. If the first verification result indicates verification failure and the local policy does not allow forwarding, the message is discarded.

[0130] Optionally, the processor 805 performs the verification of whether the commitment value is equal to the commitment value in the compliance condition, and obtains a first verification result, including: The solution is obtained by solving a pre-constructed formula using the commitment values ​​of the first data. The formula includes a polynomial constructed from multiple commitment values, where the multiple commitment values ​​are semantic commitment values ​​in the compliance conditions. The processor 805 executes the step of sending the message to the third device when both the first verification result and the second verification result indicate that the verification is successful, including: If the solution result is 0 and the second verification result indicates that the compliance certificate has been verified, the message is sent to the third device.

[0131] Optionally, the message may also carry path label information, signature data, and node information corresponding to the target path; The target path is the shortest path determined by the first device among multiple paths based on the semantic constraints of the first data, and the target path includes node information of multiple nodes arranged in the order of message transmission. The path label information is generated by the first device by encapsulating the path information of the target path with a hash value. The path information is obtained by concatenating the node information of the multiple nodes according to the sending order, and calculating it based on the concatenated information and the commitment value of the first data. The signature data is obtained by the first device digitally signing the path label information using its private key.

[0132] When the electronic device is a third device, the processor 805 is used for: The device receives a message sent by a second device and obtains the node information of the target path carried in the message. The target path includes the node information of multiple nodes arranged in the order of message transmission. The target path is the shortest path determined by the first device among multiple paths based on the semantic constraints of the first data. Obtain the node sequence corresponding to the actual transmission path of the message, and verify whether the node sequence is consistent with the node information of the target path; If the node sequence matches the node information of the target path, it is determined that the actual transmission path of the message meets the compliance requirements.

[0133] Optionally, the message also carries path label information and signature data; wherein, the path label information is generated by the first device by encapsulating the path information of the target path with a hash value, the path information is obtained by concatenating the node information of the multiple nodes according to the sending order, and calculated based on the concatenated information and the commitment value of the first data, the commitment value being used to identify the semantic information without revealing the semantic information content of the first data; the signature data is obtained by the first device digitally signing the path label information using a private key; The 805 processor is also used for: Use the public key to verify whether the signature data is a valid signature of the path label information; The processor 805 executes the step of determining that the actual transmission path of the message meets compliance requirements when the node sequence matches the node information of the target path, including: If the node sequence matches the node information of the target path, and the signature data is a valid signature of the path label information, then the actual transmission path of the message is determined to meet compliance requirements.

[0134] Optionally, the processor 805 is also used for: Obtain the frequency of occurrence of commitment values ​​for multiple data points, including the first data point; If the frequency of the commitment value of the first data is greater than a preset threshold, a target edge node that is less than a preset distance from the target user device and meets the security requirements is obtained, wherein the target user device is the user device that requests access to the first data. The first data is encrypted, and the encrypted first data is stored in the target edge node.

[0135] Optionally, the processor 805 is also used for: Upon receiving an access request for the first data sent by the device corresponding to the first user, the commitment value carried by the access request is obtained and verified. If the commitment value carried in the access request is verified, the first user's permissions are verified. If the first user's permissions are verified, the first data is decrypted and sent to the first user.

[0136] It should be noted that the electronic device provided in this application embodiment is a device capable of executing the above-described data transmission method. Therefore, all implementation methods in the above-described data transmission method embodiments are applicable to this electronic device and can achieve the same or similar beneficial effects. To avoid repetition, this embodiment will not elaborate further.

[0137] This application also provides a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the various processes of the above-described data transmission method embodiments and achieves the same technical effects. To avoid repetition, it will not be described again here. The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.

[0138] This application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the above-described... Figures 1 to 4 The various processes of the method embodiments shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0139] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0140] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0141] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A data transmission method, characterized in that, Applied to a first device, the method includes: In the case of acquiring the first data to be transmitted, extract the semantic information of the first data; Generate a commitment value for the semantic information, which is used to identify the semantic information without revealing its content; Generate a compliance certificate for the commitment value, which is used to prove that the semantic information meets preset compliance conditions without disclosing the semantic information; The first data, the commitment value, and the compliance certificate are encapsulated into a message, and the encapsulated message is sent to the second device.

2. The method according to claim 1, characterized in that, The commitment value for generating the semantic information includes: Generate random numbers; The semantic information is blinded using the random number to obtain the commitment value of the semantic information.

3. The method according to claim 1 or 2, characterized in that, Before sending the encapsulated message to the second device, the method further includes: The semantic constraints corresponding to the first data are parsed, and the semantic constraints include at least one of the following: security level constraints, computing power constraints, and geographical constraints. Based on the semantic constraints, the shortest target path is determined among multiple paths, and the target path includes node information of multiple nodes arranged in the order of message transmission. The second device is determined based on the node information of the plurality of nodes; Sending the encapsulated message to the second device includes: The encapsulated message and node information of the plurality of nodes are sent to the second device.

4. The method according to claim 3, characterized in that, Before sending the encapsulated message and the node information of the plurality of nodes to the second device, the method further includes: The node information of the multiple nodes is concatenated according to the sending order to obtain concatenated information, and the path information of the target path is calculated based on the concatenated information and the commitment value of the first data; The path information is encapsulated with a hash value to generate path tag information; The path label information is digitally signed using a private key to obtain signature data; Sending the encapsulated message and the node information of the plurality of nodes to the second device includes: The encapsulated message, node information of the plurality of nodes, path label information, and signature data are sent to the second device.

5. A data transmission method, characterized in that, Applied to a second device, including: The system receives a message sent by a first device and obtains a commitment value and a compliance certificate of the first data carried in the message. The commitment value is generated based on the semantic information of the first data. The commitment value is used to identify the semantic information without disclosing its content. The compliance certificate is used to prove that the semantic information meets preset compliance conditions without disclosing its content. Verify whether the commitment value is equal to the commitment value in the compliance conditions to obtain the first verification result; The compliance proof is verified to obtain a second verification result; Based on at least one of the first verification result and the second verification result, the message is processed accordingly.

6. The method according to claim 5, characterized in that, The step of performing corresponding processing on the message based on at least one of the first verification result and the second verification result includes: If both the first verification result and the second verification result indicate that the verification is successful, the message is sent to the third device. If the first verification result indicates that the verification passed and the second verification result indicates that the verification failed, the message is discarded and an alarm log is recorded. If the first verification result indicates that the verification failed and the local policy allows forwarding, a mark is added to the message and the marked message is sent according to a preset path. The mark is used to indicate that the message is non-compliant. If the first verification result indicates verification failure and the local policy does not allow forwarding, the message is discarded.

7. The method according to claim 6, characterized in that, The step of verifying whether the commitment value is equal to the commitment value in the compliance conditions, and obtaining a first verification result, includes: The solution is obtained by solving a pre-constructed formula using the commitment values ​​of the first data. The formula includes a polynomial constructed from multiple commitment values, where the multiple commitment values ​​are semantic commitment values ​​in the compliance conditions. When both the first verification result and the second verification result indicate that the verification is successful, sending the message to the third device includes: If the solution result is 0 and the second verification result indicates that the compliance certificate has been verified, the message is sent to the third device.

8. The method according to claim 5, characterized in that, The message also carries path label information, signature data and node information corresponding to the target path; The target path is the shortest path determined by the first device among multiple paths based on the semantic constraints of the first data, and the target path includes node information of multiple nodes arranged in the order of message transmission. The path label information is generated by the first device by encapsulating the path information of the target path with a hash value. The path information is obtained by concatenating the node information of the multiple nodes according to the sending order, and calculating it based on the concatenated information and the commitment value of the first data. The signature data is obtained by the first device digitally signing the path label information using its private key.

9. A data transmission method, characterized in that, Applied to third-party devices, including: The device receives a message sent by a second device and obtains the node information of the target path carried in the message. The target path includes the node information of multiple nodes arranged in the order of message transmission. The target path is the shortest path determined by the first device among multiple paths based on the semantic constraints of the first data. Obtain the node sequence corresponding to the actual transmission path of the message, and verify whether the node sequence is consistent with the node information of the target path; If the node sequence matches the node information of the target path, it is determined that the actual transmission path of the message meets the compliance requirements.

10. The method according to claim 9, characterized in that, The message also carries path label information and signature data; wherein, the path label information is generated by the first device by encapsulating the path information of the target path with a hash value, the path information is obtained by concatenating the node information of the multiple nodes according to the sending order, and calculated based on the concatenated information and the commitment value of the first data, the commitment value being used to identify the semantic information without revealing the semantic information content of the first data; the signature data is obtained by the first device digitally signing the path label information using a private key; The method further includes: Use the public key to verify whether the signature data is a valid signature of the path label information; Determining that the actual transmission path of the message meets compliance requirements when the node sequence matches the node information of the target path includes: If the node sequence matches the node information of the target path, and the signature data is a valid signature of the path label information, then the actual transmission path of the message is determined to meet compliance requirements.

11. The method according to claim 9, characterized in that, The method further includes: Obtain the frequency of occurrence of commitment values ​​for multiple data points, including the first data point; If the frequency of the commitment value of the first data is greater than a preset threshold, a target edge node that is less than a preset distance from the target user device and meets the security requirements is obtained, wherein the target user device is the user device that requests access to the first data. The first data is encrypted, and the encrypted first data is stored in the target edge node.

12. The method according to claim 11, characterized in that, The method further includes: Upon receiving an access request for the first data sent by the device corresponding to the first user, the commitment value carried by the access request is obtained and verified. If the commitment value carried in the access request is verified, the first user's permissions are verified. If the first user's permissions are verified, the first data is decrypted and sent to the first user.

13. A data transmission device, characterized in that, Applied to a first device, the device includes: The extraction module is used to extract semantic information from the first data to be transmitted when the first data to be transmitted is obtained. The first generation module is used to generate a commitment value for the semantic information, the commitment value being used to identify the semantic information without revealing its content; The second generation module is used to generate a compliance certificate for the commitment value. The compliance certificate is used to prove that the semantic information meets preset compliance conditions without disclosing the semantic information. The sending module is used to encapsulate the first data, the commitment value, and the compliance certificate into a message and send the encapsulated message to the second device.

14. A data transmission device, characterized in that, Applied to a second device, the device includes: A receiving module is configured to receive a message sent by a first device and obtain a commitment value of the first data carried in the message and a compliance certificate of the commitment value. The commitment value is generated based on the semantic information of the first data. The commitment value is used to identify the semantic information without disclosing the content of the semantic information. The compliance certificate is used to prove that the semantic information meets preset compliance conditions without disclosing the semantic information. The first verification module is used to verify whether the commitment value is equal to the commitment value in the compliance conditions, and to obtain the first verification result; The second verification module is used to verify the compliance certificate to obtain a second verification result; The processing module is configured to perform corresponding processing on the message based on at least one of the first verification result and the second verification result.

15. A data transmission device, characterized in that, Applied to a third device, the device includes: The receiving module is used to receive a message sent by the second device and obtain the node information of the target path carried by the message. The target path includes the node information of multiple nodes arranged in the order of message transmission. The target path is the shortest path determined by the first device among multiple paths based on the semantic constraints of the first data. The acquisition module is used to acquire the node sequence corresponding to the actual transmission path of the message, and verify whether the node sequence is consistent with the node information of the target path; The determination module is used to determine whether the actual transmission path of the message meets compliance requirements when the node sequence is consistent with the node information of the target path.

16. An electronic device, characterized in that, include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the data transmission method as claimed in any one of claims 1 to 4, or the steps of the data transmission method as claimed in any one of claims 5 to 8, or the steps of the data transmission method as claimed in any one of claims 9 to 12.

17. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the data transmission method as described in any one of claims 1 to 4, or the steps of the data transmission method as described in any one of claims 5 to 8, or the steps of the data transmission method as described in any one of claims 9 to 12.

18. A computer program product, characterized in that, It includes computer instructions that, when executed by a processor, implement the steps of the data transmission method as described in any one of claims 1 to 4, or the steps of the data transmission method as described in any one of claims 5 to 8, or the steps of the data transmission method as described in any one of claims 9 to 12.