CN109933673A - A kind of relation map generation method and device - Google Patents
A kind of relation map generation method and device Download PDFInfo
- Publication number
- CN109933673A CN109933673A CN201910120602.3A CN201910120602A CN109933673A CN 109933673 A CN109933673 A CN 109933673A CN 201910120602 A CN201910120602 A CN 201910120602A CN 109933673 A CN109933673 A CN 109933673A
- Authority
- CN
- China
- Prior art keywords
- relation map
- specific field
- configuration file
- data
- map
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of relation map generation methods, which comprises obtains relation map rule configuration file predetermined, wherein the relation map rule configuration file includes: specific field needed for relation map to be presented;According to the relation map rule configuration file, the data of relation map specific field to be presented are obtained;After the data processing got, production Methods map is simultaneously shown.Scheme through the invention realizes the customized displaying of relation map based on configuration file.
Description
Technical field
The present invention relates to computer technology, espespecially a kind of relation map generation method and device.
Background technique
Nowadays, the promotion and application with knowledge mapping in every profession and trade, the displaying to relational graphs more in knowledge mapping
There are more and more demands in mode, for example needs in police field, relational graph to distinguish emphasis people, and in financial field,
May be with greater need for concern Capital Flow and the amount of money in relational graph, business scenario is varied, and the demand for relational graph is even more not
Victory is enumerated.
In order to meet the needs of different, knowledge mapping product needs are customized exploitation.A kind of method is that interface layer provides
The specific data of meet demand, front end use the displaying of these specific data finish relation figures, and the drawbacks of this method is interface
Layer and front end page require to be customized exploitation according to demand, need to put into many costs.Another method is interface layer
Unified service is provided, all data informations are all returned to front end, front end uses the data of needs according to specific scene
The displaying of implementation relation figure, in this way, interface layer do not need customized development, but interface is returned and do not used very much
Data information frequently can lead to performance issue in the biggish situation of data volume.Urgently need to propose that a kind of relation map is raw
At method to solve the problems of in the prior art.
Summary of the invention
In order to solve the above-mentioned technical problems, the present invention provides a kind of relation map generation method and devices, based on configuration
File realizes the customized displaying of relation map.
In order to reach the object of the invention, the present invention provides a kind of relation map generation methods, which comprises
Obtain relation map rule configuration file predetermined, wherein the relation map rule configuration file includes:
Specific field needed for relation map to be presented;
According to the relation map rule configuration file, the data of relation map specific field to be presented are obtained;
After the data processing got, production Methods map is simultaneously shown.
In a kind of exemplary embodiment, the relation map rule configuration file further include: relation map to be presented
The preset value of specific field;
The described pair of data processing got, comprising:
Whether the data of specific field more obtained are consistent with the preset value of the specific field, if unanimously, it is right
The data of the specific field add additional information for display.
In a kind of exemplary embodiment, the data of the described pair of specific field add additional information for display, packet
It includes:
To the data of the specific field, class belonging to the preset value of the specific field is added;Wherein, when displaying not
Same class corresponds to different patterns.
In a kind of exemplary embodiment, relation map style configuration file predetermined is obtained;Wherein, the relationship
Class belonging to preset value in map style configuration file including each specific field;
Class belonging to the preset value of the addition specific field includes:
According to the relation map style configuration file, class belonging to the preset value of the specific field is added.
It further include the preset of specific field in the relation map style configuration file in a kind of exemplary embodiment
It is worth corresponding shape;
The data of the described pair of specific field add additional information for display further include:
To the data of the specific field, if pre- including the specific field in the relation map style configuration file
The corresponding shape of the value set then adds the corresponding shape to the data of the specific field.
In a kind of exemplary embodiment, in the relation map style configuration file further include: the default shape of class;
The production Methods map is simultaneously shown, comprising:
For the numerical value of acquired each specific field, proceed as follows respectively:
When added additional information only has class, according to class belonging to the data of the specific field, the relationship is called
The default style of class belonging in map style configuration file, production Methods map;
When added additional information includes class and shape, according to class belonging to the data of the specific field, institute is called
The default style of class belonging to stating in relation map style configuration file, the shape in the default style is substituted using added shape
After shape, production Methods map;
The relation map is shown.
To solve the above-mentioned problems, the present invention also provides the devices that relation map generates, comprising: memory and processing
Device;
The memory, for saving the program for being used for relation map and generating;
The processor executes the program generated for relation map for reading, performs the following operations:
Obtain relation map rule configuration file predetermined, wherein the relation map rule configuration file includes:
Specific field needed for relation map to be presented;
According to the relation map rule configuration file, the data of relation map specific field to be presented are obtained;
After the data processing got, production Methods map is simultaneously shown.
In a kind of exemplary embodiment, the relation map rule configuration file further include: relation map to be presented
The preset value of specific field;
The described pair of data processing got, comprising:
Whether the data of specific field more obtained are consistent with the preset value of the specific field, if unanimously, it is right
The data of the specific field add additional information for display.
In a kind of exemplary embodiment, the data of the described pair of specific field add additional information for display, packet
It includes:
To the data of the specific field, class belonging to the preset value of the specific field is added;Wherein, when displaying not
Same class corresponds to different patterns.
In a kind of exemplary embodiment, the processor executes the program generated for relation map, also executes
Following operation:
Obtain relation map style configuration file predetermined;Wherein, it is wrapped in the relation map style configuration file
Include class belonging to the preset value of each specific field;
Class belonging to the preset value of the addition specific field includes:
According to the relation map style configuration file, class belonging to the preset value of the specific field is added.
It further include the preset of specific field in the relation map style configuration file in a kind of exemplary embodiment
It is worth corresponding shape;
The processor executes the program generated for relation map, also performs the following operations: described pair this is specified
The data of field add additional information for display further include:
To the data of the specific field, if pre- including the specific field in the relation map style configuration file
The corresponding shape of the value set then adds the corresponding shape to the data of the specific field.
In a kind of exemplary embodiment, in the relation map style configuration file further include: the default shape of class;
The processor executes the program generated for relation map, performs the following operations: the production Methods figure
It composes and is shown, comprising:
For the numerical value of acquired each specific field, proceed as follows respectively:
When added additional information only has class, according to class belonging to the data of the specific field, the relationship is called
The default style of class belonging in map style configuration file, production Methods map;
When added additional information includes class and shape, according to class belonging to the data of the specific field, institute is called
The default style of class belonging to stating in relation map style configuration file, the shape in the default style is substituted using added shape
After shape, production Methods map;
The relation map is shown.
Compared with prior art, the present invention includes a kind of relation map generation method, which comprises it is fixed in advance to obtain
The relation map rule configuration file of justice, wherein the relation map rule configuration file includes: relation map institute to be presented
The specific field needed;According to the relation map rule configuration file, the data of relation map specific field to be presented are obtained;
After the data processing got, production Methods map is simultaneously shown.Scheme through the invention is realized based on configuration file
Relation map customized displaying improves development efficiency, reduces development amount.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right
Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this
The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is the flow chart of relation map generation method of the present invention;
Fig. 2 is the schematic diagram of relation map generating means of the present invention;
Fig. 3 is the flow chart of an example relationship map generation method of the invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention
Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application
Feature can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions
It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable
Sequence executes shown or described step.
Fig. 1 is the flow chart of relation map generation method of the invention, according to the flow chart, the relation map of the present embodiment
Generation method, comprising:
Step 100: obtaining relation map rule configuration file predetermined.
In the present embodiment, which may include: word needed for relation map to be presented
Section.JSON format can be used in the relation map rule configuration file (headIconStyle.js) predetermined, passes through key assignments
Pair the formal definition relation map rule configuration file need the field used.Such as: relation map rule configuration file can
With are as follows: according to the demand of user, setting sex, type, etype are the field that user needs to use.It wherein, can be according to specific
Scene or actual items carry out the processing of data, and using this, treated that data definition relation map rule to be presented configures
File (headIconStyle.js);About being by existing skill according to the processing of data in specific scene or actual items
What art or third party software were realized.
Step 101: according to the relation map rule configuration file, obtaining the number of relation map specific field to be presented
According to.
In the present embodiment, according to the relation map rule configuration file predetermined obtained in step 100, obtain to
The data of the relation map specific field of displaying.The process of the acquisition can be with are as follows:
1) rule configuration file defined in load step 100, the key assignments in extracting rule configuration file, determines designated word
Section is sex, type, etype;
2) ajax request is sent, the key assignments that previous step is extracted is sent to interface as parameter by calling interface service.Example
Such as: passing ginseng extendedProperties:sex, type, etype to interface, specified interface needs to inquire and return additional
Sex, type, etype attribute;
3) interface service analytic parameter, according to data corresponding to the specific field of parameter query needs.
4) interface service returns to data corresponding to the specific field inquired.
Step 102: after the data processing got, production Methods map is simultaneously shown.
In the present embodiment, after to the data processing got, production Methods map can pass through calling
Cytoscapejs carries out the displaying of relational graph.
In a kind of exemplary embodiment, the relation map rule configuration file further include: relation map to be presented
The preset value of specific field;The relation map rule configuration file (headIconStyle.js) predetermined can be used
JSON format, the field for needing to use by the formal definition of the key-value pair relation map rule configuration file and specific field
Preset value and customized style name (class).Such as: regular configuration file can be with are as follows: according to the demand of user, setting
Sex, type, etype are the field that user needs to use;And preset specific field in relation map rule configuration file
Preset value are as follows: female, " emphasis_person ", " event ";Wherein, the preset value of the corresponding field of specific field sex
Preset value for female, the corresponding field of type is " emphasis_person ", and the preset value of the corresponding field of etype is
"event".Etype herein is the parameter of a dynamic change, can be existed or is not present according to user demand;etype
It may include entity, relationship and event three types.
In a kind of exemplary embodiment, the described pair of data processing got, comprising: specific field more obtained
Data it is whether consistent with the preset value of the specific field, if unanimously, adding the data of the specific field for showing
Additional information.By obtaining relation map designated word to be presented according to relation map rule configuration file predetermined
The data of section;It by comparing, can if the data of specific field obtained are consistent with the preset value of the specific field
Additional information for display is added in the data of the specific field.Such as: when the data of the sex returned by interface polls are
When the value " female " of " female " and preset field is consistent, to adding the class name " female " defined thereafter in the data.
In a kind of exemplary embodiment, the data of the described pair of specific field add additional information for display, packet
It includes: to the data of the specific field, adding class belonging to the preset value of the specific field;Wherein, different when displaying
Class corresponds to different patterns.Such as: after getting the demand of user, which is analyzed, if the user needs basis
Personnel's gender shows different patterns, then defines a rule in relation map rule configuration file, be directed to different sexes
The class for setting a customized pattern, when showing, by calling the class in style configuration file with the data of specific field
Corresponding pattern.Such as: it can be that woman's entity is shown as pink colour dot to gender, other entities are shown as blue when displaying
Color dot, to emphasis, people is shown as hexagon, purple square is shown as to event, while being dotted line.
In a kind of exemplary embodiment, relation map style configuration file predetermined is obtained;Wherein, the relationship
Class belonging to preset value in map style configuration file including each specific field;It is described to add the pre- of the specific field
Class belonging to the value set includes: to add the preset value institute of the specific field according to the relation map style configuration file
The class of category.The relation map style configuration file is exactly to define to be particularly shown application to the class class of the data of specific field
Pattern.The pattern can include: shape, height, width, background color, font, font size, frame, background picture etc..In this implementation
In example, above content is not limited to for the restriction of pattern, also may include the pattern that other users need.
It further include the preset of specific field in the relation map style configuration file in a kind of exemplary embodiment
It is worth corresponding shape;But in the preset value of the specific field, not necessarily each value has corresponding shape.Described pair this refer to
The data for determining field add additional information for display further include: to the data of the specific field, if the relational graph
The corresponding shape of preset value in style configuration file including the specific field is composed, then the data of the specific field are added
Corresponding shape.
In a kind of exemplary embodiment, in the relation map style configuration file further include: the default shape of class;Institute
It states production Methods map and is shown, comprising: for the numerical value of acquired each specific field, grasped as follows respectively
Make: when added additional information only has class, according to class belonging to the data of the specific field, calling the relation map sample
The default style of class belonging in formula configuration file, production Methods map;When added additional information includes class and shape,
According to class belonging to the data of the specific field, the default sample of class affiliated in the relation map style configuration file is called
Formula, after substituting the shape in the default style using added shape, production Methods map;The relation map is opened up
Show.Such as: when the data of the sex returned by interface polls are " female " and the value " female " of preset field is consistent, to the number
It according to the middle class name " female " added and defined thereafter, i.e., is " female " to the class that specific field sex is added.shape
Be customized shape style, shape style and other patterns can be split in the application, define class and
Two kinds of patterns of shape;Under default situations, when without shape style shape, it is round that displaying when, can default display;If needed
Other shapes are shown as, such as: rectangular or other shapes, a customized shape style shape in advance as needed.At this
In embodiment, shape style can not also be separately provided, shape style is arranged in class class using default mode.It can also
With there are in other implementations, be not limited to only split form pattern;Other users can also be needed special
The case where pattern of modification is individually arranged.
In a kind of exemplary embodiment, the production Methods map is simultaneously shown, comprising: according to getting wait open up
The affiliated class for showing required data addition, calls pattern corresponding with affiliated class in the style configuration file, generates
Relation map;The relation map is shown.Relational graph can be carried out by calling third side plug cytoscapejs
The displaying of spectrum, if third side plug cytoscapejs is called to need treated relation map specific field to be presented
Data handled again according to the data format of third side plug cytoscapejs, being processed into the cytoscapejs needs
The data of the relation map specific field to be presented for the data format wanted, such as: class is appointed as the classes of data,
Icon is appended in bgImages array, can be shown as small footmark.In the present embodiment, other implementations can also be used
In, it is not limited to using third side plug cytoscapejs form;Also it is not excluded for the case where not using plug-in unit.
In addition, a kind of one embodiment of the device generated this application provides relation map, the Installation practice and Fig. 1
Shown in embodiment of the method it is corresponding, which specifically can be applied in various electronic equipments.
To solve the above-mentioned problems, as shown in Fig. 2, the present invention also provides the devices that relation map generates, comprising: storage
Device and processor;
The memory, for saving the program for being used for relation map and generating;
The processor executes the program generated for relation map for reading, performs the following operations:
Obtain relation map rule configuration file predetermined, wherein the relation map rule configuration file includes:
Specific field needed for relation map to be presented;
According to the relation map rule configuration file, the data of relation map specific field to be presented are obtained;
After the data processing got, production Methods map is simultaneously shown.
In a kind of exemplary embodiment, the relation map rule configuration file further include: relation map to be presented
The preset value of specific field;
The described pair of data processing got, comprising:
Whether the data of specific field more obtained are consistent with the preset value of the specific field, if unanimously, it is right
The data of the specific field add additional information for display.
In a kind of exemplary embodiment, the data of the described pair of specific field add additional information for display, packet
It includes:
To the data of the specific field, class belonging to the preset value of the specific field is added;Wherein, when displaying not
Same class corresponds to different patterns.
In a kind of exemplary embodiment, the processor executes the program generated for relation map, also executes
Following operation:
Obtain relation map style configuration file predetermined;Wherein, it is wrapped in the relation map style configuration file
Include class belonging to the preset value of each specific field;
Class belonging to the preset value of the addition specific field includes:
According to the relation map style configuration file, class belonging to the preset value of the specific field is added.
It further include the preset of specific field in the relation map style configuration file in a kind of exemplary embodiment
It is worth corresponding shape;
The processor executes the program generated for relation map, also performs the following operations: described pair this is specified
The data of field add additional information for display further include:
To the data of the specific field, if pre- including the specific field in the relation map style configuration file
The corresponding shape of the value set then adds the corresponding shape to the data of the specific field.
In a kind of exemplary embodiment, in the relation map style configuration file further include: the default shape of class;
The processor executes the program generated for relation map, performs the following operations: the production Methods figure
It composes and is shown, comprising:
For the numerical value of acquired each specific field, proceed as follows respectively:
When added additional information only has class, according to class belonging to the data of the specific field, the relationship is called
The default style of class belonging in map style configuration file, production Methods map;
When added additional information includes class and shape, according to class belonging to the data of the specific field, institute is called
The default style of class belonging to stating in relation map style configuration file, the shape in the default style is substituted using added shape
After shape, production Methods map;
The relation map is shown.
As shown in figure 3, a kind of implementation process of exemplary embodiment of the invention is as follows:
Step 300: the regular configuration file (headIconStyle.js) of pre-defined relation map, using JSON lattice
Formula, can specifically be needed by the formal definition user of key-value pair the field used and value specific field preset value and
Customized style name (class).After determining the demand of user, the demand to the user is analyzed, if it is desired to according to
Personnel's gender shows different patterns, and a rule is defined in regular configuration file, and it is customized to be directed to different sexes difference
One style name (class), the style name be need to define in style configuration file to the customized style name it is corresponding
Pattern, with for showing.
Step 301: obtaining relation map rule configuration file predetermined, wherein the relation map rule configuration text
Part includes: the preset value of field needed for relation map to be presented and specific field;Such as: relation map rule configuration text
Part can be with are as follows: setting sex, type, etype are the field name that user needs to use;Field name herein can according to demand into
Row setting, different projects correspond to different field names.The value of preset field can be in relation map rule configuration file are as follows:
Female, " emphasis_person ", " event ";Wherein, the value of the corresponding field of sex is female, and the value of the corresponding field of type is
" emphasis_person ", the value of the corresponding field of etype are " event ".Etype herein is the parameter of a dynamic change,
Can be existed or be not present according to user demand;Etype includes: entity, relationship and event three types.
Step 302: according to the relation map rule configuration file, obtaining the number of relation map specific field to be presented
According to.According to the relation map rule configuration file predetermined obtained in step 301, it is specified to obtain relation map to be presented
The data of field.The process of the acquisition can be with are as follows:
1) relation map rule configuration file defined in load step 300 extracts in relation map rule configuration file
Key assignments, determine required specific field be sex, type, etype;
2) ajax request is sent, the key assignments extracted in step 1) is sent to interface as parameter by calling interface service.
Such as: ginseng extendedProperties:sex, type, etype are passed to interface, specified interface needs to inquire and return additional
Sex, type, etype attribute;
3) interface service analytic parameter, according to data corresponding to the specific field of parameter query needs;
4) interface service returns to data corresponding to the specific field inquired.
Step 303: data processing is carried out to data corresponding to the specific field got, comprising:
Whether the data of specific field more obtained are consistent with the preset value of the specific field, if unanimously, it is right
The data of the specific field add additional information for display.
Step 304: the data of the described pair of specific field add additional information for display, comprising:
To the data of the specific field, class belonging to the preset value of the specific field is added;Wherein, when displaying not
Same class corresponds to different patterns.Class belonging to the preset value of the addition specific field includes: according to the pass
It is map style configuration file, adds class belonging to the preset value of the specific field.Such as: it is returned when by interface polls
The data of sex be " female " and when the value " female " of preset field is consistent, to adding the class name defined thereafter in the data
" female " is " female " to the class that specific field sex is added.Wherein, such class is " female " in relationship
Class belonging to preset value in map style configuration file including each specific field, can call corresponding according to such
The pattern of concrete application.
Step 305: defining relation map style configuration file (graphStyle.js);Wherein, the style configuration file
In include each specific field preset value belonging to class;Wherein, which is exactly to class defined above
Define the pattern of concrete application.Such as: shape, height, width, background color, font, font size, frame, background picture.
Step 306: further including the corresponding shape of preset value of specific field in the relation map style configuration file;Institute
It states and additional information for display is added to the data of the specific field further include: to the data of the specific field, if institute
The corresponding shape of preset value in relation map style configuration file including the specific field is stated, then to the specific field
Data add the corresponding shape.Such as: it can be that woman's entity is shown as pink colour dot to gender, other entities are shown as
Blue dot, to emphasis, people is shown as hexagon, purple square is shown as to event, while being dotted line.
Step 307: the relation map style configuration file of call definition;First determine whether wrap in the style configuration file
Containing shape style, if the class in the style configuration file includes the shape style of default;Then carried out using the shape style of default
It shows;If the class in the style configuration file is added to the pattern of shape, the pattern of shape is called to go to show.
Step 308: the relation map of call relation map style configuration file generated, for acquired each designated word
The numerical value of section, proceeds as follows respectively:
3081: when added additional information only has class, according to class belonging to the data of the specific field, described in calling
The default style of class belonging in relation map style configuration file, production Methods map;
3082: when added additional information includes class and shape, according to class belonging to the data of the specific field, adjusting
With the default style of class affiliated in the relation map style configuration file, substituted in the default style using added shape
Shape after, production Methods map;
Step 309: third side plug cytoscapejs can be used to carry out the displaying of relation map, if calling the
Three side plug cytoscapejs need the data of treated relation map specific field to be presented to insert according to the third party
The data format of part cytoscapejs is handled again, is processed into the to be presented of the data format that the cytoscapejs needs
Relation map specific field data, such as: class is appointed as the classes of data, and icon is appended to bgImages number
In group, small footmark can be shown as.
Step 310: the relation map is shown.Such as: call cytoscapejs to carry out wash with watercolours to data and pattern
Dye generates the relation map for meeting demand.
It is specific to show process for example:
Step 1: introducing cytoscape relational graph plug-in unit
Step 2: introducing relational graph style configuration file (defining in step 305)
Step 3: the parameter that membership credentials figure plug-in unit needs
Container-relational graph plug-in application Dom container
Style-relational graph plug-in application style configuration
Data used in elements-relational graph (output of step 304).
A specific example based on the present embodiment, according to the demand of user, customized relation map rule configuration file
With style configuration file, by two configuration file production Methods maps and it is shown.Above-mentioned example improves development efficiency, subtracts
Few development amount.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove
Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment,
Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one
Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain groups
Part or all components may be implemented as by processor, such as the software that digital signal processor or microprocessor execute, or by
It is embodied as hardware, or is implemented as integrated circuit, such as specific integrated circuit.Such software can be distributed in computer-readable
On medium, computer-readable medium may include computer storage medium (or non-transitory medium) and communication media (or temporarily
Property medium).As known to a person of ordinary skill in the art, term computer storage medium is included in for storing information (such as
Computer readable instructions, data structure, program module or other data) any method or technique in the volatibility implemented and non-
Volatibility, removable and nonremovable medium.Computer storage medium include but is not limited to RAM, ROM, EEPROM, flash memory or its
His memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other
Magnetic memory apparatus or any other medium that can be used for storing desired information and can be accessed by a computer.This
Outside, known to a person of ordinary skill in the art to be, communication media generally comprises computer readable instructions, data structure, program mould
Other data in the modulated data signal of block or such as carrier wave or other transmission mechanisms etc, and may include any information
Delivery media.
Claims (12)
1. a kind of relation map generation method, which is characterized in that the described method includes:
Obtain relation map rule configuration file predetermined, wherein the relation map rule configuration file includes: wait open up
Specific field needed for the relation map shown;
According to the relation map rule configuration file, the data of relation map specific field to be presented are obtained;
After the data processing got, production Methods map is simultaneously shown.
2. relation map generation method according to claim 1, which is characterized in that
The relation map rule configuration file further include: the preset value of relation map specific field to be presented;
The described pair of data processing got, comprising:
Whether the data of specific field more obtained are consistent with the preset value of the specific field, if unanimously, referring to this
The data for determining field add additional information for display.
3. relation map generation method according to claim 2, which is characterized in that the data of the described pair of specific field add
Add additional information for display, comprising:
To the data of the specific field, class belonging to the preset value of the specific field is added;Wherein, different when displaying
Class corresponds to different patterns.
4. relation map generation method according to claim 3, which is characterized in that further include:
Obtain relation map style configuration file predetermined;It wherein, include every in the relation map style configuration file
Class belonging to the preset value of a specific field;
Class belonging to the preset value of the addition specific field includes:
According to the relation map style configuration file, class belonging to the preset value of the specific field is added.
5. relation map generation method according to claim 4, it is characterised in that: the relation map style configuration file
In further include specific field the corresponding shape of preset value;
The data of the described pair of specific field add additional information for display further include:
To the data of the specific field, if preset including the specific field in the relation map style configuration file
It is worth corresponding shape, then the corresponding shape is added to the data of the specific field.
6. relation map generation method according to claim 5, it is characterised in that:
In the relation map style configuration file further include: the default shape of class;
The production Methods map is simultaneously shown, comprising:
For the numerical value of acquired each specific field, proceed as follows respectively:
When added additional information only has class, according to class belonging to the data of the specific field, the relation map is called
The default style of class belonging in style configuration file, production Methods map;
When added additional information includes class and shape, according to class belonging to the data of the specific field, the pass is called
It is the default style of class affiliated in map style configuration file, the shape in the default style is substituted using added shape
Afterwards, production Methods map;
The relation map is shown.
7. the device that a kind of relation map generates, comprising: memory and processor;It is characterized by:
The memory, for saving the program for being used for relation map and generating;
The processor executes the program generated for relation map for reading, performs the following operations:
Obtain relation map rule configuration file predetermined, wherein the relation map rule configuration file includes: wait open up
Specific field needed for the relation map shown;
According to the relation map rule configuration file, the data of relation map specific field to be presented are obtained;
After the data processing got, production Methods map is simultaneously shown.
8. the device that relation map according to claim 7 generates, which is characterized in that the relation map rule configuration text
Part further include: the preset value of relation map specific field to be presented;
The described pair of data processing got, comprising:
Whether the data of specific field more obtained are consistent with the preset value of the specific field, if unanimously, referring to this
The data for determining field add additional information for display.
9. the device that relation map according to claim 8 generates, which is characterized in that the data of the described pair of specific field
Add additional information for display, comprising:
To the data of the specific field, class belonging to the preset value of the specific field is added;Wherein, different when displaying
Class corresponds to different patterns.
10. the device that relation map according to claim 9 generates, which is characterized in that the processor executes the use
In the program that relation map generates, also perform the following operations:
Obtain relation map style configuration file predetermined;It wherein, include every in the relation map style configuration file
Class belonging to the preset value of a specific field;
Class belonging to the preset value of the addition specific field includes:
According to the relation map style configuration file, class belonging to the preset value of the specific field is added.
11. the device that relation map according to claim 10 generates, which is characterized in that
It further include the corresponding shape of preset value of specific field in the relation map style configuration file;
The processor executes the program generated for relation map, also performs the following operations: the described pair of specific field
Data add additional information for display further include:
To the data of the specific field, if preset including the specific field in the relation map style configuration file
It is worth corresponding shape, then the corresponding shape is added to the data of the specific field.
12. the device that relation map according to claim 10 generates, which is characterized in that the relation map style configuration
In file further include: the default shape of class;
The processor executes the program generated for relation map, and perform the following operations: the production Methods map is simultaneously
It is shown, comprising:
For the numerical value of acquired each specific field, proceed as follows respectively:
When added additional information only has class, according to class belonging to the data of the specific field, the relation map is called
The default style of class belonging in style configuration file, production Methods map;
When added additional information includes class and shape, according to class belonging to the data of the specific field, the pass is called
It is the default style of class affiliated in map style configuration file, the shape in the default style is substituted using added shape
Afterwards, production Methods map;
The relation map is shown.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910120602.3A CN109933673A (en) | 2019-02-18 | 2019-02-18 | A kind of relation map generation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910120602.3A CN109933673A (en) | 2019-02-18 | 2019-02-18 | A kind of relation map generation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109933673A true CN109933673A (en) | 2019-06-25 |
Family
ID=66985601
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910120602.3A Pending CN109933673A (en) | 2019-02-18 | 2019-02-18 | A kind of relation map generation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109933673A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110427495A (en) * | 2019-07-29 | 2019-11-08 | 北京明略软件***有限公司 | Map methods of exhibiting and device |
CN110532375A (en) * | 2019-08-28 | 2019-12-03 | 北京网思科平科技有限公司 | A kind of atlas analysis scene generating method, system and storage medium |
CN111858959A (en) * | 2020-07-23 | 2020-10-30 | 平安付科技服务有限公司 | Method and device for generating component relation map, computer equipment and storage medium |
CN113010686A (en) * | 2021-03-04 | 2021-06-22 | 北京顶象技术有限公司 | Knowledge graph display method |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140372447A1 (en) * | 2013-06-12 | 2014-12-18 | Electronics And Telecommunications Research Institute | Knowledge index system and method of providing knowledge index |
CN104965760A (en) * | 2015-06-29 | 2015-10-07 | 广州酷狗计算机科技有限公司 | Method and apparatus for managing life cycle of software function module |
CN105488130A (en) * | 2015-11-25 | 2016-04-13 | 成都数联铭品科技有限公司 | Associated data visualization display method |
CN106469048A (en) * | 2015-08-18 | 2017-03-01 | 北京神州泰岳软件股份有限公司 | A kind of method and apparatus calling content in attribute configuration file |
CN108388576A (en) * | 2018-01-16 | 2018-08-10 | 小草数语(北京)科技有限公司 | Interactive mode generates the method and system of collection of illustrative plates |
CN108595449A (en) * | 2017-11-23 | 2018-09-28 | 北京科东电力控制***有限责任公司 | The structure and application process of dispatch automated system knowledge mapping |
CN109145119A (en) * | 2018-07-02 | 2019-01-04 | 北京妙医佳信息技术有限公司 | The knowledge mapping construction device and construction method of health management arts |
CN109255385A (en) * | 2018-09-07 | 2019-01-22 | 陈包容 | A kind of method, apparatus and its application automatically creating multi-level event and scene TuPu method |
-
2019
- 2019-02-18 CN CN201910120602.3A patent/CN109933673A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140372447A1 (en) * | 2013-06-12 | 2014-12-18 | Electronics And Telecommunications Research Institute | Knowledge index system and method of providing knowledge index |
CN104965760A (en) * | 2015-06-29 | 2015-10-07 | 广州酷狗计算机科技有限公司 | Method and apparatus for managing life cycle of software function module |
CN106469048A (en) * | 2015-08-18 | 2017-03-01 | 北京神州泰岳软件股份有限公司 | A kind of method and apparatus calling content in attribute configuration file |
CN105488130A (en) * | 2015-11-25 | 2016-04-13 | 成都数联铭品科技有限公司 | Associated data visualization display method |
CN108595449A (en) * | 2017-11-23 | 2018-09-28 | 北京科东电力控制***有限责任公司 | The structure and application process of dispatch automated system knowledge mapping |
CN108388576A (en) * | 2018-01-16 | 2018-08-10 | 小草数语(北京)科技有限公司 | Interactive mode generates the method and system of collection of illustrative plates |
CN109145119A (en) * | 2018-07-02 | 2019-01-04 | 北京妙医佳信息技术有限公司 | The knowledge mapping construction device and construction method of health management arts |
CN109255385A (en) * | 2018-09-07 | 2019-01-22 | 陈包容 | A kind of method, apparatus and its application automatically creating multi-level event and scene TuPu method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110427495A (en) * | 2019-07-29 | 2019-11-08 | 北京明略软件***有限公司 | Map methods of exhibiting and device |
CN110532375A (en) * | 2019-08-28 | 2019-12-03 | 北京网思科平科技有限公司 | A kind of atlas analysis scene generating method, system and storage medium |
CN111858959A (en) * | 2020-07-23 | 2020-10-30 | 平安付科技服务有限公司 | Method and device for generating component relation map, computer equipment and storage medium |
CN113010686A (en) * | 2021-03-04 | 2021-06-22 | 北京顶象技术有限公司 | Knowledge graph display method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109933673A (en) | A kind of relation map generation method and device | |
CN111049878B (en) | Method, device, electronic device and storage medium for visualizing micro-service call chain | |
CN109358851B (en) | Chart component creating method and device and computer-readable storage medium | |
CN109101309B (en) | Method and apparatus for updating user interface | |
CN107909368B (en) | Payment control method and device, terminal and readable storage medium | |
CN109101294B (en) | Data acquisition method, plug-in, electronic equipment and storage medium | |
CN109271561B (en) | Map information retrieval method and device | |
CN111061922A (en) | Data visualization processing method, system, terminal equipment and storage medium | |
CN107391506A (en) | Method and apparatus for inquiring about data | |
CN105138532A (en) | Method, device and system for processing service data | |
US20220236983A1 (en) | Computer Implementation Method for Software Architecture Analysis and Software Architecture Analysis Apparatus | |
CN112733055A (en) | System, method and storage medium for generating visual chart by free configuration | |
CN115526160A (en) | Rich text processing method, device and equipment and storage medium | |
CN111967970A (en) | Bank product recommendation method and device based on spark platform | |
CN113837181B (en) | Screening method, screening device, computer equipment and computer readable storage medium | |
CN104750823B (en) | Method and device for inquiring promotion condition data | |
CN114860362A (en) | Interface updating method and device | |
CN110633459B (en) | Automatic generation method and system of data report forms and computer readable storage medium | |
CN113691972A (en) | Service configuration method and device of android system | |
CN111708926A (en) | Method and system for realizing configuration of data query | |
CN105975153A (en) | Mobile terminal-based image personalized processing method and apparatus | |
CN104270447A (en) | Synchronous modular loading method for content on html page | |
CN112579664A (en) | Processing method and device for chart linkage | |
CN112579082A (en) | Interactive state data establishing method and device, storage medium and electronic equipment | |
CN115718825B (en) | Method and device for determining duration label and electronic equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190625 |