CN110096537A - Graphic correlation method, apparatus, electronic equipment and computer readable storage medium - Google Patents

Graphic correlation method, apparatus, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN110096537A
CN110096537A CN201910181736.6A CN201910181736A CN110096537A CN 110096537 A CN110096537 A CN 110096537A CN 201910181736 A CN201910181736 A CN 201910181736A CN 110096537 A CN110096537 A CN 110096537A
Authority
CN
China
Prior art keywords
search condition
data
target data
present graphical
search
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.)
Granted
Application number
CN201910181736.6A
Other languages
Chinese (zh)
Other versions
CN110096537B (en
Inventor
石晓龙
饶鑫
黄望
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201910181736.6A priority Critical patent/CN110096537B/en
Publication of CN110096537A publication Critical patent/CN110096537A/en
Application granted granted Critical
Publication of CN110096537B publication Critical patent/CN110096537B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results

Abstract

The present invention relates to a kind of graphic correlation method, apparatus, electronic equipment and computer readable storage mediums.The described method includes: receiving the search condition of user's input by a comparison visualization interface;Obtain in the visualization interface received search condition and according to described search conditional search target data;Described search condition and the target data are associated;Described search condition is added in the displaying list of the comparison visualization interface;A present graphical is generated according to the associated target data of described search condition in the displaying list is corresponding when receiving comparison instruction, and the corresponding present graphical of the target data is shown.This case is able to record search condition, and generates figure corresponding with described search condition according to search condition according to contrast operation and be shown, and improves user experience and working efficiency.

Description

Graphic correlation method, apparatus, electronic equipment and computer readable storage medium
Technical field
The present invention relates to computer fields, and in particular to a kind of graphic correlation method, apparatus, electronic equipment and computer can Read storage medium.
Background technique
With the development of information technology so that the data volume exponentially that enterprise faces increases, how working process these are huge Big data, and analysis is shown as a result, being current problem to be solved by computer technology visual pattern.
Summary of the invention
In view of the foregoing, it is necessary to propose a kind of graphic correlation method, apparatus, electronic equipment and computer-readable storage Contrast operation is added in figure by medium, improves user experience and working efficiency.
The first aspect of the application provides a kind of graphic correlation method, using in the user terminal, which comprises
The search condition of user's input is received by a comparison visualization interface;
Obtain in the visualization interface received search condition and according to described search conditional search target data;
Described search condition and the target data are associated;
Described search condition is added in the displaying list of the comparison visualization interface;
When receiving comparison instruction according to the associated target data of described search condition in the displaying list It is corresponding to generate a present graphical, and the corresponding present graphical of the target data is shown.
Preferably, described search condition is by the system name of the associated system of target data and the initial time structure of search Different at, wherein target data corresponding to different systems, identical system is corresponding to the initial time of different search Target data is also different.
Preferably, described to obtain in the visualization interface received search condition and according to described search conditional search mesh Marking data includes:
It receives the search condition of input and sends the searching request comprising described search condition to server;
And
Receive the target data obtained from database based on described search condition that the server is sent.
Preferably, according to the associated mesh of described search condition in the displaying list after receiving comparison instruction Mark data correspond to one present graphical of generation
The configuration information of present graphical is preset, wherein the configuration information includes the graphics class of the present graphical Type;
Obtain the associated target data of search condition in the displaying list;
The target data is classified according to the data attribute of the graph style of the present graphical, determines every kind of number According to the corresponding subclass data of attribute;
Determine the storage location of the corresponding subclass data of every kind of data attribute;And
According to the storage location of image type and the corresponding subclass data of every kind of data attribute in the configuration information point Corresponding subclass data are not loaded in every kind of data attribute of the present graphical and generate the present graphical.
Preferably, the corresponding subclass data of image type and every kind of data attribute according in the configuration information Storage location loads corresponding subclass data in every kind of data attribute of the present graphical respectively and generates the display diagram Shape includes:
According to the graph style of the present graphical in the configuration information, the displaying model of the present graphical is determined, Described in displaying model include corresponding graph style data attribute data-interface;
It is the every of the displaying model of the present graphical according to the storage location of the corresponding subclass data of every kind of data attribute A data-interface configures corresponding storage location;
Subclass data are obtained from corresponding storage location by each data-interface;And
The subclass data obtained according to each data-interface generate the present graphical after corresponding data attribute is arranged.
Preferably, the method also includes:
The selection instruction that user chooses a search condition from the history list of the visualization interface is received, and according to institute It states selection instruction the described search condition chosen is added in the displaying list and as the search in the displaying list Condition, wherein showing the search condition of user's history input in the history list.
Preferably, the present graphical can be line chart histogram, pie chart, Waterfall plot, K line chart or meter diagram.
The second aspect of the application provides a kind of graphic correlation device, and described device includes:
Showing interface module, for receiving the search condition of user's input by a comparison visualization interface;
Search module, for obtaining in the visualization interface received search condition and according to described search conditional search Target data;
Relating module, for described search condition and the target data to be associated;
Adding module, for described search condition to be added in the displaying list of the comparison visualization interface;
Graphic hotsopt and display module, for when receiving comparison instruction according to each searching in the displaying list The associated target data of rope condition is corresponding to generate a present graphical, and the corresponding present graphical of different target data is opened up Show.
The third aspect of the application provides a kind of electronic equipment, and the electronic equipment includes processor, and the processor is used The graphic correlation method is realized when executing the computer program stored in memory.
The fourth aspect of the application provides a kind of computer readable storage medium, is stored thereon with computer program, described The graphic correlation method is realized when computer program is executed by processor.
This case is able to record search condition, and opposite with described search condition according to search condition generation according to contrast operation The figure answered is shown, and improves user experience and working efficiency.
Detailed description of the invention
Fig. 1 is the applied environment figure of graphic correlation method in an embodiment of the present invention.
Fig. 2 is the flow chart of graphic correlation method in an embodiment of the present invention.
Fig. 3 is the schematic diagram that visualization interface is compared in an embodiment of the present invention.
Fig. 4 is the structure chart of graphic correlation device in an embodiment of the present invention.
Fig. 5 is the structure chart of search module in an embodiment of the present invention.
Fig. 6 is the schematic diagram of electronic equipment of the present invention.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real Applying example, the present invention will be described in detail.It should be noted that in the absence of conflict, embodiments herein and embodiment In feature can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, described embodiment is only It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Preferably, graphic correlation method of the present invention is applied in one or more electronic equipment.The electronic equipment is It is a kind of can be according to the instruction for being previously set or storing, the automatic equipment for carrying out numerical value calculating and/or information processing, hardware packet Include but be not limited to microprocessor, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), digital processing unit (Digital Signal Processor, DSP), embedded device etc..
The electronic equipment can be the calculating such as desktop PC, laptop, tablet computer and cloud server Equipment.The equipment can carry out man-machine friendship by modes such as keyboard, mouse, remote controler, touch tablet or voice-operated devices with user Mutually.
Embodiment 1
Fig. 1 is the applied environment figure of graphic correlation method in an embodiment of the present invention.
As shown in fig.1, the graphic correlation method is applied in user terminal 1.The user terminal 1 passes through network 3 It is communicated to connect with server 2.Wherein, the network 3 can be cable network, be also possible to wireless network, such as radio, nothing Line fidelity (Wireless Fidelity, WIFI), honeycomb, satellite, broadcast etc..In present embodiment, the user terminal 1 can Think computer, the devices such as laptop.The server 2 can be individual server, be also possible to multiple server sets Group, such as Cloud Server.
Fig. 2 is the flow chart of graphic correlation method in an embodiment of the present invention.The flow chart according to different requirements, The sequence of middle step can change, and certain steps can be omitted.
As shown in fig.2, the graphic correlation method specifically includes the following steps:
Step S201 receives the search condition of user's input by a comparison visualization interface 21.
In present embodiment, the user terminal 1 provides the searching bar that a comparison visualization interface 21 receives user's input Part.Referring to FIG. 3, the schematic diagram to compare visualization interface 21 in an embodiment of the present invention.The comparison visualization Interface 21 includes a search field 211 and a search button 212.Described search field 211 is used to receive the search of user's input Condition, described search button 212 are used to receive the touch operation triggering search instruction of user.In present embodiment, described search Condition is made of system name+search initial time of the associated system of target data.For example, described search condition can be " network sale+now ".Wherein " network sale " is system name, and " now " is the initial time of search.In another embodiment, described search Condition can also be constituted for the associated system name of target data+subsystem name+search initial time.For example, described search Condition can be " network sale+mobile+now ".Wherein " network sale " is system name, and mobile is the subsystem name of " network sale " system, " now " is the initial time of search.In present embodiment, target data corresponding to different systems is different, and same system exists Target data corresponding to the initial time of difference search is also different.In other embodiments, described search condition can be with Color, the contents such as end time of search are added as search condition.In one embodiment, the comparison visualization interface 21 Including multiple input condition option (not shown), user can be by choosing input condition option in comparison visualization interface 21 Complete the input of search condition.
Step S202 obtains in the visualization interface 21 received search condition and according to described search conditional search mesh Mark data.
In present embodiment, the user terminal 1 is obtained described by the search field 211 in comparison visualization interface 21 Search condition simultaneously sends the request of search target data so that the server 2 to the server 2 according to described search condition Target data is obtained from the database of the server using searching algorithm, and receives the number of targets that the server 2 is sent According to.
In present embodiment, the method includes: in step S202
(S2021) it receives the search condition of input and sends the search comprising described search condition to the server 2 and ask It asks.
In present embodiment, when detect user comparison visualization interface 21 search field 211 in input searching bar Part and click search button 212 trigger search operation after, the user terminal 1 to the server 2 send include described search The searching request of condition.
(S2022) searching request is obtained using searching algorithm from the database of server 2 server 2 based on the received Target data.
It, can be based on the historical statistical data of the historical search executed for database, from being registered in present embodiment Selection is matched with the searching algorithm of described search condition in multiple searching algorithms of database.In present embodiment, the data Library can be time series databases.In present embodiment, based on the difference of the data type stored in time series databases, Different types of searching algorithm can be used and carry out acceleration search process.For example, in the application environment of monitoring bridge security, although The pressure data of bridge floor is also to acquire in predetermined sampling frequency, however the pressure of bridge floor is relevant to during acquisition on bridge floor The factors such as speed, the load-carrying of vehicle, thus may and periodic feature be not present in time series collected.Thus it is based on The search condition scanned in certain types of time series databases is helped to improve to search for and be imitated to select searching algorithm Rate.
In present embodiment, the efficiency of multiple historical searches that recording needle carries out database, and based on being recorded Efficiency determination assists current search using which searching algorithm.In present embodiment, multiple search can be related in database Rope algorithm, for example, may include the searching algorithm based on Euclidean distance (Euclidean Distance), the search based on LCSS Algorithm, searching algorithm based on DTW etc..It, can be based on making during the historical search executed in the database in present embodiment The efficiency of various searching algorithms, to select the searching algorithm for being best suited for current search criteria.
(S2023) target data that will acquire is sent to user terminal 1.
Described search condition and the target data are associated by step S203.
In present embodiment, the user terminal 1 is by described search condition and the mesh that is arrived based on described search conditional search Mark data are associated.For example, being mobile's by the target data that the search condition of " network sale+mobile+now " searches The data volume of network sale, the net that the search condition of " network sale+mobile+now " and target data are mobile by the user terminal 1 The data volume of pin is associated.
Described search condition is added in the displaying list of the comparison visualization interface 21 by step S204.
In present embodiment, the comparison visualization interface 21 includes showing list 213.When user inputs search condition Afterwards, search condition can be added in the displaying list 213.When the content of search condition is more, search condition is added To that can be hidden to the content of search condition when showing in list, the detailed content of search condition can also be shown completely In showing list 213.That is, the search condition added in showing list has folder function.In a specific embodiment, It can be realized by clicking described search condition to described search conditional content in the displaying list 213 of visualization interface 21 It hides, or by double-clicking expansion of the described search condition realization to search condition content.In present embodiment, the displaying list Search condition in 213 also can receive the delete operation of user and delete search condition from the displaying list.Specific Embodiment in, the comparison visualization interface 21 include a delete button (not shown).When user arranges in the displaying When choosing the search condition to be deleted in table 213 and clicking the delete button can by the described search condition chosen from It is deleted in the displaying list 213.
In present embodiment, the visualization interface 21 further includes a history list 214.It is opened up in the history list 214 It is shown with multiple search conditions of user's history input, each search condition and a target data association.It is described in present embodiment Comparing visualization interface 21 includes a save button (not shown).When user chosen in the displaying list 213 it is described to The search condition of preservation and while clicking the save button can add the described search condition chosen from the displaying list 213 It is added in history list 214 and is saved.In present embodiment, the search condition in the history list 214 equally has folding Azido functional.Specifically, can be realized by clicking described search condition to described in the history list 214 of visualization interface 21 Search condition content hiding in the history list 214, or realized by double-clicking described search condition in search condition Hold the expansion in the history list 214.In present embodiment, the search condition in the history list 214 also be can receive The delete operation of user and search condition is deleted from the history list 214.For example, when user is in the history list It can will choose when choosing the search condition to be deleted in 214 and clicking the delete button in the visualization interface 21 Described search condition is deleted from the history list 214.
Step S205, it is associated according to the search condition in the displaying list 213 when receiving comparison instruction Target data is corresponding to generate a present graphical, and the corresponding present graphical of the target data is shown.
In present embodiment, the present graphical can be line chart.In other embodiments, present graphical can be with For histogram, pie chart, Waterfall plot, K line chart, meter diagram.In a specific embodiment, the visualization interface 21 further includes one Contrast button 215, the user terminal 1 receive user and are instructed by pressing the comparison that the contrast button 215 inputs, and according to Target data associated by the search condition shown in list 213 generates a present graphical.In present embodiment, the use Whether family terminal 1 is also used to judge the quantity of the search condition in the displaying list 213 more than one.When determining the displaying When the quantity of search condition in list is more than 1, the user terminal 1 distinguishes the corresponding present graphical of different target data It is shown.When the quantity for determining the search condition in the displaying list is 1, the user terminal 1 is according to the exhibition Show that the associated target data of described search condition in list generates a present graphical.
Specifically, the associated target data of each search condition according in the displaying list 213 generates one Present graphical includes: the configuration information for presetting present graphical, wherein the configuration information includes the graphics class of present graphical Type;Obtain the associated target data of each search condition in the displaying list 213;By the target data according to described The data attribute of the graph style of present graphical is classified, and determines the corresponding subclass data of every kind of data attribute;Determine every kind The storage location of the corresponding subclass data of data attribute;According to the image type and every kind of data attribute pair in the configuration information The storage location for the subclass data answered loads corresponding subclass data simultaneously respectively in every kind of data attribute of the present graphical Generate the present graphical.
In present embodiment, by presetting the configuration information of present graphical, by target data to be presented according to figure As the data attribute of type is classified, according to configuration information, the subclass data of every class are loaded into the corresponding of present graphical In data attribute, present graphical is generated, thus, number of targets to be presented need to only can be realized according to the configuration information of present graphical According to figure show, simpler realizes through figure display data.
In present embodiment, the graph style of present graphical can there are many kinds of, and be directed to different graph styles, show Mode be it is different, influence of the data to be displayed to present graphical is also different, and therefore, different graph styles needs different exhibitions Representation model is realized.
The storage location according to the graph style of the configuration information and the corresponding subclass data of every kind of data attribute Loading corresponding subclass data in every kind of data attribute of the present graphical respectively and generating the present graphical includes: root According to the graph style of the present graphical in the configuration information, the displaying model of the present graphical is determined, wherein the displaying Model includes the data-interface of the data attribute of corresponding graph style;According to depositing for the corresponding subclass data of every kind of data attribute Storage space is set, and is that each data-interface of the displaying model of the present graphical configures corresponding storage location;Pass through each data Interface obtains subclass data from corresponding storage location;And the subclass obtained according to each data-interface for showing model Data generate the present graphical after corresponding data attribute is arranged.
In present embodiment, the corresponding displaying model of every kind of graph style can be pre-set.For example, working as graphics class Type is histogram, and the displaying model of the histogram includes: the abscissa of the data-interface of the ordinate of histogram, histogram Data-interface etc..According to the subclass data that the data-interface of the ordinate of histogram obtains, the ordinate of present graphical is set Present graphical is arranged according to the subclass data that the data-interface of the abscissa of histogram obtains in value, the i.e. height attributes of histogram Abscissa value.
In present embodiment, the user terminal 1 includes: the corresponding present graphical of the target data to be shown The selection instruction that user chooses a search condition from the history list 214 of the visualization interface 21 is received, and according to described The described search condition chosen is added in the displaying list 213 and as in the displaying list 213 by selection instruction Search condition, and a present graphical is generated according to the associated target data of described search condition.In present embodiment, the use Family terminal 1 can choose the search condition searched for last week according to the selection instruction and be added in displaying list 213 And a present graphical is generated according to the associated target data of described search condition.
This case is able to record search condition, and opposite with described search condition according to search condition generation according to contrast operation The figure answered is shown, and improves user experience and working efficiency.
Embodiment 2
Fig. 4 is the structure chart of graphic correlation device 40 in an embodiment of the present invention.
In some embodiments, the graphic correlation device 40 is run in electronic equipment.The graphic correlation device 40 It may include multiple functional modules as composed by program code segments.The journey of each program segment in the graphic correlation device 40 Sequence code can store in memory, and as performed by least one processor, to execute the function of figure comparison.
In the present embodiment, function of the graphic correlation device 40 according to performed by it can be divided into multiple functions Module.As shown in fig.4, the graphic correlation device 40 may include showing interface module 401, search module 402, association mould Block 403, adding module 404 and graphic hotsopt and display module 405.The so-called module of the present invention refers to that one kind can be by least one A processor is performed and can complete the series of computation machine program segment of fixed function, and storage is in memory.One In a little embodiments, the function about each module will be described in detail in subsequent embodiment.
The showing interface module 401 receives the search condition of user's input by a comparison visualization interface 21.
Referring to FIG. 3, the comparison visualization interface 21 includes a search field 211 and a search button 212.It is described to search Rope field 211 is used to receive the search condition of user's input, and described search button 212 is used to receive the touch operation triggering of user Search instruction.In present embodiment, described search condition is system name+search starting of system associated with target data Time is constituted.For example, described search condition can be " network sale+now ".Wherein " network sale " is system name, and " now " is rising for search Begin the time.In present embodiment, target data corresponding to different systems is different, starting of the identical system in different search Target data corresponding to time is also different.In another embodiment, described search condition can also be related for target data The system name of connection+subsystem name+search initial time is constituted.For example, described search condition can be " network sale+mobile+ now".Wherein " network sale " is system name, and mobile is the subsystem name of " network sale " system, and " now " is the initial time of search.? In other embodiments, color, the contents such as end time of search can also be added as search condition in described search condition.? In one embodiment, the comparison visualization interface 21 includes multiple input condition option (not shown), and user can pass through The input that input condition option completes search condition is chosen in comparison visualization interface 21.
Described search module 402 obtains in the visualization interface 21 received search condition and according to described search condition Search for target data.
In present embodiment, described search module 402 obtains institute by the search field 211 in comparison visualization interface 21 It states search condition and the request of search target data is sent so that the clothes to the request server 2 according to described search condition Business device 2 obtains target data using searching algorithm from the database of the server, and receives the mesh that the server 2 is sent Mark data.
Referring to FIG. 5, showing the schematic diagram of search module 402 in an embodiment of the present invention.Described search module 402 Including request submodule 4021, searches submodule 4022 and reply submodule 4023.Wherein, the request submodule 4021 is applied In the user terminal 1, the lookup submodule 4022 and reply submodule 4023 are applied in the server 2.
It includes described search item that the request submodule 4021, which receives the search condition of input and sends to the server 2, The searching request of part.
In present embodiment, when detect user comparison visualization interface 21 search field 211 in input searching bar Part and click search button 212 trigger search operation after, the request submodule 4021 to the server 2 send include described in The searching request of search condition.
Searching submodule 4022, searching request utilizes searching algorithm from server 2 based on the received for control server 2 Database obtain target data.
It, can be based on the historical statistical data of the historical search executed for database, from being registered in present embodiment Selection is matched with the searching algorithm of described search condition in multiple searching algorithms of database.In present embodiment, the data Library can be time series databases.In present embodiment, based on the difference of the data type stored in time series databases, Different types of searching algorithm can be used and carry out acceleration search process.For example, in the application environment of monitoring bridge security, although The pressure data of bridge floor is also to acquire in predetermined sampling frequency, however the pressure of bridge floor is relevant to during acquisition on bridge floor The factors such as speed, the load-carrying of vehicle, thus may and periodic feature be not present in time series collected.Thus it is based on The search condition scanned in certain types of time series databases is helped to improve to search for and be imitated to select searching algorithm Rate.
In present embodiment, the efficiency of multiple historical searches that recording needle carries out database, and based on being recorded Efficiency determination assists current search using which searching algorithm.In present embodiment, multiple search can be related in database Rope algorithm, for example, may include the searching algorithm based on Euclidean distance (Euclidean Distance), the search based on LCSS Algorithm, searching algorithm based on DTW etc..It, can be based on making during the historical search executed in the database in present embodiment The efficiency of various searching algorithms, to select the searching algorithm for being best suited for current search criteria.
The target data that submodule 4023 is replied for will acquire is sent to user terminal 1.
Described search condition and the target data are associated by the relating module 403.
In present embodiment, what the relating module 403 was arrived by described search condition and based on described search conditional search Target data is associated.For example, being mobile by the target data that the search condition of " network sale+mobile+now " searches Network sale data volume, the search condition of " network sale+mobile+now " and target data are mobile by the relating module 403 The data volume of network sale be associated.
Described search condition is added in the displaying list of the comparison visualization interface 21 by the adding module 404.
In present embodiment, the comparison visualization interface 21 includes showing list 213.When detection user inputs searching bar After part, search condition is added in the displaying list 213 by the adding module 404.When the content of search condition is more, The adding module 404 can be hidden the content of search condition when search condition is added to and is shown in list, can also The detailed content of search condition to be shown completely in showing list 213.That is, the search condition added in showing list With folder function.It in a specific embodiment, can be in the displaying list 213 of visualization interface 21 by clicking described search The realization of rope condition is hidden described search conditional content, or is realized by double-clicking described search condition to search condition content Expansion.In present embodiment, it is described show the search condition in list 213 also and can receive the delete operation of user and by searching bar Part is deleted from the displaying list.In a particular embodiment, the comparison visualization interface 21 includes a delete button (not shown).When user chosen in the displaying list 213 search condition to be deleted and click it is described delete by The described search condition chosen can be deleted from the displaying list 213 when button.
In present embodiment, the visualization interface 21 further includes a history list 214.It is opened up in the history list 214 It is shown with multiple search conditions of user's history input, each search condition and a target data association.It is described in present embodiment Comparing visualization interface 21 includes a save button (not shown).When user chosen in the displaying list 213 it is described to The search condition of preservation and while clicking the save button can add the described search condition chosen from the displaying list 213 It is added in history list 214 and is saved.In present embodiment, the search condition in the history list 214 equally has folding Azido functional.Specifically, can be realized by clicking described search condition to described in the history list 214 of visualization interface 21 Search condition content hiding in the history list 214, or realized by double-clicking described search condition in search condition Hold the expansion in the history list 214.In present embodiment, the search condition in the history list 214 also be can receive The delete operation of user and search condition is deleted from the history list 214.For example, when user is in the history list It can will choose when choosing the search condition to be deleted in 214 and clicking the delete button in the visualization interface 21 Described search condition is deleted from the history list 214.
The graphic hotsopt and display module 405 be used for when receiving comparison instruction according to the displaying list The associated target data of search condition in 213 is corresponding to generate a present graphical, and by the corresponding displaying of the target data Figure is shown.
In present embodiment, the present graphical can be line chart.In other embodiments, present graphical can be with For histogram, pie chart, Waterfall plot, K line chart, meter diagram.In a specific embodiment, the visualization interface 21 further includes one Contrast button 215, the user terminal 1 receive user and are instructed by pressing the comparison that the contrast button 215 inputs, and according to Target data associated by the search condition shown in list 213 generates a present graphical.In present embodiment, the figure Whether shape generates the quantity for being also used to judge the search condition in the displaying list 213 with display module 405 more than one.When When determining that the quantity of search condition in the displaying list is more than 1, the graphic hotsopt and display module 405 are by different mesh The corresponding present graphical of mark data is shown respectively.When the quantity for determining the search condition in the displaying list is 1, The graphic hotsopt and display module 405 are generated according to the associated target data of described search condition in the displaying list One present graphical.
Specifically, the associated target data of search condition according in the displaying list 213 generates one and shows Figure includes: the configuration information for presetting present graphical, wherein the configuration information includes the graph style of present graphical;It obtains Take the associated target data of search condition in the displaying list 213;By the target data according to the present graphical The data attribute of graph style classify, determine the corresponding subclass data of every kind of data attribute;Determine every kind of data attribute The storage location of corresponding subclass data;According to the image type and the corresponding subclass of every kind of data attribute in the configuration information The storage location of data loads in every kind of data attribute of the present graphical respectively described in corresponding subclass data and generation Present graphical.
In present embodiment, by presetting the configuration information of present graphical, by target data to be presented according to figure As the data attribute of type is classified, according to configuration information, the subclass data of every class are loaded into the corresponding of present graphical In data attribute, present graphical is generated, thus, number of targets to be presented need to only can be realized according to the configuration information of present graphical According to figure show, simpler realizes through figure display data.
In present embodiment, the graph style of present graphical can there are many kinds of, and be directed to different graph styles, show Mode be it is different, influence of the data to be displayed to present graphical is also different, and therefore, different graph styles needs different exhibitions Representation model is realized.
The storage location according to the graph style of the configuration information and the corresponding subclass data of every kind of data attribute Loading corresponding subclass data in every kind of data attribute of the present graphical respectively and generating the present graphical includes: root According to the graph style of the present graphical in the configuration information, the displaying model of the present graphical is determined, wherein the displaying Model includes the data-interface of the data attribute of corresponding graph style;According to depositing for the corresponding subclass data of every kind of data attribute Storage space is set, and is that each data-interface of the displaying model of the present graphical configures corresponding storage location;Pass through each data Interface obtains subclass data from corresponding storage location;And the subclass obtained according to each data-interface for showing model Data generate the present graphical after corresponding data attribute is arranged.
In present embodiment, the corresponding displaying model of every kind of graph style can be pre-set.For example, working as graphics class Type is histogram, and the displaying model of the histogram includes: the abscissa of the data-interface of the ordinate of histogram, histogram Data-interface etc..According to the subclass data that the data-interface of the ordinate of histogram obtains, the ordinate of present graphical is set Present graphical is arranged according to the subclass data that the data-interface of the abscissa of histogram obtains in value, the i.e. height attributes of histogram Abscissa value.
In present embodiment, the graphic hotsopt and display module 405 are by the corresponding present graphical of the target data Be shown includes: to receive user to choose the selection of a search condition to refer to from the history list 214 of the visualization interface 21 It enables, and the described search condition chosen is added in the displaying list 213 and as the exhibition according to the selection instruction Show the search condition in list 213, and generates a present graphical according to the associated target data of described search condition.For example, The graphic hotsopt can choose the search condition searched for last week according to the selection instruction with display module 405 and add It is added to and shows in list 213 and generate a present graphical according to the associated target data of described search condition.
This case is able to record search condition, and opposite with described search condition according to search condition generation according to contrast operation The figure answered is shown, and improves user experience and working efficiency.
Embodiment 3
Fig. 6 is the schematic diagram of electronic equipment 6 in an embodiment of the present invention.
The electronic equipment 6 includes memory 61, processor 62 and is stored in the memory 61 and can be described The computer program 63 run on processor 62.The processor 62 realizes above-mentioned figure pair when executing the computer program 63 Step in ratio method embodiment, such as step S201~S205 shown in Fig. 2.Alternatively, the processor 62 executes the meter The function of each module/unit in above-mentioned graphic correlation Installation practice is realized when calculation machine program 63, such as the module 401 in Fig. 4 ~405.
Illustratively, the computer program 63 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 61, and are executed by the processor 62, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, and described instruction section is used In implementation procedure of the description computer program 63 in the electronic equipment 6.For example, the computer program 63 can be by Be divided into showing interface module 401, search module 402, relating module 403, adding module 404 and graphic hotsopt in Fig. 4 with Display module 405, each module concrete function is referring to embodiment two.
In present embodiment, the electronic equipment 6 is same equipment with user terminal 1.Specifically, the electronic equipment 6 It can be desktop PC, notebook, palm PC and cloud server etc. and calculate equipment.Those skilled in the art can manage Solution, the schematic diagram is only the example of electronic equipment 6, does not constitute the restriction to electronic equipment 6, may include than illustrating more More or less component perhaps combines certain components or different components, such as the electronic equipment 6 can also include defeated Enter output equipment, network access equipment, bus etc..
Alleged processor 62 can be central processing module (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor 62 is also possible to any conventional processing Device etc., the processor 62 are the control centres of the electronic equipment 6, utilize various interfaces and the entire electronic equipment of connection 6 various pieces.
The memory 61 can be used for storing the computer program 63 and/or module/unit, and the processor 62 passes through Operation executes the computer program and/or module/unit being stored in the memory 61, and calls and be stored in memory Data in 61 realize the various functions of the meter electronic equipment 6.The memory 61 can mainly include storing program area and deposit Store up data field, wherein storing program area can application program needed for storage program area, at least one function (for example sound is broadcast Playing function, image player function etc.) etc.;Storage data area can store according to electronic equipment 6 use created data (such as Audio data, phone directory etc.) etc..In addition, memory 61 may include high-speed random access memory, it can also include non-volatile Property memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other Volatile solid-state part.
If the integrated module/unit of the electronic equipment 6 is realized in the form of software function module and as independent Product when selling or using, can store in a computer readable storage medium.Based on this understanding, the present invention is real All or part of the process in existing above-described embodiment method, can also instruct relevant hardware come complete by computer program At the computer program can be stored in a computer readable storage medium, and the computer program is held by processor When row, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, institute Stating computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..It is described Computer-readable medium may include: any entity or device, recording medium, U that can carry the computer program code Disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), arbitrary access Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs It is bright, the content that the computer-readable medium includes can according in jurisdiction make laws and patent practice requirement into Row increase and decrease appropriate, such as do not include electric load according to legislation and patent practice, computer-readable medium in certain jurisdictions Wave signal and telecommunication signal.
In several embodiments provided by the present invention, it should be understood that disclosed electronic equipment and method, Ke Yitong Other modes are crossed to realize.For example, electronic equipment embodiment described above is only schematical, for example, the module Division, only a kind of logical function partition, there may be another division manner in actual implementation.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in same treatment module It is that modules physically exist alone, can also be integrated in equal modules with two or more modules.Above-mentioned integrated mould Block both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims Variation is included in the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This Outside, it is clear that one word of " comprising " is not excluded for other modules or step, and odd number is not excluded for plural number.It is stated in electronic equipment claim Multiple modules or electronic equipment can also be implemented through software or hardware by the same module or electronic equipment.The first, the Second-class word is used to indicate names, and is not indicated any particular order.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference Preferred embodiment describes the invention in detail, those skilled in the art should understand that, it can be to of the invention Technical solution is modified or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. a kind of graphic correlation method, using in the user terminal, which is characterized in that the described method includes:
The search condition of user's input is received by a comparison visualization interface;
Obtain in the visualization interface received search condition and according to described search conditional search target data;
Described search condition and the target data are associated;
Described search condition is added in the displaying list of the comparison visualization interface;
It is corresponding according to the associated target data of described search condition in the displaying list when receiving comparison instruction A present graphical is generated, and the corresponding present graphical of the target data is shown.
2. graphic correlation method as described in claim 1, which is characterized in that described search condition is associated by target data The system name of system and the initial time of search are constituted, wherein target data corresponding to different systems is different, identical system The target data corresponding to the initial time of different search of uniting is also different.
3. graphic correlation method as described in claim 1, which is characterized in that received in the acquisition visualization interface Search condition simultaneously according to described search conditional search target data includes:
It receives the search condition of input and sends the searching request comprising described search condition to server;And
Receive the target data obtained from database based on described search condition that the server is sent.
4. graphic correlation method as described in claim 1, which is characterized in that according to the exhibition after receiving comparison instruction Show that the corresponding present graphical that generates of the associated target data of the described search condition in list includes:
The configuration information of present graphical is preset, wherein the configuration information includes the graph style of the present graphical;
Obtain the associated target data of search condition in the displaying list;
The target data is classified according to the data attribute of the graph style of the present graphical, determines every kind of data category The corresponding subclass data of property;
Determine the storage location of the corresponding subclass data of every kind of data attribute;And
Existed respectively according to the storage location of image type and the corresponding subclass data of every kind of data attribute in the configuration information Corresponding subclass data are loaded in every kind of data attribute of the present graphical and generate the present graphical.
5. graphic correlation method as claimed in claim 4, which is characterized in that the image class according in the configuration information The storage location of type and the corresponding subclass data of every kind of data attribute adds in every kind of data attribute of the present graphical respectively It carries corresponding subclass data and generates the present graphical and include:
According to the graph style of the present graphical in the configuration information, the displaying model of the present graphical is determined, wherein institute State the data-interface for the data attribute for showing that model includes corresponding graph style;
It is every number of the displaying model of the present graphical according to the storage location of the corresponding subclass data of every kind of data attribute Corresponding storage location is configured according to interface;
Subclass data are obtained from corresponding storage location by each data-interface;And
The subclass data obtained according to each data-interface generate the present graphical after corresponding data attribute is arranged.
6. graphic correlation method as described in claim 1, which is characterized in that the method also includes:
The selection instruction that user chooses a search condition from the history list of the visualization interface is received, and according to the choosing Select instruction by the described search condition chosen be added to it is described displaying list in and as it is described displaying list in search condition, The search condition of user's history input is wherein shown in the history list.
7. graphic correlation method as described in claim 1, which is characterized in that the present graphical can be line chart column Figure, pie chart, Waterfall plot, K line chart or meter diagram.
8. a kind of graphic correlation device, using in the user terminal, which is characterized in that described device includes:
Showing interface module, for receiving the search condition of user's input by a comparison visualization interface;
Search module, for obtaining in the visualization interface received search condition and according to described search conditional search target Data;
Relating module, for described search condition and the target data to be associated;
Adding module, for described search condition to be added in the displaying list of the comparison visualization interface;
Graphic hotsopt and display module, for when receive a comparison instruction when according to it is described displaying list in each searching bar The associated target data of part is corresponding to generate a present graphical, and the corresponding present graphical of different target data is shown.
9. a kind of electronic equipment, it is characterised in that: the electronic equipment includes processor, and the processor is for executing memory The graphic correlation method as described in any one of claim 1-7 is realized when the computer program of middle storage.
10. a kind of computer readable storage medium, is stored thereon with computer program, it is characterised in that: the computer program The graphic correlation method as described in any one of claim 1-7 is realized when being executed by processor.
CN201910181736.6A 2019-03-11 2019-03-11 Pattern contrast method, apparatus, electronic device, and computer-readable storage medium Active CN110096537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910181736.6A CN110096537B (en) 2019-03-11 2019-03-11 Pattern contrast method, apparatus, electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910181736.6A CN110096537B (en) 2019-03-11 2019-03-11 Pattern contrast method, apparatus, electronic device, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN110096537A true CN110096537A (en) 2019-08-06
CN110096537B CN110096537B (en) 2023-09-19

Family

ID=67443111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910181736.6A Active CN110096537B (en) 2019-03-11 2019-03-11 Pattern contrast method, apparatus, electronic device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN110096537B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512265A (en) * 2015-12-04 2016-04-20 浪潮通用软件有限公司 Method and device for displaying data through figure
CN106980631A (en) * 2016-01-19 2017-07-25 阿里巴巴集团控股有限公司 The method and apparatus scanned for by mobile terminal
US20180089331A1 (en) * 2016-09-28 2018-03-29 Linkedin Corporation Pattern-based searching of log-based representations of graph databases
CN109213782A (en) * 2018-10-31 2019-01-15 新华三大数据技术有限公司 Configuration, display methods, device and the communication equipment of search interface

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512265A (en) * 2015-12-04 2016-04-20 浪潮通用软件有限公司 Method and device for displaying data through figure
CN106980631A (en) * 2016-01-19 2017-07-25 阿里巴巴集团控股有限公司 The method and apparatus scanned for by mobile terminal
US20180089331A1 (en) * 2016-09-28 2018-03-29 Linkedin Corporation Pattern-based searching of log-based representations of graph databases
CN109213782A (en) * 2018-10-31 2019-01-15 新华三大数据技术有限公司 Configuration, display methods, device and the communication equipment of search interface

Also Published As

Publication number Publication date
CN110096537B (en) 2023-09-19

Similar Documents

Publication Publication Date Title
KR101794373B1 (en) Temporary formatting and charting of selected data
US8823711B2 (en) Incremental creation of a graphical object to visually represent a data set
CN112035667A (en) Knowledge graph display method and device and terminal equipment
Pentland et al. From lock-in to transformation: A path-centric theory of emerging technology and organizing
CN103562905B (en) Improved data visualization configuration system and method
CN105900121A (en) Methods for generating an activity stream
CN108536467B (en) Code positioning processing method and device, terminal equipment and storage medium
CN107491907A (en) Cost for Electric Power Engineering control and analysis and system
CN107193440A (en) A kind of method for showing interface and device, computer installation and readable storage medium storing program for executing
CN110909009A (en) Track accompanying behavior analysis method based on ticket, terminal equipment and storage medium
WO2015030214A1 (en) Information processing device, information processing method and program
CN107908442A (en) Resource loading method, device, terminal device and computer-readable recording medium based on spring
CA3154763A1 (en) Data operation method, device and system
CN109359142A (en) A kind of data processing method, data processing equipment, computer equipment and readable storage medium storing program for executing
CN107506494B (en) Document handling method, mobile terminal and computer readable storage medium
CN114205177A (en) Communication message display method and device
CN106066966B (en) Frozen application display method, frozen application display device and terminal
CN112258104A (en) Transfer information generation method, article transfer method, apparatus, device and medium
CN111553749A (en) Activity push strategy configuration method and device
CN110096537A (en) Graphic correlation method, apparatus, electronic equipment and computer readable storage medium
CN113778399B (en) Configuration method and device of bottom layer channel
CN114995877A (en) Variable configuration method and device
KR102256814B1 (en) Method and system for selecting target data
CN110942345B (en) Seed user selection method, device, equipment and storage medium
CN114237798A (en) Data processing method, device, server and storage medium

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
GR01 Patent grant
GR01 Patent grant