CN115344706A - Method and device for visualizing timing diagram based on knowledge graph, storage medium and equipment - Google Patents

Method and device for visualizing timing diagram based on knowledge graph, storage medium and equipment Download PDF

Info

Publication number
CN115344706A
CN115344706A CN202210870656.3A CN202210870656A CN115344706A CN 115344706 A CN115344706 A CN 115344706A CN 202210870656 A CN202210870656 A CN 202210870656A CN 115344706 A CN115344706 A CN 115344706A
Authority
CN
China
Prior art keywords
entity
graph data
knowledge
time
knowledge graph
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.)
Pending
Application number
CN202210870656.3A
Other languages
Chinese (zh)
Inventor
杨娟
翟士丹
罗奕
敖景宽
肖丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Haizhi Xingtu Technology Co ltd
Original Assignee
Beijing Haizhi Xingtu Technology Co ltd
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 Beijing Haizhi Xingtu Technology Co ltd filed Critical Beijing Haizhi Xingtu Technology Co ltd
Priority to CN202210870656.3A priority Critical patent/CN115344706A/en
Publication of CN115344706A publication Critical patent/CN115344706A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/34Browsing; 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/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • 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/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results

Abstract

The embodiment of the invention provides a method for visualizing a timing diagram based on a knowledge graph, which comprises the following steps: acquiring knowledge graph data, wherein the knowledge graph data comprises entities and entity corresponding time, configuring the time corresponding to each entity in the knowledge graph data, acquiring a start field and an end field, generating an abscissa axis of a time sequence chart, searching the knowledge graph data according to the start field and the end field, acquiring the knowledge graph data in a searching range, and generating the knowledge graph data in the searching range into the time sequence chart according to the entity corresponding time for visual display. The method adds the time dimension information into the combination process of the graph data and the time sequence chart, can analyze specific potential risks existing in the complex relation, and has stronger readability, interactivity and practicability.

Description

Method and device for visualizing timing diagram based on knowledge graph, storage medium and equipment
Technical Field
The invention relates to the technical field of data processing, in particular to a method, a device, a storage medium and equipment for visualizing a timing diagram based on a knowledge graph.
Background
In recent years, with the sequential development and deepening of applications of the data industry, the data industry has become one of the hot spots of great interest in the field of information technology today.
At present, knowledge graphs combining graph data and a time sequence chart in the market mostly take a static state as a main part, a dynamic evolution process of the knowledge graphs along with time is lacked, and the problems of poor readability, low interactivity and the like exist. In a scene that enterprise risk information needs to be mined by full data and specific potential risks existing in complex relationships are analyzed, the practicability is not high, and the browsing and the analysis of the data are not facilitated.
Disclosure of Invention
According to the method, the device, the storage medium and the equipment for visualizing the time sequence diagram based on the knowledge graph, the time dimension information is added into the combination process of the graph data and the time sequence diagram, specific potential risks existing in complex relationships can be analyzed, and the method, the device, the storage medium and the equipment have high readability, interactivity and practicability.
In a first aspect, an embodiment of the present invention provides a method for visualizing a timing diagram based on a knowledge graph, where the method includes:
acquiring knowledge graph data, wherein the knowledge graph data comprises entities and entity corresponding time;
configuring time corresponding to each entity in the knowledge graph data to obtain a start field and an end field, and generating an abscissa axis of the timing graph;
searching the knowledge graph data according to the starting field and the ending field to obtain knowledge graph data in a searching range;
and generating a time sequence diagram of the knowledge graph data in the searching range according to the entity corresponding time for visual display.
Further, obtaining a start field and an end field, and generating an abscissa axis of the timing chart includes:
dividing the start field and the end field into a plurality of time periods;
and generating an abscissa axis of the timing chart according to the plurality of equally divided time periods.
Further, the knowledge graph data further includes relationships between entities, and after the time corresponding to the entities is used to generate a time sequence diagram for visual display of the knowledge graph data in the search range, the method further includes:
receiving an entity request instruction input by a user, wherein the entity request instruction comprises entity tag information;
searching an entity corresponding to the tag information in the knowledge graph data according to the tag information of the entity, and searching an entity associated with the entity according to the relationship between the entities;
and highlighting the entity corresponding to the label information and the entity associated with the label information.
Further, after the time sequence chart generated by the knowledge graph data in the search range is visualized according to the time corresponding to the entity, the method further includes:
receiving a display control instruction input by a user;
and controlling an entity to display or hide according to the display control instruction.
Further, after the time sequence chart generated by the knowledge graph data in the search range is visualized according to the time corresponding to the entity, the method further includes:
receiving a fixed instruction input by a user, wherein the fixed instruction comprises position coordinate information;
and according to the position coordinate information, fixedly displaying the entity positioned on the position of the position coordinate information.
Further, after the time sequence chart generated by the knowledge graph data in the search range is visualized according to the time corresponding to the entity, the method further includes:
receiving a dragging instruction input by a user, wherein the dragging instruction comprises a position coordinate range;
obtaining a corresponding time range in the timing diagram according to the position coordinate range;
entities within a corresponding time range in the timing diagram are shown.
Further, after the time corresponding to the entity is used to visualize the timing sequence generated by the knowledge-graph data in the search range, the method further comprises:
receiving a zooming instruction input by a user, wherein the zooming instruction comprises the zooming scale of a display screen;
and zooming the timing diagram according to the zooming scale of the display screen.
Further, after the time sequence chart generated by the knowledge graph data in the search range is visualized according to the time corresponding to the entity, the method further includes:
receiving a grouping instruction input by a user, wherein the grouping instruction comprises an entity grouping mode;
and displaying the entities in the time sequence diagram in a grouping mode according to the entity grouping mode.
In a second aspect, an embodiment of the present invention provides an apparatus for visualizing a timing graph based on a knowledge graph, where the apparatus includes:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring knowledge graph data which comprises an entity and entity corresponding time;
the coordinate axis generation module is used for configuring time corresponding to each entity in the knowledge graph data, obtaining a start field and an end field and generating a coordinate axis of the timing diagram;
the searching module is used for searching the knowledge graph data according to the starting field and the ending field to obtain the knowledge graph data in a searching range;
and the display module is used for generating a sequence diagram of the knowledge graph data in the search range according to the entity corresponding time for visual display.
In a third aspect, an embodiment of the present invention provides a storage medium, in which a computer program is stored, where the computer program is configured to execute the method in any one of the first aspects when the computer program runs.
In a fourth aspect, an embodiment of the present invention provides an apparatus, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform the method according to any one of the first aspect.
According to the technical scheme provided by the invention, the time corresponding to the entity in the knowledge map data is extracted, the start field and the end field are obtained after the time corresponding to the entity is configured, the abscissa axis of the time sequence chart is generated according to the start field and the end field, the time period can be selected by dragging the time axis frame, the ordinate axis can be zoomed, the area where the entity is located can be selected by the frame, the time sequence chart can be operated in a zooming mode, meanwhile, the entity can be partitioned, early warning of relevant departments can be effectively assisted, and enterprise risk information can be mined, and the readability, the interactivity and the practicability are high.
Drawings
FIG. 1 is a flowchart of a method for visualizing a knowledge-graph-based time sequence, according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for visualizing a knowledge-graph-based time sequence chart according to a second embodiment of the present invention;
FIG. 3 is a flowchart of a method for visualizing a timing graph based on a knowledge graph according to a third embodiment of the present invention;
FIG. 4 is a flowchart of a method for visualizing a timing chart based on a knowledge graph according to a fourth embodiment of the present invention;
FIG. 5 is a flowchart of a method for visualizing a knowledge-graph-based time sequence diagram according to a fifth embodiment of the present invention;
FIG. 6 is a flowchart of a method for visualizing a timing diagram based on a knowledge-graph according to a sixth embodiment of the present invention;
fig. 7 is a flowchart of a method for visualizing a timing chart based on a knowledge graph according to a seventh embodiment of the present invention;
fig. 8 is a flowchart of a method for visualizing a timing graph based on a knowledge graph according to an eighth embodiment of the present invention;
FIG. 9 is a timing diagram of a method for visualizing a timing diagram based on a knowledge-graph according to a ninth embodiment of the present invention;
fig. 10 is a schematic structural diagram of a knowledge-graph-based time sequence chart visualization apparatus according to a tenth embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a method for visualizing a timing graph based on a knowledge-graph according to an embodiment of the present invention, where the method includes the following steps.
And 11, acquiring knowledge graph data, wherein the knowledge graph data comprises an entity and entity corresponding time.
In the present embodiment, the execution subject of each step may be a computer, a server, or the like. In this step, the knowledge graph includes entities and relationships between the entities, and also includes time corresponding to the entities. The entity corresponding time, that is, each entity data is associated with the time.
And step 12, configuring time corresponding to each entity in the knowledge graph data to obtain a start field and an end field, and generating an abscissa axis of the timing graph.
In this step, the corresponding time of each entity in the knowledge-graph data is configured, for example, the earliest time and the latest time of the corresponding time of the entity in the knowledge-graph data are found as a start field and an end field respectively, the start field and the end field are used as time axes, that is, the start field and the end field are used as the abscissa axis of the time chart.
In a preferred embodiment, the start field and the end field may be equally divided into a plurality of time periods, and the axis of abscissa of the timing chart may be generated by the equally divided plurality of time periods. The processing method has the advantages that the time axis coordinates of the time sequence diagram can be divided more finely, and a user can conveniently perform fine query and operation on the entity.
And step 13, searching the knowledge graph data according to the starting field and the ending field to obtain the knowledge graph data in the searching range.
In this step, after the start field and the end field are configured, the data of the knowledge graph is searched according to the start field and the end field, and the knowledge graph data of which the corresponding time of the entity is located in the start field and the end field is screened out.
And 14, generating a time sequence diagram of the knowledge graph data in the search range according to the entity corresponding time for visual display.
In the step, a time sequence diagram generated by the knowledge graph data of the entity corresponding to the time in the start field and the end field is displayed visually.
According to the embodiment of the invention, the time corresponding to the entity in the knowledge graph data is extracted, the start field and the end field are obtained after the time corresponding to the entity is configured, the abscissa axis of the time sequence chart is generated according to the start field and the end field, the time period can be framed and selected by dragging the time axis, the coordinate axis is zoomed, the area where the entity is positioned is framed and selected, the time sequence chart can be operated in a zooming mode, meanwhile, the entity can be partitioned, early warning of relevant departments can be effectively assisted, and enterprise risk information can be mined, and the readability, the interactivity and the practicability are strong.
As shown in fig. 2, fig. 2 is a flowchart of a method for visualizing a knowledge-graph-based time sequence chart according to a second embodiment of the present invention, and as shown in fig. 2, the method includes:
step 21, acquiring knowledge graph data, wherein the knowledge graph data comprises entities and entity corresponding time;
step 22, configuring time corresponding to each entity in the knowledge graph data to obtain a start field and an end field, and generating an abscissa axis of the timing graph;
step 23, searching the knowledge graph data according to the starting field and the ending field to obtain knowledge graph data in a searching range;
step 24, generating a time sequence diagram of the knowledge graph data in the searching range according to the entity corresponding time for visual display;
step 25, receiving an entity request instruction input by a user, wherein the entity request instruction comprises entity tag information;
step 26, searching an entity corresponding to the tag information in the knowledge graph data according to the tag information of the entity, and searching an entity associated with the entity according to the relationship between the entities;
and 27, highlighting the entity corresponding to the label information and the entity associated with the entity.
In this embodiment, steps 21 to 24 are the same as steps 11 to 14 in the above embodiment, and can be understood by referring to the contents described in the above embodiment, which will not be described again.
In step 25, an entity request instruction may be input by a user through a display screen of the computer, wherein the entity request instruction includes tag information of the entity. Each entity in the knowledge graph data has a unique label, and the corresponding entity can be uniquely determined according to the label.
In step 26, according to the tag information of the entity, the entity in the knowledge graph data may be traversed, and the entity corresponding to the tag information carried by the entity in the entity request instruction input by the user is found, and meanwhile, the entity associated with the entity is searched according to the relationship between the entities.
In step 27, the searched entities and their associated entities are highlighted.
In the embodiment, the entity selected by the user and the associated entity thereof can be displayed in a highlight mode, so that the user can conveniently check the entity, and the intuitiveness of the sequence diagram is improved.
As shown in fig. 3, fig. 3 is a flowchart of a method for visualizing a knowledge-graph-based time sequence chart according to a third embodiment of the present invention, and as shown in fig. 3, the method includes:
step 31, acquiring knowledge graph data, wherein the knowledge graph data comprises entities and entity corresponding time;
step 32, configuring time corresponding to each entity in the knowledge graph data to obtain a start field and an end field, and generating an abscissa axis of the timing graph;
step 33, searching the knowledge graph data according to the starting field and the ending field to obtain knowledge graph data in a searching range;
step 34, generating a time sequence diagram of the knowledge graph data in the search range according to the entity corresponding time for visual display;
step 35, receiving a display control instruction input by a user;
and step 36, controlling the entity to display or hide according to the display control instruction.
In this embodiment, steps 31 to 34 are the same as steps 11 to 14 in the above embodiment, and can be understood by referring to the contents described in the above embodiment, which will not be described again.
In step 35, the display control command may be eye icon, and the entity hiding and displaying is controlled by clicking eye incon. Wherein, the eye icon can be displayed by different colors or different shapes.
As shown in fig. 4, fig. 4 is a flowchart of a method for visualizing a timing graph based on a knowledge-graph according to a fourth embodiment of the present invention, and as shown in fig. 4, the method includes:
step 41, acquiring knowledge graph data, wherein the knowledge graph data comprises entities and entity corresponding time;
step 42, configuring time corresponding to each entity in the knowledge graph data to obtain a start field and an end field, and generating an abscissa axis of the timing graph;
43, searching the knowledge graph data according to the starting field and the ending field to obtain knowledge graph data in a searching range;
step 44, generating a time sequence diagram of the knowledge graph data in the search range according to the entity corresponding time for visual display;
step 45, receiving a fixed instruction input by a user, wherein the fixed instruction comprises position coordinate information;
and step 46, fixedly displaying the entity positioned on the position of the position coordinate information according to the position coordinate information.
In this embodiment, steps 41 to 44 are the same as steps 11 to 14 in the above embodiment, and can be understood by referring to the contents set forth in the above embodiment, which are not repeated herein.
In this embodiment, for example, a user may issue a fixing instruction by clicking a right button on a screen, and after receiving the fixing instruction, the computer acquires position coordinate information carried in the fixing instruction, and according to the position coordinate information, a position where a certain entity is fixed at the position coordinate is unchanged.
As shown in fig. 5, fig. 5 is a timing chart visualization method based on a knowledge graph according to a fifth embodiment of the present invention, and as shown in fig. 5, the method includes:
step 51, acquiring knowledge graph data, wherein the knowledge graph data comprises entities and entity corresponding time;
step 52, configuring time corresponding to each entity in the knowledge graph data to obtain a start field and an end field, and generating an abscissa axis of the timing chart;
step 53, searching the knowledge graph data according to the starting field and the ending field to obtain the knowledge graph data in a searching range;
step 54, generating a time sequence diagram of the knowledge graph data in the search range according to the entity corresponding time for visual display;
step 55, receiving a dragging instruction input by a user, wherein the dragging instruction comprises a position coordinate range;
step 56, obtaining a corresponding time range in the timing chart according to the position coordinate range;
and 57, displaying the entities in the corresponding time range in the timing diagram.
In this embodiment, steps 51 to 54 are the same as steps 11 to 14 in the above embodiment, and can be understood by referring to the contents described in the above embodiment, which will not be described again.
In this embodiment, the user may drag the time axis at the bottom, select the time region, obtain the coordinate range corresponding to the time region, obtain the corresponding time range in the timing diagram according to the coordinate range, and screen out the entities located in the time range. The time horizontal axis of the entity can be dragged and manually selected, and the relationship among entity data in different appointed time periods can be checked.
As shown in fig. 6, fig. 6 is a method for visualizing a knowledge-graph based timing chart according to embodiment 6 of the present invention, and as shown in fig. 6, the method includes:
step 61, acquiring knowledge graph data, wherein the knowledge graph data comprises entities and entity corresponding time;
step 62, configuring time corresponding to each entity in the knowledge graph data to obtain a start field and an end field, and generating an abscissa axis of the timing graph;
step 63, searching the knowledge graph data according to the starting field and the ending field to obtain knowledge graph data in a searching range;
step 64, generating a time sequence diagram of the knowledge graph data in the search range according to the entity corresponding time for visual display;
step 65, receiving a zoom instruction input by a user, where the zoom instruction includes a zoom ratio of a display screen;
and step 66, zooming the timing diagram according to the zooming ratio of the display screen.
In this embodiment, steps 61 to 64 are the same as steps 11 to 14 in the above embodiment, and can be understood by referring to the contents described in the above embodiment, which will not be described again.
In this embodiment, the user may scale the abscissa axis and the ordinate axis of the timing chart, and scale the timing chart according to the scaling ratio, so that the entity relationship density and the time axis in the timing chart may be scaled according to the corresponding ratio. Through this embodiment, can zoom to the abscissa and ordinate of time chart, also do zooming to whole time chart to can adjust the time span and the entity density that witness, under the big data bulk, make things convenient for the user to fix a position fast and know entity information. Meanwhile, the area where the entity is located can be enlarged by manually selecting the entity in a frame.
As shown in fig. 7, fig. 7 is a flowchart of a method for visualizing a knowledge-graph-based time sequence chart according to a seventh embodiment of the present invention, and as shown in fig. 7, the method includes:
step 71, acquiring knowledge graph data, wherein the knowledge graph data comprises entities and entity corresponding time;
step 72, configuring time corresponding to each entity in the knowledge graph data to obtain a start field and an end field, and generating an abscissa axis of the timing graph;
step 73, searching the knowledge graph data according to the starting field and the ending field to obtain the knowledge graph data in the searching range;
step 74, generating a time sequence diagram of the knowledge graph data in the searching range according to the entity corresponding time for visual display;
step 75, receiving a grouping instruction input by a user, wherein the grouping instruction comprises an entity grouping mode;
and 76, displaying the entities in the sequence diagram in a grouping mode according to the entity grouping mode.
In this embodiment, steps 71 to 74 are the same as steps 11 to 14 in the above embodiment, and can be understood by referring to the contents described in the above embodiment, which will not be described again.
In this embodiment, an algorithm grouping button may be displayed on the screen, and after the user clicks the algorithm grouping button, the entity is displayed in a group by using the corresponding grouping algorithm. The entity groups can be grouped by using a Louvain algorithm, so that the entity groups are ranked according to PageRank, and the time sequence diagram is analyzed through the algorithm and divided into different communities for analyzing specific scenes existing in complex relationships.
As shown in fig. 8, fig. 8 is a flowchart of a method for visualizing a knowledge-graph-based time sequence chart according to an eighth embodiment of the present invention, where the method includes:
step 81, obtaining knowledge graph data, wherein the knowledge graph data comprises entities and entity corresponding time.
And 82, configuring time corresponding to each entity in the knowledge graph data to obtain a start field and an end field, and generating an abscissa axis of the timing chart.
And 83, searching the knowledge graph data according to the starting field and the ending field to obtain the knowledge graph data in the searching range.
And 84, generating a time sequence diagram for the knowledge graph data in the searching range according to the entity corresponding time for visual display.
And step 85, receiving an entity request instruction input by a user, and highlighting the entity corresponding to the tag information and the entity associated with the tag information according to the entity request instruction.
In this step, clicking on the entity can view the related data carried by the entity, and the relationship associated with the entity will remain highlighted.
And 86, receiving a display control instruction input by a user, and controlling the entity to display or hide according to the display control instruction.
In this step, the display and hiding of the entities can be controlled by clicking on the eye icon.
And 87, receiving a fixing instruction input by a user, wherein the fixing instruction comprises position coordinate information, and fixedly displaying the entity positioned on the position of the position coordinate information according to the position coordinate information.
In the step, the right key is clicked, the clicked position coordinate information is recorded, and the entity is fixed on the position coordinate, so that the entity fixing function is realized, meanwhile, the fixed entity can be subjected to appearance marking, and the user can conveniently check and operate the entity.
And step 88, receiving a dragging instruction input by a user, and displaying the entity in the time range corresponding to the dragging instruction according to the dragging instruction.
In this step, the user may drag the bottom X-axis of the timing diagram to select the time region, and the top time axis may also be changed according to the time region selected by the frame.
And 89, receiving a zooming instruction input by a user, and zooming the timing diagram according to the zooming instruction.
In this step, the timing diagram may also support ordering according to entity density, supporting dragging to increase and decrease entity density.
And step 90, receiving a grouping instruction input by a user, and displaying entities in the sequence diagram in a grouping manner according to the grouping instruction.
In this step, the graph data is combined with the algorithm, and the grouping result analyzed by the algorithm is used for displaying the graph data in a partitioned manner.
As shown in fig. 9, fig. 9 is a schematic diagram of a timing diagram obtained by the ninth embodiment of the present invention, in which an abscissa of the timing diagram represents a time axis, and an ordinate represents entity density, by dragging the time axis, a time region can be selected to show an entity relationship of a specified time period, by zooming the abscissa and the ordinate, the entity relationship density and the time axis are correspondingly zoomed, and by combining the graph data with a grouping algorithm, the graph data can be divided into different communities, as shown in fig. 9, entities located in the same community are framed in a dashed frame manner.
According to the technical scheme provided by the embodiment of the invention, besides the display of the graph data converted into the time sequence diagram, the improvement of practicability is made on the aspect of how to maximize the visibility of the information carried by the graph data, the dragging of the time axis is supported, and the user can select the time period to view the time sequence diagram to realize that the user can select the time period to view the corresponding information; a series of operations of ordering dragged entities, displaying and hiding clicked entities, enlarging and checking the area where the framed entities are located and the like are supported, so that the operability of the sequence diagram is greatly improved, and a user can analyze data information independently; the zoom of the horizontal and vertical coordinate axes is supported, the time axis range and the entity density can be adjusted, and a user can conveniently read, position and know information quickly under large data volume; meanwhile, a grouping algorithm is added into the time sequence diagram, the time sequence diagram is analyzed through the algorithm and divided into different communities, specific scenes existing in complex relationships are analyzed, and the method has high readability, interactivity and practicability.
Correspondingly, an embodiment of the present invention further provides a multi-source data real-time computing apparatus, referring to fig. 10, fig. 10 is a schematic structural diagram of a knowledge graph-based time sequence chart visualization apparatus provided in a tenth embodiment of the present invention, where the apparatus includes:
the acquisition module 101 is configured to acquire knowledge-graph data, where the knowledge-graph data includes an entity and an entity corresponding time;
a coordinate axis generation module 102, configured to configure time corresponding to each entity in the knowledge graph data, obtain a start field and an end field, and generate an abscissa axis of the timing diagram;
the searching module 103 is configured to search the knowledge graph data according to the start field and the end field to obtain knowledge graph data within a searching range;
and the display module 104 is configured to generate a timing chart from the knowledge graph data in the search range according to the entity corresponding time for visual display.
In some preferred embodiments, the coordinate axis generating module 102 may further include an averaging unit, configured to divide the start field and the end field into a plurality of time periods, and generate the abscissa axis of the timing diagram according to the plurality of time periods after averaging.
In some preferred embodiments, the system may further include a highlighting module 105, where the highlighting module is configured to receive an entity request instruction input by a user, where the entity request instruction includes tag information of an entity;
searching an entity corresponding to the tag information in the knowledge graph data according to the tag information of the entity, and searching an entity associated with the entity according to the relationship between the entities; and highlighting the entity corresponding to the label information and the entity associated with the entity.
In some preferred embodiments, the display hiding module 106 may further be configured to receive a display control instruction input by a user, and control the entity to display or hide according to the display control instruction.
In some preferred embodiments, a fixing module 107 may be further included, configured to receive a fixing instruction input by a user, where the fixing instruction includes position coordinate information; and according to the position coordinate information, fixedly displaying the entity positioned on the position of the position coordinate information.
In some preferred embodiments, the device may further include a dragging module 108 for receiving a dragging instruction input by a user, the dragging instruction including a position coordinate range; obtaining a corresponding time range in the timing diagram according to the position coordinate range; entities within a corresponding time range in the timing diagram are shown.
In some preferred embodiments, a zoom module 109 may be further included for receiving a zoom instruction input by a user, the zoom instruction including a zoom ratio of the display screen; and zooming the timing diagram according to the zooming scale of the display screen.
In some preferred embodiments, the system may further include a grouping module 110, configured to receive a grouping instruction input by a user, where the grouping instruction includes an entity grouping manner; and displaying the entities in the time sequence diagram in a grouping manner according to the entity grouping manner.
According to the technical scheme provided by the embodiment of the invention, the graph data is converted into the sequence diagram for displaying, and meanwhile, the practicability is improved in the aspect of how to maximize the visibility of the graph data carrying information, the dragging of a time axis is supported, and the user can select the designated time period to view the sequence diagram to realize that the user can select the time period to view the corresponding information; a series of operations of dragging entity sequencing, clicking entity display hiding, selecting an area where an entity is located in a frame, amplifying and checking and the like are supported, so that the operability of the sequence diagram is greatly improved, and a user can analyze data information independently; the zoom of the horizontal and vertical coordinate axes is supported, the time axis range and the entity density can be adjusted, and a user can conveniently read, position and know information quickly under large data volume; meanwhile, a grouping algorithm is added into the time sequence diagram, the time sequence diagram is analyzed through the algorithm and divided into different communities, specific scenes existing in complex relationships are analyzed, and the method has high readability, interactivity and practicability.
It should be noted that the timing chart visualization apparatus based on the knowledge graph in the embodiment of the present invention belongs to the same inventive concept as the above method, and the technical details that are not detailed in the apparatus can refer to the related description of the method, and are not described herein again.
Furthermore, an embodiment of the present invention further provides a storage medium, in which a computer program is stored, where the computer program is configured to execute the foregoing method when running.
An embodiment of the present invention further provides an electronic apparatus, which includes a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform the foregoing method.
It will be understood by those skilled in the art that all or part of the steps of the above methods may be implemented by a program instructing associated hardware (e.g., a processor) to perform the steps, and the program may be stored in a computer readable storage medium, such as a read only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Accordingly, each module/unit in the above embodiments may be implemented in hardware, for example, by an integrated circuit to implement its corresponding function, or in software, for example, by a processor executing a program/instruction stored in a memory to implement its corresponding function. The present invention is not limited to any specific form of combination of hardware and software.
Although the embodiments of the present invention have been described above, the above description is only for the purpose of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. A method for visualizing a timing graph based on a knowledge graph, the method comprising:
acquiring knowledge graph data, wherein the knowledge graph data comprises entities and entity corresponding time;
configuring time corresponding to each entity in the knowledge graph data to obtain a start field and an end field, and generating an abscissa axis of the timing graph;
searching the knowledge graph data according to the starting field and the ending field to obtain knowledge graph data in a searching range;
and generating a time sequence diagram of the knowledge graph data in the searching range according to the entity corresponding time for visual display.
2. The method of knowledgegraph-based timing graph visualization of claim 1, wherein obtaining a start field and an end field, generating an abscissa axis of a timing graph comprises:
dividing the start field and the end field into a plurality of time periods;
and generating an abscissa axis of the timing chart according to the plurality of equally divided time periods.
3. The method for visualizing the knowledge-graph-based time sequence chart according to claim 1, wherein the knowledge-graph data further comprises relationships among entities, and after the knowledge-graph data in the search range is generated into the time sequence chart according to the corresponding time of the entities for visualization, the method further comprises:
receiving an entity request instruction input by a user, wherein the entity request instruction comprises entity tag information;
searching an entity corresponding to the tag information in the knowledge graph data according to the tag information of the entity, and searching an entity associated with the entity according to the relationship between the entities;
and highlighting the entity corresponding to the label information and the entity associated with the label information.
4. The method for visualizing knowledge-graph-based time sequence charts according to claim 1, wherein after visualizing the knowledge-graph data generation time sequence charts in the search range according to the entity corresponding time, the method further comprises:
receiving a display control instruction input by a user;
and controlling an entity to display or hide according to the display control instruction.
5. The method for visualizing knowledge-graph-based sequence diagram according to claim 1, wherein after visualizing the knowledge-graph data generation sequence diagram in the search range according to the entity correspondence time, the method further comprises:
receiving a fixed instruction input by a user, wherein the fixed instruction comprises position coordinate information;
and according to the position coordinate information, fixedly displaying the entity positioned on the position of the position coordinate information.
6. The method for visualizing knowledge-graph-based time sequence charts according to claim 1, wherein after visualizing the knowledge-graph data generation time sequence charts in the search range according to the entity corresponding time, the method further comprises:
receiving a dragging instruction input by a user, wherein the dragging instruction comprises a position coordinate range;
obtaining a corresponding time range in the timing diagram according to the position coordinate range;
entities within a corresponding time range in the timing diagram are shown.
7. The method for visualizing knowledge-graph-based sequence diagram according to claim 1, wherein after visualizing the knowledge-graph data generation sequence diagram in the search range according to the entity correspondence time, the method further comprises:
receiving a zooming instruction input by a user, wherein the zooming instruction comprises the zooming scale of a display screen;
and zooming the timing diagram according to the zooming scale of the display screen.
8. The method for visualizing knowledge-graph-based time sequence charts according to claim 1, wherein after visualizing the knowledge-graph data generation time sequence charts in the search range according to the entity corresponding time, the method further comprises:
receiving a grouping instruction input by a user, wherein the grouping instruction comprises an entity grouping mode;
and displaying the entities in the time sequence diagram in a grouping mode according to the entity grouping mode.
9. An apparatus for knowledge graph based visualization of a timing graph, the apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring knowledge graph data which comprises an entity and entity corresponding time;
the coordinate axis generation module is used for configuring time corresponding to each entity in the knowledge graph data, obtaining a start field and an end field and generating a coordinate axis of the timing diagram;
the searching module is used for searching the knowledge graph data according to the starting field and the ending field to obtain the knowledge graph data in a searching range;
and the display module is used for generating a sequence diagram of the knowledge graph data in the search range according to the entity corresponding time for visual display.
10. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 8 when executed.
11. An apparatus comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 8.
CN202210870656.3A 2022-07-22 2022-07-22 Method and device for visualizing timing diagram based on knowledge graph, storage medium and equipment Pending CN115344706A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210870656.3A CN115344706A (en) 2022-07-22 2022-07-22 Method and device for visualizing timing diagram based on knowledge graph, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210870656.3A CN115344706A (en) 2022-07-22 2022-07-22 Method and device for visualizing timing diagram based on knowledge graph, storage medium and equipment

Publications (1)

Publication Number Publication Date
CN115344706A true CN115344706A (en) 2022-11-15

Family

ID=83950311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210870656.3A Pending CN115344706A (en) 2022-07-22 2022-07-22 Method and device for visualizing timing diagram based on knowledge graph, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN115344706A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107690348A (en) * 2016-06-16 2018-02-13 深圳市屹石科技股份有限公司 The visualization performs device and method of a kind of fitness program
US20200050632A1 (en) * 2018-08-08 2020-02-13 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for generating knowledge graph, device and computer readable storage medium
CN111190966A (en) * 2019-12-07 2020-05-22 北京海致星图科技有限公司 Large-scale knowledge graph visualization method and system based on LPA algorithm
CN111339213A (en) * 2020-02-18 2020-06-26 京东方科技集团股份有限公司 Knowledge graph-based visual display method, electronic equipment and medium
CN111460048A (en) * 2020-03-13 2020-07-28 中国科学院电子学研究所苏州研究院 Knowledge graph element organization method oriented to time sequence section
CN113010621A (en) * 2020-12-07 2021-06-22 厦门渊亭信息科技有限公司 Visual integration device and method based on GIS and knowledge graph and computing equipment
KR20210092148A (en) * 2020-01-15 2021-07-23 베이징 바이두 넷컴 사이언스 앤 테크놀로지 코., 엘티디. Time series knowledge graph generation method, device, equipment and medium
CN113918661A (en) * 2021-09-29 2022-01-11 北京搜狗科技发展有限公司 Knowledge graph generation method and device and electronic equipment
CN114036311A (en) * 2021-11-08 2022-02-11 北京邮电大学 Time sequence visual development method and system based on knowledge graph

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107690348A (en) * 2016-06-16 2018-02-13 深圳市屹石科技股份有限公司 The visualization performs device and method of a kind of fitness program
US20200050632A1 (en) * 2018-08-08 2020-02-13 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for generating knowledge graph, device and computer readable storage medium
CN111190966A (en) * 2019-12-07 2020-05-22 北京海致星图科技有限公司 Large-scale knowledge graph visualization method and system based on LPA algorithm
KR20210092148A (en) * 2020-01-15 2021-07-23 베이징 바이두 넷컴 사이언스 앤 테크놀로지 코., 엘티디. Time series knowledge graph generation method, device, equipment and medium
CN111339213A (en) * 2020-02-18 2020-06-26 京东方科技集团股份有限公司 Knowledge graph-based visual display method, electronic equipment and medium
CN111460048A (en) * 2020-03-13 2020-07-28 中国科学院电子学研究所苏州研究院 Knowledge graph element organization method oriented to time sequence section
CN113010621A (en) * 2020-12-07 2021-06-22 厦门渊亭信息科技有限公司 Visual integration device and method based on GIS and knowledge graph and computing equipment
CN113918661A (en) * 2021-09-29 2022-01-11 北京搜狗科技发展有限公司 Knowledge graph generation method and device and electronic equipment
CN114036311A (en) * 2021-11-08 2022-02-11 北京邮电大学 Time sequence visual development method and system based on knowledge graph

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王鑫;傅强;王林;徐大为;王昊奋;: "知识图谱可视化查询技术综述", 计算机工程, no. 06 *
陈萱;黄春娟;: "国外知识可视化研究的现状与启示――基于Citespace和Vosviewer的知识图谱分析", 大学图书情报学刊, no. 04 *

Similar Documents

Publication Publication Date Title
Kincaid Signallens: Focus+ context applied to electronic time series
Bruckner et al. Result-driven exploration of simulation parameter spaces for visual effects design
Zhao et al. Exploratory analysis of time-series with chronolenses
US6373484B1 (en) Method and system for presenting data structures graphically
EP0627692A1 (en) Method and apparatus for modifying a database query
JPH1165803A (en) Information visualization system
JP3484234B2 (en) Image management map expression method and apparatus
EP3640804B1 (en) Screen recording preparation method for evaluating software usability, computing system, computer program and computer-readable storage medium implementing the method
Samet et al. Using animation to visualize spatio-temporal varying COVID-19 data
CN111414405A (en) Data acquisition method and device and electronic equipment
JP2005528681A (en) Method and apparatus for integrated multi-scale 3D image documentation and navigation
WO2023116216A1 (en) Data visualization method and apparatus, and device and storage medium
Paternò et al. Timelines for mobile web usability evaluation
US10534522B2 (en) Pinning portions of data visualizations
EP3819789A2 (en) Method, apparatus, device and storage medium for map retrieval test
Rampersad et al. Improving the usability of scientific software with participatory design: a new interface design for radio astronomy visualisation software
US9105134B2 (en) Techniques for visualizing the age of data in an analytics report
KR20150064312A (en) Apparatus and method of visualizing data using mapping between data and visual chart
US7605814B1 (en) Method and tool for viewing data
CN113076358A (en) Report generation method, device, equipment and storage medium
US9171387B2 (en) Data visualization system
JP3369734B2 (en) Three-dimensional computer-aided design apparatus and method
CN115344706A (en) Method and device for visualizing timing diagram based on knowledge graph, storage medium and equipment
Paolino et al. Monitoring electromagnetic pollution: A GIS-based visual approach
US20220076464A1 (en) Unified multi-view data visualization

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