CN108388576B - Method and system for interactively generating map - Google Patents
Method and system for interactively generating map Download PDFInfo
- Publication number
- CN108388576B CN108388576B CN201810041765.8A CN201810041765A CN108388576B CN 108388576 B CN108388576 B CN 108388576B CN 201810041765 A CN201810041765 A CN 201810041765A CN 108388576 B CN108388576 B CN 108388576B
- Authority
- CN
- China
- Prior art keywords
- user
- node
- configuration scheme
- map
- relation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/904—Browsing; Visualisation therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
- G06F16/9024—Graphs; Linked lists
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
- G06T11/206—Drawing of charts or graphs
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a method and a system for interactively generating a map. The method comprises the following steps: acquiring a node attribute configuration scheme and a node relation configuration scheme selected by a user; and generating a target relation graph according to the node attribute configuration scheme and the node relation configuration scheme selected by the user and the operation of the user on the graph operation interface. The method is based on a node and relationship configuration scheme, the required map can be created by combining the operation of a user, the operation of the user is simplified, the viscosity of the user and a product is improved in a visual interaction mode, the map generation efficiency is improved, and finally the user can simply and efficiently create the map relationship graph consistent with the own idea.
Description
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a system for interactively generating a map.
Background
With the continuous development of visualization technology, knowledge networks are more and more widely applied at present through the way of constructing a map relational graph. Usually, the topology of the graph is determined by the imported data or the data relationship in the database, and has a certain randomness.
In the development process of an application system, layout and network analysis research is often required for a certain type of topological structure map. In the existing common application system, generation of the map usually requires manual data arrangement by manpower, and data is imported into the system to generate a corresponding map relation map by executing preset analysis logic. In the related art, a common process for generating a specific topology map is as follows: manually drawing the preliminary expected content in the brain of the user into a map, constructing and arranging original data in Excel, finishing the generation of the original data of the map relation map in a system in a lead-in or manual input mode, and running preset analysis and layout logic to generate the map.
But the problems that exist at present are: the method needs to spend a great deal of energy to carry out arrangement and preparation work on map prototypes and map data before generating a map relation graph; moreover, the data arrangement in the Excel mode is not only low in efficiency, but also easy to make mistakes; in the process of generating the map, because the data are automatically analyzed by the system for drawing, certain uncontrollable property exists, and the finally generated map relation graph is inconsistent with the initial expectation of the user.
Disclosure of Invention
The object of the present invention is to solve at least to some extent one of the above mentioned technical problems.
To this end, a first object of the invention is to propose a method for interactively generating an atlas. The method simplifies the operation of the user, improves the viscosity between the user and the product in a visual interaction mode, improves the map generation efficiency, and finally achieves the aim that the user simply and efficiently creates the map relation map consistent with the own idea.
A second object of the invention is to propose a system for interactive generation of a map.
In order to achieve the above object, an embodiment of the first aspect of the present invention provides a method for interactively generating a map, including: acquiring a node attribute configuration scheme and a node relation configuration scheme selected by a user; and generating a target relation graph according to the node attribute configuration scheme and the node relation configuration scheme selected by the user and the operation of the user on the graph operation interface.
In order to achieve the above object, a system for interactively generating a map according to an embodiment of the second aspect of the present invention includes: the node attribute configuration scheme selection module is used for providing a plurality of optional schemes configured for the node attributes for a user and acquiring the node attribute configuration scheme selected by the user from the plurality of optional schemes configured for the node attributes; a node relationship configuration scheme selection module, configured to provide multiple alternatives configured for a node relationship to the user, and obtain a node relationship configuration scheme selected by the user from the multiple alternatives configured for the node relationship; the user operation acquisition module is used for acquiring the operation of the user for the map operation interface; and the map generation module is used for generating a target relation map according to the node attribute configuration scheme and the node relation configuration scheme selected by the user and the operation of the user on the map operation interface.
According to the method and the system for interactively generating the map, the node attribute configuration scheme and the node relation configuration scheme selected by the user can be obtained, and the target relation map meeting the requirements of the user is generated according to the operation of the user on the map operation interface according to the node attribute configuration scheme and the node relation configuration scheme selected by the user. The method is characterized in that a node attribute configuration scheme and a node relation configuration scheme required by a user are allowed to be selected by the user through providing a visual interaction mode, the user can create a required map by combining the operation of the user based on the node and relation configuration scheme, the operation of the user is simplified, the viscosity of the user and a product is improved through the visual interaction mode, the map generation efficiency is improved, and finally, the user can simply and efficiently create a map relation graph consistent with the own idea.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow diagram of a method of interactively generating a atlas according to one embodiment of the invention;
FIG. 2 is an interface diagram of a property configuration according to an embodiment of the invention;
FIGS. 3(a), (b) and (c) are exemplary diagrams of effects after a mouse operation is performed on a map operation interface according to an embodiment of the present invention;
FIGS. 4(a), (b) and (c) are exemplary diagrams of effects after mouse operations are performed on a graph operation interface according to an embodiment of the present invention in combination with a node attribute configuration scheme and a node relationship configuration scheme;
FIG. 5 is a flow diagram of a method of interactively generating a atlas according to a specific embodiment of the invention;
FIG. 6 is a flow chart of a method of interactively generating a atlas according to another specific embodiment of the invention:
FIG. 7 is a block diagram of a system for interactive generation of a atlas according to an embodiment of the invention;
FIG. 8 is a block diagram of a system for interactive generation of a atlas according to an example embodiment of the invention;
FIG. 9 is a block diagram of a system for interactive generation of a atlas according to another specific embodiment of the invention;
figure 10 is a block diagram of a system for interactive generation of a atlas according to yet another specific embodiment of the invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The method and system for interactive generation of an atlas of embodiments of the invention are described below with reference to the accompanying drawings.
FIG. 1 is a flow diagram of a method of interactively generating a atlas according to one embodiment of the invention. It should be noted that the method for interactively generating a map according to the embodiment of the present invention may be applied to a system for interactively generating a map according to the embodiment of the present invention, where the system may be configured on an electronic device. For example, the electronic device may be a hardware device with various operating systems, such as a mobile phone, a tablet computer, a personal digital assistant, and the like; alternatively, the electronic device may be a personal computer or the like.
As shown in fig. 1, the interactive method for generating a map may include:
and S110, acquiring a node attribute configuration scheme and a node relation configuration scheme selected by a user.
Alternatively, it is assumed that the method for interactively generating a map according to the embodiment of the present invention is applicable to the system for interactively generating a map according to the embodiment of the present invention. The system can provide an attribute configuration interface for the node attribute configuration scheme and the node relationship configuration scheme for a user, and the attribute configuration interface can comprise a selection interface for a plurality of optional schemes configured for the node attribute and a selection interface for a plurality of optional schemes configured for the node relationship, so that the user can select the node attribute configuration scheme and the node relationship configuration scheme desired by the user from the plurality of optional schemes through the attribute configuration interface. For example, as shown in fig. 2, the attribute configuration interface may include a selection interface for multiple alternatives configured for the node attribute and a selection interface for multiple alternatives configured for the node relationship, and a node attribute configuration scheme and a node relationship configuration scheme desired by the user may be selected through the two selection interfaces, respectively, for example, a scheme one configured for the node attribute and a scheme one configured for the node relationship.
It should be noted that, in the embodiment of the present invention, when none of the alternatives provided by the attribute configuration interface meets the content desired by the user, an interface for editing the existing alternatives may be provided for the user, so that the user may perform custom editing on specific attributes in the existing alternatives according to the needs of the user, thereby creating a unique configuration scheme of the user, and providing help for making a map meeting the desired content. Two examples will be given below to introduce respectively how to obtain the node attribute configuration scheme and the node relationship configuration scheme selected by the user when none of the alternatives provided by the attribute configuration interface meets the content desired by the user.
As an example, a specific implementation manner of the node attribute configuration scheme selected by the obtaining user may be as follows: acquiring a plurality of optional solutions configured for node attributes, judging whether a configuration scheme meeting the content expected by a user exists in the plurality of optional solutions configured for the node attributes, and if so, acquiring the configuration scheme meeting the content expected by the user from the plurality of optional solutions configured for the node attributes and taking the configuration scheme as the node attribute configuration scheme selected by the user; if the node attribute configuration scheme does not exist, determining a first target alternative scheme selected by the user and configured for the node attribute, acquiring a first editing instruction of the user for the node attribute in the first target alternative scheme, then editing the node attribute in the first target alternative scheme according to the first editing instruction, and taking the edited first target alternative scheme as the node attribute configuration scheme selected by the user.
As an example, a specific implementation manner of the node relationship configuration scheme selected by the obtaining user may be as follows: acquiring a plurality of optional solutions configured for a node relationship, judging whether a configuration scheme meeting the content expected by a user exists in the plurality of optional solutions configured for the node relationship, and if so, acquiring the configuration scheme meeting the content expected by the user from the plurality of optional solutions configured for the node relationship and taking the configuration scheme as the node relationship configuration scheme selected by the user; if the node relation configuration scheme does not exist, determining a second target alternative scheme which is selected by the user and configured for the node relation, acquiring a second editing instruction which is configured by the user for the node relation in the second target alternative scheme, then editing the node relation in the second target alternative scheme according to the second editing instruction, and taking the edited second target alternative scheme as the node relation configuration scheme selected by the user.
That is, when it is determined that the option selected by the current user on the attribute configuration interface does not meet the content desired by the user, it may be determined at first which option the user wishes to perform custom editing, and the option is taken as a target option, and an editing instruction of the user is received to perform an editing operation on the target option, so as to create a configuration scheme unique to the user. For example, as shown in fig. 2, an editing interface for a node attribute configuration scheme and a node relationship configuration scheme may be provided for a user on the attribute configuration interface, so that when the user selects a scheme configured for the node attribute, an editing operation may be performed on the node attribute in the first scheme configured for the node attribute through the editing interface below the node attribute to obtain a node attribute configuration scheme unique to the user. Or, when the user selects the scheme configured for the node relationship, the editing interface below the user can perform editing operation on the node relationship in the first scheme configured for the node relationship, so as to obtain the own unique node relationship configuration scheme.
It should be further noted that, in the embodiment of the present invention, the node attribute configuration scheme is used to indicate the definition of the node attribute. For example, taking a family relationship graph as an example, the node attribute configuration scheme may include a plurality of definitions for the family node attributes, such as a mother node, a father node, a grandfather node, a milk node, a daughter node, a son node, a foreign 29989 node, and the like. The node relation configuration scheme is used for indicating the definition of the node relation attribute. For example, taking a family relationship graph as an example, the node relationship configuration scheme may include definitions of multiple family node relationships, such as a parent-child relationship, an ancestor relationship, and the like.
And S120, generating a target relation graph according to the node attribute configuration scheme and the node relation configuration scheme selected by the user and the operation of the user on the graph operation interface.
Optionally, a target relationship graph meeting the user requirements is generated according to the node attributes included in the node attribute configuration scheme and the node relationships included in the node relationship configuration scheme, in combination with the operation of the user on the graph operation interface. As an example, the operations for the map operation interface may include, but are not limited to: mouse operation, gesture operation and the like aiming at the map operation interface. That is to say, in the process of generating the target relationship graph, the used operation is not limited to mouse operation, and may also be combined with a virtual reality technology, for example, a gesture recognition device allows a user to operate a graph operation interface through gesture operation to generate the target relationship graph.
For example, the interactive map generation method of the embodiment of the invention can provide a map operation interface for a user, and the user can edit the map on the map operation interface. For example, after the node attribute configuration scheme and the node relationship configuration scheme selected by the user are obtained, the node and the node relationship may be created according to various operations of the user on the graph operation interface, so as to create the target relationship graph.
It can be appreciated that interactions that are not straightforward to create a graph efficiently. In an embodiment of the present invention, supportable interaction manners (i.e. operations of the user on the graph operation interface) may include, but are not limited to: basic operations such as dragging, zooming, rotating and the like are supported; supporting single click to generate a corresponding node of the configuration scheme; supporting the node selection by clicking the node; the method supports that another node is clicked to create a relationship event between the nodes under the condition of selecting the node; the method supports the creation of nodes which have specific contact with the nodes in the blank area by single-click under the condition of selecting the nodes; supporting automatic layout of the created map according to a specific layout mode; and editing and deleting the nodes are supported.
In order to make the present invention more clear to those skilled in the art, a fact case of the present invention is described below in a PC-side scenario.
For example, the method for interactively generating the map according to the embodiment of the present invention may provide a map operation interface for a user, and provide some basic operations of the user on the map operation interface, such as zooming, dragging, popping up a menu, and the like. The specific basic operation may be as follows, taking mouse operation as an example, as shown in fig. 3(a), a scroll wheel on the mouse may be scrolled to zoom or enlarge the map operation interface; as shown in fig. 3(b), a right mouse button can be pressed to drag the map operation interface; as shown in fig. 3(c), a mouse may be placed on a node and a left click of the mouse on a particular shortcut key may be held to bring up a menu.
As shown in fig. 2, the method for interactively generating a graph according to the embodiment of the present invention may further provide a property configuration interface for a user, and the user may select the node property configuration scheme and the node relationship configuration scheme through the property configuration interface. That is to say, the method for interactively generating a graph according to the embodiment of the present invention may provide a plurality of node attributes and node relationship configuration schemes for a user, and may adopt a default configuration to create nodes and node relationships when the user does not select the nodes and node relationships. The map node and relationship attribute configuration steps may be as follows: selecting a node attribute configuration scheme; editing (such as adding, deleting and updating) a certain node scheme to realize customization; selecting a node relation configuration scheme; editing (such as adding, deleting and updating) a certain relation scheme to realize customization; and determining that the configuration is finished, and respectively using the finally determined node scheme and the relationship scheme as the node attribute configuration scheme and the node relationship configuration scheme selected by the user.
After the node attribute configuration scheme and the node relationship configuration scheme are obtained, a mouse operation of a user on a graph operation interface can be received, and nodes and relationships of a graph are created according to the mouse operation and by combining all node attributes in the node attribute configuration scheme and all node relationship attributes in the node relationship configuration scheme, so that the labeled relationship graph is created. For example, taking mouse operations as an example, the main operations for creating graph nodes and relationships may include, but are not limited to: as shown in fig. 4(a), clicking a blank on the graph operation interface by a left mouse button to create a node with a customized attribute, while the node is in a selected state, clicking a node in the graph operation interface to select a certain node, clicking the blank on the graph operation interface in the selected state to create a target node with a customized relationship by taking the selected node as an original point, forming a two-point one-line structure, and simultaneously selecting the target node; as shown in fig. 4(b), when a node is selected, another node unrelated to the node is clicked to create a customized relationship, and the clicked node is selected; as shown in fig. 4(c), double-clicking the node in the graph operation interface enters the node locking mode, in which the operation performed no matter clicking a blank on the graph operation interface or clicking another unrelated node is consistent with the previous operation, but the selected node is always the double-clicked selected node. For another example, right clicking a blank on the map operation interface can unlock the locking mode; clicking the node by a right mouse button can delete the node, and simultaneously deleting a node tie line connected with the node; when different specific shortcut keys are pressed, the left key double-click node can take the node as the center of a circle, and the leaf nodes related to the node are subjected to special layouts such as star layout, chain layout and the like. Therefore, the target relation graph meeting the requirements of the user can be created according to the operation of the user on the graph operation interface through the node attribute configuration scheme and the node relation configuration scheme selected by the user.
According to the method for interactively generating the map, the node attribute configuration scheme and the node relation configuration scheme selected by the user can be obtained, and the target relation map meeting the requirements of the user is generated according to the operation of the user on the map operation interface according to the node attribute configuration scheme and the node relation configuration scheme selected by the user. The method is characterized in that a node attribute configuration scheme and a node relation configuration scheme required by a user are allowed to be selected by the user through providing a visual interaction mode, the user can create a required graph based on the node and relation configuration scheme in combination with the operation of the user, the operation of the user is simplified, the user can quickly create a complex relation graph through the visual interaction mode, the viscosity of the user and a product is improved, the graph generation efficiency is improved, and finally, the user can simply and efficiently create a graph relation graph consistent with the idea of the user.
FIG. 5 is a flow diagram of a method of interactively generating a atlas according to a specific embodiment of the invention.
In order to further improve the map generation efficiency, in the embodiment of the present invention, initial map data may also be obtained, and an operation is supported on the initial map data to quickly generate the target relationship map. Specifically, as shown in fig. 5, the interactive method for generating a map may include:
and S510, acquiring initial map data.
Optionally, a map data import interface may be provided, and when a selection instruction for the initial map data is input by the user through the map data import interface, import is performed through the map data import interface to obtain the initial map data. As an example, the import function of the graph data import interface may support multiple data formats, such as an Excel file, an xml file, a database file, a json file, and the like.
That is, a map data import interface can be provided for a user, and the user can select initial map data to be imported through the map data import interface, so that the user can perform editing operation on the basis of the initial map data to create a target relationship map meeting the self requirement.
S520, judging whether the initial map data meet the requirements of users.
S530, if not, acquiring a node attribute configuration scheme and a node relation configuration scheme selected by the user.
Alternatively, it is assumed that the method for interactively generating a map according to the embodiment of the present invention is applicable to the system for interactively generating a map according to the embodiment of the present invention. The system can provide an attribute configuration interface for the node attribute configuration scheme and the node relationship configuration scheme for a user, and the attribute configuration interface can comprise a selection interface for a plurality of optional schemes configured for the node attribute and a selection interface for a plurality of optional schemes configured for the node relationship, so that the user can select the node attribute configuration scheme and the node relationship configuration scheme desired by the user from the plurality of optional schemes through the attribute configuration interface. For example, as shown in fig. 2, the attribute configuration interface may include a selection interface for multiple alternatives configured for the node attribute and a selection interface for multiple alternatives configured for the node relationship, and a node attribute configuration scheme and a node relationship configuration scheme desired by the user may be selected through the two selection interfaces, respectively, for example, a scheme one configured for the node attribute and a scheme one configured for the node relationship.
It should be noted that, in the embodiment of the present invention, when none of the alternatives provided by the attribute configuration interface meets the content desired by the user, an interface for editing the existing alternatives may be provided for the user, so that the user may perform custom editing on specific attributes in the existing alternatives according to the needs of the user, thereby creating a unique configuration scheme of the user, and providing help for making a map meeting the desired content. Two examples will be given below to introduce respectively how to obtain the node attribute configuration scheme and the node relationship configuration scheme selected by the user when none of the alternatives provided by the attribute configuration interface meets the content desired by the user.
As an example, a specific implementation manner of the node attribute configuration scheme selected by the obtaining user may be as follows: acquiring a plurality of optional solutions configured for node attributes, judging whether a configuration scheme meeting the content expected by a user exists in the plurality of optional solutions configured for the node attributes, and if so, acquiring the configuration scheme meeting the content expected by the user from the plurality of optional solutions configured for the node attributes and taking the configuration scheme as the node attribute configuration scheme selected by the user; if the node attribute configuration scheme does not exist, determining a first target alternative scheme selected by the user and configured for the node attribute, acquiring a first editing instruction of the user for the node attribute in the first target alternative scheme, then editing the node attribute in the first target alternative scheme according to the first editing instruction, and taking the edited first target alternative scheme as the node attribute configuration scheme selected by the user.
As an example, a specific implementation manner of the node relationship configuration scheme selected by the obtaining user may be as follows: acquiring a plurality of optional solutions configured for a node relationship, judging whether a configuration scheme meeting the content expected by a user exists in the plurality of optional solutions configured for the node relationship, and if so, acquiring the configuration scheme meeting the content expected by the user from the plurality of optional solutions configured for the node relationship and taking the configuration scheme as the node relationship configuration scheme selected by the user; if the node relation configuration scheme does not exist, determining a second target alternative scheme which is selected by the user and configured for the node relation, acquiring a second editing instruction which is configured by the user for the node relation in the second target alternative scheme, then editing the node relation in the second target alternative scheme according to the second editing instruction, and taking the edited second target alternative scheme as the node relation configuration scheme selected by the user.
And S540, editing the initial map data according to the node attribute configuration scheme and the node relation configuration scheme selected by the user and the operation of the user aiming at the map operation interface to generate a target relation map.
Optionally, according to the node attributes included in the node attribute configuration scheme and the node relationships included in the node relationship configuration scheme, editing and expanding operations are performed on the basis of the initial graph data in combination with user operations on a graph operation interface, so as to create a target relationship graph meeting user requirements.
Optionally, in an embodiment of the present invention, an export interface may be further provided, so that after the target relationship graph is created, the target relationship graph may be exported in a specific file format through the export interface. For example, the target relationship graph may be derived in the format of Excel, xml, database file, or json, etc. static file. Therefore, the target relation map can be directly exported to a specific map analysis platform under the condition of connecting the Internet, and the relation analysis can be directly carried out.
According to the interactive map generation method provided by the embodiment of the invention, initial map data can be obtained, and the initial map data is supported to be edited and expanded to generate the target relation map quickly, namely, the efficiency of map original data arrangement preparation work can be greatly improved and the map generation efficiency is further improved by matching with the import function of Excel text, xml text, database file, json text and other data.
In order to make the present invention more comprehensible to those skilled in the art, the present invention will be further described with reference to fig. 6. For example, as shown in fig. 6, the method for interactively generating a map according to the embodiment of the present invention may provide a map operation interface for a user, and the user may perform an operation of editing and creating a map on the map operation interface (S610). It is judged whether the user needs to import the existing map data (S620). When it is determined that the user needs to import the existing map data, the existing map data may be imported and used as initial map data (S630), so that an editing and expanding operation may be performed on the initial map data in the map creation process. In the process of creating the graph, a node attribute configuration scheme and a node relationship configuration scheme selected by a user on an attribute configuration interface may be acquired, and according to the node attribute configuration scheme and the node relationship configuration scheme, the initial graph data is edited according to the operation of the user on the graph operation interface, and graph layouts (such as star layouts, chain layouts, and the like) are edited to create nodes and relationships of the target relationship graph (S640). In the process of creating the nodes and the relations, whether the created nodes and the relation attributes meet requirements can be judged, and if not, a node attribute scheme and a node relation attribute scheme are further configured on the attribute configuration interface. After the target relationship graph is created, the target relationship graph may be exported in a specific format (S650), for example, the target relationship graph may be exported to a specific graph analysis platform for direct relationship analysis. Therefore, the method for interactively generating the map can provide the function of importing the existing data and support the expansion of a user on the basis of the original data; providing a configuration scheme of editable node attributes and node relation attributes, and allowing a user to construct an idea graph relation from scratch; a simple and efficient interaction scheme is provided, so that a user can quickly create a complex relation map; and a plurality of map exporting schemes are provided, so that data can play a role in more platform scenes, and the use is more flexible.
Corresponding to the methods for interactively generating a map provided in the foregoing embodiments, an embodiment of the present invention further provides a system for interactively generating a map, and since the system for interactively generating a map provided in the embodiment of the present invention corresponds to the methods for interactively generating a map provided in the foregoing embodiments, the implementation manner of the method for interactively generating a map is also applicable to the system for interactively generating a map provided in the embodiment, and is not described in detail in the embodiment. Figure 7 is a block diagram of a system for interactive generation of a atlas according to one embodiment of the invention. As shown in fig. 7, the interactive generating atlas system 700 may include: a node attribute configuration scheme selection module 710, a node relationship configuration scheme selection module 720, a user operation acquisition module 730 and a graph generation module 740.
Specifically, the node attribute configuration scheme selection module 710 may be configured to provide a plurality of alternatives configured for the node attribute to the user, and obtain the node attribute configuration scheme selected by the user from the plurality of alternatives configured for the node attribute.
The node relation configuration scheme selection module 720 may be configured to provide the user with a plurality of alternatives configured for the node relation and to obtain the user-selected node relation configuration scheme from the plurality of alternatives configured for the node relation.
The user operation obtaining module 730 may be configured to obtain an operation of the user on the map operation interface. Wherein, the operation for the map operation interface can include but is not limited to: mouse operation, gesture operation and the like aiming at the map operation interface.
The graph generation module 740 may be configured to generate a target relationship graph according to the node attribute configuration scheme and the node relationship configuration scheme selected by the user and according to the operation of the user on the graph operation interface.
Optionally, in an embodiment of the present invention, as shown in fig. 8, the system 700 for interactively generating a map may further include: graph data import module 750. The map data import module 750 is configured to, when receiving a selection instruction for initial map data input by the user, perform data import to acquire the initial map data. In an embodiment of the present invention, the graph generating module 740 is further configured to, when the initial graph data does not meet a user requirement, edit the initial graph data according to the node attribute configuration scheme and the node relationship configuration scheme selected by the user and according to an operation of the user on the graph operation interface, so as to generate the target relationship graph. Therefore, initial map data can be obtained, and operation on the initial map data is supported, so that the target relation map is generated quickly, and the map generation efficiency is further improved.
It should be noted that, in the embodiment of the present invention, when none of the alternatives provided by the attribute configuration interface meets the content desired by the user, an interface for editing the existing alternatives may be provided for the user, so that the user may perform custom editing on specific attributes in the existing alternatives according to the needs of the user, thereby creating a unique configuration scheme of the user, and providing help for making a map meeting the desired content. Optionally, in an embodiment of the present invention, as shown in fig. 9, the system 700 for interactively generating a map may further include: a node property configuration scheme editing module 760 and a node relationship configuration scheme editing module 770. The node attribute configuration scheme editing module 760 is configured to determine, according to a user requirement, a first target alternative configured for a node attribute selected by the user from the multiple alternatives configured for the node attribute, obtain a first editing instruction of the node attribute in the first target alternative by the user, and edit the node attribute in the first target alternative according to the first editing instruction, so as to obtain the node attribute configuration scheme selected by the user.
The node relationship configuration scheme editing module 770 is configured to determine, according to a user requirement, a second target alternative configured for the node relationship, selected by the user, from the plurality of alternatives configured for the node relationship, obtain a second editing instruction configured for the node relationship in the second target alternative by the user, and perform an editing operation on the node relationship in the second target alternative according to the second editing instruction, so as to obtain the node relationship configuration scheme selected by the user.
Optionally, in an embodiment of the present invention, as shown in fig. 10, the system 700 for interactively generating a map may further include: and a derivation module 780. Wherein the export module 780 is operable to export the target relationship graph in a particular file format. For example, the target relationship graph may be derived in the format of Excel, xml, database file, or json, etc. static file. Therefore, the target relation map can be directly exported to a specific map analysis platform under the condition of connecting the Internet, and the relation analysis can be directly carried out.
According to the system for interactively generating the map, which is disclosed by the embodiment of the invention, the node attribute configuration scheme and the node relation configuration scheme selected by the user can be obtained, and the target relation map meeting the requirements of the user is generated according to the operation of the user on the map operation interface according to the node attribute configuration scheme and the node relation configuration scheme selected by the user. The method is characterized in that a node attribute configuration scheme and a node relation configuration scheme required by a user are allowed to be selected by the user through providing a visual interaction mode, the user can create a required graph based on the node and relation configuration scheme in combination with the operation of the user, the operation of the user is simplified, the user can quickly create a complex relation graph through the visual interaction mode, the viscosity of the user and a product is improved, the graph generation efficiency is improved, and finally, the user can simply and efficiently create a graph relation graph consistent with the idea of the user.
In the description of the present invention, it is to be understood that the terms "first", "second" and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Claims (9)
1. A method of interactively generating a map, comprising the steps of:
acquiring a node attribute configuration scheme and a node relation configuration scheme selected by a user;
generating a target relation graph according to the node attribute configuration scheme and the node relation configuration scheme selected by the user and the operation of the user aiming at the graph operation interface;
the obtaining of the node attribute configuration scheme selected by the user includes:
acquiring a plurality of alternative schemes configured for the node attributes;
judging whether a configuration scheme which meets the content expected by a user exists in the plurality of alternative schemes configured for the node attribute;
if yes, obtaining the configuration scheme which accords with the content expected by the user from the plurality of optional schemes configured aiming at the node attribute, and taking the configuration scheme as the node attribute configuration scheme selected by the user;
if not, determining a first target alternative scheme selected by the user and configured for the node attribute;
acquiring a first editing instruction of the user for the node attribute in the first target alternative;
and editing the node attribute in the first target alternative solution according to the first editing instruction, and taking the edited first target alternative solution as the node attribute configuration scheme selected by the user.
2. The method of claim 1, wherein prior to obtaining the user-selected node attribute configuration scheme and node relationship configuration scheme, the method further comprises:
acquiring initial map data;
judging whether the initial map data meet the requirements of users or not;
if not, acquiring a node attribute configuration scheme and a node relation configuration scheme selected by the user;
generating a target relationship graph according to the node attribute configuration scheme and the node relationship configuration scheme selected by the user and the operation of the user on the graph operation interface, wherein the method comprises the following steps:
and editing the initial map data according to the node attribute configuration scheme and the node relation configuration scheme selected by the user and the operation of the user on the map operation interface to generate the target relation map.
3. The method of claim 2, wherein said obtaining initial atlas data comprises:
providing a map data import interface;
when a selection instruction for the initial map data input by the user through a map data import interface is received, importing through the map data import interface to acquire the initial map data.
4. The method of claim 1, wherein the obtaining the user-selected node relationship configuration scheme comprises:
acquiring a plurality of alternative schemes configured for the node relation;
judging whether a configuration scheme which meets the content expected by a user exists in the plurality of optional schemes configured aiming at the node relation;
if yes, obtaining the configuration scheme which accords with the content expected by the user from the plurality of optional schemes configured aiming at the node relation, and taking the configuration scheme as the node relation configuration scheme selected by the user;
if not, determining a second target alternative scheme selected by the user and configured for the node relation;
acquiring a second editing instruction configured by the user for the node relation in the second target alternative;
and editing the node relation in the second target alternative scheme according to the second editing instruction, and taking the edited second target alternative scheme as the node relation configuration scheme selected by the user.
5. A system for interactively generating a graph, comprising:
the node attribute configuration scheme selection module is used for providing a plurality of optional schemes configured for the node attributes for a user and acquiring the node attribute configuration scheme selected by the user from the plurality of optional schemes configured for the node attributes;
a node relationship configuration scheme selection module, configured to provide multiple alternatives configured for a node relationship to the user, and obtain a node relationship configuration scheme selected by the user from the multiple alternatives configured for the node relationship;
the user operation acquisition module is used for acquiring the operation of the user for the map operation interface;
the map generation module is used for generating a target relation map according to the node attribute configuration scheme and the node relation configuration scheme selected by the user and the operation of the user on the map operation interface;
wherein the system further comprises:
and the node attribute configuration scheme editing module is used for determining a first target alternative scheme which is selected by the user and is configured aiming at the node attribute from the plurality of alternative schemes which are configured aiming at the node attribute according to the user requirement, acquiring a first editing instruction of the user aiming at the node attribute in the first target alternative scheme, and editing the node attribute in the first target alternative scheme according to the first editing instruction so as to obtain the node attribute configuration scheme selected by the user.
6. The system of claim 5, wherein the system further comprises:
the map data import module is used for importing data to obtain initial map data when a selection instruction aiming at the initial map data input by the user is received;
the map generation module is further configured to, when the initial map data does not meet a user requirement, edit the initial map data according to the node attribute configuration scheme and the node relationship configuration scheme selected by the user and according to an operation of the user on a map operation interface, so as to generate the target relationship map.
7. The system of claim 5, wherein the system further comprises:
and the node relationship configuration scheme editing module is used for determining a second target alternative scheme which is selected by the user and configured according to the node relationship from the plurality of alternative schemes configured according to the node relationship according to the user requirement, acquiring a second editing instruction which is configured by the user according to the node relationship in the second target alternative scheme, and editing the node relationship in the second target alternative scheme according to the second editing instruction to obtain the node relationship configuration scheme selected by the user.
8. The system of claim 5, wherein the system further comprises:
and the export module is used for exporting the target relation map in a specific file format.
9. The system of any of claims 5 to 8, wherein the operations for a atlas handling interface comprise: and aiming at mouse operation and gesture operation of the map operation interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810041765.8A CN108388576B (en) | 2018-01-16 | 2018-01-16 | Method and system for interactively generating map |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810041765.8A CN108388576B (en) | 2018-01-16 | 2018-01-16 | Method and system for interactively generating map |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108388576A CN108388576A (en) | 2018-08-10 |
CN108388576B true CN108388576B (en) | 2020-07-24 |
Family
ID=63076920
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810041765.8A Active CN108388576B (en) | 2018-01-16 | 2018-01-16 | Method and system for interactively generating map |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108388576B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109933673A (en) * | 2019-02-18 | 2019-06-25 | 北京明略软件系统有限公司 | A kind of relation map generation method and device |
CN114169111B (en) * | 2022-02-11 | 2022-04-26 | 杭州杰牌传动科技有限公司 | Interactive speed reducer personalized configuration system and method |
CN116150438B (en) * | 2023-04-19 | 2023-07-28 | 苏州傲林科技有限公司 | Data processing method and device based on transaction map |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104572096A (en) * | 2014-12-29 | 2015-04-29 | 中国科学院计算机网络信息中心 | Multi-model data visualization development method based on WEB and platform thereof |
CN105512139A (en) * | 2014-09-26 | 2016-04-20 | 阿里巴巴集团控股有限公司 | Method and device for implementing data visualization |
-
2018
- 2018-01-16 CN CN201810041765.8A patent/CN108388576B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105512139A (en) * | 2014-09-26 | 2016-04-20 | 阿里巴巴集团控股有限公司 | Method and device for implementing data visualization |
CN104572096A (en) * | 2014-12-29 | 2015-04-29 | 中国科学院计算机网络信息中心 | Multi-model data visualization development method based on WEB and platform thereof |
Also Published As
Publication number | Publication date |
---|---|
CN108388576A (en) | 2018-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111080170B (en) | Workflow modeling method and device, electronic equipment and storage medium | |
CN108388576B (en) | Method and system for interactively generating map | |
CN106681698B (en) | Dynamic list generation method and device | |
CN115079872B (en) | Document processing method, device, equipment and medium | |
CN111078094B (en) | Distributed machine learning visualization device | |
CN114742981A (en) | Post-processing special effect manufacturing system and method, AR special effect rendering method and device | |
CN109286545A (en) | A kind of smart home device management method and device | |
CN112818654B (en) | Message storage method, message generation method, device, electronic equipment and computer readable medium | |
CN107220044B (en) | Method and device for driving business object based on meta-model | |
CN114564854B (en) | Operation method and equipment of data node supporting FMEA bidirectional relationship tree | |
CN104243201B (en) | Network equipment detection use-case corresponds to the storage method and system of topological diagram | |
CN113377368A (en) | Project development method, device, server and storage medium | |
CN107818002A (en) | The management method and device of a kind of Command Line Interface | |
CN112418796A (en) | Sub-process node activation method and device, electronic equipment and storage medium | |
CN112989769A (en) | Method, device and platform for constructing multi-data-source form based on form engine | |
JP2009260693A (en) | Metadata editing system, metadata editing program and metadata editing method | |
CN105094845A (en) | Process modeling device and method | |
CN113806596B (en) | Operation data management method and related device | |
JP7257429B2 (en) | Auto-execution service operation automation system and display method of auto-execution service | |
CN116627397B (en) | Program development method and related device | |
WO2024114153A1 (en) | Resource configuration method and apparatus based on parasitic program, device, medium, and product | |
CN116991935B (en) | Multi-mode data interaction method, device and storage medium | |
US20230393818A1 (en) | Configuration file editor with intelligent code-based interface and visual interface | |
CN117056416B (en) | Flexible construction and management method for visualized data set model | |
CN106446417B (en) | Processing method, device and terminal of concurrency body |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20190903 Address after: 100192 Dongsheng Science Park, Zhongguancun, 66 Xixiaokou Road, Haidian District, Beijing Applicant after: Green Bay Network Technology Co., Ltd. Address before: 100089 Beijing Haidian District Xixiaokou Road 66 Zhongguancun Dongsheng Science Park B-6 Building B 5 floors Applicant before: Grass count language (Beijing) Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |