WO2023035559A1 - Method and apparatus for implementing relationship graph, electronic device and storage medium - Google Patents

Method and apparatus for implementing relationship graph, electronic device and storage medium Download PDF

Info

Publication number
WO2023035559A1
WO2023035559A1 PCT/CN2022/078544 CN2022078544W WO2023035559A1 WO 2023035559 A1 WO2023035559 A1 WO 2023035559A1 CN 2022078544 W CN2022078544 W CN 2022078544W WO 2023035559 A1 WO2023035559 A1 WO 2023035559A1
Authority
WO
WIPO (PCT)
Prior art keywords
target user
relationship
relationship graph
current user
user
Prior art date
Application number
PCT/CN2022/078544
Other languages
French (fr)
Chinese (zh)
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 WO2023035559A1 publication Critical patent/WO2023035559A1/en

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/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • 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/903Querying
    • G06F16/90335Query processing
    • 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

Definitions

  • the present application relates to the technical field of relational graphs, for example, to a method, device, electronic device, and storage medium for realizing a relational graph.
  • auxiliary information related to network operations plays a very critical role.
  • auxiliary information is a person's social relationship information
  • graphics are often used to display the auxiliary information.
  • the echart visualization component is generally used in graphic display, which has the following disadvantages: 1. Poor support for customization and unable to display more beautiful graphics. 2. It cannot support too many nodes. When the number of nodes exceeds 1000, the page loading is very slow, and it may take several minutes or even longer.
  • the present application provides a method, device, electronic device, and storage medium for realizing a relationship graph, which can provide users with a more beautiful and interactive relationship graph; moreover, the page loading performance is higher, and a relationship graph with more nodes can be supported.
  • This application provides a method for implementing a relationship graph, including:
  • the target user's relationship graph is displayed to the current user.
  • the present application also provides a device for implementing a relationship graph, including: a receiving module, an acquiring module, and a display module; wherein,
  • the receiving module is configured to receive a relationship map query request sent by a current user through a graphic visualization engine; wherein, the relationship map query request carries an identifier of a target user;
  • the acquiring module is configured to acquire a relationship map corresponding to the target user in a pre-built database based on the target user's identifier;
  • the display module is configured to display the relationship graph of the target user to the current user in the graphic visualization engine.
  • the present application also provides an electronic device, comprising:
  • processors one or more processors
  • memory configured to store one or more programs
  • the one or more processors are made to implement the above method for realizing the relationship graph.
  • the present application also provides a storage medium, on which a computer program is stored, and when the program is executed by a processor, the above method for realizing the relationship graph is realized.
  • FIG. 1 is a schematic flowchart of a method for implementing a relationship map provided in an embodiment of the present application
  • FIG. 2 is a schematic flow diagram of another implementation method of a relationship map provided by an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a relationship graph provided in an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of another implementation method of a relationship graph provided in an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a device for implementing a relationship graph provided in an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Fig. 1 is a schematic flowchart of a method for implementing a relationship graph provided in an embodiment of the present application.
  • the method can be executed by a device or an electronic device for realizing a relationship graph, and the device or electronic device can be implemented by software and/or hardware. , the device or electronic device can be integrated in any smart device with network communication function.
  • the implementation method of the relationship graph may include:
  • S101 Receive a relationship graph query request sent by a current user through a graph visualization engine; wherein, the relationship graph query request carries an identifier of a target user.
  • the electronic device may receive a relationship map query request sent by the current user through the graphic visualization engine; wherein, the relationship map query request carries an identifier of a target user.
  • the electronic device may display an input box in the graphic visualization engine; the current user may input a query request for a relationship map for the target user in the input box; the graphic visualization engine may be a G6 graphic visualization engine.
  • the current user and the target user in this embodiment of the present application may be the same user, or may be two different users.
  • the electronic device may acquire a relationship graph corresponding to the target user from a pre-built database based on the identification of the target user. For example, before the electronic device receives the query request of the relationship map sent by the current user through the graphic visualization engine, it can first construct the JSON data corresponding to the target user based on the predetermined JavaScript Object Notation (JavaScript Object Notation, JSON) data structure; wherein, the JSON data It includes: nodes and relationship lines; the nodes include: character nodes and relationship type nodes; and then storing JSON data corresponding to target users in the database; wherein, the database is a distributed document storage database.
  • JSON JavaScript Object Notation
  • MongoDB Distributed document storage database, referred to as MongoDB, is written in C++ language and aims to provide scalable high-performance data storage solutions for WEB applications.
  • MongoDB is a high-performance, open-source, schema-free document database, which is one of the more popular non-relational structured query language (Not Only Structured Query Language, NoSql) databases. It can be used as an alternative to traditional relational databases or key/value stores in many scenarios.
  • NoSql Non Only Structured Query Language
  • the electronic device can display the relationship graph of the target user to the current user in the graphic visualization engine.
  • the electronic device can first define at least one division (DIVision, DIV) tag in the Body tag of the page of the hypertext markup language (HyperText Markup Language, HTML) of the graphic visualization engine as a container in the relationship map corresponding to the target user; and then based on The at least one DIV tag displays the relationship map of the target user to the current user.
  • DIVision DIV
  • the implementation method of the relationship graph proposed in the embodiment of the present application first receives the query request of the relationship graph sent by the current user through the graphic visualization engine; then obtains the relationship graph corresponding to the target user in the pre-built database based on the identity of the target user; In the visualization engine, the target user's relationship graph is displayed to the current user. That is to say, in the technical solution of the present application, the graph visualization engine can receive the query request for the relationship graph sent by the current user; and the graph visualization engine can display the target user's relationship graph to the current user.
  • the echart visual component it is common to use the echart visual component to display graphics. This component has poor support for customization and cannot display more beautiful graphics; moreover, it cannot support the situation of too many nodes.
  • the implementation method of the relationship graph proposed in the embodiment of the present application can provide users with a more beautiful and interactive relationship graph; moreover, the page loading performance is higher, and it can support a relationship graph with more nodes ; Moreover, the technical solutions of the embodiments of the present application are simple and convenient to implement, easy to popularize, and have a wider scope of application.
  • FIG. 2 is a schematic flowchart of another method for implementing a relationship graph provided by an embodiment of the present application. The description will be made based on the above technical solutions, and may be combined with the above optional implementation manners. As shown in Figure 2, the implementation method of the relationship map may include:
  • JSON data corresponding to the target user based on a predetermined JSON data structure; wherein, the JSON data includes: nodes and relationship lines; the nodes include: character nodes and relationship type nodes.
  • the electronic device can construct JSON data corresponding to the target user based on a predetermined JSON data structure; wherein, the JSON data includes: nodes and relationship lines; the nodes include: character nodes and relationship type nodes.
  • the JSON data includes: nodes and relationship lines; the nodes include: character nodes and relationship type nodes.
  • nodes represent the nodes in the relationship graph, and the data structure is JSON Array.
  • Nodes are divided into two types: character nodes and relationship type nodes.
  • edges represent the relationship lines in the relationship graph, and the data structure is JSON Array.
  • the meaning of the nodes attribute and edges attribute can be annotated and defined in the example of JSON data.
  • the electronic device may store JSON data corresponding to the target user in a database; wherein, the database is a distributed document storage database. Because the data required by the relationship graph is JSON data, the MongoDB database is selected for storage. MongoDB is a document-oriented database that stores data as a document with a data structure of JSON, so it can support JSON data well. When adding attributes in JSON, there is no need to modify the table structure to add columns like relational databases. At the same time, MongoDB supports rich query methods. The query commands use JSON-style tags, which can easily query the JSON objects in the document.
  • S203 Receive, through the graph visualization engine, a relationship graph query request sent by the current user; wherein, the relationship graph query request carries an identifier of the target user.
  • the electronic device can first import the JS file of G6 in the head tag of the HMTL page; then define a DIV as the container of the relational graphics in the Body tag of the HTML page, and define the unique identifier of the DIV; and then in the javascript of the page , call the function canvasRelation(id,data) to draw graphics, among the two parameters of this function, id represents the unique identifier of DIV, and data is JSON data.
  • FIG. 3 is a schematic structural diagram of a relationship graph provided in an embodiment of the present application.
  • the relationship graph can include seven nodes; among them, there are five character nodes, namely: Zhang San, Li Si, Zhang Xiaohua, Wang Wu and Zhao Liu; there are two relationship type nodes, respectively : kinship and friendship.
  • Zhang San and Li Si are relatives; Zhang San and Zhang Xiaohua are relatives; Zhang San and Wang Wu are friends; Zhang San and Zhao Liu are friends.
  • Zhang San and Li Si are brothers; Zhang San and Zhang Xiaohua are husband and wife; Zhang San and Wang Wu are QQ friends; Zhang San and Zhao Liu are WeChat friends.
  • Nodes of relationship type can be displayed with corresponding icons, for example, a node having a kinship relationship with Zhang San can be displayed with a kinship icon; a node with a friend relationship with Zhang San can be displayed with a friend relationship icon.
  • the implementation method of the relationship graph proposed in the embodiment of the present application first receives the query request of the relationship graph sent by the current user through the graphic visualization engine; then obtains the relationship graph corresponding to the target user in the pre-built database based on the identity of the target user; In the visualization engine, the target user's relationship graph is displayed to the current user. That is to say, in the technical solution of the present application, the graph visualization engine can receive the query request of the relationship map sent by the current user; and the graph visualization engine can display the target user's relationship map to the current user.
  • the echart visual component it is common to use the echart visual component to display graphics. This component has poor support for customization and cannot display more beautiful graphics; moreover, it cannot support the situation of too many nodes.
  • the implementation method of the relationship graph proposed in the embodiment of the present application can provide users with a more beautiful and interactive relationship graph; moreover, the page loading performance is higher, and it can support a relationship graph with more nodes ; Moreover, the technical solutions of the embodiments of the present application are simple and convenient to implement, easy to popularize, and have a wider scope of application.
  • FIG. 4 is a schematic flow chart of another method for implementing a relationship graph provided by an embodiment of the present application. The description will be made based on the above technical solutions, and may be combined with the above optional implementation manners. As shown in Figure 4, the implementation method of the relationship map may include:
  • S401 Receive a relationship graph query request sent by a current user through a graph visualization engine; wherein, the relationship graph query request carries an identifier of a target user.
  • the electronic device may define at least one DIV tag in the Body tag of the hypertext markup language page of the graphic visualization engine as a container in the relationship map corresponding to the target user.
  • DIV is a positioning technology in cascading style sheets, and its full name is DIVision, which is division. This can sometimes be called a layer.
  • DIV is also called divisibility in programming, that is, an integer that only has a quotient.
  • the DIV element is an element used to provide structure and background to block-level content within an HTML document.
  • the electronic device can display the target user's relationship graph to the current user based on the at least one DIV tag; wherein, each DIV corresponds to an identifier (Identifier, ID) as a unique identifier of the DIV.
  • ID an identifier
  • the electronic device can define a DIV tag for the input box, and a DIV tag for the display area below the input box, the former DIV tag is used to display the input box, and the latter DIV tag is used to display the relationship map.
  • S405. Receive, on the hypertext markup language page, a click event of the current user on the relationship graph corresponding to the target user; wherein the click event includes at least one of the following: a node click event, a node swipe event, a node swipe away, Expanding line click event, expanding line crossing event, expanding line crossing away, canvas clicking event.
  • the electronic device may receive a click event of the current user on the relationship map corresponding to the target user on the hypertext markup language page; wherein the click event includes at least one of the following: node click event, node swipe event, node swipe away , Expanding line click event, expanding line crossing event, expanding line crossing away, canvas clicking event.
  • the embodiment of the present application may also support other events to make graphic interaction more friendly.
  • the electronic device can display the corresponding graphical interface to the current user in response to the click event. For example, in response to a node click event, the electronic device can display the graphical interface corresponding to the node click event to the current user; it can also respond to the node swipe event, and display the graphical interface corresponding to the node swipe event to the current user; and so on .
  • the embodiment of the present application can make the graphics more beautiful through custom attribute values, and define events such as click, swipe, and swipe away at the same time, making the interaction of the graphics more friendly. For example, you can click on a node to view personnel details.
  • the page loading performance in the embodiment of the present application is relatively high. After testing, more than 1,000 nodes can all be loaded and displayed in less than one minute.
  • the implementation method of the relationship graph proposed in the embodiment of the present application first receives the query request of the relationship graph sent by the current user through the graphic visualization engine; then obtains the relationship graph corresponding to the target user in the pre-built database based on the identity of the target user; In the visualization engine, the target user's relationship graph is displayed to the current user. That is to say, in the technical solution of the present application, the graph visualization engine can receive the query request of the relationship map sent by the current user; and the graph visualization engine can display the target user's relationship map to the current user.
  • the echart visual component it is common to use the echart visual component to display graphics. This component has poor support for customization and cannot display more beautiful graphics; moreover, it cannot support the situation of too many nodes.
  • the implementation method of the relationship graph proposed in the embodiment of the present application can provide users with a more beautiful and interactive relationship graph; moreover, the page loading performance is higher, and it can support a relationship graph with more nodes ; Moreover, the technical solutions of the embodiments of the present application are simple and convenient to implement, easy to popularize, and have a wider scope of application.
  • FIG. 5 is a schematic structural diagram of an apparatus for implementing a relationship graph provided in Embodiment 4 of the present application.
  • the implementation device 500 of the relationship graph includes: a receiving module 501, an acquiring module 502 and a display module 503; wherein,
  • the receiving module 501 is configured to receive a relationship graph query request sent by the current user through a graphic visualization engine; wherein, the relationship graph query request carries an identifier of the target user; the acquisition module 502 is configured to be based on the target user Obtain the relationship graph corresponding to the target user in the pre-built database; the presentation module 503 is configured to display the target user's relationship graph to the current user in the graphic visualization engine.
  • the implementation device 500 of the relationship graph further includes: a storage module (not shown in the figure), configured to construct JSON data corresponding to the target user based on a predetermined JSON data structure; wherein, the JSON data includes: nodes and Relationship lines; the nodes include: character nodes and relationship type nodes; JSON data corresponding to the target user is stored in the database; wherein, the database is a distributed document storage database.
  • a storage module (not shown in the figure), configured to construct JSON data corresponding to the target user based on a predetermined JSON data structure
  • the JSON data includes: nodes and Relationship lines
  • the nodes include: character nodes and relationship type nodes
  • JSON data corresponding to the target user is stored in the database
  • the database is a distributed document storage database.
  • the display module 503 is configured to define at least one DIV tag in the Body tag of the hypertext markup language page of the graphic visualization engine as a container in the relationship map corresponding to the target user; based on the at least one DIV The tag displays the target user's relationship graph to the current user.
  • the presentation module 503 is further configured to receive a click event of the current user on the relationship map corresponding to the target user on the hypertext markup language page; wherein the click event includes at least one of the following: Node click event, node swipe event, node swipe away, line expansion click event, line expansion swipe event, line expansion swipe away, canvas click event; in response to the click event, the corresponding graphical interface will be displayed to the Current user.
  • the device for implementing the above relationship graph can execute the method provided by any embodiment of the present application, and has the corresponding functional modules and effects for executing the method.
  • the device for implementing the above relationship graph can execute the method provided by any embodiment of the present application, and has the corresponding functional modules and effects for executing the method.
  • FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 6 shows a block diagram of an exemplary electronic device suitable for implementing embodiments of the present application.
  • the electronic device 12 shown in FIG. 6 is only an example, and should not limit the functions and scope of use of the embodiment of the present application.
  • electronic device 12 takes the form of a general-purpose computing device.
  • Components of electronic device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, bus 18 connecting various system components including system memory 28 and processing unit 16.
  • Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus structures.
  • these architectures include but are not limited to Industry Standard Architecture (Industry Standard Architecture, ISA) bus, Micro Channel Architecture (Micro Channel Architecture, MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (Video Electronics Standards Association, VESA) local bus and peripheral component interconnect (Peripheral Component Interconnect, PCI) bus.
  • Electronic device 12 includes a variety of computer system readable media. These media can be any available media that can be accessed by electronic device 12 and include both volatile and nonvolatile media, removable and non-removable media.
  • System memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32 .
  • Electronic device 12 may include other removable/non-removable, volatile/nonvolatile computer system storage media.
  • storage system 34 may be configured to read and write to non-removable, non-volatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard drive").
  • a disk drive for reading and writing to a removable nonvolatile disk may be provided, as well as a removable nonvolatile disk (such as a Compact Disc- Read Only Memory, CD-ROM), Digital Video Disc (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical media) CD-ROM drive.
  • each drive may be connected to bus 18 via one or more data media interfaces.
  • the system memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of the embodiments of the present application.
  • Program/utility 40 may be stored, for example, in system memory 28 as a set (at least one) of program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or a combination of these examples may include implementations of the network environment.
  • the program modules 42 generally perform the functions and/or methods of the embodiments described herein.
  • the electronic device 12 may also communicate with one or more external devices 14 (e.g., a keyboard, pointing device, display 24, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 12, and/or communicate with Any device (eg, network card, modem, etc.) that enables the electronic device 12 to communicate with one or more other computing devices. This communication can be performed through an input/output (Input/Output, I/O) interface 22 .
  • the electronic device 12 can also communicate with one or more networks (such as a local area network (Local Area Network, LAN), a wide area network (Wide Area Network, WAN) and/or a public network, such as the Internet) through the network adapter 20.
  • networks such as a local area network (Local Area Network, LAN), a wide area network (Wide Area Network, WAN) and/or a public network, such as the Internet
  • network adapter 20 communicates with other modules of electronic device 12 via bus 18 .
  • other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, disk arrays (Redundant Arrays of Independent Disks, RAID) systems, tape drives, and data backup storage systems.
  • the processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28 , for example, realizing the implementation method of the relationship graph provided in the embodiment of the present application.
  • Embodiment 6 of the present application provides a computer storage medium.
  • the computer-readable storage medium in the embodiments of the present application may use 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.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. Examples (non-exhaustive list) of computer readable storage media include: electrical connection with one or more conductors, portable computer disk, hard disk, RAM, ROM, Erasable Programmable Read-Only Memory (Erasable Programmable Read-Only Memory) Memory, EPROM or flash memory), optical fiber, CD-ROM, optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may 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 carrying computer readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. .
  • Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wireless, wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
  • any appropriate medium including but not limited to wireless, wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
  • Computer program code for performing the operations of the present application may be written in one or more programming languages or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language - such as "C" or a similar programming language.
  • 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 can be connected to the user computer through any kind of network, including a LAN or WAN, or it can be connected to an external computer (eg via the Internet using an Internet Service Provider).

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed herein are a method and apparatus for implementing a relationship graph, an electronic device, and a storage medium. The method for implementing a relationship graph comprises: receiving, by means of a graphic visualization engine, a relationship graph query request sent by a current user, the relationship graph query request carrying an identifier of a target user; on the basis of the identifier of the target user, obtaining, in a pre-constructed database, a relationship graph corresponding to the target user; and displaying, in the graphic visualization engine, the relationship graph of the target user to the current user.

Description

关系图谱的实现方法、装置、电子设备及存储介质Realization method, device, electronic equipment and storage medium of relationship graph
本申请要求在2021年09月07日提交中国专利局、申请号为202111042806.3的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with application number 202111042806.3 submitted to the China Patent Office on September 07, 2021, the entire content of which is incorporated herein by reference.
技术领域technical field
本申请涉及关系图谱技术领域,例如涉及一种关系图谱的实现方法、装置、电子设备及存储介质。The present application relates to the technical field of relational graphs, for example, to a method, device, electronic device, and storage medium for realizing a relational graph.
背景技术Background technique
随着网络技术和计算机技术的不断发展,互联网应用以及其它网络应用已经成为人们生活、工作、学习的主要工具,如获取信息、在线娱乐、在线学习、在线交易、在线购物等。同时人们在使用这些应用时也会进行相关的网络操作,如用户在搜索引擎中输入搜索请求后,搜索引擎能够向用户返回与该搜索请求对应的搜索结果。为了更加方便用户获取更多相关信息,提升用户的使用体验,用户在进行相关网络操作后,还希望能够提供给该用户与该网络操作相关的辅助信息,如推荐信息、关系信息等。这时如何生成与网络操作相关的辅助信息就起到了非常关键的作用。With the continuous development of network technology and computer technology, Internet applications and other network applications have become the main tools for people's life, work, and study, such as obtaining information, online entertainment, online learning, online transactions, online shopping, etc. At the same time, people will also perform related network operations when using these applications. For example, after a user inputs a search request in a search engine, the search engine can return the search result corresponding to the search request to the user. In order to make it easier for the user to obtain more relevant information and improve the user experience, the user also hopes to be able to provide the user with auxiliary information related to the network operation, such as recommendation information, relationship information, etc., after performing relevant network operations. At this time, how to generate auxiliary information related to network operations plays a very critical role.
当辅助信息为一个人的社会关系信息时,经常会使用图形来展示该辅助信息。在图形展示中普遍是使用echart可视化组件,该组件存在以下缺点:1、对定制化支持较差,无法展示更美观的图形。2、无法支持节点过多的情况,当节点超过1000时,页面加载十分缓慢,可能会耗时几分钟甚至更久。When the auxiliary information is a person's social relationship information, graphics are often used to display the auxiliary information. The echart visualization component is generally used in graphic display, which has the following disadvantages: 1. Poor support for customization and unable to display more beautiful graphics. 2. It cannot support too many nodes. When the number of nodes exceeds 1000, the page loading is very slow, and it may take several minutes or even longer.
发明内容Contents of the invention
本申请提供一种关系图谱的实现方法、装置、电子设备及存储介质,可以为用户提供更加美观、交互性更高的关系图谱;而且页面加载性能更高,可以支持节点更多的关系图谱。The present application provides a method, device, electronic device, and storage medium for realizing a relationship graph, which can provide users with a more beautiful and interactive relationship graph; moreover, the page loading performance is higher, and a relationship graph with more nodes can be supported.
本申请提供了一种关系图谱的实现方法,包括:This application provides a method for implementing a relationship graph, including:
通过图形可视化引擎接收当前用户发送的关系图谱查询请求;其中,所述关系图谱查询请求中携带目标用户的标识;Receive a relationship map query request sent by the current user through the graphic visualization engine; wherein, the relationship map query request carries the identity of the target user;
基于所述目标用户的标识在预先构建的数据库中获取所述目标用户对应的关系图谱;Obtaining a relationship graph corresponding to the target user in a pre-built database based on the target user's identification;
在所述图形可视化引擎中将所述目标用户的关系图谱展示给所述当前用 户。In the graphic visualization engine, the target user's relationship graph is displayed to the current user.
本申请还提供了一种关系图谱的实现装置,包括:接收模块、获取模块和展示模块;其中,The present application also provides a device for implementing a relationship graph, including: a receiving module, an acquiring module, and a display module; wherein,
所述接收模块,设置为通过图形可视化引擎接收当前用户发送的关系图谱查询请求;其中,所述关系图谱查询请求中携带目标用户的标识;The receiving module is configured to receive a relationship map query request sent by a current user through a graphic visualization engine; wherein, the relationship map query request carries an identifier of a target user;
所述获取模块,设置为基于所述目标用户的标识在预先构建的数据库中获取所述目标用户对应的关系图谱;The acquiring module is configured to acquire a relationship map corresponding to the target user in a pre-built database based on the target user's identifier;
所述展示模块,设置为在所述图形可视化引擎中将所述目标用户的关系图谱展示给所述当前用户。The display module is configured to display the relationship graph of the target user to the current user in the graphic visualization engine.
本申请还提供了一种电子设备,包括:The present application also provides an electronic device, comprising:
一个或多个处理器;one or more processors;
存储器,设置为存储一个或多个程序;memory configured to store one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述的关系图谱的实现方法。When the one or more programs are executed by the one or more processors, the one or more processors are made to implement the above method for realizing the relationship graph.
本申请还提供了一种存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述的关系图谱的实现方法。The present application also provides a storage medium, on which a computer program is stored, and when the program is executed by a processor, the above method for realizing the relationship graph is realized.
附图说明Description of drawings
图1为本申请实施例提供的一种关系图谱的实现方法的流程示意图;FIG. 1 is a schematic flowchart of a method for implementing a relationship map provided in an embodiment of the present application;
图2为本申请实施例提供的另一种关系图谱的实现方法的流程示意图;FIG. 2 is a schematic flow diagram of another implementation method of a relationship map provided by an embodiment of the present application;
图3为本申请实施例提供的一种关系图谱的结构示意图;FIG. 3 is a schematic structural diagram of a relationship graph provided in an embodiment of the present application;
图4为本申请实施例提供的另一种关系图谱的实现方法的流程示意图;FIG. 4 is a schematic flowchart of another implementation method of a relationship graph provided in an embodiment of the present application;
图5为本申请实施例提供的一种关系图谱的实现装置的结构示意图;FIG. 5 is a schematic structural diagram of a device for implementing a relationship graph provided in an embodiment of the present application;
图6为本申请实施例提供的一种电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请进行说明。此处所描述的具体实施例仅仅用于解释本申请。为了便于描述,附图中仅示出了与本申请相关的部分。The application will be described below in conjunction with the accompanying drawings and embodiments. The specific embodiments described herein are for illustration of the application only. For ease of description, only parts relevant to the present application are shown in the drawings.
实施例一Embodiment one
图1是本申请实施例提供的一种关系图谱的实现方法的流程示意图,该方法可以由关系图谱的实现装置或者电子设备来执行,该装置或者电子设备可以 由软件和/或硬件的方式实现,该装置或者电子设备可以集成在任何具有网络通信功能的智能设备中。如图1所示,关系图谱的实现方法可以包括:Fig. 1 is a schematic flowchart of a method for implementing a relationship graph provided in an embodiment of the present application. The method can be executed by a device or an electronic device for realizing a relationship graph, and the device or electronic device can be implemented by software and/or hardware. , the device or electronic device can be integrated in any smart device with network communication function. As shown in Figure 1, the implementation method of the relationship graph may include:
S101、通过图形可视化引擎接收当前用户发送的关系图谱查询请求;其中,关系图谱查询请求中携带目标用户的标识。S101. Receive a relationship graph query request sent by a current user through a graph visualization engine; wherein, the relationship graph query request carries an identifier of a target user.
电子设备可以通过图形可视化引擎接收当前用户发送的关系图谱查询请求;其中,关系图谱查询请求中携带目标用户的标识。电子设备可以在图形可视化引擎中显示一个输入框;当前用户可以在该输入框中输入针对目标用户的关系图谱查询请求;该图形可视化引擎可以为G6图可视化引擎。本申请实施例中的当前用户与目标用户可以是同一个用户,也可以是不同的两个用户。The electronic device may receive a relationship map query request sent by the current user through the graphic visualization engine; wherein, the relationship map query request carries an identifier of a target user. The electronic device may display an input box in the graphic visualization engine; the current user may input a query request for a relationship map for the target user in the input box; the graphic visualization engine may be a G6 graphic visualization engine. The current user and the target user in this embodiment of the present application may be the same user, or may be two different users.
S102、基于目标用户的标识在预先构建的数据库中获取目标用户对应的关系图谱。S102. Obtain a relationship graph corresponding to the target user in a pre-built database based on the identification of the target user.
电子设备可以基于目标用户的标识在预先构建的数据库中获取目标用户对应的关系图谱。例如,电子设备在通过图形可视化引擎接收当前用户发送的关系图谱查询请求之前,可以先基于预先确定的JavaScript对象简谱(JavaScript Object Notation,JSON)数据结构构建目标用户对应的JSON数据;其中,JSON数据包括:节点和关系线;节点包括:人物节点和关系类型节点;然后在数据库中存储目标用户对应的JSON数据;其中,该数据库为分布式文档存储数据库。分布式文档存储数据库简称MongoDB,由C++语言编写,旨在为WEB应用提供可扩展的高性能数据存储解决方案。MongoDB是一个高性能,开源,无模式的文档型数据库,是当前非关系型结构化查询语言(Not Only Structured Query Language,NoSql)数据库中比较热门的一种。它在许多场景下可用于替代传统的关系型数据库或键/值存储方式。The electronic device may acquire a relationship graph corresponding to the target user from a pre-built database based on the identification of the target user. For example, before the electronic device receives the query request of the relationship map sent by the current user through the graphic visualization engine, it can first construct the JSON data corresponding to the target user based on the predetermined JavaScript Object Notation (JavaScript Object Notation, JSON) data structure; wherein, the JSON data It includes: nodes and relationship lines; the nodes include: character nodes and relationship type nodes; and then storing JSON data corresponding to target users in the database; wherein, the database is a distributed document storage database. Distributed document storage database, referred to as MongoDB, is written in C++ language and aims to provide scalable high-performance data storage solutions for WEB applications. MongoDB is a high-performance, open-source, schema-free document database, which is one of the more popular non-relational structured query language (Not Only Structured Query Language, NoSql) databases. It can be used as an alternative to traditional relational databases or key/value stores in many scenarios.
S103、在图形可视化引擎中将目标用户的关系图谱展示给当前用户。S103. Display the relationship graph of the target user to the current user in the graphic visualization engine.
电子设备可以在图形可视化引擎中将目标用户的关系图谱展示给当前用户。电子设备可以先在图形可视化引擎的超文本标记语言(HyperText Markup Language,HTML)的页面的Body标签中,定义至少一个划分(DIVision,DIV)标签作为目标用户对应的关系图谱中的容器;然后基于该至少一个DIV标签将目标用户的关系图谱展示给当前用户。The electronic device can display the relationship graph of the target user to the current user in the graphic visualization engine. The electronic device can first define at least one division (DIVision, DIV) tag in the Body tag of the page of the hypertext markup language (HyperText Markup Language, HTML) of the graphic visualization engine as a container in the relationship map corresponding to the target user; and then based on The at least one DIV tag displays the relationship map of the target user to the current user.
本申请实施例提出的关系图谱的实现方法,先通过图形可视化引擎接收当前用户发送的关系图谱查询请求;然后基于目标用户的标识在预先构建的数据库中获取目标用户对应的关系图谱;再在图形可视化引擎中将目标用户的关系图谱展示给当前用户。也就是说,在本申请的技术方案中,可以通过图形可视化引擎接收当前用户发送的关系图谱查询请求;并且可以在图形可视化引擎中 将目标用户的关系图谱展示给当前用户。而在相关技术中,普遍是使用echart可视化组件展示图形,该组件对定制化支持较差,无法展示更美观的图形;而且无法支持节点过多的情况。因此,和相关技术相比,本申请实施例提出的关系图谱的实现方法,可以为用户提供更加美观、交互性更高的关系图谱;而且页面加载性能更高,可以支持节点更多的关系图谱;并且,本申请实施例的技术方案实现简单方便、便于普及,适用范围更广。The implementation method of the relationship graph proposed in the embodiment of the present application first receives the query request of the relationship graph sent by the current user through the graphic visualization engine; then obtains the relationship graph corresponding to the target user in the pre-built database based on the identity of the target user; In the visualization engine, the target user's relationship graph is displayed to the current user. That is to say, in the technical solution of the present application, the graph visualization engine can receive the query request for the relationship graph sent by the current user; and the graph visualization engine can display the target user's relationship graph to the current user. However, in related technologies, it is common to use the echart visual component to display graphics. This component has poor support for customization and cannot display more beautiful graphics; moreover, it cannot support the situation of too many nodes. Therefore, compared with related technologies, the implementation method of the relationship graph proposed in the embodiment of the present application can provide users with a more beautiful and interactive relationship graph; moreover, the page loading performance is higher, and it can support a relationship graph with more nodes ; Moreover, the technical solutions of the embodiments of the present application are simple and convenient to implement, easy to popularize, and have a wider scope of application.
实施例二Embodiment two
图2是本申请实施例提供的另一种关系图谱的实现方法的流程示意图。基于上述技术方案进行说明,并可以与上述可选实施方式进行结合。如图2所示,关系图谱的实现方法可以包括:FIG. 2 is a schematic flowchart of another method for implementing a relationship graph provided by an embodiment of the present application. The description will be made based on the above technical solutions, and may be combined with the above optional implementation manners. As shown in Figure 2, the implementation method of the relationship map may include:
S201、基于预先确定的JSON数据结构构建目标用户对应的JSON数据;其中,JSON数据包括:节点和关系线;节点包括:人物节点和关系类型节点。S201. Construct JSON data corresponding to the target user based on a predetermined JSON data structure; wherein, the JSON data includes: nodes and relationship lines; the nodes include: character nodes and relationship type nodes.
电子设备可以基于预先确定的JSON数据结构构建目标用户对应的JSON数据;其中,JSON数据包括:节点和关系线;节点包括:人物节点和关系类型节点。在JSON数据的示例中,nodes代表关系图谱中的节点,数据结构为JSON Array。节点共分为2种,分别为:人物节点和关系类型节点。edges代表关系图中的关系线,数据结构为JSON Array。nodes属性和edges属性的含义,可以在JSON数据的示例中注释和定义。The electronic device can construct JSON data corresponding to the target user based on a predetermined JSON data structure; wherein, the JSON data includes: nodes and relationship lines; the nodes include: character nodes and relationship type nodes. In the example of JSON data, nodes represent the nodes in the relationship graph, and the data structure is JSON Array. Nodes are divided into two types: character nodes and relationship type nodes. edges represent the relationship lines in the relationship graph, and the data structure is JSON Array. The meaning of the nodes attribute and edges attribute can be annotated and defined in the example of JSON data.
S202、在数据库中存储目标用户对应的JSON数据;其中,该数据库为分布式文档存储数据库。S202. Store JSON data corresponding to the target user in a database; wherein, the database is a distributed document storage database.
电子设备可以在数据库中存储目标用户对应的JSON数据;其中,该数据库为分布式文档存储数据库。因为关系图谱所需的数据为JSON数据,因此选择MongoDB数据库用来存储。MongoDB是面向文档的数据库,它将数据存储为一个文档,数据结构为JSON,因此它能很好地支持JSON数据。当JSON中增加属性时,不需要向关系型数据库那样去修改表结构增加列。同时,MongoDB支持丰富的查询方式,查询指令使用JSON形式的标记,可以轻易查询到文档中的JSON对象。The electronic device may store JSON data corresponding to the target user in a database; wherein, the database is a distributed document storage database. Because the data required by the relationship graph is JSON data, the MongoDB database is selected for storage. MongoDB is a document-oriented database that stores data as a document with a data structure of JSON, so it can support JSON data well. When adding attributes in JSON, there is no need to modify the table structure to add columns like relational databases. At the same time, MongoDB supports rich query methods. The query commands use JSON-style tags, which can easily query the JSON objects in the document.
S203、通过图形可视化引擎接收当前用户发送的关系图谱查询请求;其中,该关系图谱查询请求中携带目标用户的标识。S203. Receive, through the graph visualization engine, a relationship graph query request sent by the current user; wherein, the relationship graph query request carries an identifier of the target user.
S204、基于目标用户的标识在预先构建的数据库中获取目标用户对应的关系图谱。S204. Obtain a relationship graph corresponding to the target user in a pre-built database based on the target user's identifier.
S205、在图形可视化引擎中将目标用户的关系图谱展示给当前用户。S205. Display the target user's relationship graph to the current user in the graphic visualization engine.
电子设备可以先在HMTL页面的head标签内,引入G6的JS文件;然后在HTML页面的Body标签中,定义一个DIV作为关系图形的容器,并定义该DIV的唯一标识;再在页面的javascript中,调用函数function canvasRelation(id,data)绘制图形,该函数的两个参数中,id代表DIV的唯一标识,data为JSON数据。The electronic device can first import the JS file of G6 in the head tag of the HMTL page; then define a DIV as the container of the relational graphics in the Body tag of the HTML page, and define the unique identifier of the DIV; and then in the javascript of the page , call the function canvasRelation(id,data) to draw graphics, among the two parameters of this function, id represents the unique identifier of DIV, and data is JSON data.
图3为本申请实施例提供的一种关系图谱的结构示意图。如图3所示,该关系图谱可以包括七个节点;其中,人物节点为五个,分别为:张三、李四、张小花、王五和赵六;关系类型节点为两个,分别为:亲属关系和好友关系。通过该关系图谱可以得知,张三与李四为亲属关系;张三与张小花为亲属关系;张三与王五为好友关系;张三与赵六为好友关系。例如,张三与李四为兄弟关系;张三与张小花为夫妻关系;张三与王五为QQ好友关系;张三与赵六为微信好友关系。关系类型的节点可以采用对应的图标进行展示,例如,与张三具有亲属关系的节点可以采用亲属关系图标进行展示;与张三具有好友关系的节点可以采用好友关系图标进行展示。FIG. 3 is a schematic structural diagram of a relationship graph provided in an embodiment of the present application. As shown in Figure 3, the relationship graph can include seven nodes; among them, there are five character nodes, namely: Zhang San, Li Si, Zhang Xiaohua, Wang Wu and Zhao Liu; there are two relationship type nodes, respectively : kinship and friendship. From the relationship map, we can know that Zhang San and Li Si are relatives; Zhang San and Zhang Xiaohua are relatives; Zhang San and Wang Wu are friends; Zhang San and Zhao Liu are friends. For example, Zhang San and Li Si are brothers; Zhang San and Zhang Xiaohua are husband and wife; Zhang San and Wang Wu are QQ friends; Zhang San and Zhao Liu are WeChat friends. Nodes of relationship type can be displayed with corresponding icons, for example, a node having a kinship relationship with Zhang San can be displayed with a kinship icon; a node with a friend relationship with Zhang San can be displayed with a friend relationship icon.
本申请实施例提出的关系图谱的实现方法,先通过图形可视化引擎接收当前用户发送的关系图谱查询请求;然后基于目标用户的标识在预先构建的数据库中获取目标用户对应的关系图谱;再在图形可视化引擎中将目标用户的关系图谱展示给当前用户。也就是说,在本申请的技术方案中,可以通过图形可视化引擎接收当前用户发送的关系图谱查询请求;并且可以在图形可视化引擎中将目标用户的关系图谱展示给当前用户。而在相关技术中,普遍是使用echart可视化组件展示图形,该组件对定制化支持较差,无法展示更美观的图形;而且无法支持节点过多的情况。因此,和相关技术相比,本申请实施例提出的关系图谱的实现方法,可以为用户提供更加美观、交互性更高的关系图谱;而且页面加载性能更高,可以支持节点更多的关系图谱;并且,本申请实施例的技术方案实现简单方便、便于普及,适用范围更广。The implementation method of the relationship graph proposed in the embodiment of the present application first receives the query request of the relationship graph sent by the current user through the graphic visualization engine; then obtains the relationship graph corresponding to the target user in the pre-built database based on the identity of the target user; In the visualization engine, the target user's relationship graph is displayed to the current user. That is to say, in the technical solution of the present application, the graph visualization engine can receive the query request of the relationship map sent by the current user; and the graph visualization engine can display the target user's relationship map to the current user. However, in related technologies, it is common to use the echart visual component to display graphics. This component has poor support for customization and cannot display more beautiful graphics; moreover, it cannot support the situation of too many nodes. Therefore, compared with related technologies, the implementation method of the relationship graph proposed in the embodiment of the present application can provide users with a more beautiful and interactive relationship graph; moreover, the page loading performance is higher, and it can support a relationship graph with more nodes ; Moreover, the technical solutions of the embodiments of the present application are simple and convenient to implement, easy to popularize, and have a wider scope of application.
实施例三Embodiment three
图4是本申请实施例提供的另一种关系图谱的实现方法的流程示意图。基于上述技术方案进行说明,并可以与上述可选实施方式进行结合。如图4所示,关系图谱的实现方法可以包括:FIG. 4 is a schematic flow chart of another method for implementing a relationship graph provided by an embodiment of the present application. The description will be made based on the above technical solutions, and may be combined with the above optional implementation manners. As shown in Figure 4, the implementation method of the relationship map may include:
S401、通过图形可视化引擎接收当前用户发送的关系图谱查询请求;其中,关系图谱查询请求中携带目标用户的标识。S401. Receive a relationship graph query request sent by a current user through a graph visualization engine; wherein, the relationship graph query request carries an identifier of a target user.
S402、基于目标用户的标识在预先构建的数据库中获取目标用户对应的关系图谱。S402. Obtain a relationship graph corresponding to the target user in a pre-built database based on the target user's identifier.
S403、在图形可视化引擎的超文本标记语言的页面的Body标签中,定义至少一个DIV标签作为目标用户对应的关系图谱中的容器。S403. In the Body tag of the hypertext markup language page of the graphic visualization engine, define at least one DIV tag as a container in the relationship map corresponding to the target user.
电子设备可以在图形可视化引擎的超文本标记语言的页面的Body标签中,定义至少一个DIV标签作为目标用户对应的关系图谱中的容器。DIV是层叠样式表中的定位技术,全称DIVision,即为划分。有时可以称其为图层。DIV在编程中又叫做整除,即只得商的整数。DIV元素是用来为HTML文档内大块(block-level)的内容提供结构和背景的元素。The electronic device may define at least one DIV tag in the Body tag of the hypertext markup language page of the graphic visualization engine as a container in the relationship map corresponding to the target user. DIV is a positioning technology in cascading style sheets, and its full name is DIVision, which is division. This can sometimes be called a layer. DIV is also called divisibility in programming, that is, an integer that only has a quotient. The DIV element is an element used to provide structure and background to block-level content within an HTML document.
S404、基于该至少一个DIV标签将目标用户的关系图谱展示给当前用户。S404. Display the relationship map of the target user to the current user based on the at least one DIV tag.
电子设备可以基于该至少一个DIV标签将目标用户的关系图谱展示给当前用户;其中,每一个DIV对应于一个标识(Identifier,ID),作为该DIV的唯一标识。例如,电子设备可以针对输入框定义一个DIV标签,针对输入框下方的显示区域定义一个DIV标签,前一个DIV标签用于显示输入框,后一个DIV标签用户显示关系图谱。The electronic device can display the target user's relationship graph to the current user based on the at least one DIV tag; wherein, each DIV corresponds to an identifier (Identifier, ID) as a unique identifier of the DIV. For example, the electronic device can define a DIV tag for the input box, and a DIV tag for the display area below the input box, the former DIV tag is used to display the input box, and the latter DIV tag is used to display the relationship map.
S405、在超文本标记语言的页面上接收当前用户针对于目标用户对应的关系图谱的点击事件;其中,该点击事件包括以下至少之一:节点点击事件、节点划过事件、节点划过离开、扩线点击事件、扩线划过事件、扩线划过离开、画布点击事件。S405. Receive, on the hypertext markup language page, a click event of the current user on the relationship graph corresponding to the target user; wherein the click event includes at least one of the following: a node click event, a node swipe event, a node swipe away, Expanding line click event, expanding line crossing event, expanding line crossing away, canvas clicking event.
电子设备可以在超文本标记语言的页面上接收当前用户针对于目标用户对应的关系图谱的点击事件;其中,该点击事件包括以下至少之一:节点点击事件、节点划过事件、节点划过离开、扩线点击事件、扩线划过事件、扩线划过离开、画布点击事件。除此之外,本申请实施例还可以支持其他的事件,让图形交互更加友好。The electronic device may receive a click event of the current user on the relationship map corresponding to the target user on the hypertext markup language page; wherein the click event includes at least one of the following: node click event, node swipe event, node swipe away , Expanding line click event, expanding line crossing event, expanding line crossing away, canvas clicking event. In addition, the embodiment of the present application may also support other events to make graphic interaction more friendly.
S406、响应于点击事件将点击事件对应的图形界面展示给当前用户。S406. In response to the click event, display the graphical interface corresponding to the click event to the current user.
电子设备可以响应于点击事件将对应的图形界面展示给当前用户。例如,电子设备可以响应于节点点击事件,将节点点击事件对应的图形界面展示给当前用户;还可以响应于节点划过事件,将节点划过事件对应的图形界面展示给当前用户;以此类推。本申请实施例通过自定义的属性值,可以让图形更加美观,同时定义点击、划过、划过离开等事件,让图形的交互更加友好。例如可以点击节点查看人员详情。此外,本申请实施例中的页面加载性能较高,经测试,1000多个节点,不到1分钟即可全部加载显示。The electronic device can display the corresponding graphical interface to the current user in response to the click event. For example, in response to a node click event, the electronic device can display the graphical interface corresponding to the node click event to the current user; it can also respond to the node swipe event, and display the graphical interface corresponding to the node swipe event to the current user; and so on . The embodiment of the present application can make the graphics more beautiful through custom attribute values, and define events such as click, swipe, and swipe away at the same time, making the interaction of the graphics more friendly. For example, you can click on a node to view personnel details. In addition, the page loading performance in the embodiment of the present application is relatively high. After testing, more than 1,000 nodes can all be loaded and displayed in less than one minute.
本申请实施例提出的关系图谱的实现方法,先通过图形可视化引擎接收当前用户发送的关系图谱查询请求;然后基于目标用户的标识在预先构建的数据库中获取目标用户对应的关系图谱;再在图形可视化引擎中将目标用户的关系 图谱展示给当前用户。也就是说,在本申请的技术方案中,可以通过图形可视化引擎接收当前用户发送的关系图谱查询请求;并且可以在图形可视化引擎中将目标用户的关系图谱展示给当前用户。而在相关技术中,普遍是使用echart可视化组件展示图形,该组件对定制化支持较差,无法展示更美观的图形;而且无法支持节点过多的情况。因此,和相关技术相比,本申请实施例提出的关系图谱的实现方法,可以为用户提供更加美观、交互性更高的关系图谱;而且页面加载性能更高,可以支持节点更多的关系图谱;并且,本申请实施例的技术方案实现简单方便、便于普及,适用范围更广。The implementation method of the relationship graph proposed in the embodiment of the present application first receives the query request of the relationship graph sent by the current user through the graphic visualization engine; then obtains the relationship graph corresponding to the target user in the pre-built database based on the identity of the target user; In the visualization engine, the target user's relationship graph is displayed to the current user. That is to say, in the technical solution of the present application, the graph visualization engine can receive the query request of the relationship map sent by the current user; and the graph visualization engine can display the target user's relationship map to the current user. However, in related technologies, it is common to use the echart visual component to display graphics. This component has poor support for customization and cannot display more beautiful graphics; moreover, it cannot support the situation of too many nodes. Therefore, compared with related technologies, the implementation method of the relationship graph proposed in the embodiment of the present application can provide users with a more beautiful and interactive relationship graph; moreover, the page loading performance is higher, and it can support a relationship graph with more nodes ; Moreover, the technical solutions of the embodiments of the present application are simple and convenient to implement, easy to popularize, and have a wider scope of application.
实施例四Embodiment Four
图5为本申请实施例四提供的一种关系图谱的实现装置的结构示意图。如图5所示,所述关系图谱的实现装置500包括:接收模块501、获取模块502和展示模块503;其中,FIG. 5 is a schematic structural diagram of an apparatus for implementing a relationship graph provided in Embodiment 4 of the present application. As shown in Figure 5, the implementation device 500 of the relationship graph includes: a receiving module 501, an acquiring module 502 and a display module 503; wherein,
所述接收模块501,设置为通过图形可视化引擎接收当前用户发送的关系图谱查询请求;其中,所述关系图谱查询请求中携带目标用户的标识;所述获取模块502,设置为基于所述目标用户的标识在预先构建的数据库中获取所述目标用户对应的关系图谱;所述展示模块503,设置为在所述图形可视化引擎中将所述目标用户的关系图谱展示给所述当前用户。The receiving module 501 is configured to receive a relationship graph query request sent by the current user through a graphic visualization engine; wherein, the relationship graph query request carries an identifier of the target user; the acquisition module 502 is configured to be based on the target user Obtain the relationship graph corresponding to the target user in the pre-built database; the presentation module 503 is configured to display the target user's relationship graph to the current user in the graphic visualization engine.
所述关系图谱的实现装置500还包括:存储模块(图中未示出),设置为基于预先确定的JSON数据结构构建所述目标用户对应的JSON数据;其中,所述JSON数据包括:节点和关系线;所述节点包括:人物节点和关系类型节点;在所述数据库中存储所述目标用户对应的JSON数据;其中,所述数据库为分布式文档存储数据库。The implementation device 500 of the relationship graph further includes: a storage module (not shown in the figure), configured to construct JSON data corresponding to the target user based on a predetermined JSON data structure; wherein, the JSON data includes: nodes and Relationship lines; the nodes include: character nodes and relationship type nodes; JSON data corresponding to the target user is stored in the database; wherein, the database is a distributed document storage database.
所述展示模块503,设置为在所述图形可视化引擎的超文本标记语言的页面的Body标签中,定义至少一个DIV标签作为所述目标用户对应的关系图谱中的容器;基于所述至少一个DIV标签将所述目标用户的关系图谱展示给所述当前用户。The display module 503 is configured to define at least one DIV tag in the Body tag of the hypertext markup language page of the graphic visualization engine as a container in the relationship map corresponding to the target user; based on the at least one DIV The tag displays the target user's relationship graph to the current user.
所述展示模块503,还设置为在所述超文本标记语言的页面上接收所述当前用户针对于所述目标用户对应的关系图谱的点击事件;其中,所述点击事件包括以下至少之一:节点点击事件、节点划过事件、节点划过离开、扩线点击事件、扩线划过事件、扩线划过离开、画布点击事件;响应于所述点击事件将对应的图形界面展示给所述当前用户。The presentation module 503 is further configured to receive a click event of the current user on the relationship map corresponding to the target user on the hypertext markup language page; wherein the click event includes at least one of the following: Node click event, node swipe event, node swipe away, line expansion click event, line expansion swipe event, line expansion swipe away, canvas click event; in response to the click event, the corresponding graphical interface will be displayed to the Current user.
上述关系图谱的实现装置可执行本申请任意实施例所提供的方法,具备执 行方法相应的功能模块和效果。未在本实施例中详尽描述的技术细节,可参见本申请任意实施例提供的关系图谱的实现方法。The device for implementing the above relationship graph can execute the method provided by any embodiment of the present application, and has the corresponding functional modules and effects for executing the method. For technical details not exhaustively described in this embodiment, refer to the implementation method of the relationship graph provided in any embodiment of the present application.
实施例五Embodiment five
图6是本申请实施例提供的一种电子设备的结构示意图。图6示出了适于用来实现本申请实施方式的示例性电子设备的框图。图6显示的电子设备12仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. FIG. 6 shows a block diagram of an exemplary electronic device suitable for implementing embodiments of the present application. The electronic device 12 shown in FIG. 6 is only an example, and should not limit the functions and scope of use of the embodiment of the present application.
如图6所示,电子设备12以通用计算设备的形式表现。电子设备12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in FIG. 6, electronic device 12 takes the form of a general-purpose computing device. Components of electronic device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, bus 18 connecting various system components including system memory 28 and processing unit 16.
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(Industry Standard Architecture,ISA)总线,微通道体系结构(Micro Channel Architecture,MAC)总线,增强型ISA总线、视频电子标准协会(Video Electronics Standards Association,VESA)局域总线以及外围组件互连(Peripheral Component Interconnect,PCI)总线。 Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (Industry Standard Architecture, ISA) bus, Micro Channel Architecture (Micro Channel Architecture, MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (Video Electronics Standards Association, VESA) local bus and peripheral component interconnect (Peripheral Component Interconnect, PCI) bus.
电子设备12包括多种计算机系统可读介质。这些介质可以是任何能够被电子设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。 Electronic device 12 includes a variety of computer system readable media. These media can be any available media that can be accessed by electronic device 12 and include both volatile and nonvolatile media, removable and non-removable media.
系统存储器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可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本申请实施例的功能。 System memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32 . Electronic device 12 may include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be configured to read and write to non-removable, non-volatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard drive"). Although not shown in FIG. 6, a disk drive for reading and writing to a removable nonvolatile disk (such as a "floppy disk") may be provided, as well as a removable nonvolatile disk (such as a Compact Disc- Read Only Memory, CD-ROM), Digital Video Disc (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical media) CD-ROM drive. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. The system memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of the embodiments of the present application.
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如 系统存储器28中,这样的程序模块42包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或一种组合中可能包括网络环境的实现。程序模块42通常执行本申请所描述的实施例中的功能和/或方法。Program/utility 40 may be stored, for example, in system memory 28 as a set (at least one) of program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or a combination of these examples may include implementations of the network environment. The program modules 42 generally perform the functions and/or methods of the embodiments described herein.
电子设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该电子设备12交互的设备通信,和/或与使得该电子设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(Input/Output,I/O)接口22进行。并且,电子设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(Local Area Network,LAN),广域网(Wide Area Network,WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与电子设备12的其它模块通信。应当明白,尽管图6中未示出,可以结合电子设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、磁盘阵列(Redundant Arrays of Independent Disks,RAID)系统、磁带驱动器以及数据备份存储系统等。The electronic device 12 may also communicate with one or more external devices 14 (e.g., a keyboard, pointing device, display 24, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 12, and/or communicate with Any device (eg, network card, modem, etc.) that enables the electronic device 12 to communicate with one or more other computing devices. This communication can be performed through an input/output (Input/Output, I/O) interface 22 . Moreover, the electronic device 12 can also communicate with one or more networks (such as a local area network (Local Area Network, LAN), a wide area network (Wide Area Network, WAN) and/or a public network, such as the Internet) through the network adapter 20. As shown, network adapter 20 communicates with other modules of electronic device 12 via bus 18 . It should be appreciated that although not shown in FIG. 6 , other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, disk arrays (Redundant Arrays of Independent Disks, RAID) systems, tape drives, and data backup storage systems.
处理单元16通过运行存储在系统存储器28中的程序,从而执行多种功能应用以及数据处理,例如实现本申请实施例所提供的关系图谱的实现方法。The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28 , for example, realizing the implementation method of the relationship graph provided in the embodiment of the present application.
实施例六Embodiment six
本申请实施例六提供了一种计算机存储介质。Embodiment 6 of the present application provides a computer storage medium.
本申请实施例的计算机可读存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、RAM、ROM、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM或闪存)、光纤、CD-ROM、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer-readable storage medium in the embodiments of the present application may use 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. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. Examples (non-exhaustive list) of computer readable storage media include: electrical connection with one or more conductors, portable computer disk, hard disk, RAM, ROM, Erasable Programmable Read-Only Memory (Erasable Programmable Read-Only Memory) Memory, EPROM or flash memory), optical fiber, CD-ROM, optical storage device, magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium may 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 carrying computer readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于无线、电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wireless, wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
可以以一种或多种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括LAN或WAN—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present application may be written in one or more programming languages or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language - such as "C" or a similar programming language. 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. Where a remote computer is involved, the remote computer can be connected to the user computer through any kind of network, including a LAN or WAN, or it can be connected to an external computer (eg via the Internet using an Internet Service Provider).

Claims (10)

  1. 一种关系图谱的实现方法,包括:A method for implementing a relationship graph, comprising:
    通过图形可视化引擎接收当前用户发送的关系图谱查询请求;其中,所述关系图谱查询请求中携带目标用户的标识;Receive a relationship map query request sent by the current user through the graphic visualization engine; wherein, the relationship map query request carries the identity of the target user;
    基于所述目标用户的标识在预先构建的数据库中获取所述目标用户对应的关系图谱;Obtaining a relationship graph corresponding to the target user in a pre-built database based on the target user's identification;
    在所述图形可视化引擎中将所述目标用户的关系图谱展示给所述当前用户。In the graphical visualization engine, the target user's relationship map is displayed to the current user.
  2. 根据权利要求1所述的方法,在所述通过图形可视化引擎接收当前用户发送的关系图谱查询请求之前,还包括:The method according to claim 1, before receiving the query request of the relationship map sent by the current user through the graphic visualization engine, further comprising:
    基于预先确定的JavaScript对象简谱数据结构构建所述目标用户对应的JavaScript对象简谱数据;其中,所述JavaScript对象简谱数据包括:节点和关系线;所述节点包括:人物节点和关系类型节点;The JavaScript object numbered notation data corresponding to the target user is constructed based on a predetermined JavaScript object numbered notation data structure; wherein, the JavaScript object numbered notation data includes: nodes and relationship lines; the nodes include: character nodes and relationship type nodes;
    在所述数据库中存储所述目标用户对应的JavaScript对象简谱数据;其中,所述数据库为分布式文档存储数据库。The JavaScript object numbered musical notation data corresponding to the target user is stored in the database; wherein, the database is a distributed document storage database.
  3. 根据权利要求1所述的方法,其中,所述在所述图形可视化引擎中将所述目标用户的关系图谱展示给所述当前用户,包括:The method according to claim 1, wherein the displaying the relationship map of the target user to the current user in the graphic visualization engine comprises:
    在所述图形可视化引擎的超文本标记语言的页面的Body标签中,定义至少一个划分DIV标签作为所述目标用户对应的关系图谱中的容器;In the Body tag of the hypertext markup language page of the graphic visualization engine, at least one division DIV tag is defined as a container in the relationship map corresponding to the target user;
    基于所述至少一个DIV标签将所述目标用户的关系图谱展示给所述当前用户。Displaying the relationship map of the target user to the current user based on the at least one DIV tag.
  4. 根据权利要求3所述的方法,还包括:The method according to claim 3, further comprising:
    在所述超文本标记语言的页面上接收所述当前用户针对于所述目标用户对应的关系图谱的点击事件;其中,所述点击事件包括以下至少之一:节点点击事件、节点划过事件、节点划过离开、扩线点击事件、扩线划过事件、扩线划过离开、画布点击事件;On the page of the hypertext markup language, a click event of the current user on the relationship map corresponding to the target user is received; wherein the click event includes at least one of the following: a node click event, a node swipe event, Node swipe away, line expansion click event, line expansion swipe event, line expansion swipe away, canvas click event;
    响应于所述点击事件将所述点击事件对应的图形界面展示给所述当前用户。In response to the click event, display the graphical interface corresponding to the click event to the current user.
  5. 一种关系图谱的实现装置,包括:接收模块、获取模块和展示模块;其中,A device for implementing a relationship graph, including: a receiving module, an acquiring module, and a display module; wherein,
    所述接收模块,设置为通过图形可视化引擎接收当前用户发送的关系图谱查询请求;其中,所述关系图谱查询请求中携带目标用户的标识;The receiving module is configured to receive a relationship map query request sent by a current user through a graphic visualization engine; wherein, the relationship map query request carries an identifier of a target user;
    所述获取模块,设置为基于所述目标用户的标识在预先构建的数据库中获取所述目标用户对应的关系图谱;The acquiring module is configured to acquire a relationship map corresponding to the target user in a pre-built database based on the target user's identifier;
    所述展示模块,设置为在所述图形可视化引擎中将所述目标用户的关系图谱展示给所述当前用户。The display module is configured to display the relationship graph of the target user to the current user in the graphic visualization engine.
  6. 根据权利要求5所述的装置,其中,所述装置还包括:存储模块,设置为基于预先确定的JavaScript对象简谱数据结构构建所述目标用户对应的JavaScript对象简谱数据;其中,所述JavaScript对象简谱数据包括:节点和关系线;所述节点包括:人物节点和关系类型节点;在所述数据库中存储所述目标用户对应的JavaScript对象简谱数据;其中,所述数据库为分布式文档存储数据库。The device according to claim 5, wherein the device further comprises: a storage module configured to construct JavaScript object numbered notation data corresponding to the target user based on a predetermined JavaScript object numbered notation data structure; wherein the JavaScript object numbered notation The data includes: nodes and relationship lines; the nodes include: character nodes and relationship type nodes; JavaScript object numbered musical notation data corresponding to the target user is stored in the database; wherein, the database is a distributed document storage database.
  7. 根据权利要求5所述的装置,其中,所述展示模块,设置为在所述图形可视化引擎的超文本标记语言的页面的Body标签中,定义至少一个划分DIV标签作为所述目标用户对应的关系图谱中的容器;基于所述至少一个DIV标签将所述目标用户的关系图谱展示给所述当前用户。The device according to claim 5, wherein the display module is configured to define at least one divided DIV tag as the relationship corresponding to the target user in the Body tag of the hypertext markup language page of the graphic visualization engine A container in the map; displaying the target user's relationship map to the current user based on the at least one DIV tag.
  8. 根据权利要求7所述的装置,其中,所述展示模块,还设置为在所述超文本标记语言的页面上接收所述当前用户针对于所述目标用户对应的关系图谱的点击事件;其中,所述点击事件包括以下至少之一:节点点击事件、节点划过事件、节点划过离开、扩线点击事件、扩线划过事件、扩线划过离开、画布点击事件;响应于所述点击事件将所述点击事件对应的图形界面展示给所述当前用户。The device according to claim 7, wherein the display module is further configured to receive a click event of the current user on the relationship map corresponding to the target user on the hypertext markup language page; wherein, The click event includes at least one of the following: node click event, node swipe event, node swipe away, line expansion click event, line expansion swipe event, line expansion swipe away, canvas click event; in response to the click The event displays the graphical interface corresponding to the click event to the current user.
  9. 一种电子设备,包括:An electronic device comprising:
    至少一个处理器;at least one processor;
    存储器,设置为存储至少一个程序;a memory configured to store at least one program;
    当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如权利要求1至4中任一项所述的关系图谱的实现方法。When the at least one program is executed by the at least one processor, the at least one processor is made to implement the method for implementing the relationship graph according to any one of claims 1 to 4.
  10. 一种存储介质,存储有计算机程序,其中,所述程序被处理器执行时实现如权利要求1至4中任一项所述的关系图谱的实现方法。A storage medium storing a computer program, wherein when the program is executed by a processor, the realization method of the relationship graph according to any one of claims 1 to 4 is realized.
PCT/CN2022/078544 2021-09-07 2022-03-01 Method and apparatus for implementing relationship graph, electronic device and storage medium WO2023035559A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111042806.3A CN113722550A (en) 2021-09-07 2021-09-07 Method and device for realizing relation map, electronic equipment and storage medium
CN202111042806.3 2021-09-07

Publications (1)

Publication Number Publication Date
WO2023035559A1 true WO2023035559A1 (en) 2023-03-16

Family

ID=78682150

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/078544 WO2023035559A1 (en) 2021-09-07 2022-03-01 Method and apparatus for implementing relationship graph, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN113722550A (en)
WO (1) WO2023035559A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113722550A (en) * 2021-09-07 2021-11-30 北京锐安科技有限公司 Method and device for realizing relation map, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170177681A1 (en) * 2015-12-17 2017-06-22 Business Objects Software Limited Graph Database Querying and Visualization
CN110955803A (en) * 2019-11-15 2020-04-03 北京浪潮数据技术有限公司 Drawing method, device, equipment and medium of relational graph based on graph database
CN112597317A (en) * 2021-01-11 2021-04-02 西藏民族大学 Knowledge graph visualization method and system
CN113010758A (en) * 2021-03-04 2021-06-22 北京顶象技术有限公司 Association network knowledge graph visualization assembly and method
CN113722550A (en) * 2021-09-07 2021-11-30 北京锐安科技有限公司 Method and device for realizing relation map, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013097026A1 (en) * 2011-12-28 2013-07-04 Chrapko Evan V Systems and methods for visualizing social graphs
CN110516080A (en) * 2019-09-02 2019-11-29 北京明略软件系统有限公司 The display methods and device of relation map, storage medium, electronic device
CN111259297A (en) * 2020-01-14 2020-06-09 清华大学 Interaction visualization method, platform and system for knowledge graph

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170177681A1 (en) * 2015-12-17 2017-06-22 Business Objects Software Limited Graph Database Querying and Visualization
CN110955803A (en) * 2019-11-15 2020-04-03 北京浪潮数据技术有限公司 Drawing method, device, equipment and medium of relational graph based on graph database
CN112597317A (en) * 2021-01-11 2021-04-02 西藏民族大学 Knowledge graph visualization method and system
CN113010758A (en) * 2021-03-04 2021-06-22 北京顶象技术有限公司 Association network knowledge graph visualization assembly and method
CN113722550A (en) * 2021-09-07 2021-11-30 北京锐安科技有限公司 Method and device for realizing relation map, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113722550A (en) 2021-11-30

Similar Documents

Publication Publication Date Title
US20230297639A1 (en) Event listening integration in a collaborative electronic information system
US10824403B2 (en) Application builder with automated data objects creation
US10235685B2 (en) Method and system for two-dimensional charting using live queries
US8266139B2 (en) System and interface for co-located collaborative web search
US11294973B2 (en) Codeless information service for abstract retrieval of disparate data
CN110362372A (en) Page translation method, device, medium and electronic equipment
WO2019212728A1 (en) Displaying a subset of menu items based on a prediction of the next user-actions
JP7456741B2 (en) Reader mode for presentation slides in cloud collaboration platform
CN111061533A (en) Page multi-language display method and device, electronic equipment and computer storage medium
Zheng et al. Design and implementation of teaching system for mobile cross-platform
CN108958731B (en) Application program interface generation method, device, equipment and storage medium
WO2023035559A1 (en) Method and apparatus for implementing relationship graph, electronic device and storage medium
US20120229518A1 (en) Output of video content
US9892199B2 (en) Specialized virtual personal assistant setup
CN111159277A (en) Intelligent data analysis method and system
US10685027B2 (en) Search system
CN110866014A (en) Standard index data access and display method
CN110990006A (en) Form management system and form generation device
CN109033447B (en) Face recognition data visualization system
US10936683B2 (en) Content generation and targeting
US20160147741A1 (en) Techniques for providing a user interface incorporating sign language
US9411639B2 (en) System and method for managing network navigation
CN114461944B (en) Search result display method and device and electronic equipment
US20170031886A1 (en) Contextual profile
US20230230324A1 (en) Method, System, Equipment and Medium for Modifying the Layering Layer Information of Finite Element Model Unit

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: 22866039

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE