Data processing method and device, medium and electronic equipment
By classifying entity attribute identifiers and performing matching and merging, the problem of entity identification accuracy and identification integration in a multi-data source environment is solved, more efficient entity identification and identification supplementation are achieved, and the accuracy of entity identification is improved.
Patent Information
- Application Number
- CN202310286650.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2024-09-24
AI Technical Summary
When performing entity recognition in a multi-data source environment, the existing technology encounters the problem that identifiers from different data sources do not recognize and merge with each other, and entity attribute identifiers from the same source generate different unique identifiers at different times, resulting in a decrease in the accuracy of entity recognition.
By classifying entity attribute identifiers, obtain exclusive entity attribute identifiers, non-exclusive entity attribute identifiers and updateable entity attribute identifiers, perform matching and merging to ensure the accuracy of entity identification, and record changes in identifiers through updateable identifiers to achieve entity attribute identification. mutual complementation and integration.
It improves the accuracy of entity recognition and the mutual recognition ability of identifiers between data sources, solves the problem of different entity attribute identifiers at different times, and improves the recognition accuracy of entities to which new data belongs.
Smart Images

Figure CN118690316A
Abstract
Description
Technical Field
[0001] The present application relates to the field of entity recognition. Specifically, embodiments of the present application relate to a method, device, medium and electronic device for data processing. Background Art
[0002] Big data collection technology obtains various types of structured, semi-structured, and unstructured massive data through RFID radio frequency data, sensor data, social network data, mobile Internet data, etc. Therefore, there are many types of data sources, the types of data are complicated, the amount of data is large, and the speed of generation is fast. For example, the collection of big data can be divided into: Web data (including web pages, videos, audio, animations, pictures, etc.), log data, database data, and other data (sensing device data, etc.).
[0003] In the field of data processing, data collected from multiple data sources are often partial attributes of an entity. How to identify which entity these data belong to and then fuse the entity attribute identifiers of the same entity is the basis for realizing data fusion.
[0004] The prior art generally uses unique entity attribute identifiers to mark confirmed entities, but the entity attribute identifiers of different data sources are generated in various ways. Therefore, there are at least two problems when using existing unique entity attribute identifiers to record confirmed entities and performing entity identification based on these data: first, data identifiers from different sources are different and cannot be recognized and integrated with each other; second, identifiers from the same source may be different at different times due to their own reasons. For example, different unique identifiers (i.e., different entity attribute identifiers) will be generated when the system or application is reinstalled. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a method, device, medium and electronic device for data processing. The embodiments of the present application can improve the accuracy of entity recognition described in the data by classifying entity attribute identifiers. On the other hand, after accessing multiple data sources, the entity attribute identifiers between the data sources can be mutually supplemented to achieve a better fusion effect. The problem of different entity attribute identifiers of the same data source at different times can be solved. The changes in the identifiers can be recorded through updateable identifiers, and ultimately the recognition accuracy of the entities to which the new data belongs can be improved.
[0006] In a first aspect, an embodiment of the present application provides a method for data processing, the method comprising: obtaining a first entity attribute identifier set of first data, wherein the first entity attribute identifier set includes at least an exclusive entity attribute identifier, and the first data is data that requires entity identification; if it is determined that the first entity in the to-be-matched entity set is a candidate matching entity to which the first data belongs, then confirming whether to use the candidate matching entity as a target entity to which the first data belongs based on the exclusive entity attribute identifier in the first entity attribute identifier set, wherein each exclusive entity attribute identifier is used to uniquely characterize a class of exclusive entity attributes of an entity.
[0007] After finding the candidate matching entity described in the first data by matching entity attribute identifiers, some embodiments of the present application also need to confirm whether the first entity can be finally confirmed as the entity to which the first data belongs in combination with the exclusive entity attribute identifier carried by the first data, so as to improve the accuracy of entity identification of the first data.
[0008] In some embodiments, the confirming whether to use the candidate matching entity as the target entity to which the first data belongs based on the exclusive entity attribute identifiers in the first entity attribute identifier set includes: if it is confirmed that the exclusive entity attribute identifiers corresponding to the exclusive entity attributes of the same class in the first entity attribute identifier set and the second entity attribute identifier set are respectively the same, then using the candidate matching entity as the target entity, wherein the second entity attribute identifier set is an entity attribute identifier set composed of all entity attribute identifiers of the first entity.
[0009] Some embodiments of the present application confirm whether a candidate matching entity can be used as the final target entity by confirming whether two exclusive entity attribute identifiers of the same type in a first entity attribute identifier set and a second entity attribute identifier set are the same, thereby improving the accuracy of distinguishing the entity described in the first data.
[0010] In some embodiments, after taking the candidate matching entity as the target entity, the method further includes: merging all non-exclusive entity attribute identifiers in the first entity attribute identifier set and the second entity attribute identifier set to obtain a target non-exclusive entity attribute identifier set, wherein an entity can be represented by multiple non-exclusive entity attribute identifiers; and taking the target non-exclusive entity attribute identifier set as an updated non-exclusive entity attribute identifier set of the first entity.
[0011] Some embodiments of the present application can improve the accuracy of entity recognition and matching of an existing entity with new data by adding non-exclusive entity attribute identifiers carried by the latest data to the existing entity.
[0012] In some embodiments, after taking the candidate matching entity as the target entity, the method further includes: merging the exclusive entity attribute identifiers included in all different types of exclusive entity attributes in the first entity attribute identifier set and the second entity attribute identifier set to obtain a target exclusive entity attribute identifier set; and taking the target exclusive entity attribute identifier set as an updated exclusive entity attribute identifier set of the first entity.
[0013] Some embodiments of the present application can improve the accuracy of entity recognition and matching of an existing entity with new data by adding exclusive entity attribute identifiers carried by the latest data to the existing entity.
[0014] In some embodiments, after taking the candidate matching entity as the target entity, the method further includes: updating the updateable entity attribute identifiers of the same class in the second entity attribute identifier set by the updateable entity attribute identifiers in the first entity attribute identifier set to obtain the target updateable entity attribute identifier; and taking the target updateable entity attribute identifier as the target updateable entity attribute identifier set for the first entity.
[0015] Some embodiments of the present application can improve the accuracy of entity recognition matching of the existing entity with new data by modifying the corresponding updateable entity attribute identifier in an existing entity with the updateable entity attribute identifier carried in the latest data.
[0016] After taking the candidate matching entity as the target entity, the method further includes: receiving second data, wherein the second data is data that requires entity recognition; and confirming whether to take the first entity as a candidate matching entity for the second data based on an updated non-exclusive entity attribute identifier set of the first entity, an updated exclusive entity attribute identifier set of the first entity, and a target updatable entity attribute identifier of the first entity.
[0017] Some embodiments of the present application use updated entity attribute identifiers to match new data to be subject to entity recognition, so as to determine the accuracy of candidate matching entity recognition.
[0018] In some embodiments, determining that a first entity in the set of entities to be matched is a candidate matching entity for the first data includes: if it is confirmed through traversal that an entity attribute identifier of the first entity in the set of entities to be matched matches an entity attribute identifier in the first entity attribute identifier set, then determining that the first entity is a candidate matching entity for the first data.
[0019] Some embodiments of the present application determine whether there are candidate matching entities in the set of entities to be matched based on the number of entities that match the data to be identified as entities, thereby improving the accuracy of entity judgment.
[0020] In some embodiments, the method also includes: if it is determined through traversal that there is no candidate matching entity for the first data in the set of entities to be matched, then adding a second entity corresponding to the first data to the set of entities to be matched, and using all entity attribute identifiers in the first entity attribute identifier set as all entity attribute identifiers of the second entity.
[0021] In some embodiments of the present application, if no candidate matching entity is found in the set of entities to be matched, the entity corresponding to the data is inserted into the set of entities to be matched as a new entity to improve the accuracy of subsequent entity recognition.
[0022] In some embodiments, the method further includes: if it is determined that the entity attribute identifiers of at least two entities in the to-be-matched entity set respectively match the entity attribute identifiers in the first entity attribute identifier set, providing information that entity recognition has failed.
[0023] Some embodiments of the present application will identify the situation where both entities belong to the entity to which the first data belongs, as a situation where entity recognition fails, and then the data can be analyzed with the help of other methods to improve the accuracy of subsequent entity recognition of the data.
[0024] In some embodiments, the entity attribute identifiers of each entity in the set of entities to be matched belong to one of the following categories: at least one category of exclusive entity attributes, non-exclusive entity attributes, and at least one category of updateable entity attributes. All entity attribute identifiers of each entity can be used as entity attribute identifiers to be matched, and the entity attribute identifiers to be matched are used to search for the candidate matching entity from the set of entities to be matched.
[0025] In some embodiments, the obtaining of the entity attribute identifier of the first data includes: extracting all entity attributes from the first data; and normalizing the entity attributes to obtain the entity attribute identifier.
[0026] Some embodiments of the present application can improve the versatility of the technical solution by normalizing the extracted entity attributes.
[0027] In a second aspect, some embodiments of the present application provide a data processing device, the device comprising: an entity attribute identifier extraction module, configured to obtain a first entity attribute identifier set of first data, wherein the first entity attribute identifier set includes at least an exclusive entity attribute identifier, and the first data is data that requires entity recognition; a target entity recognition module, configured to, if it is determined that the first entity in the to-be-matched entity set is a candidate matching entity to which the first data belongs, confirm whether to use the candidate matching entity as a target entity to which the first data belongs based on the exclusive entity attribute identifier in the first entity attribute identifier set, wherein each exclusive entity attribute identifier is used to uniquely characterize a class of exclusive entity attributes of an entity.
[0028] In some embodiments, the device further includes: an attribute data updating module, configured to: merge all non-exclusive entity attribute identifiers in the first entity attribute identifier set and the second entity attribute identifier set to obtain a target non-exclusive entity attribute identifier set, wherein an entity can be represented by multiple non-exclusive entity attribute identifiers; use the target non-exclusive entity attribute identifier set as an updated non-exclusive entity attribute identifier set of the first entity; or, merge all exclusive attribute identifiers included in all different types of exclusive entity attributes in the first entity attribute identifier set and the second entity attribute identifier set to obtain a target exclusive entity attribute identifier set; use all exclusive entity attribute identifiers in the target exclusive entity attribute identifier set as exclusive entity attribute identifiers of the target entity; or, update the updateable entity attribute identifier of the same category in the second entity attribute identifier set by the updateable entity attribute identifier in the first entity attribute identifier set to obtain a target updateable entity attribute identifier; use the target updateable entity attribute identifier as the updateable entity attribute identifier of the target entity.
[0029] In a third aspect, some embodiments of the present application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, can implement the method described in any embodiment of the first aspect.
[0030] In a fourth aspect, some embodiments of the present application provide an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, can implement the method described in any embodiment of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0032] Figure 1 A schematic diagram of the architecture of an entity recognition system provided in an embodiment of the present application;
[0033] Figure 2 One of the flowcharts of the data processing method provided in the embodiment of the present application;
[0034] Figure 3 The second flowchart of the data processing method provided in the embodiment of the present application;
[0035] Figure 4 The third schematic diagram of data processing from multiple data sources provided in the embodiment of the present application;
[0036] Figure 5 A fourth schematic diagram of data processing from multiple data sources provided in an embodiment of the present application;
[0037] Figure 6 One of the component block diagrams of the device for processing data from multiple data sources provided in an embodiment of the present application;
[0038] Figure 7 The second block diagram of the data processing device provided in the embodiment of the present application;
[0039] Figure 8 A schematic diagram of the composition of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0041] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0042] At least in order to solve the problems in the background technology part, some embodiments of the present application implement entity identification by defining a set of entity attribute identifiers (i.e., entity attribute identifier sets) for data from different data sources. It can be understood that there are always some special attributes for entities that can be used to identify entities, which are referred to as entity attribute identifiers in this application. Each data source in some embodiments of the present application can be characterized by multiple entity attribute identifiers. Some embodiments of the present application divide all entity attribute identifiers into the following categories: exclusive entity attributes, non-exclusive entity attributes, and updatable entity attributes, among which exclusive entity attributes can be divided into multiple categories, and updatable entity attributes can also be divided into multiple categories. In the embodiments of the present application, if an entity attribute identifier belongs to a certain type of exclusive entity attribute, then the identifier can also be called an exclusive entity attribute identifier, if an entity attribute identifier belongs to a non-exclusive entity attribute, then the identifier can be called a non-exclusive entity attribute identifier, and if an entity attribute identifier belongs to a certain type of updatable entity attribute, then the identifier can also be called an updatable entity attribute identifier.
[0043] The meanings of exclusive entity attribute identifiers, non-exclusive entity attribute identifiers, and updateable entity attribute identifiers are explained below by way of example.
[0044] Exclusive entity attribute identifier, this entity attribute identifier has one and only one entity, as long as this attribute is different, it must belong to different entities. For example, when the entity is a person, the ID card number can be used as a type of exclusive entity attribute identifier, which means that one person is not allowed to have two different ID card numbers. It should be noted that in some embodiments of the present application, the exclusive entity attribute identifier is classified, and only the exclusive entity attribute identifier of the same class is exclusive, that is, if the two exclusive entity attribute identifiers are different for the same type of exclusive entity attributes, the two entities must be different. For example, when the entity is a person, the ID card is used as a type of entity attribute attribute. If the ID card numbers (i.e., exclusive entity attribute identifiers) of two people's ID cards are different, the two people belong to two different entities. The ID card and the telephone number belong to two types of exclusive entity attributes, and these two different types of exclusive entity attributes are not exclusive. That is, even if the ID card numbers (belonging to the first type of exclusive entity attribute identifier) and the telephone numbers (belonging to the second type of exclusive entity attribute identifier) of different people are different, two people may also belong to one entity. It is not difficult to understand that there is no exclusivity between the ID cards and telephone numbers of different people. That is to say, for the same type of exclusive entity attributes, the exclusive entity attribute identification numbers of the same entity are the same. If two exclusive entity attribute identification numbers appear for the same type of exclusive entity attributes of the same entity, it is considered that the entity recognition is wrong. In some embodiments of the present application, if multiple entities are matched, it is considered a matching conflict. Generally speaking, there is a problem with the data source, or there is a problem with the existing data, and manual intervention is required, such as deleting expired or incorrect identification numbers.
[0045] Non-exclusive entity attribute identifiers can be used to identify entities, but an entity can have multiple non-exclusive entity attribute identifiers. For example, the entity is a person, and the mobile phone number belongs to a non-exclusive entity attribute. This non-exclusive entity attribute can correspond to multiple non-exclusive attribute identifiers, that is, each person can have multiple mobile phone numbers. In other words, the same entity can be represented by multiple exclusive entity attribute identifiers.
[0046] Updatable entity attribute identifiers, this entity attribute identifier will change at different times, but there is only one in a period of time, such as the DHCP address of a device in a specified network segment. Updatable entity attribute identifiers also have different categories, and one updatable entity attribute identifier can only update another updatable entity attribute identifier of the same type. It should be noted that the updatable entity attribute identifier has a certain duration, during which it can be used to update the same type of updatable entity attribute identifier of the corresponding entity. For example, the DHCP IP address (belonging to a type of updatable entity attribute) is stable over a period of time and can be used for entity identification. If the corresponding updatable entity attribute identifier changes, it must be updated in a timely manner.
[0047] It should be noted that the entity of some embodiments of the present application refers to something that can exist independently and serves as the basis of all attributes and the origin of all things. The essence of an entity refers to an independent individual. The core of entity recognition is to distinguish individuals. Two different individuals cannot be regarded as one, nor can one individual be regarded as two different individuals. Factors such as incomplete observations, observation errors, and external interference may cause deviations in the observation results. The purpose of entity recognition is to find the entity to which the data belongs based on incomplete and possibly erroneous data. For example, an entity in the present application can be a physically existing person, an item, a device, or a virtual software, an account, etc. It can also be an event or a performance.
[0048] Please see Figure 1 , Figure 1 The entity recognition system provided in the embodiment of the present application includes a server 100 and multiple terminals, for example, Figure 1 The multiple terminals exemplarily include a first terminal 101, a second terminal 102 and a third terminal 103.
[0049] The first terminal 101 , the second terminal 102 , and the third terminal 103 can generate data of various data sources that need to be entity identified.
[0050] The server 100 receives data from various data sources, and uses the data processing methods provided in some embodiments of the present application to identify the entity to which each data belongs.
[0051] It is understandable that the terminal may be any electronic device such as a computer, a notebook computer or a mobile phone.
[0052] Combine the following Figure 2 The method of data processing performed by the server 100 is explained as an example.
[0053] like Figure 2 As shown, some data processing methods provided in this application include:
[0054] S101, obtaining a first data first entity attribute identifier set.
[0055] It should be noted that the first entity attribute identifier set includes at least exclusive entity attribute identifiers, and the first data is data that needs to be entity identified, such as data from a first data source.
[0056] S102: If it is determined that the first entity in the set of entities to be matched is a candidate matching entity to which the first data belongs, confirm whether to use the candidate matching entity as the target entity to which the first data belongs based on the exclusive entity attribute identifier in the first entity attribute identifier set, wherein each exclusive entity attribute identifier is used to uniquely characterize a class of exclusive entity attributes of an entity.
[0057] It should be noted that the entity attribute identifiers of each entity in the set of entities to be matched belong to one of the following categories: at least one category of exclusive entity attributes, non-exclusive entity attributes and at least one category of updateable entity attributes. All entity attribute identifiers of each entity can be used as entity attribute identifiers to be matched, and the entity attribute identifiers to be matched are used to search for the candidate matching entity from the set of entities to be matched.
[0058] After finding the candidate matching entity described in the first data by matching entity attribute identifiers, some embodiments of the present application also need to confirm whether the first entity can be finally confirmed as the entity to which the first data belongs in combination with the exclusive entity attribute identifier carried by the first data, so as to improve the accuracy of entity identification of the first data.
[0059] The implementation process of S101 is described below by way of example.
[0060] For example, in some embodiments of the present application, the process of obtaining the entity attribute identifier of the first data in S101 exemplarily includes: extracting all entity attributes from the first data; and normalizing the entity attributes to obtain the entity attribute identifier. In some embodiments of the present application, the versatility of the technical solution can be improved by normalizing the extracted entity attributes.
[0061] The implementation process of S102 is described below by way of example.
[0062] For example, in some embodiments of the present application, the process of determining that the first entity in the set of entities to be matched is a candidate matching entity for the first data in S102 exemplarily includes: if it is confirmed through traversal that there is only one entity in the set of entities to be matched whose entity attribute identifier matches the entity attribute identifier in the first entity attribute identifier set, then the one entity is the first entity. In other words, if it is confirmed through traversal that the entity attribute identifier of the first entity in the set of entities to be matched matches the entity attribute identifier in the first entity attribute identifier set, then the first entity is determined to be a candidate matching entity for the first data. It should be noted that by traversing the entity attribute identifiers of each entity in the set of entities to be matched, it is found that only the entity attribute identifier of the first entity matches the entity attribute identifier in the first entity attribute identifier set, then the first entity is confirmed to be a candidate matching entity for the first data.
[0063] That is, S102 can find the first entity by traversing each entity in the set of entities to be matched one by one. For example, in some embodiments of the present application, in the process of obtaining candidate matching entities from the set of entities to be matched, all entity attribute identifiers in the first entity attribute identifier set can be matched one by one with the entity attribute identifiers of each entity in the set of entities to be matched, and if a matching entity is found, the matching entity can be used as a candidate matching entity.
[0064] Some embodiments of the present application determine whether there are candidate matching entities in the set of entities to be matched based on the number of entities that match the data to be identified as entities, thereby improving the accuracy of entity judgment.
[0065] For example, in some embodiments of the present application, the process of confirming whether to use the candidate matching entity as the target entity to which the first data belongs according to the exclusive entity attribute identifier in the first entity attribute identifier set in S102 exemplarily includes: if it is confirmed that the exclusive entity attribute identifiers corresponding to the exclusive entity attributes of the same class in the first entity attribute identifier set and the second entity attribute identifier set are respectively the same, then using the candidate matching entity as the target entity, wherein the second entity attribute identifier set is an entity attribute identifier set consisting of all entity attribute identifiers of the first entity.
[0066] It should be noted that, in some embodiments of the present application, the process of confirming whether to use the candidate matching entity as the target entity to which the first data belongs according to the exclusive entity attribute identifier in the first entity attribute identifier set in S102 exemplarily includes: confirming that none of the relevant exclusive entity attribute identifiers in the first attribute identifier set conflict with the exclusive entity attribute identifier of the first entity, then the candidate matching entity can be used as the target entity. In other words, if it is confirmed that at least one type of exclusive entity attribute identifier in the first entity attribute identifier set is inconsistent with the identifier of the exclusive entity attribute identifier of the corresponding category in the second attribute identifier set, then the candidate matching entity is not used as the target entity. It can be understood that in some embodiments of the present application, any type of exclusive entity attribute identifier in the first attribute identifier set is either the same as the specific identifier of the exclusive entity attribute identifier of the corresponding class of the first entity, or the first entity does not have an exclusive attribute identifier of the corresponding class, then it can be confirmed that there is no conflict, that is, the candidate matching entity can be used as the target entity corresponding to the corresponding data.
[0067] Some embodiments of the present application confirm whether a candidate matching entity can be used as the final target entity by confirming whether two exclusive entity attribute identifiers of the same type in a first entity attribute identifier set and a second entity attribute identifier set are the same, thereby improving the accuracy of distinguishing the entity described in the first data.
[0068] It should be noted that in order to improve the accuracy of entity recognition, some embodiments of the present application need to merge various entity attribute identifiers of the same entity in real time. The following uses exclusive entity attributes, non-exclusive entity attributes, and more detailed entity attributes as examples to illustrate the process of correcting various entity attribute identifiers.
[0069] In order to enrich the number of non-exclusive entity attribute class identifiers included in the first entity, it is necessary to merge the non-exclusive entity attribute identifiers carried by the new data. In some embodiments of the present application, after the candidate matching entity is used as the target entity in S102, the method further includes: merging all non-exclusive entity attribute identifiers in the first entity attribute identifier set and the second entity attribute identifier set to obtain a target non-exclusive entity attribute identifier set, wherein an entity can be represented by multiple non-exclusive entity attribute identifiers; and using the target non-exclusive entity attribute identifier set as an updated non-exclusive entity attribute identifier set of the first entity.
[0070] For example, the first entity attribute identifier set includes a first non-exclusive entity attribute identifier and a second non-exclusive entity attribute identifier, and the second entity attribute identifier set includes a third non-exclusive entity attribute identifier and a fourth non-exclusive entity attribute identifier. After merging all non-exclusive entity attribute identifiers in the first entity attribute identifier set and the second entity attribute identifier set, the target non-exclusive entity attribute identifier set includes: the first non-exclusive entity attribute identifier, the second non-exclusive entity attribute identifier, the third non-exclusive entity attribute identifier, and the fourth non-exclusive entity attribute identifier. It can be understood that the non-exclusive entity attributes of the updated non-exclusive entity attribute identifier set of the first entity include the following non-exclusive entity attribute identifiers: the first non-exclusive entity attribute identifier, the second non-exclusive entity attribute identifier, the third non-exclusive entity attribute identifier, and the fourth non-exclusive entity attribute identifier.
[0071] Some embodiments of the present application can improve the accuracy of entity recognition and matching of an existing entity with new data by adding non-exclusive entity attribute identifiers carried by the latest data to the existing entity.
[0072] In order to enrich the number of identifiers included in each type of exclusive entity attribute included in the first entity, it is necessary to merge the various types of exclusive entity attribute identifiers carried by the new data. In some embodiments of the present application, after the candidate matching entity is used as the target entity in S102, the method further includes: merging the exclusive entity attribute identifiers included in all different types of exclusive entity attributes in the first entity attribute identifier set and the second entity attribute identifier set to obtain a target exclusive entity attribute identifier set; and using the target exclusive entity attribute identifier set as the updated exclusive entity attribute identifier set of the first entity.
[0073] For example, the first entity attribute identifier set includes a first type of exclusive entity attribute (the corresponding identifier is the first exclusive entity attribute identifier), a second type of exclusive entity attribute (the corresponding identifier is the second exclusive entity attribute identifier), and the second entity attribute identifier set includes a third type of exclusive entity attribute (the corresponding identifier is the third exclusive entity attribute identifier). After merging the exclusive entity attribute identifiers included in all different types of exclusive entity attributes in the first entity attribute identifier set and the second entity attribute identifier set, the target exclusive entity attribute identifier set includes: the first exclusive entity attribute identifier corresponding to the first type of exclusive entity attribute, the second exclusive entity attribute identifier corresponding to the second type of exclusive entity attribute, and the third exclusive entity attribute identifier corresponding to the third type of exclusive entity attribute. It can be understood that the non-exclusive entity attributes of the updated non-exclusive entity attribute identifier set of the first entity include the following non-exclusive entity attribute identifiers: the first exclusive entity attribute identifier, the second exclusive entity attribute identifier, and the third exclusive entity attribute identifier.
[0074] Some embodiments of the present application can improve the accuracy of entity recognition and matching of an existing entity with new data by adding exclusive entity attribute identifiers carried by the latest data to the existing entity.
[0075] In order to enrich the number of identifiers included in each type of updateable entity attribute included in the first entity, it is necessary to merge the various types of updateable entity attribute identifiers carried by the new data. In some embodiments of the present application, after taking the candidate matching entity as the target entity in S102, the method further includes: updating the updateable entity attribute identifier of the same type in the second entity attribute identifier set by the updateable entity attribute identifier in the first entity attribute identifier set to obtain the target updateable entity attribute identifier; taking the target updateable entity attribute identifier as the target updateable entity attribute identifier set of the first entity.
[0076] For example, the first entity attribute identifier set includes a first type of updateable entity attribute (corresponding identifier is the first updateable entity attribute identifier), a second type of updateable entity attribute (corresponding identifier is the second updateable entity attribute identifier), and the second entity attribute identifier set includes a second type of updateable entity attribute (corresponding identifier is the third updateable entity attribute identifier). After the updateable entity attribute identifiers of the same type in the second entity attribute identifier set are updated by the updateable entity attribute identifiers in the first entity attribute identifier set, the target exclusive entity attribute identifier set includes: the second updateable entity attribute identifier corresponding to the second type of updateable entity attribute. It can be understood that the target updateable entity attribute identifier set of the first entity is: the second updateable entity attribute identifier.
[0077] Some embodiments of the present application can improve the accuracy of entity recognition matching of the existing entity with new data by modifying the corresponding updateable entity attribute identifier in an existing entity with the updateable entity attribute identifier carried in the latest data.
[0078] It is understandable that the entity attribute identifier of the first entity is adjusted by adopting the above-mentioned merging and updating method. If there is new data that needs to be identified, the updated entity attribute identifier needs to be used for entity identification.
[0079] For example, in some embodiments of the present application, after S102, the method further includes: receiving second data, wherein the second data is data that requires entity identification; and confirming whether to use the first entity as a candidate matching entity for the second data based on an updated non-exclusive entity attribute identifier set of the first entity, an updated exclusive entity attribute identifier set of the first entity, and a target updatable entity attribute identifier of the first entity.
[0080] Some embodiments of the present application use updated entity attribute identifiers to match new data to be subject to entity recognition, so as to determine the accuracy of candidate matching entity recognition.
[0081] It is understandable that some embodiments of the present application have multiple technical solutions parallel to S102, including a technical solution if no matching entity is found by traversing each entity in the set of entities to be matched, that is, no candidate matching entity is found, and a technical solution if two matching entities are found by traversing each entity in the set of entities to be matched. The implementation process of these two types of technical solutions is exemplified below.
[0082] For example, in some embodiments of the present application, the method further includes: if it is determined through traversal that there is no candidate matching entity for the first data in the set of entities to be matched, then a second entity corresponding to the first data is added to the set of entities to be matched, and all entity attribute identifiers in the first entity attribute identifier set are used as all entity attribute identifiers of the second entity. It should be noted that, by traversing the entity attribute identifiers of each entity in the set of entities to be matched, if it is found that no entity attribute identifier matches the entity attribute identifier in the first entity attribute identifier set, it is considered that there is no candidate matching entity for the first data in the set of entities to be matched.
[0083] In some embodiments of the present application, if no candidate matching entity is found in the set of entities to be matched, the entity corresponding to the data is inserted into the set of entities to be matched as a new entity to improve the accuracy of subsequent entity recognition.
[0084] For example, in some embodiments of the present application, the method further includes: if it is determined that there are at least two entities in the entity set to be matched whose entity attribute identifiers respectively match the entity attribute identifiers in the first entity attribute identifier set, then information on entity recognition failure is provided. It should be noted that by traversing the entity attribute identifiers of each entity in the entity set to be matched, it is found that the entity attribute identifiers of two entities both match the entity attribute identifiers in the first entity attribute identifier set, then it is considered that the first data belongs to two entities at the same time. Obviously, this entity recognition process has failed. In some embodiments of the present application, the first data can be stored in a conflict database for further processing.
[0085] Some embodiments of the present application will identify the situation where both entities belong to the entity to which the first data belongs, as a situation where entity recognition fails, and then the data can be analyzed with the help of other methods to improve the accuracy of subsequent entity recognition of the data.
[0086] Combine the following Figure 3 and Figure 4The data processing method of some embodiments of the present application is exemplarily described. The data processing method of some embodiments of the present application is composed of Figure 4 data processing system.
[0087] like Figure 3 The data processing system includes: an ETL engine module 301, a standardization module 302, a first identification matching module 303, a normalized entity module 304, a second identification matching module 305, an identification library 307, an entity library 308 and a conflict library 306.
[0088] Figure 3 Data processing systems connect to different data sources (e.g. Figure 3 The first data source 311, the second data source 112, the third data source 113 and the fourth data source 114) are processed into standardized entity data by the ETL engine module, and the normalized identifier is extracted according to the settings of different data sources (the entity attribute identifier is obtained), and then the target entity belonging to each input data source is obtained after the first identifier matching module 303 and the second identifier matching module 305 are compared with the entity attribute identifiers of the known entities in the existing identifier library 307, and written into the entity library 308. For the conflicting entities, they are written into the conflict library 306 and wait for manual processing and resolution. It should be noted that the first identifier matching module 303 is used to perform a comparison and match between the entity attribute identifiers of each data source data (i.e., the data that needs to be entity identified) and the entity attribute identifiers of the existing entities (i.e., each entity in the entity set to be matched) to find the candidate matching entity; then, the exclusive attribute identifier of the candidate matching entity is compared with the exclusive attribute identifier corresponding to each data source data for comparison and matching, so as to finally determine whether the candidate matching entity can be used as the target entity belonging to the corresponding data source.
[0089] The first step is data standardization.
[0090] Figure 3 The standardization module 302 performs standardization processing on the data input from each data source.
[0091] The second step is to extract the normalized identifier (i.e. entity attribute identifier)
[0092] Entity attributes are extracted from the standardized data, and the extracted entity attributes are normalized to obtain entity attribute identifiers.
[0093] The third step is to compare all normalized identifiers with existing entity identifiers (i.e. entity attribute identifiers)
[0094] The entity attribute identifier corresponding to the data source is compared and matched with the entity attribute identifier (stored in the identifier library 307) of the existing entity (i.e., each entity in the entity set to be matched, stored in the entity library 308). In other words, after the data from different data sources are standardized, the normalized identifier (i.e., the entity attribute identifier) is extracted and matched one by one with the original identifier of the system (the entity attribute identifier of the existing entity), and the matching rules are:
[0095] First, when an entity is matched, normalization is performed, and the normalized identifiers are merged (i.e., the entity attribute identifiers are merged), and the updateable identifiers are updated.
[0096] In some embodiments of the present application, when an entity is matched, it is necessary to confirm that the entity attribute identifier of the input data source matches the entity attribute identifier of a certain entity (the entity is used as a candidate matching entity), and further, the exclusive entity attribute identifier corresponding to the same type of exclusive entity attribute in the data source is the same as the exclusive entity attribute identifier corresponding to the entity, then the entity is considered to be a target entity. Then, the identifiers corresponding to the various entity attributes carried by the data source are merged with the entity attribute identifier corresponding to the entity.
[0097] Fusion of entities and manipulation of normalized identifiers include: first, merging non-exclusive normalized identifiers (i.e., merging the target entity with the non-exclusive entity attribute identifiers of the input data source); second, adding new non-conflicting exclusive identifiers (i.e., using the exclusive entity attribute identifier corresponding to the new type of exclusive entity attribute corresponding to the data that requires entity identification as the exclusive entity attribute identifier of the target entity); third, updating the existing updateable identifiers (i.e., using the updateable entity attribute identifier carried by the input data source to update the identifier corresponding to the same type of updateable entity attribute corresponding to the target entity). For the specific fusion process, you can refer to the above reference to obtain the updated exclusive entity attribute identifier set of the first entity, the updated non-exclusive entity attribute identifier set of the first entity, and the target updateable entity attribute identifier set of the first entity. To avoid repetition, we will not elaborate on this.
[0098] Second, if no entity is matched, it is stored as a new entity and its normalized identifier is recorded.
[0099] That is, if no candidate matching entity matching a certain input data source is found or a target entity that meets the conditions is found, then the entity corresponding to the data source is stored in the entity library as a new entity and the corresponding entity attribute identifiers are classified and stored in the identifier library.
[0100] Third, if multiple entities are matched, it is a multiple match conflict and enters the pending items, which requires manual intervention.
[0101] That is to say, if multiple entities belonging to the data source are found, it is determined to be a conflict, that is, entity recognition fails, and the data of the corresponding data source can be stored in the conflict library for further processing.
[0102] Fourth, if an entity is matched but the exclusive identifiers of the two entities are different, it is an exclusive identifier conflict and enters the pending matter.
[0103] That is, if there is a candidate matching entity of a certain type of data source, but a certain type of exclusive entity attribute identifier of the candidate matching entity is different from the exclusive entity attribute identifier corresponding to the exclusive attribute of the input data source, then the entity recognition process fails. The data can be stored in the conflict library for further processing.
[0104] Combine the following Figure 5 The process of fusing the identifiers of various entities is described by way of example.
[0105] When performing entity identification on the first data source 311, a class A exclusive entity attribute and a non-exclusive entity attribute are extracted from the data corresponding to the data source, wherein the exclusive entity attribute corresponding to the class A exclusive entity attribute is identified as A1, and the non-exclusive entity attribute corresponding to the non-exclusive entity attribute is identified as F1. If the target entity is not found after matching with the entity attribute identifiers of each entity in the entity set to be matched, the entity corresponding to the first data source is stored in the entity library as a new entity and the identifier A1 corresponding to the class A exclusive entity attribute of the new entity and the non-exclusive entity attribute identifier F1 are matched in the identifier library.
[0106] When performing entity identification on the second data source 312, a type A exclusive entity attribute and a non-exclusive entity attribute are extracted from the data corresponding to the data source, wherein the exclusive entity attribute identifier corresponding to the type A exclusive entity attribute is A1, and the non-exclusive entity attribute identifier corresponding to the non-exclusive entity attribute is F2. After matching with the entity attribute identifiers of each entity in the entity set to be matched (stored in the entity library), it is concluded that there is a matching item between the entity attribute identifier of the data source and the first entity (i.e., entity 1) corresponding to the first data source. The first entity is then used as a candidate matching entity for the data of the second data source. After that, the identifier corresponding to the type A exclusive entity attribute of the second data source is compared with the identifier corresponding to the type A exclusive entity attribute of the first entity. If both exclusive entity attribute identifiers are A1, it is confirmed that the first entity can be used as the target entity of the second data source. Therefore, the entity attribute identifier of the first entity is merged with the entity attribute identifier corresponding to the data of the second data source. After the fusion, the non-exclusive entity attribute identifier F2 corresponding to the data of the second data source can be used as an exclusive entity attribute identifier of the first entity. Figure 5As shown, the exclusive entity attribute of type A corresponding to the normalized entity 1 includes an exclusive entity attribute identifier A1, a non-exclusive entity attribute identifier F1, and a non-exclusive entity attribute identifier F2.
[0107] When performing entity identification on the third data source 313, a class A exclusive entity attribute and a non-exclusive entity attribute are obtained from the data corresponding to the third data source, wherein the exclusive entity attribute identifier corresponding to the class A exclusive entity attribute is A2, and the non-exclusive entity attribute identifier corresponding to the non-exclusive entity attribute is F2. After matching with the entity attribute identifiers of each entity in the entity set to be matched (stored in the entity library), it is obtained that there is a matching item between the entity attribute identifier of the data source and the first entity (i.e., entity 1) corresponding to the first data source (specifically, the non-exclusive entity attribute identifiers are not F2), and the first entity is used as the candidate matching entity described in the data of the third data source. After that, the identifier corresponding to the class A exclusive entity attribute of the third data source (the exclusive entity attribute identifier is A2) is compared with the identifier corresponding to the class A exclusive entity attribute of the first entity (the exclusive entity attribute identifier is A1), and it is found that the two exclusive entity attribute identifiers are different, then it is determined that the entity cannot be used as the target entity belonging to the third data source, and a conflict is generated. The data corresponding to the third data source can be stored in the conflict library for further processing.
[0108] When performing entity recognition on the fourth data source 314, a class A exclusive entity attribute and a non-exclusive entity attribute are obtained from the data corresponding to the fourth data source, wherein the exclusive entity attribute corresponding to the class A exclusive entity attribute is identified as A2, and the non-exclusive entity attribute is identified as F4. After matching with the entity attribute identifiers of each entity in the entity set to be matched (stored in the entity library), it is found that the entity attribute identifier corresponding to the data source does not match the entity attribute identifiers of each entity in the entity library, then the data corresponding to the data source is stored as a new entity. Note that the entity of the third data source that arrived first is not stored in the entity library as a to-be-matched entity in the to-be-matched entity set due to the conflict, so all entity attribute identifiers in the to-be-matched entity set do not include the exclusive entity attribute identifier A2.
[0109] When performing entity recognition on the data corresponding to the fifth data source 315, two non-exclusive entity attributes are obtained from the data corresponding to the fifth data source, wherein the non-exclusive entity attribute identifiers corresponding to the two non-exclusive entity attributes are F2 and F4, respectively. After matching with the entity attribute identifiers of each entity in the entity set to be matched (stored in the entity library), it is found that the entity attribute identifier corresponding to the data source successfully matches two different entities in the entity library, and it is determined that the target entity to which the data corresponding to the data source belongs is not found, resulting in a multiple matching conflict. The data related to the data source can be stored in the conflict library, and after further processing, the relevant matching is performed again through the second identifier matching module.
[0110] Combine the following Figure 6 The updateable identification fusion process (ie, update) of the same entity in some embodiments of the present application is exemplarily described.
[0111] Based on the above Figure 5 The detailed description of the example only focuses on the updating process of the updateable entity identifier, and does not elaborate on the process of identifying candidate matching entities and target entities.
[0112] The data from the first data source 311 arrives, and after comparing the entity attribute identifiers, it is confirmed that the data belongs to the first entity, i.e., entity 1, and the updateable entity attribute identifier corresponding to the U-type updateable entity attribute of the entity is recorded as U1. The data from the second data source arrives, and it is found that the U-type updateable entity attribute corresponding to the data source is the same as the updateable entity attribute of the first entity, so the first entity is used as a candidate matching entity for the data source data. Since the second data source data does not carry any class exclusive entity attributes, the first entity can be used as the target entity for the second data source data. Then, the entity attribute identifier of the first entity is merged, and specifically, the non-exclusive entity attribute identifier F6 corresponding to the second data source is added to the first entity. At this time, the entity attribute identifiers corresponding to the first entity are: identifier A3 corresponding to the A-type exclusive entity attribute, non-exclusive entity attribute identifier F6, and identifier U1 corresponding to the U-type updateable attribute. The data from the third data source 313 arrives, and a candidate matching entity is found according to the exclusive entity attribute identifier A3 of the A-type exclusive entity attribute corresponding to the data source, and the entity is used as the target entity after confirming the exclusive entity attribute. Then, the U-type updatable entity attribute identifier corresponding to the fourth data source is used to refresh the updatable entity attribute identifier of the first entity, and the identifier is changed from U1 to U2. At this time, the entity attribute identifiers corresponding to the first entity are: identifier A3 corresponding to the A-type exclusive entity attribute, non-exclusive entity attribute identifier F6, and identifier U2 corresponding to the U-type updatable attribute; when data from the fourth data source arrives, the target entity to which the data belongs is found to be the first entity according to the U-type updatable entity identifier, and then the attribute identifiers of the first entity are merged, and the non-exclusive entity attribute identifier F7 corresponding to the fourth data source is used as the non-exclusive entity attribute identifier of the first entity. At this time, the entity attribute identifiers corresponding to the first entity are: identifier A3 corresponding to the A-type exclusive entity attribute, non-exclusive entity attribute identifiers F6 and F7, and identifier U2 corresponding to the U-type updatable attribute.
[0113] It is understandable that some embodiments of the present application classify multiple entity attribute identifiers, and after accessing multiple data sources, the entity attribute identifiers between the data sources complement each other to achieve a better fusion effect. Through the joint normalization of other data sources, the problem of different identifiers of the same data source at different times can be solved, and the changes in identifiers can be recorded through updateable identifiers. Through the operation of entity attribute identifiers, conflicting entity attribute identifiers are handled, expired identifiers and erroneous identifiers are eliminated, and manually operated identifiers are recorded as the highest priority data source with the same rules. In this way, the identifiers after manual operation can directly affect the subsequent continuous automatic normalization and fusion.
[0114] Please refer to Figure 7 , Figure 7 The data processing device provided in the embodiment of the present application is shown. It should be understood that the device is similar to the above-mentioned Figure 2 The method embodiment corresponds to the method embodiment and can execute each step involved in the above method embodiment. The specific functions of the device can be found in the description above. To avoid repetition, the detailed description is appropriately omitted here. The device includes at least one software function module that can be stored in the memory in the form of software or firmware or solidified in the operating system of the device. The data processing device includes: an entity attribute identification extraction module 701 and a target entity recognition module 702.
[0115] The entity attribute identifier extraction module is configured to obtain a first entity attribute identifier set of first data, wherein the first entity attribute identifier set includes at least exclusive entity attribute identifiers, and the first data is data requiring entity identification.
[0116] The target entity identification module is configured to confirm whether to use the candidate matching entity as the target entity to which the first data belongs based on the exclusive entity attribute identifier in the first entity attribute identifier set if it is determined that the first entity in the set of entities to be matched is a candidate matching entity to which the first data belongs, wherein each exclusive entity attribute identifier is a class of exclusive entity attributes used to uniquely characterize an entity.
[0117] In some embodiments of the present application, the device also includes: an attribute data updating module 703, which is configured to: merge all non-exclusive entity attribute identifiers in the first entity attribute identifier set and the second entity attribute identifier set to obtain a target non-exclusive entity attribute identifier set, wherein an entity can be represented by multiple non-exclusive entity attribute identifiers; use the target non-exclusive entity attribute identifier set as an updated non-exclusive entity attribute identifier set of the first entity; or, merge all exclusive attribute identifiers included in all different types of exclusive entity attributes in the first entity attribute identifier set and the second entity attribute identifier set to obtain a target exclusive entity attribute identifier set; use all exclusive entity attribute identifiers in the target exclusive entity attribute identifier set as exclusive entity attribute identifiers of the target entity; or, update the updateable entity attribute identifier of the same category in the second entity attribute identifier set by the updateable entity attribute identifier in the first entity attribute identifier set to obtain a target updateable entity attribute identifier; use the target updateable entity attribute identifier as the updateable entity attribute identifier of the target entity.
[0118] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method, and will not be described in detail here.
[0119] Some embodiments of the present application provide a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the method described in any embodiment of the above-mentioned data processing method can be implemented.
[0120] like Figure 8 As shown, some embodiments of the present application provide an electronic device 800, including a memory 810, a processor 820, and a computer program stored in the memory 810 and executable on the processor 820, wherein the processor 820 can implement the method described in any embodiment of the above-mentioned data processing method when reading the program from the memory 810 through a bus 830 and executing the program.
[0121] Processor 520 can process digital signals and can include various computing structures, such as complex instruction set computer structure, reduced instruction set computer structure, or a structure that implements a combination of multiple instruction sets. In some examples, processor 520 can be a microprocessor.
[0122] The memory 510 may be used to store instructions executed by the processor 520 or data related to the execution of instructions. These instructions and / or data may include code to implement some or all functions of one or more modules described in the embodiments of the present application. The processor 520 of the present disclosure embodiment may be used to execute the instructions in the memory 510 to implement Figure 2 The memory 510 includes a dynamic random access memory, a static random access memory, a flash memory, an optical memory or other memory known to those skilled in the art.
[0123] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0124] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0125] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0126] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0127] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0128] 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 sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
Claims
1. A method for data processing, characterized in that: The method comprises: Acquire a first entity attribute identifier set of first data, wherein the first entity attribute identifier set includes at least an exclusive entity attribute identifier, and the first data is data requiring entity identification; If it is determined that the first entity in the set of entities to be matched is a candidate matching entity to which the first data belongs, then whether to use the candidate matching entity as the target entity to which the first data belongs is confirmed based on the exclusive entity attribute identifier in the first entity attribute identifier set, wherein each exclusive entity attribute identifier is used to uniquely characterize a class of exclusive entity attributes of an entity.
2. The method according to claim 1, characterized in that The step of confirming whether to use the candidate matching entity as a target entity to which the first data belongs according to the exclusive entity attribute identifier in the first entity attribute identifier set includes: If it is confirmed that the exclusive entity attribute identifiers corresponding to the exclusive entity attributes of the same class in the first entity attribute identifier set and the second entity attribute identifier set are respectively the same, the candidate matching entity is used as the target entity, wherein the second entity attribute identifier set is an entity attribute identifier set composed of all entity attribute identifiers of the first entity.
3. The method according to claim 2, characterized in that After taking the candidate matching entity as the target entity, the method further includes: Merging all non-exclusive entity attribute identifiers in the first entity attribute identifier set and the second entity attribute identifier set to obtain a target non-exclusive entity attribute identifier set, wherein one entity can be represented by multiple non-exclusive entity attribute identifiers; The target non-exclusive entity attribute identifier set is used as an updated non-exclusive entity attribute identifier set of the first entity.
4. The method according to any one of claims 2 to 3, characterized in that: After taking the candidate matching entity as the target entity, the method further includes: Merging all exclusive entity attribute identifiers included in all different types of exclusive entity attributes in the first entity attribute identifier set and the second entity attribute identifier set to obtain a target exclusive entity attribute identifier set; The target exclusive entity attribute identifier set is used as an updated exclusive entity attribute identifier set of the first entity.
5. The method according to claim 4, characterized in that After taking the candidate matching entity as the target entity, the method further includes: Updating the updatable entity attribute identifiers of the same type in the second entity attribute identifier set by using the updatable entity attribute identifiers in the first entity attribute identifier set to obtain target updatable entity attribute identifiers; The target updateable entity attribute identifier is used as the target updateable entity attribute identifier of the first entity.
6. The method according to claim 5, characterized in that After taking the candidate matching entity as the target entity, the method further includes: Receiving second data, wherein the second data is data requiring entity identification; According to the update non-exclusive entity attribute identifier set of the first entity, the update exclusive entity attribute identifier set of the first entity and the target updatable entity attribute identifier of the first entity, it is confirmed whether to use the first entity as a candidate matching entity of the second data.
7. The method according to claim 1, characterized in that The determining that the first entity in the to-be-matched entity set is a candidate matching entity for the first data includes: If it is confirmed through traversal that the entity attribute identifier of the first entity in the to-be-matched entity set matches the entity attribute identifier in the first entity attribute identifier set, the first entity is determined to be a candidate matching entity for the first data.
8. The method according to claim 1, characterized in that The method further comprises: If it is determined through traversal that there is no candidate matching entity to which the first data belongs in the set of entities to be matched, a second entity corresponding to the first data is added to the set of entities to be matched, and all entity attribute identifiers in the first entity attribute identifier set are used as entity attribute identifiers of the second entity.
9. The method according to claim 1, characterized in that The method further comprises: If it is determined that the entity attribute identifiers of at least two entities in the to-be-matched entity set respectively match the entity attribute identifiers in the first entity attribute identifier set, information about entity recognition failure is provided.
10. The method according to claim 1, characterized in that The entity attribute identifiers of each entity in the set of entities to be matched belong to one of the following categories: at least one category of exclusive entity attributes, non-exclusive entity attributes and at least one category of updateable entity attributes. All entity attribute identifiers of each entity can be used as entity attribute identifiers to be matched, and the entity attribute identifiers to be matched are used to search for the candidate matching entity from the set of entities to be matched.
11. The method according to claim 1, characterized in that The obtaining of the entity attribute identifier of the first data includes: Extract all entity attributes from the first data; The entity attribute is normalized to obtain the entity attribute identifier.
12. A data processing device, characterized in that: The device comprises: An entity attribute identifier extraction module is configured to obtain a first entity attribute identifier set of first data, wherein the first entity attribute identifier set includes at least an exclusive entity attribute identifier, and the first data is data requiring entity identification; The target entity identification module is configured to confirm whether to use the candidate matching entity as the target entity to which the first data belongs based on the exclusive entity attribute identifier in the first entity attribute identifier set if it is determined that the first entity in the set of entities to be matched is a candidate matching entity to which the first data belongs, wherein each exclusive entity attribute identifier is a class of exclusive entity attributes used to uniquely characterize an entity.
13. The device according to claim 12, characterized in that The device also includes: The attribute data update module is configured as follows: Merging all non-exclusive entity attribute identifiers in the first entity attribute identifier set and the second entity attribute identifier set to obtain a target non-exclusive entity attribute identifier set, wherein one entity can be represented by multiple non-exclusive entity attribute identifiers; using the target non-exclusive entity attribute identifier set as an updated non-exclusive entity attribute identifier set of the first entity; or, Merging all exclusive attribute identifiers included in all different types of exclusive entity attributes in the first entity attribute identifier set and the second entity attribute identifier set to obtain a target exclusive entity attribute identifier set; using all exclusive entity attribute identifiers in the target exclusive entity attribute identifier set as exclusive entity attribute identifiers of the target entity; or, The updatable entity attribute identifiers of the same category in the second entity attribute identifier set are updated by using the updatable entity attribute identifiers in the first entity attribute identifier set to obtain a target updatable entity attribute identifier; and the target updatable entity attribute identifier is used as the updatable entity attribute identifier of the target entity.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method described in any one of claims 1 to 11 can be implemented.
15. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method described in any one of claims 1 to 11 can be implemented.
