Data identification method and device, equipment, medium and product
By generating new data according to the semantic features of data in data processing to identify the original data, the data processing exception problem caused by data identification mosaic is solved, and the effectiveness and stability of data identification is achieved.
Patent Information
- Application Number
- CN202411463561.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2025-02-18
AI Technical Summary
During data processing, the prior art may cause data processing exceptions after the data identification is embedded in the original data.
By acquiring data and its identification information, the business semantic bits and value sets are determined based on the semantic characteristics of the data, the identification information is mapped to the elements in the value set, and new data is generated to identify the original data without changing the semantics of the data.
Without changing the data semantics, the identification of the data is realized, avoiding the occurrence of data processing exceptions.
Smart Images

Figure CN119476200A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data processing technology, and in particular, relates to a data identification method, device, equipment, medium and product. Background Art
[0002] Data identification refers to a symbol or code given to data in order to uniquely identify and recognize data. As an important part of big data technology, data identification is of great significance for data management and analysis. With the continuous development of big data technology, data identification will play an increasingly important role, bringing more convenience and opportunities to all walks of life.
[0003] In the related art, in some cases, a data identifier of a certain original data is embedded in the original data to obtain new data. When processing data, if the new data is used to perform business processing on the original data, it may cause anomalies. Summary of the invention
[0004] The embodiments of the present application provide a data identification method, apparatus, device, medium and product, which can identify data without changing the semantics of the data and avoid data processing anomalies.
[0005] In a first aspect, an embodiment of the present application provides a data identification method, including:
[0006] Acquire first data and first identification information of the first data;
[0007] Determine, according to the semantic feature of the first data, a first business semantic bit of the first data and a value set of the first business semantic bit, wherein the first business semantic bit is a position in the first data where the semantics of the first data cannot be changed;
[0008] Determine, from the value set, a first element corresponding to the first identification information according to a mapping relationship between the identification information of the data and the elements in the value set;
[0009] Second data is generated according to the first element and the first business semantic bit to identify the first data, wherein the semantics of the second data is the same as the semantics of the first data.
[0010] In a second aspect, an embodiment of the present application provides a data identification device, including:
[0011] A first acquisition module, used to acquire first data and first identification information of the first data;
[0012] A first determination module, used to determine a first business semantic bit of the first data and a value set of the first business semantic bit according to the semantic features of the first data, wherein the first business semantic bit is a position in the first data where the semantics of the first data cannot be changed;
[0013] A second determination module, configured to determine a first element corresponding to the first identification information from the value set according to a mapping relationship between the identification information of the data and the elements in the value set;
[0014] The first generating module is used to generate second data according to the first element and the first business semantic bit to identify the first data, wherein the semantics of the second data is the same as that of the first data.
[0015] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the steps of the data identification method provided in the embodiment of the present application are implemented.
[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the steps of the data identification method provided in the embodiment of the present application are implemented.
[0017] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes computer program instructions, and when the computer program instructions are executed by a processor, the steps of the data identification method provided in the embodiment of the present application are implemented.
[0018] In an embodiment of the present application, by obtaining first data and first identification information of the first data; determining the first business semantic bit of the first data and the value set of the first business semantic bit according to the semantic features of the first data, wherein the first business semantic bit is a position in the first data where the semantics of the first data cannot be changed; determining the first element corresponding to the first identification information from the value set according to the mapping relationship between the identification information of the data and the elements in the value set; generating second data according to the first element and the first business semantic bit to identify the first data, wherein the semantics of the second data are the same as those of the first data. In this way, the identification of data can be achieved without changing the semantics of the data, and the abnormalities that may be caused during data processing after adding identification information to the data are avoided. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0020] Figure 1 It is a flowchart of a data identification method provided in an embodiment of the present application;
[0021] Figure 2It is a schematic diagram of the process of tracing the source of data provided by an embodiment of the present application;
[0022] Figure 3 is a schematic diagram of the structure of a data identification device provided in an embodiment of the present application;
[0023] Figure 4 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0025] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0026] The data identification method, device, equipment, medium and product provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0027] Figure 1 Schematic diagram of the data identification method provided in the embodiment of the present application. Figure 1 As shown, the data identification method may include:
[0028] Step 101: Acquire first data and first identification information of the first data;
[0029] In some possible implementations of the embodiments of the present application, the first identification information in the embodiments of the present application is information used to identify the first data, and the first identification information may be a user ID, a device ID, a supplier ID, and the like.
[0030] Step 102: determining a first service semantic bit of the first data and a value set of the first service semantic bit according to the semantic features of the first data, wherein the first service semantic bit is a position in the first data where the semantics of the first data cannot be changed;
[0031] In some possible implementations of the embodiments of the present application, the service semantic bit can be set according to actual needs. The service semantic bit can be one bit or multiple bits.
[0032] For example, taking the first data of ¥123.3 as an example, the semantic feature of ¥123.3 is the amount. Adding one or more zeros at the end of the data will not change the semantics of the data. The bits corresponding to the one or more zeros at the end of ¥123.3 are the business semantic bits of ¥123.3.
[0033] Assume that the business semantic bit of ¥123.3 is 0, then the value of the business semantic bit can be NULL or 0. Accordingly, the value set of the business semantic bit of ¥123.3 is {NULL, 0}.
[0034] Step 103: determining a first element corresponding to the first identification information from the value set according to a mapping relationship between the identification information of the data and the elements in the value set;
[0035] Exemplarily, it is assumed that the mapping relationship between the identification information of the data and the elements in the value set is: ID1 corresponds to NULL, and ID2 corresponds to 0. If the first identification information obtained is ID2, it is determined that the element corresponding to ID2 is 0.
[0036] In some possible implementations of the embodiments of the present application, the user can set the mapping relationship between the identification information of the data and the elements in the value set. Based on this, before step 103, the data identification method provided by the embodiments of the present application may also include: setting the mapping relationship according to the setting information input by the user.
[0037] Exemplarily, taking two identification information ID1 and ID2 as examples, the user sets ID1 to correspond to NULL and sets ID2 to correspond to 0. Then the mapping relationship between the identification information of the set data and the elements in the value set is: ID1 corresponds to NULL, and ID2 corresponds to 0.
[0038] In some possible implementations of the embodiments of the present application, before step 103, the data identification method provided by the embodiments of the present application may also include: generating a random number; generating a mapping relationship according to the random number and the number of elements in the value set.
[0039] For example, a random integer y is first generated, then a random integer R1 greater than 0 and less than y is generated, and then a random number R2 is generated from 0 and 1, and the value of R2 is 0 or 1. Determine the number of elements n in the value set e , for example, the value set is {NULL, 0}, then n e is 2.
[0040] In some possible implementations of the embodiments of the present application, the value of y can be limited according to actual needs, for example, a random integer y not greater than 10 is randomly generated.
[0041] The mapping relationship between the identification information and the elements in the value set is determined according to the following formula (1):
[0042]
[0043] In formula (1), x is the serial number of the element in the value set corresponding to the identification information.
[0044] Step 104: Generate second data according to the first element and the first business semantic bit to identify the first data, wherein the semantics of the second data is the same as the semantics of the first data.
[0045] In some possible implementations of the embodiments of the present application, step 104 may include: adding the first element to the first business semantic bit of the first data to obtain the second data.
[0046] For example, the first data is ¥123.3, the first data identifier is ID2, the value set of the business semantic bit of ¥123.3 is {NULL, 0}, and the mapping relationship between the data identifier information and the elements in the value set is "ID1 corresponds to NULL, ID2 corresponds to 0".
[0047] According to the mapping relationship between the identification information of the data and the elements in the value set, it is determined that the element corresponding to ID2 is 0, and 0 is added to the business semantic bit of ¥123.3 to obtain the second data ¥123.30.
[0048] In an embodiment of the present application, by obtaining first data and first identification information of the first data; determining the first business semantic bit of the first data and the value set of the first business semantic bit according to the semantic features of the first data, wherein the first business semantic bit is a position in the first data where the semantics of the first data cannot be changed; determining the first element corresponding to the first identification information according to the mapping relationship between the identification information of the data and the elements in the value set; generating second data according to the first element and the first business semantic bit to identify the first data, wherein the semantics of the second data are the same as those of the first data. In this way, the identification of data can be achieved without changing the semantics of the data, and the abnormalities that may be caused during data processing after adding identification information to the data are avoided.
[0049] In some possible implementations of the embodiments of the present application, the data identification method provided by the embodiments of the present application may also include: obtaining multiple third data and multiple mapping relationships, wherein each mapping relationship in the multiple mapping relationships is a mapping relationship between the identification information of the data and an element in a value set of a business semantic bit; extracting the value of the second business semantic bit of each third data in the multiple third data; determining a target mapping relationship from the multiple mapping relationships based on the value of the second business semantic bit of each third data; and determining the identification information of each third data based on the target mapping relationship to trace the third data.
[0050] The process of tracing data is as follows: Figure 2 As shown, Figure 2 : is a schematic diagram of the process of tracing the source of data provided by an embodiment of the present application. The process of tracing the source of data includes the following steps:
[0051] Step 201: Acquire multiple third data and multiple mapping relationships, wherein each mapping relationship in the multiple mapping relationships is a mapping relationship between identification information of the data and an element in a value set of a business semantic bit;
[0052] Exemplarily, it is assumed that the acquired third data are: ¥123.3, ¥312.20, ¥666.40, ¥532.500 and ¥215.5 respectively.
[0053] The multiple mapping relationships are: NULL corresponds to ID1, 0 corresponds to ID2; NULL corresponds to ID2, 0 corresponds to ID1; NULL corresponds to ID1, 0 corresponds to ID2, 00 corresponds to ID3.
[0054] Step 202: extracting the value of the second service semantic bit of each third data among the plurality of third data;
[0055] In some possible implementations of the embodiments of the present application, the position in the third data where the semantics of the third data cannot be changed can be determined as the business semantic bit of the third data, and then the value of the position can be extracted to obtain the value of the business semantic bit of the third data.
[0056] For example, assuming that the acquired third data are respectively: ¥123.3, ¥312.20, ¥666.40, ¥532.500 and ¥215.5, the values of the service semantic bits of ¥123.3, ¥312.20, ¥666.40, ¥532.500 and ¥215.5 are extracted as NULL, 0, 0, 00 and NULL respectively.
[0057] Step 203: determining a target mapping relationship from a plurality of mapping relationships according to the value of the second service semantic bit of each third data;
[0058] In some possible implementations of the embodiments of the present application, step 203 may include: using each mapping relationship among multiple mapping relationships, determining the identification information corresponding to the value of the business semantic bit, and determining the target mapping relationship by the mapping relationship corresponding to the most identification information.
[0059] Exemplarily, the obtained third data are: ¥123.3, ¥312.20, ¥666.40, ¥532.500 and ¥215.5. The values of the business semantic bits of ¥123.3, ¥312.20, ¥666.40, ¥532.500 and ¥215.5 are extracted as NULL, 0, 0, 00 and NULL respectively. The multiple mapping relationships are: NULL corresponds to ID1, 0 corresponds to ID2; NULL corresponds to ID2, 0 corresponds to ID1; NULL corresponds to ID1, 0 corresponds to ID2, 00 corresponds to ID3.
[0060] By using the mapping relationship "NULL corresponds to ID1, 0 corresponds to ID2", the identification information of the four values NULL, 0, 0, 00, and NULL can be determined; by using the mapping relationship "NULL corresponds to ID2, 0 corresponds to ID1", the identification information of the four values NULL, 0, 0, 00, and NULL can be determined; by using the mapping relationship "NULL corresponds to ID1, 0 corresponds to ID2, 00 corresponds to ID3", the identification information of the five values NULL, 0, 0, 00, and NULL can be determined; the mapping relationship "NULL corresponds to ID1, 0 corresponds to ID2, 00 corresponds to ID3" is determined as the target mapping relationship.
[0061] Step 204: Determine identification information of each third data according to the target mapping relationship to trace the third data.
[0062] Exemplarily, the obtained third data are: ¥123.3, ¥312.20, ¥666.40, ¥532.500 and ¥215.5. The business semantic bit values of ¥123.3, ¥312.20, ¥666.40, ¥532.500 and ¥215.5 are extracted as NULL, 0, 0, 00 and NULL respectively. The target mapping relationship determined from the multiple mapping relationships is "NULL corresponds to ID1, 0 corresponds to ID2, 00 corresponds to ID3".
[0063] Then the identification information corresponding to ¥123.3 is ID1, the identification information corresponding to ¥312.20 is ID2, the identification information corresponding to ¥666.40 is ID2, the identification information corresponding to ¥532.500 is ID3, and the identification information corresponding to ¥215.5 is ID1. The source of the data can be known through the identification information corresponding to each data, thus realizing data traceability.
[0064] In the embodiment of the present application, by obtaining multiple third data and multiple mapping relationships, wherein each mapping relationship in the multiple mapping relationships is a mapping relationship between identification information and an element in a value set of a business semantic bit; extracting the value of the business semantic bit of each third data in the multiple third data; determining a target mapping relationship from the multiple mapping relationships according to the value of the business semantic bit of each third data; and determining the identification information of each third data according to the target mapping relationship, so as to trace the source of the third data. In this way, the identification information of each third data can be determined, and then the source of the third data can be determined according to the identification information.
[0065] Corresponding to the above method embodiment, the present application embodiment also provides a data identification device, such as Figure 3 shown. Figure 3 3 is a schematic diagram of the structure of a data identification device provided in an embodiment of the present application. The data identification device 300 may include:
[0066] A first acquisition module 301 is used to acquire first data and first identification information of the first data;
[0067] A first determination module 302 is used to determine a first business semantic bit of the first data and a value set of the first business semantic bit according to the semantic features of the first data, wherein the first business semantic bit is a position in the first data where the semantics of the first data cannot be changed;
[0068] A second determination module 303, configured to determine a first element corresponding to the first identification information according to a mapping relationship between the identification information of the data and the elements in the value set;
[0069] The first generating module 304 is used to generate second data according to the first element and the first service semantic bit to identify the first data, wherein the semantics of the second data is the same as that of the first data.
[0070] In an embodiment of the present application, by obtaining first data and first identification information of the first data; determining the first business semantic bit of the first data and the value set of the first business semantic bit according to the semantic features of the first data, wherein the first business semantic bit is a position in the first data where the semantics of the first data cannot be changed; determining the first element corresponding to the first identification information according to the mapping relationship between the identification information of the data and the elements in the value set; generating second data according to the first element and the first business semantic bit to identify the first data, wherein the semantics of the second data are the same as those of the first data. In this way, the identification of data can be achieved without changing the semantics of the data, and the abnormalities that may be caused during data processing after adding identification information to the data are avoided.
[0071] In some possible implementations of the embodiment of the present application, the first generating module 304 is specifically used to:
[0072] The first element is added to the first business semantic bit of the first data to obtain the second data.
[0073] In some possible implementations of the embodiments of the present application, the data identification device provided by the embodiments of the present application further includes:
[0074] The setting module is used to set the mapping relationship according to the setting information input by the user.
[0075] In some possible implementations of the embodiments of the present application, the data identification device provided by the embodiments of the present application further includes:
[0076] A second generation module is used to generate random numbers;
[0077] The third generation module is used to generate a mapping relationship according to the random number and the number of elements in the value set.
[0078] In some possible implementations of the embodiments of the present application, the data identification device provided in the embodiments of the present application may further include:
[0079] A second acquisition module is used to acquire a plurality of third data and a plurality of mapping relationships, wherein each of the plurality of mapping relationships is a mapping relationship between identification information of the data and an element in a value set of a business semantic bit;
[0080] An extraction module, used for extracting a value of a second business semantic bit of each third data among a plurality of third data;
[0081] A third determination module, configured to determine a target mapping relationship from a plurality of mapping relationships according to a value of a second business semantic bit of each third data;
[0082] The fourth determination module is used to determine the identification information of each third data according to the target mapping relationship to trace the third data.
[0083] In the embodiment of the present application, identification information of each third data can be determined, and then the source of the third data can be determined according to the identification information.
[0084] Figure 4 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0085] The electronic device may include a processor 401 and a memory 402 storing computer program instructions.
[0086] Specifically, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0087] Memory 402 may include a large capacity memory for data or instructions. By way of example and not limitation, memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, memory 402 may include a removable or non-removable (or fixed) medium. In appropriate cases, memory 402 may be inside or outside of an electronic device. In some specific embodiments, memory 402 is a non-volatile solid-state memory.
[0088] In some specific embodiments, the memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the data identification method according to the present application.
[0089] The processor 401 implements the steps of the data identification method provided in the embodiment of the present application by reading and executing the computer program instructions stored in the memory 402.
[0090] In one example, the electronic device may further include a communication interface 403 and a bus 410. Figure 4 As shown, the processor 401, the memory 402, and the communication interface 403 are connected via a bus 410 and communicate with each other.
[0091] The communication interface 403 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0092] The bus 410 includes hardware, software or both, coupling the components of the electronic device to each other. For example, but not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro channel architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus or other suitable buses or a combination of two or more of these. Where appropriate, the bus 410 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
[0093] The electronic device can execute the steps of the data identification method provided in the embodiment of the present application, thereby achieving the corresponding technical effects of the data identification method provided in the embodiment of the present application.
[0094] In addition, in combination with the data identification method in the above embodiment, the embodiment of the present application also provides a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, the steps of the data identification method provided in the embodiment of the present application are implemented. Examples of computer-readable storage media include non-transitory computer-readable media, such as ROM, RAM, magnetic disk or optical disk, etc.
[0095] An embodiment of the present application provides a computer program product, which includes computer program instructions. When the computer program instructions are executed by a processor, the steps of the data identification method provided in the embodiment of the present application are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0096] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0097] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link by a data signal carried in a carrier. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable read-only memory (Erasable Read Only Memory, EROM), floppy disks, compact discs (Compact Disc Read-Only Memory, CD-ROM), optical disks, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0098] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0099] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0100] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application.
Claims
1. A data identification method, characterized in that: The method comprises: Acquire first data and first identification information of the first data; Determine, according to the semantic feature of the first data, a first business semantic bit of the first data and a value set of the first business semantic bit, wherein the first business semantic bit is a position in the first data where the semantics of the first data cannot be changed; Determine, from the value set, a first element corresponding to the first identification information according to a mapping relationship between the identification information of the data and the elements in the value set; Second data is generated according to the first element and the first business semantic bit to identify the first data, wherein the semantics of the second data is the same as the semantics of the first data.
2. The method according to claim 1, characterized in that The generating second data according to the first element and the business semantic bit includes: The first element is added to the first service semantic bit to obtain the second data.
3. The method according to claim 1, characterized in that Before determining the first element corresponding to the first identification information from the value set according to the mapping relationship between the identification information of the data and the elements in the value set, the method further includes: The mapping relationship is set according to the setting information input by the user.
4. The method according to claim 1, characterized in that: Before determining the first element corresponding to the first identification information from the value set according to the mapping relationship between the identification information of the data and the elements in the value set, the method further includes: Generate random numbers; The mapping relationship is generated according to the random number and the number of elements in the value set.
5. The method according to claim 1, characterized in that The method further comprises: Acquire a plurality of third data and a plurality of mapping relationships, wherein each mapping relationship in the plurality of mapping relationships is a mapping relationship between identification information of the data and an element in a value set of a business semantic bit; Extracting a value of a second service semantic bit of each third data among the plurality of third data; Determining a target mapping relationship from the multiple mapping relationships according to a value of the second business semantic bit of each third data; According to the target mapping relationship, identification information of each third data is determined to trace the source of the third data.
6. A data identification device, characterized in that: The device comprises: A first acquisition module, used to acquire first data and first identification information of the first data; A first determination module, configured to determine, according to the semantic features of the first data, a first business semantic bit of the first data and a value set of the first business semantic bit, wherein the first business semantic bit is a position in the first data where the semantics of the first data cannot be changed; A second determining module, configured to determine, from the value set, a first element corresponding to the first identification information according to a mapping relationship between the identification information of the data and the elements in the value set; The first generating module is used to generate second data according to the first element and the first business semantic bit to identify the first data, wherein the semantics of the second data is the same as that of the first data.
7. The device according to claim 6, characterized in that The first generating module is specifically used for: The first element is added to the first service semantic bit to obtain the second data.
8. The device according to claim 6, characterized in that The device also includes: The setting module is used to set the mapping relationship according to the setting information input by the user.
9. The device according to claim 6, characterized in that The device also includes: The second generation module is used to generate random numbers; The third generating module is used to generate the mapping relationship according to the random number and the number of elements in the value set.
10. The device according to claim 6, characterized in that The device also includes: A second acquisition module is used to acquire a plurality of third data and a plurality of mapping relationships, wherein each mapping relationship in the plurality of mapping relationships is a mapping relationship between identification information of the data and an element in a value set of a business semantic bit; An extraction module, used for extracting a value of a second business semantic bit of each third data among the plurality of third data; A third determining module, configured to determine a target mapping relationship from the multiple mapping relationships according to a value of a second business semantic bit of each third data; The fourth determination module is used to determine the identification information of each third data according to the target mapping relationship, so as to trace the source of each third data.
11. An electronic device, characterized in that: The electronic device comprises: a processor and a memory storing computer program instructions; The processor reads and executes the computer program instructions to implement the steps of the data identification method according to any one of claims 1-5.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the steps of the data identification method according to any one of claims 1 to 5 are implemented.
13. A computer program product, characterized in that The computer program product comprises computer program instructions, and when the computer program instructions are executed by a processor, the steps of the data identification method according to any one of claims 1 to 5 are implemented.