WO2022188331A1 - 数据血缘关系展示方法、装置、电子设备及存储介质 - Google Patents

数据血缘关系展示方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2022188331A1
WO2022188331A1 PCT/CN2021/107521 CN2021107521W WO2022188331A1 WO 2022188331 A1 WO2022188331 A1 WO 2022188331A1 CN 2021107521 W CN2021107521 W CN 2021107521W WO 2022188331 A1 WO2022188331 A1 WO 2022188331A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
blood relationship
target data
picture
target
Prior art date
Application number
PCT/CN2021/107521
Other languages
English (en)
French (fr)
Inventor
强宇
程强
冯宇波
曹文洁
Original Assignee
北京锐安科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 北京锐安科技有限公司 filed Critical 北京锐安科技有限公司
Publication of WO2022188331A1 publication Critical patent/WO2022188331A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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

Definitions

  • the embodiments of the present application relate to the field of computer technologies, for example, to a method, apparatus, electronic device, and storage medium for displaying data blood relationship.
  • Data kinship is similar to the kinship of human society.
  • the blood relationship of data reflects the life cycle of data, and reflects the entire process of data generation, processing and integration, circulation, and final demise, which is traceable.
  • the processing method of the blood relationship of data is usually to determine the blood relationship data that has blood relationship with a certain data by artificial means.
  • manually determining the blood relationship data with a certain data has high labor cost, low accuracy and slow speed, which makes it impossible to quickly, accurately and intuitively identify blood relationship with a certain data.
  • the blood relationship data of the relationship is displayed.
  • the embodiments of the present application provide a method, apparatus, electronic device, and storage medium for displaying blood relationship of data, so as to realize rapid, accurate and intuitive display of blood relationship data having blood relationship with target data.
  • an embodiment of the present application provides a method for displaying data blood relationship, the method comprising:
  • a blood relationship picture of the target data is determined, and the blood relationship picture is displayed.
  • an embodiment of the present application further provides a data blood relationship display device, the device comprising:
  • a target data determination module configured to determine target data in response to a user operation
  • a blood relationship data determination module configured to determine the blood relationship data having a blood relationship with the target data in response to detecting that the target data has a blood relationship
  • the blood relationship picture display module is configured to determine the blood relationship picture of the target data according to the target data and the blood relationship data, and display the blood relationship picture.
  • an embodiment of the present application also provides an electronic device, the electronic device comprising:
  • processors one or more processors
  • storage means arranged to store one or more programs
  • the one or more processors are configured to execute the one or more programs to implement the data lineage display method provided by any embodiment of the present application.
  • an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the implementation is as provided in any embodiment of the present application
  • the data blood relationship display method is as provided in any embodiment of the present application.
  • FIG. 1 is a schematic flowchart of a method for displaying data blood relationship provided in Embodiment 1 of the present application;
  • FIG. 2 is a schematic flowchart of a method for displaying data blood relationship provided in Embodiment 2 of the present application;
  • FIG. 3 is a schematic diagram showing a data blood relationship according to Embodiment 2 of the present application.
  • FIG. 4 is a schematic diagram showing another kind of data blood relationship provided in Embodiment 2 of the present application.
  • FIG. 5 is a schematic diagram of a module of a data blood relationship display device provided in Embodiment 3 of the present application.
  • FIG. 6 is a schematic structural diagram of an electronic device according to Embodiment 4 of the present application.
  • FIG. 1 is a schematic flowchart of a method for displaying blood relationship of data provided in Embodiment 1 of the present application.
  • this embodiment determines blood relationship data that has a blood relationship with the target data.
  • the method may be performed by a data lineage display apparatus, which may be implemented by software and/or hardware, and may be integrated into an electronic device such as a computer.
  • the method of this embodiment includes:
  • the user operation can be understood as a series of operations input by the user based on the input device. For example, it may be an operation performed by a user on a set trigger control through a physical device (such as a mouse and/or a keyboard) or a touch device (such as a virtual keyboard, etc.).
  • the user operation may be a click operation or a touch operation.
  • the data blood relationship display device can be wirelessly connected with the input device, and can also be electrically connected with the input device.
  • the data blood relationship display device can also be connected to the input device through an intermediate device.
  • the data lineage display apparatus may also include an input device.
  • the target data may be metadata.
  • metadata is also called intermediate data and relay data.
  • Metadata can be understood as the data of the data, and the essence of the metadata is the information describing the attributes of the data.
  • the target data may include data information such as data identification, data type, and data classification. Exemplarily, the target data may include: data identification: identification 1; data type: type 1; data classification: classification 1.
  • a user operation is received, and an instruction for determining target data is generated according to the user operation.
  • the instruction for determining the target data the target data corresponding to the user operation is determined.
  • the method before receiving a user operation and generating an instruction for determining the target data according to the user operation, the method further includes: presetting a control for determining the target data.
  • Receiving a user operation, and generating an instruction for determining target data according to the user operation includes: receiving a user operation, triggering a preset control for determining target data upon detection of the user operation, and generating an instruction for determining target data.
  • the blood relationship may be the blood relationship between the data, that is, the relationship between the target data and other data.
  • the blood relationship can reflect the life cycle of data, that is, it can reflect the entire process of data from generation to death.
  • Bloodline data can be understood as data that has a blood relationship with the target data.
  • the blood relationship data can be used to show the blood relationship of the target data.
  • the number of blood relationship data of the target data may be one, two or more.
  • the blood relationship data with blood relationship may include structured data and unstructured data.
  • structured data can also be called row data
  • structured data is data that can be logically expressed and realized by a two-dimensional table structure.
  • Unstructured data can be understood as: the data structure is irregular or incomplete, there is no predetermined data model, and it is not convenient for the two-dimensional logic of the database to represent the data.
  • the method of determining the blood relationship data that has a blood relationship with the target data may be: by detecting the relationship between the target data and other data, when it is detected that at least one data in the other data has a blood relationship with the target data, At least one piece of data that has a blood relationship with the target data is used as blood relationship data of the target data, that is, blood relationship data that has a blood relationship with the target data is determined.
  • other data can be understood as data other than the target data.
  • the naming rule of the data identification in response to detecting that the target data has a blood relationship, before determining the blood relationship data having a blood relationship with the target data, or before determining the blood relationship data having a blood relationship with the target data, the naming rule of the data identification can be determined, according to the data
  • the naming rules of the data identification, and the blood relationship rules are preset.
  • the blood relationship rule may be that a preset identifier exists in the data identifier of the data, such as an underscore (_), a plus sign (+), a minus sign (-), and the like.
  • the blood relationship rule is preset according to the naming rule of the data identifier of the data.
  • the data relationship between the target data and data other than the target data is detected according to a preset blood relationship rule.
  • the detection result is obtained by detecting the data relationship between the target data and data other than the target data.
  • the detection result is that there is a blood relationship between the target data and data other than the target data
  • the data that has a blood relationship with the target data is regarded as blood data, that is, the blood relationship data with the target data is determined.
  • the data identifier of data 1 is id1
  • the data identifier of data 2 is id1-id2
  • the target data is data 1
  • the data identifier of the target data is id1
  • the data identifier of data 2 contains the data of the target data.
  • the identifier, that is, id1 exists in id1-id2 can determine that there is a blood relationship between data 2 and the target data, that is, data 2 is blood data of the target data.
  • S130 Determine the blood relationship picture of the target data according to the target data and the blood relationship data, and display the blood relationship picture.
  • the blood relationship picture can be used to display the target data, blood relationship data, and blood relationship between the target data and the blood relationship data, so that the user can intuitively understand the data that has a blood relationship with the target data.
  • determining the blood relationship picture of the target data according to the target data and the blood relationship data may include, according to the target data and the blood relationship data, and based on the blood relationship between the target data and the blood relationship data, drawing a blood relationship diagram of the target data and the blood relationship data.
  • drawing a blood relationship diagram of the target data and the blood relationship data When it is detected that the drawing of the blood relationship between the target data and the blood data is completed, a blood relationship picture of the target data and the blood data is generated.
  • the generated blood relationship map is used as the blood relationship picture of the target data.
  • the storage path of the blood relationship picture of the target data may be preset.
  • the generated blood relationship map can be stored in the preset storage path of the blood relationship picture of the target data according to the preset storage path of the blood relationship picture of the target data.
  • the display area of the blood relationship pictures can be preset, and the blood relationship pictures of the target data can be obtained according to the preset storage path of the blood relationship pictures of the target data, and the blood relationship pictures of the target data can be obtained according to the target data.
  • the blood relationship picture of the target data is displayed in the preset display area.
  • a display area for displaying blood relationship pictures is preset.
  • a blood relationship picture of the target data and the blood relationship data can be generated according to the target data and the blood relationship data, and the blood relationship between the target data and the blood relationship data.
  • the generated blood relationship picture is used as the blood relationship picture of the target data, that is, the blood relationship picture of the target data is determined.
  • the preset display area for displaying blood relationship pictures the generated blood relationship pictures are displayed in the preset display area for displaying blood relationship pictures, that is, the blood relationship pictures are displayed in the preset display area.
  • determining the blood relationship picture of the target data according to the target data and the blood relationship data includes: encapsulating the target data and the blood relationship data based on a preset data packaging format to obtain a packaging object corresponding to the target data; Convert to the blood relationship picture of the target data.
  • the data encapsulation format may be a preset format.
  • the preset data encapsulation format may be a format in which the target data and the blood relationship data are connected through a preset connector (for example, a horizontal line (-), a plus sign (+) or a minus sign (-), etc.), such as , data 1 - data 2.
  • the data encapsulation format can be used to encapsulate the target data and the blood relationship data.
  • the data encapsulation may be to uniformly map the target data and the blood relationship data to the encapsulation object corresponding to the target data.
  • Encapsulated objects can be pre-set objects or variables.
  • the encapsulated object may include target data and bloodline data, wherein the number of bloodline data in the packaged object may be one, two, or more than two.
  • the conversion method for converting the encapsulated object into the blood relationship picture of the target data may be a preset conversion method, for example, a front-end plug-in.
  • there are various conversion methods for converting the encapsulated object into the blood relationship picture of the target data as long as the package object can be converted into the blood relationship picture of the target data.
  • the data encapsulation format is preset.
  • the encapsulation object corresponding to the target data is preset.
  • the conversion method for converting the encapsulated object into the blood relationship picture of the target data is preset.
  • the target data and the blood relationship data are encapsulated into the preset encapsulation object, that is, the encapsulation object corresponding to the target data is obtained.
  • the packaged object is obtained, the packaged object is converted into the blood relationship picture of the target data according to a preset conversion method of converting the packaged object into the blood relationship picture of the target data.
  • encapsulating target data and bloodline data to obtain an encapsulation object corresponding to the target data including: encapsulating the target data and bloodline data into a Json object; correspondingly, encapsulating the object Converting blood relationship pictures of target data, including: converting Json objects into blood relationship pictures of target data.
  • the Json format may be a text data format.
  • the Json object can be an object in Json format.
  • the Json format can be a value, a data or object, or a value of a primitive type.
  • the Json object can be an object in the Json format, or an encapsulated object in the key-value pair format, for example, ⁇ "status":"success" ⁇ .
  • the target data and bloodline data are encapsulated into objects in the Json format, and a Json object can be generated.
  • Json object generation is detected, the Json object can be obtained.
  • the Json object is obtained, the Json object can be converted into a blood relationship picture of the target data.
  • target data is determined in response to a user operation.
  • blood relationship data having a blood relationship with the target data is determined.
  • the blood relationship picture of the target data determines the blood relationship picture.
  • the embodiment of the present application can deal with the operation defects of high labor cost, low accuracy and slow speed in the related art that manually determine the blood relationship data with a blood relationship with a certain data, and realize fast, accurate and intuitive display Consanguinity data that has a consanguinity relationship with the target data.
  • FIG. 2 is a schematic flowchart of a method for displaying blood relationship of data provided in Embodiment 2 of the present application.
  • the type of target data may be detected before blood relationship data having a blood relationship with the target data is determined. According to the type of the target data, the blood relationship data having the blood relationship with the target data is determined more quickly.
  • the method further includes, when detecting that the target data does not have a blood relationship, encapsulating the target data to obtain an encapsulated object corresponding to the target data, converting the encapsulated object into a node picture of the target data, and performing the node picture Display, display the target data that is not related by blood.
  • the step of determining the blood relationship data that has a blood relationship with the target data is optimized, and the source data and/or destination data corresponding to the target data can be determined.
  • the step of determining the blood relationship picture of the target data is optimized, and the blood relationship picture of the target data is quickly determined according to the target data and the source data and/or destination data corresponding to the target data.
  • the step of displaying the blood relationship picture is optimized, and the source data and/or destination data that have blood relationship with the target data are displayed more intuitively.
  • the method of this embodiment may include:
  • the data type may be a preset type.
  • the type of data can include dataset type and field type.
  • the type of target data can be used to determine the level or hierarchy of the target data, that is, the type of target data can be used to determine the dataset to which the target data belongs, or the type of target data can be a field corresponding to the target data.
  • the function of detecting the type of the target data can be realized by using a code function to detect the type of the target data.
  • the type of the detection target data may be: preset the type included in the data; obtain the type of the target data; according to the type included in the preset data and the type of the obtained target data, make the type of the target data consistent with the preset type Comparison.
  • the type included in the data type is preset; when it is detected that the target data has a blood relationship, the type of the target data can be obtained. Based on the preset data type and the target data type, the consistency comparison is performed between the target data type and the preset data type, and the type of the target data is detected.
  • S230 Determine source data and/or destination data corresponding to the target data according to the type of target data.
  • the source data can be understood as the data forming the target data.
  • the source data can reflect the source of the target data.
  • the destination data can be understood as the data formed by processing the target data.
  • the destination data can reflect the destination of the target data.
  • the number of source data corresponding to the target data may be one, two or more.
  • the number of destination data corresponding to the target data may be one, two or more.
  • a blood relationship list corresponding to the data type may be established in advance based on the type of the data.
  • the blood relationship list can be understood as a list storing data with blood relationship.
  • a blood relationship list of the dataset types associated with the target data can be obtained.
  • the blood relationship list of the dataset type associated with the target data can be traversed to obtain source data and/or destination data corresponding to the target data, And the blood relationship between the acquired data.
  • a blood relationship list of the field types associated with the target data can be obtained.
  • the blood relationship list of the field type associated with the target data can be traversed to obtain source data and/or destination data corresponding to the target data, and obtain The blood relationship between the data.
  • S240 Determine a blood relationship picture of the target data according to the source data and/or destination data and target data corresponding to the target data, and display the blood relationship picture.
  • a display area for blood relationship pictures is preset.
  • the corresponding source data and/or destination data and target data of the target data may be encapsulated to generate an encapsulation object corresponding to the target data.
  • the packaged object can be converted into a blood relationship picture of the target data based on the blood relationship between the target data, the source data, and the destination data.
  • the blood relationship picture is displayed in the preset blood relationship picture display area according to the preset blood relationship picture display area.
  • Figures 3 and 4 are blood relationship pictures of the target data.
  • the blood relationship diagram shown in FIG. 3 is the blood relationship diagram of the target data and the destination data corresponding to the target data, wherein the target data is the main personnel, the type of the target data is the data set type, and the classification of the target data data set belongs to the industry data.
  • the destination data of the target data can include the element relation library, the element association library, people and offline places.
  • the blood relationship diagram shown in FIG. 4 is the blood relationship diagram of the target data and the source data corresponding to the target data, wherein the target data is the behavior details, the type of the target data is the data set type, and the classification to which the data set of the target data belongs is the behavior Detail library.
  • the source data of the target data can include other and industry data and other source data.
  • the target data, the source data of the target data, and the destination data of the target data displayed in the blood relationship picture can display the classification of the data type to which the data belongs.
  • the type of the target data is the data set type
  • the data set to which the target data belongs is Behavior details
  • data sets are classified as behavior details library
  • the display of target data can be the data set to which the target data belongs and the type of the data set to which the target data belongs.
  • a picture display style can be preset; based on the preset picture display style, blood relationship pictures are displayed.
  • the preset picture display style may include display position, color, border of display node corresponding to the data, and the like.
  • the display position may include the style of the top-bottom structure, the style of the left-right structure, and so on.
  • the image display style may be determined based on the length of the image display area.
  • the length of the image display area is preset
  • the image display style is preset
  • the corresponding relationship between the length of the image display area and the image display style is preset.
  • the data encapsulation format may be a data encapsulation format without blood relationship.
  • the data packaging format corresponding to the data without blood relationship may be determined based on a preset data packaging format.
  • the target data is encapsulated according to the data encapsulation format corresponding to the data without blood relationship.
  • the encapsulation object corresponding to the target data can be obtained.
  • S260 Convert the encapsulated object into a node image of the target data, and display the node image.
  • node pictures can be used to display target data without blood relationship
  • a picture display area is preset.
  • the encapsulation object corresponding to the target data is obtained, or after the encapsulation object corresponding to the target data is obtained, the encapsulation object may be converted into a node picture of the target data. After the node image conversion of the detected target data is completed, the node image of the target data is generated. When it is detected that the node image of the target data is generated, the node image of the target data is displayed in a preset image display area.
  • a picture storage path is preset, and after detecting that the node picture of the target data is generated, the node picture may be stored in the preset picture storage path based on the preset picture storage path.
  • the type of the target data is detected before the blood relation data with the target data is determined, and the blood relation data with the target data is determined more quickly according to the type of the target data.
  • the target data is packaged to obtain a package object corresponding to the target data, the package object is converted into a node picture of the target data, and the node picture is displayed, which will not have blood relationship. target data for display.
  • the step of determining the blood relationship data with the blood relationship with the target data is optimized, the source data and/or destination data corresponding to the target data can be determined, and on this basis, according to the target data and blood relationship data,
  • the step of determining the blood relationship picture of the target data is optimized, and the blood relationship picture of the target data is quickly determined according to the target data and the source data and/or destination data corresponding to the target data.
  • the steps of displaying the blood relationship pictures are optimized, and the source data and/or destination data that have blood relationship with the target data are displayed more intuitively, so that the target data can be displayed more quickly, accurately, and intuitively.
  • the technical effect of the data blood relationship is displayed.
  • FIG. 5 is a schematic diagram of the modules of a data blood relationship display device provided in Embodiment 3 of the present application.
  • the present application provides a data blood relationship display device, and the device includes: a target data determination module 310, a blood relationship data determination module 320, and a blood relationship The picture display module 330 .
  • the target data determination module 310 is configured to determine target data in response to a user operation; the blood relationship data determination module 320 is configured to determine the blood relationship with the target data in response to detecting that the target data has a blood relationship
  • the blood relationship picture display module 330 is configured to determine the blood relationship picture of the target data according to the target data and the blood relationship data, and display the blood relationship picture.
  • the target data determination module is configured to determine target data in response to a user operation.
  • the blood relationship data determination module is configured to determine blood relationship data having a blood relationship with the target data in response to detecting that the target data has a blood relationship.
  • the blood relationship picture display module is set to determine the blood relationship picture of the target data according to the target data and the blood relationship data, and display the blood relationship picture, which can be used to manually determine the blood relationship with a certain data in related technologies.
  • the operation defects of high labor cost, low accuracy and slow speed exist in the data, so as to realize the fast, accurate and intuitive display of blood relationship data with the target data.
  • the blood relationship picture display module 330 is further configured to encapsulate the target data and the blood relationship data based on a preset data encapsulation format to obtain an encapsulation object corresponding to the target data; The object is converted into a blood relationship picture of the target data.
  • the blood relationship picture display module 330 is further configured to encapsulate the target data and the blood relationship data into a Json object; and convert the Json object into a blood relationship picture of the target data.
  • the apparatus for displaying data blood relationship further includes:
  • a target data type detection module configured to detect the type of the target data
  • the blood relationship data determination module 320 is further configured to determine blood relationship data having a blood relationship with the target data according to the type of the target data.
  • the apparatus further includes:
  • the node picture display module is configured to encapsulate the target data based on a preset data encapsulation format in response to detecting that the target data does not have a blood relationship to obtain an encapsulation object corresponding to the target data; Convert to a node image of the target data, and display the node image.
  • the blood relationship data determination module 320 is further configured to determine at least one of source data and destination data corresponding to the target data;
  • the blood relationship picture display module 330 is further configured to determine the blood relationship picture of the target data according to at least one item of source data and destination data corresponding to the target data, and the target data.
  • the blood relationship picture display module 330 is further configured to preset a picture display style; based on the preset picture display style, the blood relationship picture is displayed.
  • the above apparatus can execute the data lineage display method provided by any embodiment of the present application, and has functional modules and beneficial effects corresponding to executing the data lineage display method.
  • the multiple units and modules included in the above-mentioned data blood relationship display device are only divided according to functional logic, and there can be multiple division methods, as long as the corresponding functions can be realized; in addition, the names of the functional units are only for the convenience of distinguishing from each other. .
  • FIG. 6 is a schematic structural diagram of an electronic device according to Embodiment 4 of the present application.
  • Figure 6 shows a block diagram of an exemplary electronic device 12 suitable for use in implementing any of the embodiments of the present application.
  • the electronic device 12 shown in FIG. 6 is just one example.
  • Device 12 is typically an electronic device that undertakes the processing of configuration information.
  • the electronic device 12 takes the form of a general-purpose computing device.
  • the components of the electronic device 12 may include: one or more processors or processing units 16, a memory 28, and a bus 18 connecting the various components including the memory 28 and the processing unit 16.
  • the bus 18 represents one or more of a variety of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures.
  • these architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA bus, 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. These media can be any available media that can be accessed by electronic device 12, including both volatile and non-volatile 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 (RAM) 30 and/or cache 32 .
  • Electronic device 12 may include other removable/non-removable, volatile/non-volatile computer storage media.
  • storage system 34 may be used to read and write to non-removable, non-volatile magnetic media, not shown in FIG. 6, commonly referred to as hard disk drives.
  • a magnetic disk drive for reading and writing to a part of a removable non-volatile magnetic disk (eg, a floppy disk) and an optical disk drive for reading and writing to another part of a removable non-volatile optical disk may be provided, and another part Removable non-volatile optical discs such as Compact Disc-Read Only Memory (CD-ROM), Digital Video Disc (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical media.
  • each drive may be connected to bus 18 through one or more data media interfaces.
  • the memory 28 may include at least one program product 40 having a set of program modules 42 configured to perform the functions of various embodiments of the present application.
  • Program product 40 which may be stored, for example, in memory 28, such program modules 42 including one or more application programs, other program modules, and program data, each or some combination of these examples 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 (eg, 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 (eg, network card, modem, etc.) that enables the electronic device 12 to communicate with one or more other computing devices. Such communication may take place through input/output (I/O) interface 22 . Also, the electronic device 12 may communicate with one or more networks, such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through a network adapter 20. As shown in FIG. 6 , the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18 .
  • LAN Local Area Network
  • WAN Wide Area Network
  • public network such as the Internet
  • the processing unit 16 executes a variety of functional applications and data processing by running the program stored in the memory 28, for example, to realize the data blood relationship display method provided by the above-mentioned embodiments of the present application, and the method includes:
  • a blood relationship picture of the target data is determined, and the blood relationship picture is displayed.
  • processor can also implement the data blood relationship display method provided by any embodiment of the present application.
  • Embodiment 5 of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for displaying data blood relationship provided by the embodiment of the present application is implemented. .
  • Data blood relationship display methods include:
  • a blood relationship picture of the target data is determined, and the blood relationship picture is displayed.
  • the computer storage medium of the embodiments of the present application may adopt 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, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. Examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM), flash memory, fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
  • a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with computer-readable program code embodied in the computer-readable signal medium. Such propagated data signals may take a variety of forms, including electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
  • Program code embodied on a computer-readable medium may be transmitted by any suitable medium, including wireless, wire, optical fiber cable, radio frequency identification (RF), etc., or any suitable combination of the foregoing.
  • suitable medium including wireless, wire, optical fiber cable, radio frequency identification (RF), etc., or any suitable combination of the foregoing.
  • Computer program code for carrying out the operations of the embodiments of the present application may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional procedural programming language - such as C 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.
  • 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, such as through an Internet service provider Internet connection to an external computer.
  • LAN local area network
  • WAN wide area network

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)
  • User Interface Of Digital Computer (AREA)
  • Investigating Or Analysing Biological Materials (AREA)
  • Image Analysis (AREA)

Abstract

本申请实施例公开了一种数据血缘关系展示方法、装置、电子设备及存储介质。该方法包括: 响应于用户操作,确定目标数据; 响应于检测到所述目标数据存在血缘关系,确定与所述目标数据具有血缘关系的血缘数据; 根据所述目标数据以及所述血缘数据,确定所述目标数据的血缘关系图片,并将所述血缘关系图片进行展示。

Description

数据血缘关系展示方法、装置、电子设备及存储介质
本公开要求在2021年03月11日提交中国专利局、申请号为202110267625.4的中国专利申请的优先权,以上申请的全部内容通过引用结合在本公开中。
技术领域
本申请实施例涉及计算机技术领域,例如涉及一种数据血缘关系展示方法、装置、电子设备及存储介质。
背景技术
数据血缘关系类似于人类社会的血缘关系。数据血缘关系体现了数据的生命周期,体现了数据从数据的产生、加工融合、流转流通,到最终消亡的整个过程,具备可追溯性。
数据血缘关系的处理方法,通常是通过人工的方式确定与某个数据具有血缘关系的血缘数据。然而,通过人工的方式确定与某个数据具有血缘关系的血缘数据,此种处理方式人工成本高,同时还准确度低、速度慢,导致无法快速、准确以及直观的将与某个数据具有血缘关系的血缘数据进行展示。
发明内容
本申请实施例提供了一种数据血缘关系展示方法、装置、电子设备及存储介质,以实现快速、准确以及直观的展示与目标数据具有血缘关系的血缘数据。
第一方面,本申请实施例提供了一种数据血缘关系展示方法,该方法包括:
响应于用户操作,确定目标数据;
响应于检测到所述目标数据存在血缘关系,确定与所述目标数据具有血缘关系的血缘数据;
根据所述目标数据以及所述血缘数据,确定所述目标数据的血缘关系图片,并将所述血缘关系图片进行展示。
第二方面,本申请实施例还提供了一种数据血缘关系展示装置,该装置包括:
目标数据确定模块,设置为响应于用户操作,确定目标数据;
血缘数据确定模块,设置为响应于检测到所述目标数据存在血缘关系,确定与所述目标数据具有血缘关系的血缘数据;
血缘关系图片展示模块,设置为根据所述目标数据以及所述血缘数据,确 定所述目标数据的血缘关系图片,并将所述血缘关系图片进行展示。
第三方面,本申请实施例还提供了一种电子设备,该电子设备包括:
一个或多个处理器;
存储装置,设置为存储一个或多个程序;
所述一个或多个处理器设置为,执行所述一个或多个程序以实现如本申请任意实施例所提供的数据血缘关系展示方法。
第四方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如本申请任意实施例所提供的数据血缘关系展示方法。
附图说明
为了说明本申请实施例,下面对描述实施例中所用到的附图做一简单介绍。
图1是本申请实施例一提供的一种数据血缘关系展示方法流程示意图;
图2是本申请实施例二提供的一种数据血缘关系展示方法流程示意图;
图3是本申请实施例二提供的一种数据血缘关系展示示意图;
图4是本申请实施例二提供的另一种数据血缘关系展示示意图;
图5是本申请实施例三提供的一种数据血缘关系展示装置模块示意图;
图6是本申请实施例四提供的一种电子设备的结构示意图。
具体实施方式
下面结合附图和实施例对本申请进行说明。
实施例一
图1是本申请实施例一提供的一种数据血缘关系展示方法流程示意图,本实施例响应于检测到目标数据存在血缘关系,确定与目标数据具有血缘关系的血缘数据,根据目标数据以及血缘数据,将目标数据以及血缘数据进行展示。该方法可以由数据血缘关系展示装置来执行,数据血缘关系展示装置可通过软件和/或硬件方式实现,该数据血缘关系展示装置可集成于诸如计算机等电子设备中。
如图1所示,本实施例的方法包括:
S110、响应于用户操作,确定目标数据。
其中,用户操作可以理解为用户基于输入设备输入的一系列操作。例如,可以是用户通过物理设备(如,鼠标和/或键盘)或者是触控设备(如,虚拟键 盘等)等在设定触发控件上进行的操作。用户操作可以是点击操作或者是触控操作。
数据血缘关系展示装置可与输入设备无线连接,也可与输入设备电连接。
此外,数据血缘关系展示装置也可通过中间设备与输入设备连接。
此外,数据血缘关系展示装置也可包括输入设备。
其中,目标数据可以是元数据。其中,元数据又称为中介数据、中继数据。元数据可以理解为数据的数据,元数据的本质是描述数据属性的信息。目标数据可以包括数据标识、数据类型以及数据分类等数据信息。示例性的,目标数据可以包括:数据标识:标识1;数据类型:类型1;数据分类:分类1。
例如,接收用户操作,根据用户操作,生成用于确定目标数据的指令。根据用于确定目标数据的指令,确定与用户操作对应的目标数据。
在一实施例中,在接收用户操作,根据用户操作,生成用于确定目标数据的指令之前,还包括:预先设置用于确定目标数据的控件。接收用户操作,根据用户操作,生成用于确定目标数据的指令,包括:接收用户操作,在检测到用户操作触发预先设置的用于确定目标数据的控件,生成用于确定目标数据的指令。
S120、响应于检测到目标数据存在血缘关系,确定与目标数据具有血缘关系的血缘数据。
其中,血缘关系可以是数据之间的血缘关系,即目标数据与其他数据之间的关系。血缘关系可以体现数据的生命周期,即,可以体现数据从产生到消亡的整个过程。血缘数据可以理解为与目标数据具有血缘关系的数据。血缘数据可以用于展示目标数据的血缘关系。目标数据的血缘数据的数量可以是一个、两个或两个以上。
其中,具有血缘关系的血缘数据可以包括结构化数据和非结构化数据。其中,结构化数据也可以称作行数据,结构化数据是可以由二维表结构来逻辑表达和实现的数据。非结构化数据可以理解为:数据结构不规则或不完整,没有预定的数据模型,以及不方便数据库二维逻辑来表现的数据。
其中,确定与目标数据具有血缘关系的血缘数据的确定方式可以是,通过对目标数据与其他数据之间的关系进行检测,在检测到其他数据中的至少一个数据与目标数据存在血缘关系时,将与目标数据具有血缘关系的至少一个数据作为目标数据的血缘数据,即,确定与目标数据具有血缘关系的血缘数据。其中,其他数据可以理解为除了目标数据之外的数据。
其中,在响应于检测到目标数据存在血缘关系,确定与目标数据具有血缘关系的血缘数据之前,或者是在确定与目标数据具有血缘关系的血缘数据之前,可以确定数据标识的命名规则,根据数据的数据标识的命名规则,预先设置血缘关系规则。示例性的,血缘关系规则可以是数据的数据标识中存在预设标识符,如,下划线(_)、加号(+)或减号(-)等等。
例如,通过确定数据标识的命名规则,根据数据的数据标识的命名规则,预先设置血缘关系规则。在目标数据确定完成时,或者,在目标数据确定之后,根据预先设置血缘关系规则,检测目标数据与除了目标数据之外的数据之间的数据关系。通过检测目标数据与除了目标数据之外的数据之间的数据关系,得到检测结果。当检测结果为目标数据与除了目标数据之外的数据之间存在血缘关系时,则将与目标数据存在血缘关系的数据作为血缘数据,也就是说,确定与目标数据具有血缘关系的血缘数据。
示例性的,数据1的数据标识为id1,数据2的数据标识为id1-id2,其中,目标数据为数据1,即目标数据的数据标识为id1,数据2的数据标识中存在目标数据的数据标识,即id1-id2中存在id1,可以确定数据2与目标数据之间存在血缘关系,即,数据2为目标数据的血缘数据。
S130、根据目标数据以及血缘数据,确定目标数据的血缘关系图片,并将血缘关系图片进行展示。
其中,血缘关系图片可以用于展示目标数据、血缘数据、以及目标数据与血缘数据之间的血缘关系,以便于使用者直观的了解与目标数据存在血缘关系的数据。
其中,根据目标数据以及血缘数据,确定目标数据的血缘关系图片,可以包括,根据目标数据以及血缘数据,基于目标数据与血缘数据之间的血缘关系,绘制目标数据与血缘数据的血缘关系图。在检测到目标数据与血缘数据的血缘关系图绘制完成时,生成目标数据与血缘数据的血缘关系图片。在血缘关系图片生成完成时,将生成的血缘关系图作为目标数据的血缘关系图片。
在一实施例中,在确定目标数据的血缘关系图片之前,可以预先设置目标数据的血缘关系图片的存储路径。
为了便于对目标数据的血缘关系图片的管理,可以根据预先设置目标数据的血缘关系图片的存储路径,将生成的血缘关系图存储至预先设置目标数据的血缘关系图片的存储路径。
为了便于对目标数据的血缘关系图片的展示,可以预先设置血缘关系图片 的展示区域,根据预先设置目标数据的血缘关系图片的存储路径,以及根据目标数据,获取目标数据的血缘关系图片,并将目标数据的血缘关系图片展示至预先设置的展示区域。
例如,预先设置用于展示血缘关系图片的展示区域。在目标数据的血缘数据确定完成时,可以根据目标数据以及血缘数据,以及目标数据与血缘数据之间的血缘关系,生成目标数据与血缘数据的血缘关系图片。在检测到目标血缘关系图片生成完成时,将生成的血缘关系图片作为目标数据的血缘关系图片,即,确定目标数据的血缘关系图片。根据预先设置用于展示血缘关系图片的展示区域,将生成的血缘关系图片展示于预先设置的用于展示血缘关系图片的展示区域,即,将血缘关系图片展示于预先设置的展示区域。
在一实施例中,根据目标数据以及血缘数据,确定目标数据的血缘关系图片,包括:基于预设数据封装格式,将目标数据与血缘数据进行封装,得到目标数据对应的封装对象;将封装对象转换为目标数据的血缘关系图片。
其中,数据封装格式可以是预先设置的格式。示例性的,预设数据封装格式可以是通过预设连接符(例如,横线(—)、加号(+)或减号(-)等)将目标数据与血缘数据进行连接的格式,如,数据1—数据2。数据封装格式可以用于将目标数据与血缘数据进行数据封装。数据封装可以是将目标数据与血缘数据统一映射至目标数据对应的封装对象。封装对象可以是预先设置的对象或变量。封装对象可以包括目标数据和血缘数据,其中,封装对象中的血缘数据的个数可以是一个、两个或两个以上。
其中,将封装对象转换为目标数据的血缘关系图片的转换方式可以是预先设置的转换方式,例如,前端插件。本申请实施例中,将封装对象转换为目标数据的血缘关系图片的转换方式存在多种,只要能够将封装对象转换为目标数据的血缘关系图片即可。
例如,预先设置数据封装格式。预先设置目标数据对应的封装对象。预先设置将封装对象转换为目标数据的血缘关系图片的转换方式。根据预先设置的数据封装格式,以及根据预先设置的目标数据对应的封装对象,将目标数据与血缘数据封装至预先设置的封装对象,即,得到目标数据对应的封装对象。在得到封装对象时,根据预先设置的将封装对象转换为目标数据的血缘关系图片的转换方式,将封装对象转换为目标数据的血缘关系图片。
在上述实施例的基础上,在一实施例中,将目标数据与血缘数据进行封装,得到目标数据对应的封装对象,包括:将目标数据与血缘数据封装为Json对象; 相应的,将封装对象转换为目标数据的血缘关系图片,包括:将Json对象转换为目标数据的血缘关系图片。
其中,Json格式可以是一种文本数据格式。Json对象可以是Json格式的对象。Json格式可以是一个值、一个数据或对象,或一个原始类型的值,Json对象可以是Json格式的对象,可以是键值对格式的封装对象,例如,{"status":"success"}。
其中,将Json对象转换为目标数据的血缘关系图片的方式存在多种,可以是通过前端插件将Json对象转换为目标数据的血缘关系图片。
例如,基于Json格式,将目标数据与血缘数据封装为Json格式的对象,可以生成Json对象。在检测到Json对象生成时,可以得到Json对象。在得到Json对象时,可以将Json对象转换为目标数据的血缘关系图片。
本申请实施例,响应于用户操作,确定目标数据。响应于检测到目标数据存在血缘关系,确定与目标数据具有血缘关系的血缘数据。根据目标数据以及血缘数据,确定目标数据的血缘关系图片,并将血缘关系图片进行展示。本申请实施例,可应对相关技术中以人工的方式确定与某个数据具有血缘关系的血缘数据中存在的人工成本高、准确度低、速度慢的操作缺陷,实现快速、准确以及直观地展示与目标数据具有血缘关系的血缘数据。
实施例二
图2是本申请实施例二提供的一种数据血缘关系展示方法流程示意图,在前述实施例的基础上,可以在确定与目标数据具有血缘关系的血缘数据之前,对目标数据的类型进行检测,根据目标数据的类型更加快速的确定与目标数据具有血缘关系的血缘数据。
此外,所述方法还包括在检测到所述目标数据未存在血缘关系时,将目标数据进行封装,得到目标数据对应的封装对象,将封装对象转换为目标数据的节点图片,并将节点图片进行展示,将不具有血缘关系的目标数据进行展示。
此外,对确定与所述目标数据具有血缘关系的血缘数据的步骤进行了优化,可以确定与所述目标数据对应的来源数据和/或去向数据,在此基础上,对根据目标数据以及血缘数据,确定目标数据的血缘关系图片的步骤进行了优化,根据目标数据、以及目标数据对应的来源数据和/或去向数据快速的确定目标数据的血缘关系图片。
此外,对将所述血缘关系图片进行展示的步骤进行了优化,更加直观的将 与目标数据具有血缘关系的来源数据和/或去向数据进行展示。
如图2所示,本实施例的方法可包括:
S210、响应于用户操作,确定目标数据。
S220、响应于检测到目标数据存在血缘关系,检测目标数据的类型。
其中,数据的类型可以是预先设置的类型。数据的类型可以包括数据集类型和字段类型。目标数据的类型可以用于确定目标数据的级别或层次,也就是说,目标数据的类型可以用于确定目标数据所属的数据集,或者,目标数据的类型可以是目标数据对应的字段。其中,检测目标数据的类型可以通过代码函数实现检测目标数据类型的功能。
检测目标数据的类型可以是:预先设置数据包括的类型;获取目标数据的类型;根据预先设置的数据包括的类型,以及获取目标数据的类型,将目标数据的类型与预先设置的类型进行一致性比对。
例如,预先设置数据的类型包括的类型;在检测到目标数据存在血缘关系时,可以获取目标数据的类型。基于预先设置的数据类型,以及目标数据的类型,将目标数据的类型与预先设置的数据类型进行一致性比对,对目标数据的类型进行检测。
S230、根据目标数据的类型,确定与目标数据对应的来源数据和/或去向数据。
其中,来源数据可以理解为形成目标数据的数据。来源数据可以体现目标数据的来源。去向数据可以理解为对目标数据加工形成的数据。去向数据可以体现目标数据的去向。目标数据对应的来源数据的个数可以是一个、两个或两个以上。目标数据对应的去向数据的个数可以是一个、两个或两个以上。
其中,在根据目标数据的类型,确定与目标数据对应的来源数据和/或去向数据之前,可以基于数据的类型,预先建立与数据类型对应的血缘关系列表。其中,血缘关系列表可以理解为存储具有血缘关系的数据的列表。
例如,在检测到目标数据的类型为数据集类型时,可以获取与目标数据关联的数据集类型的血缘关系列表。在检测到与目标数据关联的数据集类型的血缘关系列表获取完成时,可以对与目标数据关联的数据集类型的血缘关系列表进行遍历,获取与目标数据对应的来源数据和/或去向数据,以及获取数据之间的血缘关系。
例如,在检测到目标数据的类型为字段类型时,可以获取与目标数据关联的字段类型的血缘关系列表。在检测到与目标数据关联的字段类型的血缘关系 列表获取完成时,可以对与目标数据关联的字段类型的血缘关系列表进行遍历,获取与目标数据对应的来源数据和/或去向数据,以及获取数据之间的血缘关系。
S240、根据与目标数据对应的来源数据和/或去向数据、目标数据,确定目标数据的血缘关系图片,并将血缘关系图片进行展示。
例如,预先设置血缘关系图片的展示区域。在目标数据对应的来源数据和/或,目标数据对应的去向数据确定完成时,可以将目标数据的对应的来源数据和/或去向数据、目标数据进行封装,生成与目标数据对应的封装对象。在检测到封装对象生成时,可以基于目标数据、来源数据以及去向数据之间的血缘关系,将封装对象转换为目标数据的血缘关系图片。在检测封装对象转换为血缘关系图片完成时,根据预先设置的血缘关系图片的展示区域,将血缘关系图片展示在预先设置的血缘关系图片的展示区域。
示例性的,图3、图4为目标数据的血缘关系图片。图3中展示的血缘关系图为目标数据与目标数据对应的去向数据的血缘关系图,其中,目标数据为主要人员,目标数据的类型为数据集类型,目标数据的数据集所属的分类为行业数据。目标数据的去向数据可以包括要素关系库、要素关联库、人以及网下场所。图4中展示的血缘关系图为目标数据与目标数据对应的来源数据的血缘关系图,其中,目标数据为行为明细,目标数据的类型为数据集类型,目标数据的数据集所属的分类为行为明细库。目标数据的来源数据可以包括其他以及行业数据等来源数据。
在血缘关系图片中展示的目标数据、目标数据的来源数据、目标数据的去向数据,可以展示数据所属的数据类型的分类,例如,目标数据的类型为数据集类型,目标数据所属的数据集为行为明细,数据集的分类为行为明细库,目标数据的展示可以是展示目标数据所属的数据集,以及目标数据所属数据集的类型。
为了直观的展示目标数据、目标数据的来源数据和/或目标数据的去向数据之间的关系,可以预先设置图片展示样式;基于预先设置图片展示样式,将血缘关系图片进行展示。
其中,预先设置图片展示样式可以包括展示位置、颜色、数据对应的展示节点的边框等等。其中,展示位置可以包括上下结构的样式、左右结构的样式等等。为了提高图片展示的效果,可以基于图片展示区域的长度,确定图片展示样式。
例如,预先设置图片展示区域的长度,预先设置图片展示样式,以及预先 设置图片展示区域的长度与图片展示样式之间的对应关系。在将目标数据、目标数据的来源数据和/或目标数据的去向数据进行封装,得封装对象。在得到封装对象时,可以检测图片展示区域的长度,根据预先设置图片展示区域的长度,根据预先设置图片展示样式,以及根据图片展示区域的长度与图片展示样式之间的对应关系,确定图片展示样式。根据图片展示样式,可以将封装对象转换为图片展示样式的图片,即转换为血缘关系图片。在血缘关系图片展示完成时,可以将血缘关系图片展示于预先设置的展示区域。
S250、响应于检测到目标数据未存在血缘关系,基于预设数据封装格式,将目标数据进行封装,得到目标数据对应的封装对象。
其中,数据封装格式可以是不存在血缘关系的数据封装格式。
例如,在确定目标数据完成时,检测目标数据是否存在血缘关系,得到检测结果。当检测结果为目标数据未存在血缘关系,则可以基于预先设置的数据封装格式,确定未存在血缘关系的数据对应的数据封装格式。根据未存在血缘关系的数据对应的数据封装格式,将目标数据进行封装。在检测到目标数据封装完成时,可以得到目标数据对应的封装对象。
S260、将封装对象转换为目标数据的节点图片,并将节点图片进行展示。
其中,节点图片可以用于展示未存在血缘关系的目标数据
例如,预先设置图片展示区域。在得到目标数据对应的封装对象时,或在得到目标数据对应的封装对象之后,可以将封装对象转换为目标数据的节点图片。在检测到目标数据的节点图片转换完成后,也就是生成目标数据的节点图片。在检测到目标数据的节点图片生成时,将目标数据的节点图片展示至预先设置的图片展示区域。
在一实施例中,预先设置图片存储路径,在检测到目标数据的节点图片生成后,可以基于预先设置图片存储路径,将节点图片存储至预先设置图片存储路径。
本实施例,通过在确定与目标数据具有血缘关系的血缘数据之前,对目标数据的类型进行检测,根据目标数据的类型更加快速的确定与目标数据具有血缘关系的血缘数据。以及在检测到所述目标数据未存在血缘关系时,目标数据进行封装,得到目标数据对应的封装对象,将封装对象转换为目标数据的节点图片,并将节点图片进行展示,将不具有血缘关系的目标数据进行展示。
以及对确定与所述目标数据具有血缘关系的血缘数据的步骤进行了优化,可以确定与所述目标数据对应的来源数据和/或去向数据,在此基础上,对根据 目标数据以及血缘数据,确定目标数据的血缘关系图片的步骤进行了优化,根据目标数据、以及目标数据对应的来源数据和/或去向数据快速的确定目标数据的血缘关系图片。以及对将所述血缘关系图片进行展示的步骤进行了优化,更加直观的将与目标数据具有血缘关系的来源数据和/或去向数据进行展示,达到了更加快速、准确、以及直观的将目标数据的数据血缘关系进行展示的技术效果。
此外,本申请实施例与上述实施例提出的数据血缘关系展示方法属于同一发明构思,未在本实施例中描述的技术细节可参见上述实施例,且本实施例与上述实施例具有相同的有益效果。
实施例三
图5是本申请实施例三提供的一种数据血缘关系展示装置模块示意图,本申请提供了一种数据血缘关系展示装置,该装置包括:目标数据确定模块310、血缘数据确定模块320以及血缘关系图片展示模块330。
其中,目标数据确定模块310,设置为响应于用户操作,确定目标数据;血缘数据确定模块320,设置为响应于检测到所述目标数据存在血缘关系,确定与所述目标数据具有血缘关系的血缘数据;血缘关系图片展示模块330,设置为根据所述目标数据以及所述血缘数据,确定所述目标数据的血缘关系图片,并将所述血缘关系图片进行展示。
本申请实施例,通过目标数据确定模块设置为响应于用户操作,确定目标数据。通过血缘数据确定模块设置为响应于检测到目标数据存在血缘关系,确定与目标数据具有血缘关系的血缘数据。通过血缘关系图片展示模块设置为根据目标数据以及血缘数据,确定目标数据的血缘关系图片,并将血缘关系图片进行展示,可应对相关技术中以人工的方式确定与某个数据具有血缘关系的血缘数据中存在的人工成本高、准确度低、速度慢的操作缺陷,实现快速、准确以及直观的展示与目标数据具有血缘关系的血缘数据。
在一实施例中,血缘关系图片展示模块330,还设置为基于预设数据封装格式,将所述目标数据与所述血缘数据进行封装,得到所述目标数据对应的封装对象;将所述封装对象转换为所述目标数据的血缘关系图片。
在一实施例中,血缘关系图片展示模块330,还设置为将所述目标数据与所述血缘数据封装为Json对象;将所述Json对象转换为所述目标数据的血缘关系图片。
在一实施例中,数据血缘关系展示装置还包括:
目标数据类型检测模块,设置为检测所述目标数据的类型;
血缘数据确定模块320,还设置为根据所述目标数据的类型,确定与所述目标数据具有血缘关系的血缘数据。
在一实施例中,该装置还包括:
节点图片展示模块,设置为响应于检测到所述目标数据未存在血缘关系,基于预设数据封装格式,将所述目标数据进行封装,得到所述目标数据对应的封装对象;将所述封装对象转换为所述目标数据的节点图片,并将所述节点图片进行展示。
在一实施例中,血缘数据确定模块320,还设置为确定与所述目标数据对应的来源数据和去向数据中的至少一项;
血缘关系图片展示模块330,还设置为根据与所述目标数据对应的来源数据和去向数据中的至少一项、所述目标数据,确定所述目标数据的血缘关系图片。
在一实施例中,血缘关系图片展示模块330,还设置为预先设置图片展示样式;基于所述预先设置图片展示样式,将所述血缘关系图片进行展示。
上述装置可执行本申请任意实施例所提供的数据血缘关系展示方法,具备执行数据血缘关系展示方法相应的功能模块和有益效果。
上述数据血缘关系展示装置所包括的多个单元和模块只是按照功能逻辑进行划分的,划分方式可存在多种,只要能够实现相应的功能即可;另外,功能单元的名称也只是为了便于相互区分。
实施例四
图6是本申请实施例四提供的一种电子设备的结构示意图。图6示出了适于用来实现本申请任一实施方式的示例性电子设备12的框图。图6显示的电子设备12仅仅是一个示例。设备12典型的是承担配置信息的处理的电子设备。
如图6所示,电子设备12以通用计算设备的形式表现。电子设备12的组件可以包括:一个或者多个处理器或者处理单元16,存储器28,连接不同组件(包括存储器28和处理单元16)的总线18。
总线18表示多类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括工业标准体系结构(Industry Standard Architecture,ISA)总线,微通道体系结构(Micro Channel Architecture, MCA)总线,增强型ISA总线、视频电子标准协会(Video Electronics Standards Association,VESA)局域总线以及外围组件互连(Peripheral Component Interconnect,PCI)总线。
电子设备12典型地包括多种计算机可读介质。这些介质可以是任何能够被电子设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。
存储器28可以包括易失性存储器形式的计算机装置可读介质,例如随机存取存储器(Random Access Memory,RAM)30和/或高速缓存32。电子设备12可以包括其它可移动/不可移动的、易失性/非易失性计算机存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质,不可移动的、非易失性磁介质图6未显示,通常称为硬盘驱动器。尽管图6中未示出,可以提供用于对一部分可移动非易失性磁盘(例如软盘)读写的磁盘驱动器,以及对另一部分可移动非易失性光盘读写的光盘驱动器,另一部分可移动非易失性光盘例如只读光盘(Compact Disc-Read Only Memory,CD-ROM)、数字视盘(Digital Video Disc-Read Only Memory,DVD-ROM)或者其它光介质。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品40,该程序产品40具有一组程序模块42,这些程序模块被配置以执行本申请多个实施例的功能。程序产品40,可以存储在例如存储器28中,这样的程序模块42包括一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本申请所描述的实施例中的功能和/或方法。
电子设备12也可以与一个或多个外部设备14(例如键盘、鼠标、摄像头等和显示器)通信,还可与一个或者多个使得用户能与该电子设备12交互的设备通信,和/或与使得该电子设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,电子设备12还可以通过网络适配器20与一个或者多个网络通信,网络例如局域网(Local Area Network,LAN),广域网(Wide Area Network,WAN)和/或公共网络,公共网络例如因特网。如图6所示,网络适配器20通过总线18与电子设备12的其它模块通信。应当明白,尽管图6中未示出,可以结合电子设备12使用其它硬件和/或软件模块,包括:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、磁盘阵列(Redundant Arrays of Independent Disks,RAID)装置、磁带驱动器以及数据备份存储装置等。
处理单元16通过运行存储在存储器28中的程序,执行多种功能应用以及数据处理,例如实现本申请上述实施例所提供的数据血缘关系展示方法,该方法包括:
响应于用户操作,确定目标数据;
响应于检测到所述目标数据存在血缘关系,确定与所述目标数据具有血缘关系的血缘数据;
根据所述目标数据以及所述血缘数据,确定所述目标数据的血缘关系图片,并将所述血缘关系图片进行展示。
本领域技术人员可以理解,处理器还可以实现本申请任一实施例所提供的数据血缘关系展示方法。
实施例五
本申请实施例五还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时,实现本申请实施例提供的数据血缘关系展示方法。
数据血缘关系展示方法包括:
响应于用户操作,确定目标数据;
响应于检测到所述目标数据存在血缘关系,确定与所述目标数据具有血缘关系的血缘数据;
根据所述目标数据以及所述血缘数据,确定所述目标数据的血缘关系图片,并将所述血缘关系图片进行展示。
本申请实施例提供的计算机可读存储介质可参考本申请实施例提供的数据血缘关系展示方法中的相关技术内容,此处不再赘述。
本申请实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM)、闪存、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、 装置或者器件使用或者结合使用。
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,计算机可读的信号介质中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者结合使用的程序。
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括无线、电线、光缆、射频识别(Radio Frequency Identification,RF)等等,或者上述的任意合适的组合。
可以以一种或多种程序设计语言或组合来编写用于执行本申请实施例操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言——诸如C语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机,例如利用因特网服务提供商来通过因特网连接到外部计算机。

Claims (16)

  1. 一种数据血缘关系展示方法,包括:
    响应于用户操作,确定目标数据;
    响应于检测到所述目标数据存在血缘关系,确定与所述目标数据具有血缘关系的血缘数据;
    根据所述目标数据以及所述血缘数据,确定所述目标数据的血缘关系图片,并将所述血缘关系图片进行展示。
  2. 根据权利要求1所述的方法,其中,所述根据所述目标数据以及所述血缘数据,确定所述目标数据的血缘关系图片,包括:
    基于预设数据封装格式,将所述目标数据与所述血缘数据进行封装,得到所述目标数据对应的封装对象;
    将所述封装对象转换为所述目标数据的血缘关系图片。
  3. 根据权利要求2所述的方法,其中,所述将所述目标数据与所述血缘数据进行封装,得到所述目标数据对应的封装对象,包括:将所述目标数据与所述血缘数据封装为Json对象;
    所述将所述封装对象转换为所述目标数据的血缘关系图片,包括:
    将所述Json对象转换为所述目标数据的血缘关系图片。
  4. 根据权利要求1所述的方法,在所述确定与所述目标数据具有血缘关系的血缘数据之前,还包括:检测所述目标数据的类型;
    所述确定与所述目标数据具有血缘关系的血缘数据,包括:
    根据所述目标数据的类型,确定与所述目标数据具有血缘关系的血缘数据。
  5. 根据权利要求1所述的方法,所述方法还包括:
    响应于检测到所述目标数据未存在血缘关系,基于预设数据封装格式,将所述目标数据进行封装,得到所述目标数据对应的封装对象;
    将所述封装对象转换为所述目标数据的节点图片,并将所述节点图片进行展示。
  6. 根据权利要求1所述的方法,其中,所述确定与所述目标数据具有血缘关系的血缘数据,包括:确定与所述目标数据对应的来源数据和去向数据中的至少一项;
    所述根据所述目标数据以及所述血缘数据,确定所述目标数据的血缘关系图片,包括:
    根据与所述目标数据对应的来源数据和去向数据中的至少一项、所述目标数据,确定所述目标数据的血缘关系图片。
  7. 根据权利要求1所述的方法,其中,所述将所述血缘关系图片进行展示,包括:
    预先设置图片展示样式;
    基于所述预先设置图片展示样式,将所述血缘关系图片进行展示。
  8. 一种数据血缘关系展示装置,包括:
    目标数据确定模块,设置为响应于用户操作,确定目标数据;
    血缘数据确定模块,设置为响应于检测到所述目标数据存在血缘关系,确定与所述目标数据具有血缘关系的血缘数据;
    血缘关系图片展示模块,设置为根据所述目标数据以及所述血缘数据,确定所述目标数据的血缘关系图片,并将所述血缘关系图片进行展示。
  9. 根据权利要求8所述的数据血缘关系展示装置,其中,所述血缘关系图片展示模块,还设置为基于预设数据封装格式,将所述目标数据与所述血缘数据进行封装,得到所述目标数据对应的封装对象;将所述封装对象转换为所述目标数据的血缘关系图片。
  10. 根据权利要求9所述的数据血缘关系展示装置,其中,所述血缘关系图片展示模块,还设置为将所述目标数据与所述血缘数据封装为Json对象;将所述Json对象转换为所述目标数据的血缘关系图片。
  11. 根据权利要求8所述的数据血缘关系展示装置,所述数据血缘关系展示装置还包括:
    目标数据类型检测模块,设置为检测所述目标数据的类型;
    所述血缘数据确定模块,还设置为根据所述目标数据的类型,确定与所述目标数据具有血缘关系的血缘数据。
  12. 根据权利要求8所述的数据血缘关系展示装置,所述数据血缘关系展示装置还包括:
    节点图片展示模块,设置为响应于检测到所述目标数据未存在血缘关系,基于预设数据封装格式,将所述目标数据进行封装,得到所述目标数据对应的封装对象;将所述封装对象转换为所述目标数据的节点图片,并将所述节点图片进行展示。
  13. 根据权利要求8所述的数据血缘关系展示装置,其中,所述血缘数据确定模块,还设置为确定与所述目标数据对应的来源数据和去向数据中的至少一项;
    所述血缘关系图片展示模块,还设置为根据与所述目标数据对应的来源数 据和去向数据中的至少一项、所述目标数据,确定所述目标数据的血缘关系图片。
  14. 根据权利要求8所述的数据血缘关系展示装置,其中,所述血缘关系图片展示模块,还设置为预先设置图片展示样式;基于所述预先设置图片展示样式,将所述血缘关系图片进行展示。
  15. 一种电子设备,所述电子设备包括:
    一个或多个处理器;
    存储装置,设置为存储一个或多个程序;
    所述一个或多个处理器设置为,执行所述一个或多个程序以实现如权利要求1-7中任一所述的数据血缘关系展示方法。
  16. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-7中任一所述的数据血缘关系展示方法。
PCT/CN2021/107521 2021-03-11 2021-07-21 数据血缘关系展示方法、装置、电子设备及存储介质 WO2022188331A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110267625.4A CN112989151B (zh) 2021-03-11 2021-03-11 数据血缘关系展示方法、装置、电子设备及存储介质
CN202110267625.4 2021-03-11

Publications (1)

Publication Number Publication Date
WO2022188331A1 true WO2022188331A1 (zh) 2022-09-15

Family

ID=76335065

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/107521 WO2022188331A1 (zh) 2021-03-11 2021-07-21 数据血缘关系展示方法、装置、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN112989151B (zh)
WO (1) WO2022188331A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117688217A (zh) * 2024-02-02 2024-03-12 北方健康医疗大数据科技有限公司 基于有向图实现数据血缘关系结构的系统、方法及介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112989151B (zh) * 2021-03-11 2024-05-14 北京锐安科技有限公司 数据血缘关系展示方法、装置、电子设备及存储介质

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109739893A (zh) * 2018-12-28 2019-05-10 上海连尚网络科技有限公司 一种元数据管理方法、设备及计算机可读介质
CN110795509A (zh) * 2019-09-29 2020-02-14 北京淇瑀信息科技有限公司 一种数据仓库的指标血缘关系图的构建方法、装置和电子设备
CN111125269A (zh) * 2019-12-31 2020-05-08 腾讯科技(深圳)有限公司 一种数据管理方法、血缘关系显示方法和相关装置
CN111427997A (zh) * 2020-03-09 2020-07-17 北京明略软件系统有限公司 一种显示血缘关系的方法、装置、计算机存储介质及终端
CN111538743A (zh) * 2020-04-22 2020-08-14 电子科技大学 基于sql的数据血缘关系分析方法以及系统
CN111694858A (zh) * 2020-04-28 2020-09-22 平安科技(深圳)有限公司 数据血缘分析方法、装置、设备及计算机可读存储介质
CN112115315A (zh) * 2020-09-25 2020-12-22 平安国际智慧城市科技股份有限公司 血缘数据查询方法、装置、计算机设备及存储介质
CN112989151A (zh) * 2021-03-11 2021-06-18 北京锐安科技有限公司 数据血缘关系展示方法、装置、电子设备及存储介质

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299073B (zh) * 2018-10-19 2019-12-24 杭州数梦工场科技有限公司 一种数据血缘的生成方法、系统、电子设备和存储介质
CN109582660B (zh) * 2018-12-06 2021-08-10 深圳前海微众银行股份有限公司 数据血缘分析方法、装置、设备、系统及可读存储介质
CN112084270A (zh) * 2020-09-17 2020-12-15 腾讯科技(深圳)有限公司 一种数据血缘处理方法、装置、存储介质及设备

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109739893A (zh) * 2018-12-28 2019-05-10 上海连尚网络科技有限公司 一种元数据管理方法、设备及计算机可读介质
CN110795509A (zh) * 2019-09-29 2020-02-14 北京淇瑀信息科技有限公司 一种数据仓库的指标血缘关系图的构建方法、装置和电子设备
CN111125269A (zh) * 2019-12-31 2020-05-08 腾讯科技(深圳)有限公司 一种数据管理方法、血缘关系显示方法和相关装置
CN111427997A (zh) * 2020-03-09 2020-07-17 北京明略软件系统有限公司 一种显示血缘关系的方法、装置、计算机存储介质及终端
CN111538743A (zh) * 2020-04-22 2020-08-14 电子科技大学 基于sql的数据血缘关系分析方法以及系统
CN111694858A (zh) * 2020-04-28 2020-09-22 平安科技(深圳)有限公司 数据血缘分析方法、装置、设备及计算机可读存储介质
CN112115315A (zh) * 2020-09-25 2020-12-22 平安国际智慧城市科技股份有限公司 血缘数据查询方法、装置、计算机设备及存储介质
CN112989151A (zh) * 2021-03-11 2021-06-18 北京锐安科技有限公司 数据血缘关系展示方法、装置、电子设备及存储介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117688217A (zh) * 2024-02-02 2024-03-12 北方健康医疗大数据科技有限公司 基于有向图实现数据血缘关系结构的系统、方法及介质

Also Published As

Publication number Publication date
CN112989151A (zh) 2021-06-18
CN112989151B (zh) 2024-05-14

Similar Documents

Publication Publication Date Title
WO2017206949A1 (zh) 一种弹幕内容处理方法及应用服务器、用户终端
CN108519967B (zh) 图表可视化方法、装置、终端和存储介质
CN110020411B (zh) 图文内容生成方法及设备
WO2022188331A1 (zh) 数据血缘关系展示方法、装置、电子设备及存储介质
CN112214155B (zh) 一种视图信息播放方法、装置、设备和存储介质
US20140081967A1 (en) Methods, Systems, and Program Products for Distinguishing Tags for a Resource
CN116360735A (zh) 一种表单生成方法、装置、设备和介质
WO2021253890A1 (zh) 一种在即时通信应用中回复通信信息的方法与设备
CN114266937A (zh) 模型训练、图像处理方法,装置,设备以及存储介质
CN109284108A (zh) 数据存储方法、装置、电子设备及存储介质
WO2023143545A1 (zh) 资源处理方法、装置、电子设备及计算机可读存储介质
US20150007191A1 (en) Methods, systems, and computer program products for selecting a resource based on a measure of a processing cost
WO2024066208A1 (zh) 模型外点位的全景图展示方法和装置、设备、介质
US8171046B1 (en) Converting CQL query results into user-controllable objects
CN108734761B (zh) 场景可视化方法、装置、电子设备及存储介质
WO2023273621A1 (zh) 脚本生成方法、装置、设备及介质
CN113920381B (zh) 重复派生指标识别方法、电子设备及可读存储介质
WO2021208170A1 (zh) 一种vr场景中确定目标算法的方法及装置、计算设备
CN110262856B (zh) 一种应用程序数据采集方法、装置、终端及存储介质
CN113806556A (zh) 基于电网数据的知识图谱的构建方法、装置、设备及介质
CN111488768B (zh) 人脸图像的风格转换方法、装置、电子设备及存储介质
CN107741992B (zh) 会议记录的网络存储方法、装置、智能平板和存储介质
CN103246711B (zh) 一种二进制大对象类型数据的快照生成方法及装置
US20180088991A1 (en) Methods, systems, and computer program products for selecting a resource based on a measure of a processing cost
CN111124862A (zh) 智能设备性能测试方法、装置及智能设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21929800

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21929800

Country of ref document: EP

Kind code of ref document: A1