CN112989151B - Data blood relationship display method and device, electronic equipment and storage medium - Google Patents
Data blood relationship display method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112989151B CN112989151B CN202110267625.4A CN202110267625A CN112989151B CN 112989151 B CN112989151 B CN 112989151B CN 202110267625 A CN202110267625 A CN 202110267625A CN 112989151 B CN112989151 B CN 112989151B
- Authority
- CN
- China
- Prior art keywords
- blood
- data
- target data
- edge
- picture
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 239000008280 blood Substances 0.000 title claims abstract description 100
- 210000004369 blood Anatomy 0.000 title claims abstract description 100
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000004044 response Effects 0.000 claims abstract description 11
- 238000004806 packaging method and process Methods 0.000 claims description 35
- 238000005538 encapsulation Methods 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 11
- 238000001514 detection method Methods 0.000 description 9
- 238000006243 chemical reaction Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000006399 behavior Effects 0.000 description 4
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008033 biological extinction Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000013499 data model Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/904—Browsing; Visualisation therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
- G06F16/9024—Graphs; Linked lists
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Investigating Or Analysing Biological Materials (AREA)
- User Interface Of Digital Computer (AREA)
- Image Analysis (AREA)
Abstract
The embodiment of the invention discloses a data blood relationship display method, a device, electronic equipment and a storage medium. The method comprises the following steps: determining target data in response to a user operation; when detecting that the target data has a blood-edge relationship, determining blood-edge data with the blood-edge relationship with the target data; and determining a blood margin relation picture of the target data according to the target data and the blood margin data, and displaying the blood margin relation picture. The method solves the technical problems of high labor cost, low accuracy and low speed existing in the prior art that the blood-edge data with the blood-edge relation with the specific data is determined manually, and achieves the technical effect of rapidly, accurately and intuitively displaying the blood-edge data with the blood-edge relation with the target data.
Description
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a data blood relationship display method, a device, electronic equipment and a storage medium.
Background
The data blood relationship is similar to that of human society. The data blood-edge relation reflects the life cycle of the data, the whole process from the generation, processing fusion and circulation of the data to the final extinction of the data, and the traceability is realized.
Currently, a processing method of data blood-edge relationship generally determines blood-edge data having a blood-edge relationship with specific data manually. However, the manual mode for determining the blood-edge data with the blood-edge relation with the specific data has the problems of high labor cost, low accuracy and low speed, so that the blood-edge data with the blood-edge relation with the specific data cannot be displayed quickly, accurately and intuitively.
Disclosure of Invention
The embodiment of the invention provides a data blood-edge relationship display method, a device, electronic equipment and a storage medium, which are used for rapidly, accurately and intuitively displaying blood-edge data with blood-edge relationship with target data.
In a first aspect, an embodiment of the present invention provides a data blood relationship display method, where the method includes:
Determining target data in response to a user operation;
When detecting that the target data has a blood-edge relationship, determining blood-edge data with the blood-edge relationship with the target data;
and determining a blood margin relation picture of the target data according to the target data and the blood margin data, and displaying the blood margin relation picture.
In a second aspect, an embodiment of the present invention further provides a data blood relationship display apparatus, where the apparatus includes:
the target data determining module is used for determining target data in response to user operation;
the blood margin data determining module is used for determining blood margin data with blood margin relation with the target data when detecting that the blood margin relation exists in the target data;
And the blood margin relation picture display module is used for determining a blood margin relation picture of the target data according to the target data and the blood margin data and displaying the blood margin relation picture.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
A storage means for storing one or more programs;
The program, when executed by the processor, causes the processor to implement a data blood relationship display method as provided by any embodiment of the present invention.
In a fourth aspect, embodiments of the present invention further provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a data blood relationship display method as provided by any embodiment of the present invention.
According to the technical scheme, the target data is determined by responding to the user operation. And when detecting that the target data has the blood-edge relationship, determining the blood-edge data with the blood-edge relationship with the target data. According to the target data and the blood-edge data, the blood-edge relation picture of the target data is determined, and the blood-edge relation picture is displayed, so that the technical problems of high labor cost, low accuracy and low speed in the blood-edge data with the blood-edge relation with specific data determined manually in the prior art are solved, and the technical effect of rapidly, accurately and intuitively displaying the blood-edge data with the blood-edge relation with the target data is realized.
Drawings
In order to more clearly illustrate the technical solution of the exemplary embodiments of the present invention, a brief description is given below of the drawings required for describing the embodiments. It is obvious that the drawings presented are only drawings of some of the embodiments of the invention to be described, and not all the drawings, and that other drawings can be made according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for displaying data blood relationship according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a data blood relationship display method according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram showing a relationship between blood and blood data according to a second embodiment of the present invention;
fig. 4 is a schematic diagram showing a data blood relationship according to a second embodiment of the present invention;
fig. 5 is a schematic diagram of a data blood relationship display device according to a third embodiment of the present invention;
Fig. 6 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a schematic flow chart of a data blood-edge relationship display method according to an embodiment of the present invention, where the method may be performed by a data blood-edge relationship display device, and the data blood-edge relationship display device may be implemented in a software and/or hardware manner, and the data blood-edge relationship display device may be integrated in an electronic device such as a computer, according to target data and blood-edge data by determining blood-edge data having a blood-edge relationship with the target data when the blood-edge relationship is detected.
As shown in fig. 1, the method of the present embodiment includes:
S110, determining target data in response to user operation.
Wherein a user operation may be understood as a series of operations input by a user based on an input device. For example, the user may set the trigger control through a physical device (e.g., a mouse and/or a keyboard) or a touch device (e.g., a virtual keyboard, etc.). The user operation may be a click operation or a touch operation.
Wherein the target data may be metadata. Wherein the metadata is also called intermediate data and relay data. Metadata may be understood as data of which the nature is information describing the properties of the data. The target data may include data information such as data identification, data type, and data classification. By way of example, the target data may include: and (3) data identification: identification 1; data type: type 1; data classification: class 1.
Specifically, a user operation is received, and an instruction for determining target data is generated according to the user operation. According to the instruction for determining target data, target data corresponding to the user operation is determined.
Optionally, before receiving the user operation and generating the instruction for determining the target data according to the user operation, the method further includes: presetting a control for determining target data; accordingly, in response to a user operation, generating an instruction for determining target data according to the user operation, including: and receiving user operation, and generating an instruction for determining target data when detecting that the user operation triggers a preset control for determining the target data.
And S120, when the blood-edge relation of the target data is detected, determining the blood-edge data with the blood-edge relation with the target data.
The blood-edge relationship may be a blood-edge relationship between data, that is, a relationship between target data and other data. The blood-lineage relationship can represent the life cycle of the data, i.e., can represent the entire process of data from creation to extinction. Blood-lineage data can be understood as data having a blood-lineage relationship with target data. The blood-lineage data can be used to demonstrate blood-lineage relationships of target data. The number of blood-source data of the target data may be one, two or more.
The blood-lineage data having a blood-lineage relationship can include structured data and unstructured data, among others. Wherein structured data may also be referred to as row data, data that may be logically expressed and implemented by a two-dimensional table structure. Unstructured data can be understood as: irregular or incomplete data structures, no predetermined data model, and inconvenient data to be represented by the database two-dimensional logic.
The determining of the blood-edge data having the blood-edge relationship with the target data may be performed by detecting a relationship between the target data and other data, and when detecting that the data in the other data has the blood-edge relationship with the target data, determining the blood-edge data having the blood-edge relationship with the target data as the blood-edge data of the target data. Wherein other data may be understood as data other than the target data.
When the blood edge relation exists in the target data, before the blood edge data with the blood edge relation with the target data is determined, or before the blood edge data with the blood edge relation with the target data is determined, a naming rule of a data identifier can be determined, and the blood edge relation rule is preset according to the naming rule of the data identifier of the data. By way of example, the blood relationship rule may be the presence of a preset identifier in the data identification of the data, such as an underline (_), a plus sign (+) or a minus sign (-), etc.
Specifically, by determining the naming rule of the data identifier, the blood relationship rule is preset according to the naming rule of the data identifier of the data. When the target data determination is completed, or after the target data determination, a data relationship between the target data and data other than the target data is detected according to a preset blood-edge relationship rule. The detection result is obtained by detecting a data relationship between the target data and data other than the target data. When the detection result is that there is a blood-edge relationship between the target data and data other than the target data, then the data having the blood-edge relationship with the target data is taken as blood-edge data, that is, the blood-edge data having the blood-edge relationship with the target data is determined.
For example, the data identifier of the data 1 is id1, the data identifier of the data 2 is id1-id2, wherein the target data is data 1, that is, the data identifier of the target data is id1, the data identifier of the target data exists in the data identifier of the data 2, that is, the data identifier of the target data exists in id1-id2, it can be determined that the blood-edge relationship exists between the data 2 and the target data, that is, the data 2 is the blood-edge data of the target data.
S130, determining a blood-edge relation picture of the target data according to the target data and the blood-edge data, and displaying the blood-edge relation picture.
The blood-edge relation picture can be used for displaying the target data, the blood-edge data and the blood-edge relation between the target data and the blood-edge data, so that a user can intuitively know the data with the blood-edge relation with the target data.
The determining the blood-edge relationship picture of the target data according to the target data and the blood-edge data may include drawing the blood-edge relationship picture of the target data and the blood-edge data based on the blood-edge relationship between the target data and the blood-edge data according to the target data and the blood-edge data. And when the completion of the drawing of the blood-edge relation graph of the target data and the blood-edge data is detected, generating the blood-edge relation graph of the target data and the blood-edge data. And when the generation of the blood-edge relation picture is completed, taking the generated blood-edge relation picture as the blood-edge relation picture of the target data.
Optionally, before determining the blood-edge relationship picture of the target data, a storage path of the blood-edge relationship picture of the target data may be preset.
In order to facilitate management of the blood-edge relationship picture of the target data, the generated blood-edge relationship picture can be stored to a storage path of the blood-edge relationship picture of the preset target data according to the storage path of the blood-edge relationship picture of the preset target data.
In order to facilitate the display of the blood-edge relationship picture of the target data, a display area of the blood-edge relationship picture can be preset, the blood-edge relationship picture of the target data is obtained according to a storage path of the blood-edge relationship picture of the target data, which is preset, and the blood-edge relationship picture of the target data is displayed to the preset display area.
Specifically, a display area for displaying the blood relationship picture is preset. When the blood edge data of the target data is determined, a blood edge relation picture of the target data and the blood edge data can be generated according to the target data, the blood edge data and the blood edge relation between the target data and the blood edge data. When the generation of the target blood-edge relation picture is detected to be completed, the generated blood-edge relation picture is taken as the blood-edge relation picture of the target data, namely, the blood-edge relation picture of the target data is determined. According to a preset display area for displaying the blood-edge relationship picture, displaying the generated blood-edge relationship picture and the preset display area for displaying the blood-edge relationship picture, namely displaying the blood-edge relationship picture in the preset display area.
Optionally, determining the blood-edge relationship picture of the target data according to the target data and the blood-edge data includes: based on a preset data packaging format, packaging the target data and the blood-source data to obtain a packaging object corresponding to the target data; and converting the packaged object into a blood-edge relation picture of the target data.
The data encapsulation format may be a preset format. For example, the preset data encapsulation format may be a format in which target data and blood-edge data are connected through a preset connector (e.g., a horizontal line (-), a plus sign (+) or a minus sign (-), etc.), such as data 1-data 2. The data packaging format may be used to data package the target data with the blood-source data. The data encapsulation may be an encapsulation object that uniformly maps the target data and the blood-source data to the target data. The encapsulated object may be a preset object or variable. The packaged object may include target data and blood-lineage data, wherein the number of blood-lineage data in the packaged object may be one, two, or more.
The conversion mode of converting the encapsulation object into the blood-edge relationship picture of the target data may be a preset conversion mode, for example, a front-end plug-in. In the embodiment of the invention, the conversion mode of converting the encapsulation object into the blood-edge relation picture of the target data is not limited, as long as the encapsulation object can be converted into the blood-edge relation picture of the target data.
Specifically, a data package format is preset. And presetting an encapsulation object corresponding to the target data. A conversion mode of converting the encapsulation object into the blood-edge relation picture of the target data is preset. And according to a preset data packaging format and a packaging object corresponding to preset target data, packaging the target data and the blood margin number into the preset packaging object, namely obtaining the packaging object corresponding to the target data. When the packaging object is obtained, the packaging object is converted into the blood-edge relation picture of the target data according to a preset conversion mode for converting the packaging object into the blood-edge relation picture of the target data.
On the basis, optionally, encapsulating the target data and the blood-source data to obtain an encapsulated object corresponding to the target data, including: packaging the target data and the blood edge data into a Json object; correspondingly, converting the packaging object into the blood-edge relation picture of the target data comprises the following steps: and converting the Json object into a blood-edge relation picture of the target data.
The Json format may be a text-based data format, among others. The Json object may be an object in Json format. The Json format may be a value, a data or object, or a value of the original type, and the Json object may be an object in Json format may be an encapsulated object in the format of key-value pairs, e.g., { "status": "success" }.
The mode of converting the Json object into the blood-edge relationship picture of the target data is not limited, and the Json object may be converted into the blood-edge relationship picture of the target data by the front-end plug-in.
Specifically, based on the Json format, the target data and the blood-source data are packaged into an object in the Json format, and the Json object can be generated. Upon detection of the Json object generation, the Json object may be obtained. When the Json object is obtained, the Json object can be converted into a blood-edge relation picture of target data.
According to the technical scheme, the target data is determined by responding to the user operation. And when detecting that the target data has the blood-edge relationship, determining the blood-edge data with the blood-edge relationship with the target data. According to the target data and the blood-edge data, the blood-edge relation picture of the target data is determined, and the blood-edge relation picture is displayed, so that the technical problems of high labor cost, low accuracy and low speed in the blood-edge data with the blood-edge relation with specific data determined manually in the prior art are solved, and the technical effect of rapidly, accurately and intuitively displaying the blood-edge data with the blood-edge relation with the target data is realized.
Example two
Fig. 2 is a schematic flow chart of a data blood-edge relationship display method according to a second embodiment of the present invention, where, based on the foregoing embodiment, the type of target data may be detected before the blood-edge data having a blood-edge relationship with the target data is determined, so that the blood-edge data having a blood-edge relationship with the target data may be more quickly determined according to the type of the target data.
In addition, when the target data is detected to have no blood-edge relation, the target data is packaged to obtain a packaged object corresponding to the target data, the packaged object is converted into a node picture of the target data, and the node picture is displayed, so that the target data without the blood-edge relation is displayed.
In addition, the step of determining the blood-edge data with the blood-edge relation with the target data is optimized, so that the source data and/or the destination data corresponding to the target data can be determined, the step of determining the blood-edge relation picture of the target data according to the target data and the blood-edge data is optimized, and the blood-edge relation picture of the target data can be rapidly determined according to the target data and the source data and/or the destination data corresponding to the target data.
In addition, the step of displaying the blood-edge relation picture is optimized, so that the source data and/or the destination data which have the blood-edge relation with the target data are displayed more intuitively.
As shown in fig. 2, the method of this embodiment may specifically include:
s210, determining target data in response to user operation.
S220, detecting the type of the target data when detecting that the target data has a blood-edge relationship.
The type of the data may be a preset type. The types of data may include a data set type and a field type. The type of the target data may be used to determine a level or hierarchy of the target data, that is, the type of the target data may be used to determine a data set to which the target data belongs, or, alternatively, a field corresponding to the target data. Wherein, the type of the detection target data can realize the function of detecting the type of the target data through a code function.
The type of detection target data may be: the type included in the data is preset. The type of the target data is acquired. And according to the type included in the preset data and the type of the acquired target data, consistency comparison is carried out on the type of the target data and the preset type.
Specifically, the type included in the type of the data is preset. When the blood relationship of the target data is detected, the type of the target data can be acquired. Based on the preset data type and the type of the target data, consistency comparison is carried out on the type of the target data and the preset data type, and the type of the target data is detected.
S230, determining source data and/or destination data corresponding to the target data according to the type of the target data.
The source data may be understood as data forming the target data. The source data may embody a source of the target data. The destination data may be understood as data formed by processing the target data. The destination data may embody a destination of the target data. The number of source data corresponding to the target data may be one, two or more than two. The number of destination data corresponding to the target data may be one, two or more.
Wherein, before determining the source data and/or the destination data corresponding to the target data according to the type of the target data, a blood-edge relation list corresponding to the data type can be pre-established based on the type of the data. A list of blood-lineage relations is understood to be a list storing data with blood-lineage relations.
Specifically, when the type of the target data is detected as the data set type, a blood relationship list of the data set type associated with the target data may be acquired. When the completion of the acquisition of the blood-edge relation list of the data set type associated with the target data is detected, the blood-edge relation list of the data set type associated with the target data can be traversed, so that source data and/or destination data corresponding to the target data are acquired, and the blood-edge relation among the data is acquired.
Specifically, when the type of the target data is detected as the field type, a list of blood-edge relations of the field type associated with the target data may be acquired. When the completion of the acquisition of the blood-edge relation list of the field type associated with the target data is detected, the blood-edge relation list of the field type associated with the target data can be traversed, so that source data and/or destination data corresponding to the target data are acquired, and the blood-edge relation among the data is acquired.
S240, determining a blood-margin relation picture of the target data according to the target data, source data corresponding to the target data and/or destination data corresponding to the target data, and displaying the blood-margin relation picture.
Specifically, a display area of the blood relationship picture is preset. When the source data corresponding to the target data and/or the destination data corresponding to the target data are determined, the target data, the source data corresponding to the target data and/or the destination data of the target data can be packaged, and a packaging object corresponding to the target data is generated. When the generation of the encapsulation object is detected, the encapsulation object can be converted into a blood-edge relation picture of the target data based on the blood-edge relation among the target data, the source data and the destination data. When the detection of the encapsulation object is converted into the blood-edge relation picture, the blood-edge relation picture is displayed in the display area of the preset blood-edge relation picture according to the display area of the preset blood-edge relation picture.
Fig. 3 and 4 are exemplary blood-relationship pictures of target data. The blood-edge relation diagram shown in fig. 3 is a blood-edge relation diagram of target data and destination data corresponding to the target data, wherein the target data is a main person, the type of the target data is a data set type, and the classification of the data set of the target data is industry data. The destination data of the target data may include an element relation library, an element association library, a person, and an off-network location. The blood-edge relationship diagram shown in fig. 4 is a blood-edge relationship diagram of target data and source data corresponding to the target data, in which, in the calculation, the target data is a behavior detail, the type of the target data is a data set type, and the classification to which the data set of the target data belongs is a behavior detail library. The source data of the target data may include other source data as well as industry data.
It should be noted that, the target data, the source data of the target data, and the destination data of the target data displayed in the blood relationship picture may display a classification of a data type to which the data belongs, for example, the type of the target data is a data set type, the data set to which the target data belongs is a behavior detail, the classification of the data set is a behavior detail library, and the display of the target data may be displaying the data set to which the target data belongs and the type of the data set to which the target data belongs.
In order to intuitively display the relationship among the target data, the source data of the target data and/or the destination data of the target data, a picture display style can be preset; and displaying the blood relationship picture based on a preset picture display style.
The preset picture display style may include a display position, a color, a frame of a display node corresponding to the data, and the like. The display position may include a style of an up-down structure, a style of a left-right structure, and the like. In order to improve the effect of picture display, a picture display style may be determined based on the length of the picture display region.
Specifically, the length of the picture display area is preset, the picture display style is preset, and the corresponding relation between the length of the picture display area and the picture display style is preset. And packaging the target data, the source data of the target data and/or the destination data of the target data to obtain the packaged object. When the packaging object is obtained, the length of the picture display area can be detected, and the picture display style is determined according to the preset length of the picture display area, the preset picture display style and the corresponding relation between the length of the picture display area and the picture display style. According to the picture display style, the packaging object can be converted into a picture of the picture display style, namely, into a blood relationship picture. When the blood relationship picture is displayed, the blood relationship picture can be displayed with a preset display area.
And S250, when detecting that the target data does not have the blood-edge relationship, packaging the target data based on a preset data packaging format to obtain a packaging object corresponding to the target data.
The data encapsulation format may be a data encapsulation format in which there is no blood relationship.
Specifically, when the target data is determined to be completed, whether the target data has a blood-edge relationship is detected, and a detection result is obtained. When the detection result is that the target data does not have the blood-edge relationship, the data encapsulation format corresponding to the data without the blood-edge relationship can be determined based on the preset data encapsulation format. And packaging the target data according to a data packaging format corresponding to the data without the blood relationship. When the completion of the encapsulation of the target data is detected, an encapsulation object corresponding to the target data can be obtained.
S260, converting the packaging object into a node picture of the target data, and displaying the node picture.
Wherein, the node picture can be used for displaying target data without blood relationship
Specifically, a picture display area is preset. When the encapsulated object corresponding to the target data is obtained, or after the encapsulated object corresponding to the target data is obtained, the encapsulated object may be converted into a node picture of the target data. After the node picture conversion of the target data is detected, the node picture of the target data is generated. When the generation of the node picture of the target data is detected, the node picture of the target data is displayed to a preset picture display area.
Optionally, the image storage path is preset, and after the node image of the target data is detected to be generated, the node image can be stored into the preset image storage path based on the preset image storage path.
According to the technical scheme, the type of the target data is detected before the blood-edge data with the blood-edge relation with the target data is determined, so that the blood-edge data with the blood-edge relation with the target data is determined more quickly according to the type of the target data. And when the target data is detected to have no blood-edge relation, the target data is packaged to obtain a packaged object corresponding to the target data, the packaged object is converted into a node picture of the target data, and the node picture is displayed, so that the target data without the blood-edge relation is displayed.
And optimizing the step of determining the blood-edge data with the blood-edge relation with the target data, so that the source data and/or the destination data corresponding to the target data can be determined, on the basis, the step of determining the blood-edge relation picture of the target data according to the target data and the blood-edge data is optimized, and the blood-edge relation picture of the target data can be rapidly determined according to the target data and the source data and/or the destination data corresponding to the target data. And optimizing the step of displaying the blood-edge relation picture, so that the source data and/or the destination data which have the blood-edge relation with the target data are displayed more intuitively, and the technical effects of displaying the data blood-edge relation of the target data more quickly, accurately and intuitively are achieved.
In addition, the embodiment of the present invention and the data blood relationship display method proposed by the above embodiment belong to the same inventive concept, and technical details not described in detail in the present embodiment can be seen in the above embodiment, and the present embodiment has the same beneficial effects as the above embodiment.
Example III
Fig. 5 is a schematic block diagram of a data blood relationship display device according to a third embodiment of the present invention, where the present invention provides a data blood relationship display device, and the device includes: a target data determination module 310, a blood-lineage data determination module 320, and a blood-lineage relationship picture display module 330.
Wherein, the target data determining module 310 is configured to determine target data in response to a user operation; a blood edge data determining module 320, configured to determine blood edge data having a blood edge relationship with the target data when it is detected that the target data has a blood edge relationship; and a blood-edge relationship picture display module 330, configured to determine a blood-edge relationship picture of the target data according to the target data and the blood-edge data, and display the blood-edge relationship picture.
According to the technical scheme, the target data determining module is used for responding to the user operation to determine the target data. And the blood edge data determining module is used for determining blood edge data with blood edge relation with the target data when detecting that the target data has the blood edge relation. The blood-edge relation picture display module is used for determining the blood-edge relation picture of the target data according to the target data and the blood-edge data and displaying the blood-edge relation picture, so that the technical problems of high labor cost, low accuracy and low speed in determining the blood-edge data with the blood-edge relation with specific data in a manual mode in the prior art are solved, and the technical effect of rapidly, accurately and intuitively displaying the blood-edge data with the blood-edge relation with the target data is realized.
Optionally, the blood-edge relationship picture display module 330 is configured to package the target data and the blood-edge data based on a preset data package format, so as to obtain a package object corresponding to the target data; and converting the packaging object into a blood-edge relation picture of the target data.
Optionally, the blood-edge relationship picture display module 330 is configured to package the target data and the blood-edge data into a Json object; and converting the Json object into a blood-edge relation picture of the target data.
Optionally, before the determining the blood-edge data having the blood-edge relationship with the target data, the method further includes: the type detection module is used for detecting the type of the target data;
Correspondingly, the blood-edge data determining module 320 is configured to determine blood-edge data having a blood-edge relationship with the target data according to the type of the target data.
Optionally, the device further includes a node picture display module, configured to, when detecting that the target data does not have a blood-edge relationship, encapsulate the target data based on the preset data encapsulation format, so as to obtain an encapsulation object corresponding to the target data; and converting the packaging object into a node picture of the target data, and displaying the node picture.
Optionally, the determining the blood-edge data having a blood-edge relationship with the target data includes: determining source data and/or destination data corresponding to the target data;
Correspondingly, the blood-edge relationship picture display module 330 is configured to determine a blood-edge relationship picture of the target data according to the target data, source data corresponding to the target data, and/or destination data corresponding to the target data.
Optionally, the blood relationship picture display module 330 is configured to preset a picture display style; and displaying the blood relationship picture based on the preset picture display style.
The device can execute the data blood-edge relationship display method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the data blood-edge relationship display method.
It should be noted that, each unit and module included in the data blood relationship display apparatus are only divided according to the functional logic, but not limited to the above division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the embodiments of the present invention.
Example IV
Fig. 6 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. Fig. 6 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing any of the embodiments of the present invention. The electronic device 12 shown in fig. 6 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention. Device 12 is typically an electronic device that undertakes the processing of configuration information.
As shown in fig. 6, the electronic device 12 is in the form of a general purpose computing device. Components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a memory 28, and a bus 18 connecting the different components, including the memory 28 and the processing unit 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include industry standard architecture (Industry Standard Architecture, ISA) bus, micro channel architecture (Micro Channel Architecture, MCA) bus, enhanced ISA bus, video electronics standards association (Video Electronics Standards Association, VESA) local bus, and peripheral component interconnect (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus.
Electronic device 12 typically includes a variety of computer-readable media. Such media can be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 28 may include computer device readable media in the form of volatile memory, such as random access memory (Random Access Memory, RAM) 30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard disk drive"). Although not shown in fig. 6, a disk drive for reading from and writing to a removable nonvolatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from and writing to a removable nonvolatile optical disk (e.g., a Compact Disc-Read Only Memory (CD-ROM), digital versatile Disc (Digital Video Disc-Read Only Memory, DVD-ROM), or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product 40, with program product 40 having a set of program modules 42 configured to perform the functions of embodiments of the present invention. Program product 40 may be stored, for example, in memory 28, such program modules 42 include, but are not limited to, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, mouse, camera, etc., and display), with one or more devices that enable a user to interact with the electronic device 12, and/or with any device (e.g., network card, modem, etc.) that enables the electronic device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, electronic device 12 may communicate with one or more networks such as a local area network (Local Area Network, LAN), a wide area network Wide Area Network, a WAN, and/or a public network such as the internet via network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 over the bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, disk array (Redundant Arrays of INDEPENDENT DISKS, RAID) devices, tape drives, data backup storage, and the like.
The processor 16 executes various functional applications and data processing by running a program stored in the memory 28, for example, to implement a data blood relationship display method provided by the above-described embodiment of the present invention, the method including:
Determining target data in response to a user operation;
When detecting that the target data has a blood-edge relationship, determining blood-edge data with the blood-edge relationship with the target data;
and determining a blood margin relation picture of the target data according to the target data and the blood margin data, and displaying the blood margin relation picture.
Of course, those skilled in the art will understand that the processor may also implement the technical scheme of the data blood relationship display method provided in any embodiment of the present invention.
Example five
The fifth embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements a data blood relationship display method.
The method comprises the following steps:
Determining target data in response to a user operation;
When detecting that the target data has a blood-edge relationship, determining blood-edge data with the blood-edge relationship with the target data;
and determining a blood margin relation picture of the target data according to the target data and the blood margin data, and displaying the blood margin relation picture.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.
Claims (9)
1. A method for displaying a data blood relationship, comprising:
Determining target data in response to a user operation;
When detecting that the target data has a blood-edge relationship, determining blood-edge data with the blood-edge relationship with the target data;
determining a blood edge relation picture of the target data according to the target data and the blood edge data, and displaying the blood edge relation picture;
the determining of the blood-related data having a blood-related relationship with the target data includes: determining source data and/or destination data corresponding to the target data;
Correspondingly, the determining the blood-edge relation picture of the target data according to the target data and the blood-edge data comprises the following steps:
And determining the blood-edge relation picture of the target data according to the target data, the source data corresponding to the target data and/or the destination data corresponding to the target data.
2. The method of claim 1, wherein the determining a blood-edge relationship picture of the target data from the target data and the blood-edge data comprises:
Based on a preset data packaging format, packaging the target data and the blood-margin data to obtain a packaging object corresponding to the target data;
and converting the packaging object into a blood-edge relation picture of the target data.
3. The method according to claim 2, it is characterized in that the method comprises the steps of, said encapsulating said target data with said blood-lineage data, obtaining the encapsulation object corresponding to the target data, comprising the following steps: packaging the target data and the blood margin data into a Json object;
Correspondingly, the converting the encapsulation object into the blood-edge relation picture of the target data includes:
And converting the Json object into a blood-edge relation picture of the target data.
4. The method of claim 1, further comprising, prior to said determining blood-edge data having a blood-edge relationship with the target data: detecting the type of the target data;
accordingly, the determining the blood-edge data having the blood-edge relationship with the target data includes:
And determining blood margin data with blood margin relation with the target data according to the type of the target data.
5. The method according to claim 1, wherein the method further comprises:
when detecting that the target data does not have a blood relationship, packaging the target data based on a preset data packaging format to obtain a packaging object corresponding to the target data;
And converting the packaging object into a node picture of the target data, and displaying the node picture.
6. The method of claim 1, wherein the presenting the blood relationship picture comprises:
Presetting a picture display style;
and displaying the blood relationship picture based on the preset picture display style.
7. A data blood relationship display device, comprising:
the target data determining module is used for determining target data in response to user operation;
the blood margin data determining module is used for determining blood margin data with blood margin relation with the target data when detecting that the blood margin relation exists in the target data;
The blood-edge relation picture display module is used for determining a blood-edge relation picture of the target data according to the target data and the blood-edge data and displaying the blood-edge relation picture;
the determining of the blood-related data having a blood-related relationship with the target data includes: determining source data and/or destination data corresponding to the target data;
Correspondingly, the determining the blood-edge relation picture of the target data according to the target data and the blood-edge data comprises the following steps:
And determining the blood-edge relation picture of the target data according to the target data, the source data corresponding to the target data and/or the destination data corresponding to the target data.
8. An electronic device, the electronic device comprising:
one or more processors;
A storage means for storing one or more programs;
The program, when executed by the processor, causes the processor to implement the data lineage relationship display method according to any one of claims 1-6.
9. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements a data blood relationship display method according to any of claims 1-6.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110267625.4A CN112989151B (en) | 2021-03-11 | 2021-03-11 | Data blood relationship display method and device, electronic equipment and storage medium |
PCT/CN2021/107521 WO2022188331A1 (en) | 2021-03-11 | 2021-07-21 | Method and apparatus for presenting data kinship, and electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110267625.4A CN112989151B (en) | 2021-03-11 | 2021-03-11 | Data blood relationship display method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112989151A CN112989151A (en) | 2021-06-18 |
CN112989151B true CN112989151B (en) | 2024-05-14 |
Family
ID=76335065
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110267625.4A Active CN112989151B (en) | 2021-03-11 | 2021-03-11 | Data blood relationship display method and device, electronic equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112989151B (en) |
WO (1) | WO2022188331A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112989151B (en) * | 2021-03-11 | 2024-05-14 | 北京锐安科技有限公司 | Data blood relationship display method and device, electronic equipment and storage medium |
CN113486215A (en) * | 2021-07-05 | 2021-10-08 | 中国工商银行股份有限公司 | Data display method, device and equipment based on data relevance |
CN117688217B (en) * | 2024-02-02 | 2024-07-05 | 北方健康医疗大数据科技有限公司 | System, method and medium for realizing data blood relationship structure based on directed graph |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109299073A (en) * | 2018-10-19 | 2019-02-01 | 杭州数梦工场科技有限公司 | A kind of generation method, system, electronic equipment and the storage medium of data blood relationship |
CN109582660A (en) * | 2018-12-06 | 2019-04-05 | 深圳前海微众银行股份有限公司 | Data consanguinity analysis method, apparatus, equipment, system and readable storage medium storing program for executing |
CN112084270A (en) * | 2020-09-17 | 2020-12-15 | 腾讯科技(深圳)有限公司 | Data blood margin processing method and device, storage medium and equipment |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109739893B (en) * | 2018-12-28 | 2022-04-22 | 上海尚往网络科技有限公司 | Metadata management method, equipment and computer readable medium |
CN110795509B (en) * | 2019-09-29 | 2024-02-09 | 北京淇瑀信息科技有限公司 | Method and device for constructing index blood-margin relation graph of data warehouse and electronic equipment |
CN111125269B (en) * | 2019-12-31 | 2023-05-02 | 腾讯科技(深圳)有限公司 | Data management method, blood relationship display method and related device |
CN111427997A (en) * | 2020-03-09 | 2020-07-17 | 北京明略软件系统有限公司 | Method and device for displaying blood relationship, computer storage medium and terminal |
CN111538743B (en) * | 2020-04-22 | 2023-08-18 | 电子科技大学 | SQL-based data blood relationship analysis method and system |
CN111694858A (en) * | 2020-04-28 | 2020-09-22 | 平安科技(深圳)有限公司 | Data blood margin analysis method, device, equipment and computer readable storage medium |
CN112115315A (en) * | 2020-09-25 | 2020-12-22 | 平安国际智慧城市科技股份有限公司 | Blood relationship data query method and device, computer equipment and storage medium |
CN112989151B (en) * | 2021-03-11 | 2024-05-14 | 北京锐安科技有限公司 | Data blood relationship display method and device, electronic equipment and storage medium |
-
2021
- 2021-03-11 CN CN202110267625.4A patent/CN112989151B/en active Active
- 2021-07-21 WO PCT/CN2021/107521 patent/WO2022188331A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109299073A (en) * | 2018-10-19 | 2019-02-01 | 杭州数梦工场科技有限公司 | A kind of generation method, system, electronic equipment and the storage medium of data blood relationship |
CN109582660A (en) * | 2018-12-06 | 2019-04-05 | 深圳前海微众银行股份有限公司 | Data consanguinity analysis method, apparatus, equipment, system and readable storage medium storing program for executing |
CN112084270A (en) * | 2020-09-17 | 2020-12-15 | 腾讯科技(深圳)有限公司 | Data blood margin processing method and device, storage medium and equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2022188331A1 (en) | 2022-09-15 |
CN112989151A (en) | 2021-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112989151B (en) | Data blood relationship display method and device, electronic equipment and storage medium | |
US10956747B2 (en) | Creating sparsely labeled video annotations | |
CN113127050B (en) | Application resource packaging process monitoring method, device, equipment and medium | |
CN112214155B (en) | View information playing method, device, equipment and storage medium | |
CN115576974B (en) | Data processing method, device, equipment and medium | |
CN114077430A (en) | Interface generation method and device, electronic equipment and storage medium | |
CN111813465B (en) | Information acquisition method, device, medium and equipment | |
CN113836014A (en) | Interface testing method and device, electronic equipment and storage medium | |
CN113076358A (en) | Report generation method, device, equipment and storage medium | |
CN111913922B (en) | Binary structured log generation method, device, equipment and storage medium | |
CN109558118B (en) | Method, apparatus, device and storage medium for creating native components of a smart applet | |
CN113792138B (en) | Report generation method and device, electronic equipment and storage medium | |
CN111259270A (en) | Weather reminding method, equipment and computer readable medium | |
CN117667095A (en) | Page code export method, device, equipment and storage medium | |
WO2023273621A1 (en) | Script generation method and apparatus, device and medium | |
CN114564354A (en) | Database performance monitoring method and device, electronic equipment and storage medium | |
CN114461214A (en) | Page display method and device, electronic equipment and storage medium | |
CN109948251B (en) | CAD-based data processing method, device, equipment and storage medium | |
CN107741992B (en) | Network storage method and device for conference records, intelligent tablet and storage medium | |
CN111124862A (en) | Intelligent equipment performance testing method and device and intelligent equipment | |
CN115408003A (en) | Data access method and device in virtual machine, electronic equipment and medium | |
CN117055977B (en) | Method and device for linking data between code-free applications | |
CN117076515B (en) | Metadata tracing method and device in medical management system, server and storage medium | |
CN112988276B (en) | Resource package generation method and device, electronic equipment and storage medium | |
CN115904522A (en) | Loading state display method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |