Data transmission method and system based on data identification

By sharing and dynamically updating negotiated identification information between the data provider and receiver, and using a quantum key distribution protocol to generate random number sequences, the problems of high complexity and insufficient security in data identification technology are solved, thus achieving efficient and secure data transmission.

CN122053713APending Publication Date: 2026-05-15CAS QUANTUM NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CAS QUANTUM NETWORK CO LTD
Filing Date
2026-01-29
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

Existing data identification technologies introduce complex and lengthy coded identification information in different application scenarios, and there is a possibility of code forgery, resulting in high data transmission complexity and insufficient security.

Method used

The negotiated identification information is shared and continuously updated between the data provider and receiver. A random number sequence is generated using the quantum key distribution protocol. Data identification is performed by concatenating the negotiated identification field and the sequence number of the data packet, ensuring the uniqueness and security of data transmission.

Benefits of technology

It reduces the complexity of data identification, improves the security of data transmission, prevents third parties from obtaining negotiated identification information, and ensures that the uniqueness, identifiability, and traceability of data are not tampered with.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122053713A_ABST
    Figure CN122053713A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, and discloses a data transmission method and system based on data identification, and the method applied to a data providing end can comprise the steps: obtaining negotiation identification information associated with a data receiving end, and the negotiation identification information is continuously and dynamically updated; performing data identification on the to-be-transmitted data based on the negotiation identification information to obtain identification data; and providing the identification data to a data receiving end. Through the technical scheme provided by the invention, data identification can be carried out by utilizing the negotiation identification information which is only shared between the data providing end and the data receiving end and is continuously and dynamically updated, the complexity of data identification is reduced, and meanwhile, the security of data transmission is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of data processing technology, and in particular to a data transmission method and system based on data identification. Background Technology

[0002] Data identification technology is a technique that assigns unique identifiers (IDs) or tags to data to enable its identification, tracking, verification, management, and protection. These identifiers can be numbers, letters, QR codes, barcodes, tags, hash values, fingerprints, digital certificates, etc., used to ensure the authenticity, integrity, and traceability of data. Commonly used identification technologies include, but are not limited to, VAA (Virtual Access Address) identification technology, OID (Object Identifier) ​​identification technology, Ecode (Electronic Code) identification technology, and GS1 (Globally Harmonized Identification Standard) identification technology.

[0003] Taking GS1 identification technology as an example, in order to ensure that data is uniquely identified and recognized, GS1 identification technology defines different coding types for different application scenarios. For example, it may include GTIN Global Trade Item Code, GLN Global Location Code, SSCC Logistics Unit Code, GRAI / GIAI Asset Identification Code, etc. This will introduce complex and lengthy coding identification information for data interoperability in different scenarios, and the coding identification information itself may be forged according to the coding rules. Summary of the Invention

[0004] The purpose of this disclosure is to provide a data transmission method and system based on data identification, which can use negotiated identification information that is shared only between the data provider and the data receiver and is continuously and dynamically updated to identify data, thereby reducing the complexity of data identification and improving the security of data transmission.

[0005] To address the aforementioned technical problems, the first aspect of this disclosure provides a data transmission method based on data identification, applied to a data provider. Specifically, it may include: obtaining negotiated identification information associated with a data receiver, wherein the negotiated identification information is continuously and dynamically updated; identifying the data to be transmitted based on the negotiated identification information to obtain identification data; and providing the identification data to the data receiver.

[0006] In one possible implementation of the first aspect described above, the negotiated identification information is shared between the data provider and the data receiver based on a quantum key distribution protocol.

[0007] In one possible implementation of the first aspect above, the process of identifying the data to be transmitted includes: dividing the negotiated identification information into multiple negotiated identification fields based on a preset length, and assigning a first sequence number to each negotiated identification field; dividing the data to be transmitted into multiple data packets based on the data transmission agreement between the data provider and the data receiver, and assigning a second sequence number to each data packet; concatenating the negotiated identification fields and data packets with the same first sequence number and second sequence number in sequence to obtain multiple identified data packets, and using all identified data packets as identification data.

[0008] In one possible implementation of the first aspect above, the process of providing identification data to the data receiver includes: sending identification data packets to the data receiver in ascending order based on the second sequence number.

[0009] In one possible implementation of the first aspect described above, the difference between the first sequence numbers of adjacent negotiation identifier fields is 1; the difference between the second sequence numbers of adjacent data packets is within a preset range.

[0010] The second aspect of this disclosure provides a data transmission method based on data identifiers, applied to a data receiving end, which may specifically include: obtaining corresponding data identifier information based on received data to be verified; determining whether the data identifier information matches the historical negotiation identifier information based on historical negotiation identifier information associated with the data providing end; if so, confirming the receipt of the data to be verified; otherwise, discarding the data to be verified; wherein, the historical negotiation identifier information is continuously and dynamically updated.

[0011] In one possible implementation of the second aspect above, the data to be verified includes multiple data packets to be verified; the process of obtaining the corresponding data identification information includes: for each received data packet to be verified, extracting a field of a preset length before the data packet to be verified as data identification information.

[0012] In one possible implementation of the second aspect above, the process of determining whether the data identification information matches the historical negotiation identification information includes: when the data packet to be verified is the first received data packet, retrieving the data identification information from the historical negotiation identification information; if there is a part in the historical negotiation identification information that is consistent with the data identification information, determining that the data identification information matches the historical negotiation identification information, and identifying the matching negotiation identification information that has a consistent part with the data identification information; dividing the matching negotiation identification information into multiple matching identification fields based on a preset length, and assigning a first sequence number to each matching identification field.

[0013] In one possible implementation of the second aspect above, the process of determining whether the data identification information is consistent with the historical negotiation identification information further includes: when the data packet to be verified is not the first received data packet, starting from the first sequence number corresponding to the previously confirmed received data packet to be verified, searching for the data identification information in a preset interval of matching negotiation identification information; if there is a part in the preset interval that is consistent with the data identification information, determining that the data identification information matches the historical negotiation identification information.

[0014] A third aspect of this disclosure provides a data transmission system based on data identification, specifically including a data provider and a data receiver, wherein the data provider and the data receiver share continuously dynamically updated negotiated identification information; the data provider is used to identify the data to be transmitted based on the negotiated identification information to obtain identified data, and provides the identified data to the data receiver; the data receiver is used to obtain the corresponding data identification information based on the received data to be verified, and determine whether the data identification information matches the historical negotiated identification information between the data receiver and the data provider: if yes, the data to be verified is confirmed to be received; otherwise, the data to be verified is discarded.

[0015] The technical solution provided in this disclosure enables data identification using negotiation identification information that is shared only between the data provider and the data receiver and is continuously and dynamically updated. This reduces the complexity of data identification while improving the security of data transmission. Furthermore, in this technical solution, the negotiation identification information can be obtained based on quantum key distribution technology, preventing any third party other than the data provider and the data receiver from obtaining the quantum-encrypted negotiation identification information. Specifically, the continuously and dynamically updated negotiation identification information can take the form of a random number sequence, which significantly reduces the complexity of data identification, reduces the transmission pressure between the data provider and the data receiver, and facilitates data identification verification of the received data by the data receiver. Attached Figure Description

[0016] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0017] Figure 1 This is an exemplary flowchart of a data transmission method based on data identifiers provided in an embodiment of this disclosure; Figure 2 This is a schematic diagram of a process for identifying data to be transmitted according to an embodiment of the present disclosure; Figure 3This is a schematic diagram illustrating the splicing of a negotiation identifier field and a data packet according to an embodiment of this disclosure; Figure 4 This is a flowchart illustrating another data transmission method based on data identifiers provided according to an embodiment of this disclosure; Figure 5 This is a flowchart illustrating a process for determining whether data identification information matches historical negotiation identification information, according to an embodiment of this disclosure. Figure 6 This is a schematic diagram of a data transmission system based on data identification provided in an embodiment of the present disclosure. Detailed Implementation

[0018] Data identification, as a technology for uniquely labeling and identifying single data elements or datasets, can be used to ensure the uniqueness, identifiability, and traceability of data during storage and transmission. To ensure unique identification and recognition of data, complex and lengthy coded identification information is typically introduced during the data identification process. In some embodiments, taking the GTN identification code in the retail sector of GS1 identification technology as an example, it can specifically consist of three parts: a manufacturer identification code, a product item code, and a check digit. For example, the GS1 identification of a retail product is 6901234567892, where "6901234" is the manufacturer identification code ("690" is the prefix code assigned to China by the International Article Numbering Association, and "1234" is the unique identification code corresponding to the manufacturer); "56789" is the product item code corresponding to the retail product; and the last digit "2" is the check digit. It can be seen that the digital identification code information corresponding to a single retail product is complex and lengthy. Furthermore, as the unique identifier of the data, the above code is susceptible to forgery based on the coding rules. To address the aforementioned technical issues, this disclosure provides a data transmission method and system based on data identification, which can utilize negotiated identification information shared only between the data provider and the data receiver and continuously updated dynamically for data identification, thereby reducing the complexity of data identification while improving the security of data transmission.

[0019] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the various embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. However, those skilled in the art will understand that many technical details are provided in the embodiments of this disclosure to facilitate a better understanding of the disclosure. However, the technical solutions claimed in this disclosure can be implemented even without these technical details and various variations and modifications based on the following embodiments. The division of the following embodiments is for ease of description and should not constitute any limitation on the specific implementation of this disclosure. The various embodiments can be combined with and referenced by each other without contradiction.

[0020] In some embodiments of this disclosure, Figure 1 A flowchart illustrating a data transmission method based on data identifiers is shown. In some embodiments, such as... Figure 1 The process 100 shown is applied to the data provider, that is, the data provider performs the data identification work on the data to be transmitted, which may include the following steps: Step 110: Obtain the negotiation identification information associated with the data receiving end, wherein the negotiation identification information is continuously and dynamically updated. In some embodiments, the negotiation identification information is associated with both the data providing end and the data receiving end, and is continuously updated between the data providing end and the data using end. The update frequency of the negotiation identification information can be fixed, random, or adaptively updated according to the data transmission needs. It is not limited here. It can be understood that by setting the negotiation identification information, all data transmissions between the data receiving end and the data providing end can use the same set of negotiation identification information for data annotation, effectively reducing the complexity of the data annotation process.

[0021] In some embodiments, specifically, the negotiation identification information can be shared between the data provider and the data receiver based on a quantum key distribution protocol. Quantum key distribution (QKD) is a technology that uses the fundamental principles of quantum mechanics to securely generate and distribute keys. It is considered one of the most theoretically secure key distribution methods currently available. The negotiation identification information generated based on quantum key distribution technology can be shared between the data provider and the data receiver in the form of a random sequence. It also has the anonymity characteristic of not being known by other third parties and the dynamic change and update characteristic, which can improve the security of data transmission while reducing the complexity of data identification.

[0022] Step 120: Based on the negotiated identification information, perform data identification on the data to be transmitted to obtain identification data. In some embodiments, data identification on the data to be transmitted based on the negotiated identification information can be obtained by concatenating the data to be transmitted with the negotiated identification information. This is not limited here. The specific implementation of the data identification will be described in detail later in conjunction with the embodiments, and will not be elaborated here.

[0023] Step 130: Provide the identification data to the data receiving end. In some embodiments, the identification data can be transmitted in a targeted manner according to a pre-established communication channel and / or communication protocol between the data provider and the data receiving end; in other embodiments, the data provider also supports providing the identification data to the data receiving end through non-targeted transmission methods such as broadcasting, which is not limited here. It is understood that, based on the above process 100, negotiated identification information that is shared only between the data provider and the data receiving end and is continuously dynamically updated can be used for data identification: since the negotiated identification information is continuously dynamically updated, there is no need to use complex and lengthy encoded strings to achieve an effective and unique identifier for the data to be transmitted, which can effectively reduce the complexity of data identification; at the same time, since the negotiated identification information is shared only between the data provider and the data receiving end, other third parties cannot obtain the specific content of the negotiated identification information, and cannot specifically forge the negotiated identification information, which can improve the security of data transmission and ensure that the uniqueness, identifiability, and traceability of the data content are not tampered with. The specific implementation of the above process 100 will be further explained and described below in conjunction with embodiments.

[0024] In some embodiments of this disclosure, Figure 2 A schematic diagram of a process for identifying data to be transmitted is shown, such as... Figure 2 As shown, process 200 may specifically include the following steps: Step 210: Based on a preset length, divide the negotiation identification information into multiple negotiation identification fields and assign a first sequence number to each negotiation identification field. In some embodiments, taking the negotiation identification information as a random number obtained through quantum key distribution technology as an example, the random number can be divided into multiple negotiation identification fields with a length of 4 bytes. Each negotiation identification field corresponds to a 4-byte random number. Compared with the VAA identification technology, OID identification technology, GS1 identification technology, etc. provided in the prior art, users can adaptively adjust the preset length of the negotiation identification field according to the actual data situation. While satisfying the data identification of the data to be transmitted, it can avoid the use of complex and lengthy identification encoding, further optimizing the data identification process and reducing the transmission pressure of subsequent identification data transmission.

[0025] In some embodiments, further, during the allocation of the first sequence number for each negotiation identifier field, the first sequence number can be allocated sequentially based on the first negotiation identifier field obtained from the natural number sequence. For example, for the random number sequence "1234567898765432", dividing it into 4-digit lengths yields four negotiation identifier fields: "1234", "5678", "9876", and "5432". During the allocation of the first sequence number, it can be done sequentially in the order of "1, 2, 3, 4...". For example, the first sequence number corresponding to negotiation identifier field "1234" is "1", the first sequence number corresponding to negotiation identifier field "5678" is "2", the first sequence number corresponding to negotiation identifier field "9876" is "3", and so on. That is, the difference between the first sequence numbers of adjacent negotiation identifier fields is 1. Users can also choose other first sequence number allocation methods according to actual needs, which are not limited here.

[0026] Step 220: Based on the data transmission agreement between the data provider and the data receiver, the data to be transmitted is divided into multiple data packets, and a second sequence number is assigned to each data packet. In some embodiments, the data transmission agreement between the data provider and the data receiver can be used to determine the size of a single data packet, the data transmission rate, and other information during the data transmission process from the data provider to the data receiver. This information is then used to divide the data to be transmitted into multiple data packets of appropriate size. Users can choose a suitable data packet division method according to their actual needs, which is not limited here. In some embodiments, furthermore, a corresponding second sequence number can be assigned to each divided data packet so that each data packet can be identified according to the negotiated identifier field. In some embodiments, the same allocation method as the first sequence number provided in the aforementioned embodiments can be used during the allocation of the second sequence number for each data packet. That is, starting from the first divided data packet, the second sequence number is allocated sequentially based on a natural number sequence. For example, the second sequence number corresponding to the first data packet is "1", the second sequence number corresponding to the second data packet is "2", and so on. In some embodiments, further, to prevent the negotiation identifier information from being leaked and causing the negotiation identifier field corresponding to the data packet to be maliciously obtained, during the second sequence number allocation process, the difference between the second sequence numbers of adjacent data packets can be set to fall within a preset interval to increase the uncertainty between the negotiation identifier fields corresponding to the data packets. For example, the second sequence number corresponding to the first data packet can be set to "1", the second sequence number corresponding to the second data packet can be set to "3", the second sequence number corresponding to the third data packet can be set to "5", and so on, so that the negotiation identifier fields corresponding to adjacent data packets are not adjacent in the random number. For another example, the second sequence number corresponding to the first data packet can be set to "1", the second sequence number corresponding to the second data packet can be set to any one in the interval [2, 10], for example, "5", the second sequence number corresponding to the third data packet can be set to any one in the interval [6, 14], for example, "7", and so on. That is, a value range is set according to the second sequence number corresponding to the previous data packet, and a number is randomly selected within the value range as the second sequence number corresponding to the current data packet, which further increases the uncertainty and randomness between the negotiation identifier fields corresponding to the data packets. No limitation is made here.

[0027] Step 230: Concatenate the negotiated identifier field and data packets with the same first sequence number and second sequence number sequentially to obtain multiple identifier data packets, and use all identifier data packets as identifier data. In some embodiments, Figure 3 This diagram illustrates the concatenation of the negotiation identifier field and the data packet. For example... Figure 3As shown, for the data to be transmitted 320 containing data packets 321, 322, and 323, and the negotiation identification information 310 containing negotiation identification fields 311 to 315, during the data identification process, taking the second sequence number corresponding to data packet 321 as 1, the second sequence number corresponding to data packet 322 as 3, and the third sequence number corresponding to data packet 322 as 5 as an example, they are concatenated with the negotiation identification fields 311, 313, and 315, which have the same first sequence number, respectively, to obtain three identified data packets 330. The negotiation identification fields are all concatenated at the beginning of the data packets so that the subsequent data receiving end can verify the data identification. Users can also concatenate the negotiation identification fields at the end of the data packets according to actual needs, which is not limited here.

[0028] In some embodiments of this disclosure, furthermore, during the process of providing identification data to the data receiving end, identification data packets can be sent to the data receiving end in ascending order of the second sequence number, so that the subsequent data receiving end can negotiate the verification of the identification field according to the order of the received identification data packets. It is understood that the solution provided by the foregoing embodiments can achieve efficient and convenient data identification of the data to be transmitted on the data providing end side. The following will use the data receiving end as the execution subject to specifically explain how the data receiving end verifies the identification information of the received data in the data transmission method based on data identification provided in this disclosure.

[0029] In some embodiments of this disclosure, Figure 4 A flowchart illustrating another data transmission method based on data identifiers is shown. In some embodiments, such as Figure 4 The process 400 shown is applied to the data receiving end, that is, the data receiving end identifies and verifies the data identifier of the received data, which may include the following steps: Step 410: Based on the received data to be verified, obtain the corresponding data identification information. It is understood that a data receiver may correspond to one or more data providers. For the received data to be verified, the data receiver first needs to clarify the identity information of the data provider, then confirm the data identification method of the data to be verified based on the provider's identity, and obtain the corresponding data identification information according to the determined data identification method. In some embodiments, when the data provider transmits data in the form of identified data packets, the data to be verified may include multiple data packets to be verified. Accordingly, in the process of obtaining the corresponding data identification information, a field of a preset length can be extracted from the beginning of each received data packet to be verified as data identification information. The specific length of the preset length can be determined based on the communication interaction between the data receiver and the data provider. Users can also implement the specific method of synchronizing data identification from the data provider to the data receiver according to the actual application scenario, which is not limited here.

[0030] Step 420: Based on the historical negotiation identification information associated with the data provider, determine whether the data identification information matches the historical negotiation identification information: if yes, confirm receipt of the data to be verified; otherwise, discard the data to be verified. In some embodiments, the historical negotiation identification information is continuously and dynamically updated. In some embodiments, the historical negotiation identification information includes all negotiation identification information associated with the data provider. Since the negotiation identification information continuously and dynamically updated between the data provider and the data receiver is constantly and randomly changing, the negotiation identification information used by the data provider when performing data annotation operations may be inconsistent with the current negotiation identification information of the data receiver when receiving the data to be verified. Therefore, the obtained data identification information and the historical negotiation identification information can be matched to verify the data identification information: if they match, it means that the data identification information has passed verification, and the data received by the data receiver is confirmed to be traceable information provided by the data provider; if they do not match, it means that the received data is not data with a data identification provided by the data provider, and it can be directly discarded or processed in other ways, which are not limited here. The following will further explain the matching determination process between the data identification information and the historical negotiation identification information in conjunction with the embodiments.

[0031] In some embodiments of this disclosure, further, Figure 5 This diagram illustrates a process for determining whether data identification information matches historical negotiation identification information. Figure 5 As shown, the specific steps may include the following: Step 510: Determine whether the data packet to be verified is the first received data packet: if yes, proceed to step 520; if no, proceed to step 550. It is understood that, based on the relevant descriptions in the foregoing embodiments, the negotiation identifier field corresponding to the first received data packet is often located at the beginning of the corresponding negotiation identifier information. This facilitates the subsequent determination of the matching negotiation identifier information corresponding to multiple current data packets from historical negotiation identifier information based on the data identifier information corresponding to the first received data packet. This is not limited here.

[0032] Step 520: When the data packet to be verified is the first received data packet, retrieve the data identification information from the historical negotiation identification information. In some embodiments, a sliding window can be set according to the length of the data identification information, and a sliding step size can be set according to the unit length of the historical negotiation identification information. The data identification information is retrieved by blindly checking the historical negotiation identification information by moving the sliding window. Users can also choose other suitable data identification information retrieval methods according to actual needs, which are not limited here.

[0033] Step 530: If a portion of the historical negotiation identification information matches the data identification information, determine if the data identification information matches the historical negotiation identification information, and identify the matching negotiation identification information that has the same portion as the data identification information. It can be understood that, after the above retrieval process, when a portion of the historical negotiation identification information completely matches the data identification information, it can be determined that the data identification information matches the historical negotiation identification information. Based on the location of this portion, the matching negotiation identification information is confirmed. In the subsequent verification process of the same batch of data packets to be verified, it is only necessary to search within the range of matching negotiation identification information, significantly reducing the required retrieval computation overhead and retrieval verification time.

[0034] Step 540: Divide the matching negotiation identifier information into multiple matching identifier fields based on a preset length, and assign a first sequence number to each matching identifier field. In some embodiments, when the matching negotiation identifier information is determined, it can be divided into multiple matching identifier fields based on the same division method as the data provider, and the first sequence number can be assigned using the same allocation method, which will not be elaborated here.

[0035] Step 550: When the data packet to be verified is not the first received data packet, starting from the first sequence number corresponding to the previously confirmed received data packet to be verified, retrieve the data identification information within a preset interval of the matching negotiation identification information. It is understood that in some embodiments, where both the first and second sequence numbers are arranged in a natural number sequence, ideally, if no packet loss occurs during data transmission, the matching identification field corresponding to the next first sequence number can be searched based on the first sequence number corresponding to the previously confirmed received data packet to be verified for data identification verification. However, considering that in practical application scenarios, data packets may not be received strictly according to the transmission order or packet loss may occur, a preset interval can be set within the matching negotiation identification information starting from the first sequence number corresponding to the previously confirmed received data packet to be verified, and the data identification information can be retrieved within this preset interval. This avoids repeatedly performing blind selection searches within the completely random number sequence range of the matching negotiation identification information, further improving the retrieval efficiency of the data identification information.

[0036] Step 560: If a portion of the data identification information exists within the preset interval, determine if the data identification information matches the historical negotiation identification information. It can be understood that if a portion of the data identification information is completely identical to the data identification information within the preset interval, it can be determined that the data identification information matches the historical negotiation identification information.

[0037] In some embodiments of this disclosure, Figure 6 A schematic diagram of a data transmission system based on data identification is shown. (For example...) Figure 6As shown, the system may specifically include a data provider 610 and a data receiver 620. In some embodiments, the data provider 610 may specifically include a first identifier negotiation unit 611, a data identifier unit 612, and a data transmission unit 613; the data receiver 620 may specifically include a second identifier negotiation unit 621, a data receiving unit 622, and an identifier verification unit 623. The data provider 610 and the data receiver 620 can negotiate the generation, continuous updating, and sharing of identifier information through the first identifier negotiation unit 611 and the second identifier negotiation unit 621. In some embodiments, the data provider 610 can use the data identifier unit 612 to identify the data to be transmitted based on the negotiated identifier information to obtain identifier data, and then provide the identifier data to the data receiver through the data transmission unit 613. In some embodiments, the data receiving end 620 can receive the data to be verified and obtain the corresponding data identification information through the data receiving unit 622, and then determine whether the data identification information matches the historically negotiated identification information between the data receiving end 620 and the data providing end 610 through the identification verification unit 623: if yes, the data to be verified is confirmed to be received; otherwise, the data to be verified is discarded. The historically negotiated identification information can be provided through the second identification negotiation unit 621, which is not limited here. It is understood that the implementation of various functional units in the data providing end 610 and the data receiving end 620 can refer to the execution mode of each step in the data data transmission method based on data identification in the foregoing embodiments, and will not be elaborated here.

[0038] In some embodiments of this disclosure, a computer-readable storage medium is also disclosed, which stores computer instructions that, when executed by a processor, implement the steps of the data transmission method based on data identifiers provided in the foregoing embodiments. In some embodiments, the computer-readable storage medium may include flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the computer-readable storage medium may be an internal storage unit of a computer device, such as the hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium may also be an external storage device of a computer device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on the computer device. Of course, the computer-readable storage medium may also include both internal storage units and external storage devices of a computer device. In this embodiment, the computer-readable storage medium is typically used to store the operating system and various application software installed on the computer device, such as the program code of the data transmission method based on data identifier in this embodiment. Furthermore, the computer-readable storage medium can also be used to temporarily store various types of data that have been output or will be output.

[0039] In some embodiments of this disclosure, a computer program product is also involved, including a computer program that, when executed by a processor, implements the steps of the data transmission method based on data identifier provided in the foregoing embodiments.

[0040] In some embodiments, the computer program product may involve only a computer program, which may be carried on a storage medium or processing device. In other embodiments, the computer program product may also be a storage medium or processing device containing the aforementioned computer program. The processing device may include one or more processors, and the storage medium. Those skilled in the art will understand that the implementation of all or part of the steps in the data identifier-based data transmission method provided in the foregoing embodiments can be accomplished by a program instructing related hardware. This program is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the data identifier-based data transmission method provided in the foregoing embodiments of this disclosure.

[0041] The basic concepts have been described above. It is obvious that the detailed disclosure above is merely illustrative and does not constitute a limitation of this specification. Although not explicitly stated herein, various modifications, improvements, and corrections may be made to this specification by those skilled in the art. Such modifications, improvements, and corrections are taught in this specification and therefore remain within the spirit and scope of the exemplary embodiments described herein.

Claims

1. A data transmission method based on data identifiers, characterized in that, Applied to the data provider, including: Obtain negotiation identification information associated with the data receiving end; the negotiation identification information is continuously and dynamically updated. Based on the negotiated identification information, the data to be transmitted is identified to obtain identification data; The identification data is provided to the data receiving end.

2. The data transmission method based on data identifier according to claim 1, characterized in that, The negotiation identification information is shared between the data provider and the data receiver based on the quantum key distribution protocol.

3. The data transmission method based on data identifier according to claim 1, characterized in that, The process of identifying the data to be transmitted includes: Based on a preset length, the negotiation identification information is divided into multiple negotiation identification fields, and a first sequence number is assigned to each negotiation identification field; Based on the data transmission agreement between the data provider and the data receiver, the data to be transmitted is divided into multiple data packets, and a second sequence number is assigned to each data packet. The negotiation identifier field and the data packet having the same first sequence number and second sequence number are concatenated sequentially to obtain multiple identifier data packets, and all the identifier data packets are used as the identifier data.

4. The data transmission method based on data identifier according to claim 3, characterized in that, The process of providing the identification data to the data receiving end includes: The identification data packet is sent to the data receiving end based on the ascending order of the second sequence number.

5. The data transmission method based on data identifier according to claim 3, characterized in that, The difference between the first sequence numbers of adjacent negotiation identifier fields is 1; The difference in the second sequence number between adjacent data packets lies within a preset range.

6. A data transmission method based on data identifiers, characterized in that, Applied to the data receiving end, including: Based on the received data to be verified, obtain the corresponding data identification information; Based on the historical negotiation identification information associated with the data provider, it is determined whether the data identification information matches the historical negotiation identification information: if yes, the data to be verified is confirmed to be received; otherwise, the data to be verified is discarded. The historical negotiation identification information is continuously and dynamically updated.

7. The data transmission method based on data identifier according to claim 6, characterized in that, The data to be verified includes multiple data packets to be verified. The process of obtaining the corresponding data identifier information includes: For each received data packet to be verified, a field of a preset length is extracted from the beginning of the data packet to be verified as the data identification information.

8. The data transmission method based on data identifier according to claim 7, characterized in that, The process of determining whether the data identification information matches the historical negotiation identification information includes: When the data packet to be verified is the first received data packet, the data identification information is retrieved from the historical negotiation identification information; If there is a portion in the historical negotiation identification information that is consistent with the data identification information, it is determined that the data identification information matches the historical negotiation identification information, and the matching negotiation identification information that has a consistent portion with the data identification information is identified; Based on the preset length, the matching negotiation identifier information is divided into multiple matching identifier fields, and a first sequence number is assigned to each matching identifier field.

9. The data transmission method based on data identifier according to claim 8, characterized in that, The process of determining whether the data identification information is consistent with the historical negotiation identification information also includes: When the data packet to be verified is not the first received data packet, the data identification information is retrieved from the preset range of the matching negotiation identification information, starting from the first sequence number corresponding to the previously confirmed received data packet to be verified. If there is a portion in the preset interval that matches the data identification information, it is determined that the data identification information matches the historical negotiation identification information.

10. A data transmission system based on data identification, characterized in that, It includes a data provider and a data receiver, wherein the data provider and the data receiver share continuously dynamically updated negotiated identification information; The data providing end is used to identify the data to be transmitted based on the negotiated identification information to obtain identification data, and then provide the identification data to the data receiving end; The data receiving end is used to obtain the corresponding data identification information based on the received data to be verified, and to determine whether the data identification information matches the historical negotiation identification information between the data providing end and the data receiving end: if yes, then confirm the receipt of the data to be verified; otherwise, discard the data to be verified.