Data association method, electronic device and medium
A data association and data technology, applied in the field of data processing, can solve problems such as poor stability, difficult calculation, and low calculation efficiency, and achieve the effect of stable data association and merger, and extensive use value
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] Step S3 may specifically include: Step S31, reading the data and the data associated with the data one by one, establishing an edge between any two vertices of the associated data until each of the vertices associated with other data The vertices of the data are connected with at least one edge to obtain the association graph.
[0027] Based on the association graph constructed in Embodiment 1, step S4 may include:
[0028] Step S41, traversing the ids of all vertices in the association graph, each vertex transmits the id of this vertex to an adjacent vertex, receives the ids of all adjacent vertices at the same time, and obtains the ids of all adjacent vertices currently received by this vertex and The minimum or maximum value in the id of this vertex, and update it to the id of this vertex;
[0029] Step S42, multiple iterations until the ids of all vertices no longer change;
[0030] Step S43, merging all data with the same id into associated data.
[0031] It can...
Embodiment 2
[0033] Step S3 may specifically include:
[0034] Step S321, in the data with associated relationship corresponding to each record, select a vertex of the target data as the central vertex of the record, traverse all the vertices of the data corresponding to the record, and collect all the vertexes of the target data related to the record The id of the vertex of the data of the association relationship is updated to the id of the central vertex of the record and connected to the central vertex of the record, the sub-association graph corresponding to the record is generated, and all the records are traversed until the sub-associations corresponding to all the records are generated Graph to get the correlation graph.
[0035] Based on the association graph constructed in Embodiment 2, step S4 may include:
[0036] Step S421, traversing the ids of all vertices in the association graph, each vertex transmits the id of this vertex to an adjacent vertex, receives the ids of all ad...
Embodiment 3
[0041] Step S3 may specifically include:
[0042]Step S331: Among the associated data corresponding to each record, select a vertex of the target data as the starting vertex of the record, traverse all the vertices of the data corresponding to the record, and combine all the target data of the record The id of the vertex of the data with the associated relationship is updated to the start vertex id of the record and sequentially connected in series to generate a sub-association graph corresponding to the record, and traverse all the records until the sub-association graph corresponding to all the records is generated, Obtain the association graph. Based on the association graph constructed in the third embodiment, step S4 may include: step S431, traversing the ids of all vertices in the association graph, each vertex transmits the id of this vertex to an adjacent vertex, and simultaneously receives the ids of all adjacent vertices , Obtain the ids of all adjacent vertices cur...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
