CN110019974A - Implementation method and device are bored under chart - Google Patents
Implementation method and device are bored under chart Download PDFInfo
- Publication number
- CN110019974A CN110019974A CN201710919879.3A CN201710919879A CN110019974A CN 110019974 A CN110019974 A CN 110019974A CN 201710919879 A CN201710919879 A CN 201710919879A CN 110019974 A CN110019974 A CN 110019974A
- Authority
- CN
- China
- Prior art keywords
- chart
- queue
- configuration parameter
- inquiry request
- event
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
- G06F16/9024—Graphs; Linked lists
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/90335—Query processing
Abstract
The invention discloses implementation method and device are bored under a kind of chart.This method comprises:, according to the type of chart linkage event, being updated to the tail of the queue of chart condition managing queue when detecting the chart linkage event on the first chart;Object information is obtained from updated tail of the queue, and generates inquiry request message according to object information, inquiry request message is sent to server;Receive what server was got according to inquiry request message, the second chart data corresponding with object information;Obtain the chart configuration parameter of the second chart;Wherein, second chart is that chart linkage display needs next chart to be shown in the process, also, the chart configuration parameter of the second chart is different from the chart configuration parameter of the first chart;According to the chart configuration parameter and the second chart data of the second chart, the second chart is generated.The present invention realizes the lower flexible configuration for boring chart, enriches the lower scalability for boring chart.
Description
Technical field
The present invention relates to implementation method and device are bored under technical field of data processing more particularly to a kind of chart.
Background technique
The most basic function of chart is to show data in graph form, i.e. data visualization.Boring under chart is one
The interactive mode of kind Visual Chart, in application process, chart components detect choosing of the user for elements certain in chart
After middle operation, element can will be chosen to correspond to class, and more specifically data are (hereinafter referred to as lower to bore by next level chart now
Chart) it shows.
Chart components by data by lower brills chart display when, be according to pre-set lower brill chart configuration parameter,
(e.g., such as subtype (e.g., curve graph, administrative division map, histogram, cake chart, bulk point diagram, cross plot), chart style
Excel chart style, PPT chart style, statistical graph pattern) etc. render lower brill chart.
The present inventor under existing chart bore implementation study after find, the chart before and after lower brill
It is all based on same pre-set chart configuration parameter to be rendered, that is to say, that bore interactive process under existing chart
In, only the data of display change between two charts before and after lower brill, and the pattern of chart, type etc. are identical.Example
Such as, when chart components response user chooses the operation of a certain fan-shaped region in a pie chart, chart occurs lower bore and interacts
The lower brill chart showed afterwards is still a pie chart, and the patterns such as lower color, the text of chart bored before chart and lower brill
It is completely the same, it only difference is that the data of display are changed.
Therefore, because boring the strong coupling that implementation uses the chart configuration parameter of lower brill front and back chart under existing chart
Conjunction relationship is unfavorable for the lower flexible configuration for boring chart, limits the lower scalability for boring chart.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind
It states and bores implementation method and device under the chart of problem.Technical solution is as follows:
Implementation method is bored under a kind of chart, which comprises
When detecting the chart linkage event on the first chart, according to the type of chart linkage event, to chart
The tail of the queue of condition managing queue is updated;
Object information is obtained from updated tail of the queue, and generates inquiry request message according to the object information, it will be described
Inquiry request message is sent to server;
Receive what the server was got according to the inquiry request message, the second figure corresponding with the object information
Table data;
Obtain the chart configuration parameter of the second chart;Wherein, second chart is that chart linkage display needs in the process
Next chart of display, also, the chart configuration parameter of the chart configuration parameter of second chart and first chart
It is different;
Chart configuration parameter and second chart data according to second chart generate second chart.
Optionally, in the case where the type of chart linkage event is inquiry request event, to chart condition managing
The tail of the queue of queue, which is updated, includes:
Obtain the object information in the inquiry request event, and by by the object information in the inquiry request event
It is inserted into the tail of the queue of the chart condition managing queue, to change the data of the chart condition managing queue;
Wherein, second chart is the chart of linkage display after boring under first chart.
Optionally, in the case where the type of chart linkage event is to return to request event, to chart condition managing
The tail of the queue of queue, which is updated, includes:
By deleting the data of the tail of the queue of the chart condition managing queue, to change the chart condition managing queue
Data;
Wherein, first chart is the chart of linkage display after boring under second chart.
Optionally, it includes: the chart condition managing queue that the data of the chart condition managing queue, which change,
Queue length changes.
Optionally, the chart configuration parameter for obtaining the second chart includes:
According to belonging to second chart between level and preconfigured diagram level and chart configuration parameter
Corresponding relationship obtains the chart configuration parameter of second chart;Alternatively,
According to corresponding between the type and preconfigured subtype and chart configuration parameter of second chart
Relationship obtains the chart configuration parameter of second chart.
Realization device is bored under a kind of chart, described device includes:
Chart linkage event detection unit, for detecting the linkage event of the chart on the first chart;
Updating unit, for detecting the linkage event of the chart on the first chart in chart linkage event detection unit
When, according to the type of chart linkage event, the tail of the queue of chart condition managing queue is updated;
Object information acquiring unit, for obtaining object information from updated tail of the queue;
Inquiry request message generation unit, for generating inquiry request message according to the object information;
Transmission unit, for the inquiry request message to be sent to server;
Receiving unit is got according to the inquiry request message for receiving the server, is believed with the object
Cease corresponding second chart data;
Chart configuration parameter acquiring unit, for obtaining the chart configuration parameter of the second chart;Wherein, second chart
To need next chart to be shown, also, the chart configuration parameter of second chart and institute during chart linkage display
The chart configuration parameter for stating the first chart is different;
Chart generation unit, for according to second chart chart configuration parameter and second chart data,
Generate second chart.
Optionally, in the case where the type of chart linkage event is inquiry request event, the updating unit tool
Body is used for, and obtains the object information in the inquiry request event, and by by the object information in the inquiry request event
It is inserted into the tail of the queue of the chart condition managing queue, to change the data of the chart condition managing queue;
Wherein, second chart is the chart that linkage display is needed after boring under first chart.
Optionally, in the case where the type of chart linkage event is to return to request event, the updating unit tool
Body is used for, by deleting the data of the tail of the queue of the chart condition managing queue, to change the chart condition managing queue
Data;
Wherein, first chart is the chart of linkage display after boring under second chart.
A kind of storage medium, the storage medium include the program of storage, wherein described program executes previously described figure
Implementation method is bored under table.
A kind of processor, the processor is for running program, wherein described program executes previously described figure when running
Implementation method is bored under table.
It by above-mentioned technical proposal, is bored in implementation method and device under chart provided by the invention, when chart components detect
Chart on to the first chart link event when, linked the type of event according to the chart, to chart condition managing queue
Tail of the queue is updated;And then object information is obtained from updated tail of the queue, and generate inquiry request according to the object information and disappear
Breath, is sent to server for the inquiry request message;Receive what the server was got according to the inquiry request message,
The second chart data corresponding with the object information;Obtain the chart configuration parameter of the second chart;Wherein, second chart
To need next chart to be shown, also, the chart configuration parameter of second chart and institute during chart linkage display
The chart configuration parameter for stating the first chart is different;Chart configuration parameter and second chart according to second chart
Data generate second chart.
It is bored under chart provided by the invention during realizing, is specially to bore to realize under chart with chart linkage display process
For journey, the chart configuration parameter of the second chart after lower brill is different from the chart configuration parameter of the first chart before lower brill, makes
It must descend to bore two charts that front and back is shown entirely different.The present invention removes the chart configuration parameter of two charts before and after lower brill
It opens, different chart configuration parameters is set for different charts, be disconnected the chart configuration parameter of two charts before and after lower brill
Close coupling relationship, realize it is lower bore chart flexible configuration, enrich it is lower bore chart scalability.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow chart that implementation method is bored under a kind of chart provided in an embodiment of the present invention;
Fig. 2 shows the flow charts that implementation method is bored under another chart provided in an embodiment of the present invention;
The schematic diagram of thermodynamic chart chart is launched in the advertisement that Fig. 3 shows every profession and trade in the embodiment of the present invention;
Fig. 4 shows the flow chart that implementation method is bored under another chart provided in an embodiment of the present invention;
Fig. 5 shows the structural schematic diagram that realization device is bored under a kind of chart provided in an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
Due to being bored in implementation under existing chart, using the close coupling of the chart configuration parameter of chart before and after lower brill
Relationship, all lower chart configuration parameters for boring chart are identical as the chart configuration parameter of chart before lower brill, so that before and after lower brill
Only the data of display change between two charts, and the pattern of chart, type etc. are identical, are unfavorable for lower brill chart
Flexible configuration limits the lower scalability for boring chart.
The present inventor proposes, breaks the close coupling relationship of the chart configuration parameter of lower brill front and back chart, respectively
Different chart configuration parameters is arranged in different charts.Such as, chart configuration parameter is set according to the level of chart in advance, i.e., in advance
Corresponding relationship between allocation map table level and chart configuration parameter, the chart of different levels correspond to different chart configuration ginsengs
Number, more specifically, as the chart corresponding curve diagram of the first level, the chart of the second level correspond to histogram, the figure of third level
Table corresponds to cake chart.Certainly, different figures can also be respectively set for the different charts of same level or different levels in the present invention
Table configuration parameter, e.g., the corresponding relationship being pre-configured between subtype and chart configuration parameter, different types of chart correspond to
Different chart configuration parameters.
As shown in Figure 1, brill implementation method includes: under chart provided by the invention
Step 101, when detecting the chart linkage event on the first chart, according to the class of chart linkage event
Type is updated the tail of the queue of chart condition managing queue.
In the embodiment of the present invention, the type of chart linkage event may include inquiry request event and return request event.
Wherein inquiry request event be by the element that user chooses on the first chart correspond to class now more specifically data pass through it is next
The event that level chart is shown.Returning to request event is the event for showing the upper level chart of the first chart.
Chart condition managing queue is the queue of pre-set information for storing data, when chart condition managing queue
In increase newly data or reduce data when, the data of chart condition managing queue change, i.e. the team of chart condition managing queue
Primary update occurs for tail.Preferably, it may include: chart condition managing queue that the data of chart condition managing queue, which change,
Queue length change.
When specifically in embodiments of the present invention, in the case where the type of chart linkage event is inquiry request event, this
Invention can obtain the object information in inquiry request event, and by the way that the object information in the inquiry request event to be inserted into
The tail of the queue of chart condition managing queue, to change the data of chart condition managing queue.It is to return in the type of chart linkage event
When returning in the case where request event, the present invention can be by deleting the data of the tail of the queue of chart condition managing queue, to change figure
The data of table status management queue.
In the embodiment of the present invention, the first chart can be the chart of the first level, i.e., original chart, and the first chart can be with
It is the chart of the second level, third level or n-th layer grade, N is the positive integer greater than 1, i.e. the first chart is lower brill chart.
In actual application of the present invention, when the type for detecting the chart linkage event on the first chart is asked for inquiry
When seeking event, the second chart is the chart of linkage display after boring under the first chart.When detect on the first chart chart linkage
The type of event is when returning to request event, and the first chart is the chart of linkage display after boring under the second chart.For the present invention
In inquiry request event and return to the response of request event, inventor will carry out detailed respectively in subsequent embodiment of the present invention
Description.
Step 102, object information is obtained from updated tail of the queue, and generates inquiry request according to the object information and disappears
Breath, is sent to server for the inquiry request message.
After the tail of the queue of chart condition managing queue updates, chart components can obtain object information from updated tail of the queue, and
Inquiry request message is generated according to object information, inquiry request message is sent to server.
After server receives inquiry request message, can according to the object information in the inquiry request message, obtain with it is right
Corresponding second chart data of image information, and the second chart data that will acquire returns to chart components.
Step 103, receive what the server was got according to the inquiry request message, it is corresponding with the object information
The second chart data.
Chart components receive the second chart data that server returns.In the embodiment of the present invention, the second chart data can be with
The specially displays content data of the second chart, the second chart are that chart linkage display needs next figure to be shown in the process
Table.
Step 104, the chart configuration parameter of the second chart is obtained.
Wherein, the second chart is to need next chart to be shown during chart linkage display, also, the second chart
Chart configuration parameter is different from the chart configuration parameter of the first chart.
Step 105, according to the chart configuration parameter of second chart and second chart data, described in generation
Second chart.
It is bored in implementation method under chart provided by the invention, next figure to be shown is needed during chart linkage display
Table, i.e. the second chart, it is different from the chart configuration parameter of the first chart, so that front and back is shown during chart linkage display two
It is entirely different to open chart.The present invention peels away the chart configuration parameter of two charts in front and back during linkage display, is disconnected
The close coupling relationship of the chart configuration parameter of two charts in front and back during linkage display, it is achieved that lower bore the flexible of chart
Configuration enriches the lower scalability for boring chart.
In the following, applicant will be respectively using the type of the chart linkage event in the application as inquiry request event and chart
The type of linkage event is to return to request event to be described in detail.
When user chooses some object on the first chart, it is intended to check the more specifically object data under the object is corresponding
When, chart components detect the inquiry request event on the first chart, execute chart going down process, and method is as shown in Fig. 2, packet
It includes:
Step 201, when detecting the inquiry request event on the first chart, pair in the inquiry request event is obtained
Image information, and the tail of the queue by the way that the object information in the inquiry request event to be inserted into the chart condition managing queue,
To change the data of the chart condition managing queue.
Preferably as the embodiment of the present invention, when the data for detecting chart condition managing queue change, this hair
Bright further to generate a update message, chart components are by judging whether to listen to the update message, Lai get Zhi plot-like
Whether the data of state management queue change.
More specifically, in the embodiment of the present invention, when chart components detect that the queue length of chart condition managing queue becomes
When long, the first update message is generated, first update message is used to indicate in chart condition managing queue and has increased data newly;When
When chart components detect that the queue length of chart condition managing queue shortens, the second update message is generated, described second updates
Message, which is used to indicate in chart condition managing queue, reduces data.Further more preferably, chart components by the first of generation more
New information or the second update message are broadcasted.
Specifically in embodiments of the present invention, it is assumed that the first chart is that thermodynamic chart chart is launched in the advertisement of every profession and trade, such as Fig. 3 institute
Show, horizontal axis is temporal information, and the longitudinal axis is trade information.Advertisement is launched corresponding in thermodynamic chart chart " number " when the user clicks
When heating power graph region, chart components just detect that user launches the inquiry request event on thermodynamic chart chart, the inquiry in advertisement
Include " number " this information in request event, and then " number " this information is inserted into the team of chart condition managing queue
Tail.At this point, chart components detect that the queue length of chart condition managing queue is elongated, the team of chart condition managing queue is determined
Tail is updated, and a update message is generated.
Step 202, object information is obtained from updated tail of the queue, and generates inquiry request according to the object information and disappears
Breath, is sent to server for the inquiry request message.
After chart components listen to update message, determine that the data of chart condition managing queue are changed, plot-like
The tail of the queue of state management queue is updated, and then obtains object information, object letter from the tail of the queue of chart condition managing queue
Breath is " number ", and then chart components generate inquiry request message according to " number " this information, and inquiry request message is sent out
It send to server.
After server receives inquiry request message, it can be obtained and " number according to " number " in the inquiry request message
The corresponding digital data of code ", and the digital data that will acquire returns to chart components.
Step 203, receive what the server was got according to the inquiry request message, it is corresponding with the object information
The second chart data.
Chart components receive the digital data that server returns, digital data i.e. the second chart data.
Step 204, the chart configuration parameter of the second chart is obtained.
In the embodiment of the present invention, the second chart is the chart of linkage display after boring under the first chart, also is understood as, second
Chart is next layer of chart of the first chart.Also, the chart of the chart configuration parameter of the second chart and the first chart configures
Parameter is different.
In the embodiment of the present invention, the corresponding relationship between subtype and chart configuration parameter can be preset, it can also
To preset the corresponding relationship between diagram level and chart configuration parameter, the chart of each level corresponds to same chart and matches
Set parameter.Therefore, if having pre-set the corresponding relationship between subtype and chart configuration parameter, direct basis
The subtype of second chart obtains the chart configuration parameter of the second chart;Match if it is diagram level is pre-set with chart
The corresponding relationship between parameter is set, then the level according to belonging to the second chart, obtains corresponding with level belonging to the second chart
Chart configuration parameter.
Different charts or the chart of different levels are correspondingly arranged different chart configuration parameters in the embodiment of the present invention, real
Show and has carried out flexible configuration for different charts.
It should be noted that the embodiment of the present invention does not limit the execution sequence of above-mentioned steps 204 and step 202,203
It is fixed.The present invention can be performed simultaneously step 204, can also first carry out step during executing step 202 or executing step 203
Rapid 204, then execute step 202,203.
Step 205, according to the chart configuration parameter of second chart and second chart data, described in generation
Second chart.
After chart components get the chart configuration parameter of the second chart data and the second chart, wash with watercolours is carried out to the second chart
Dye, obtains the second chart.If the second chart is a histogram chart, tri- camera under digital industry, mobile phone, PC categories are shown
Advertisement input situation.
Therefore, under chart provided by the invention bore realize during, the chart configuration parameter of the second chart after lower brill with
The chart configuration parameter of the first chart before lower brill is different, so that two charts shown before and after lower brill are entirely different.The present invention
The chart configuration parameter of two charts before and after lower brill is peeled away, different chart configuration parameters is set for different charts,
It is disconnected the close coupling relationship of the chart configuration parameter of two charts in lower brill front and back, realizes the lower flexible configuration for boring chart, it is rich
The rich lower scalability for boring chart.
The present invention can in advance at some position on the second chart setting one for being directed toward the upper one layer of chart of return
Button or link, when the user clicks the button or link when, chart components detect returns upper one layer of chart return request thing
Part.When chart components detect the return request event on the first chart, the realization process that chart successively returns, method are executed
As shown in Figure 4, comprising:
Step 401, when detecting the return request event on the first chart, by by the chart condition managing queue
Tail of the queue data delete, to change the data of the chart condition managing queue.
The first chart in the embodiment of the present invention is the chart of linkage display after boring under the second chart, i.e. the second chart is the
Upper one layer of the chart of one chart.
It is all by the object letter in inquiry request event for chart going down process each time in chart going down process
Breath is inserted into the tail of the queue of chart condition managing queue, therefore when the object information in chart condition managing queue is all according to insertion
Between sequencing execute the sequencing that bores under chart according to triggering in other words, it is tactic.Therefore chart condition managing team
Putting in order for object information indicates the level of the corresponding chart of object information in column, in chart condition managing queue, team
The chart of first object information instruction is original chart, and the chart of the object information instruction of tail of the queue is the chart currently shown.
In embodiments of the present invention, when chart components detect the return request event on the first chart, by plot-like
The data that state manages queue tail of the queue are deleted.The data for the tail of the queue deleted at this time are object information corresponding with the first chart, are deleted
After object information corresponding with the first chart, the data of chart condition managing queue tail of the queue are updated to the corresponding object of the second chart
Information.
Preferably as the embodiment of the present invention, when the queue length for detecting chart condition managing queue shortens, this hair
Bright that a update message can be generated, chart components are by judging whether to listen to the update message, Lai get Zhi chart condition managing
Whether the data of queue change.More specifically, chart components generate the second update message, and broadcast the second update message.
Step 402, object information is obtained from updated tail of the queue, and generates inquiry request according to the object information and disappears
Breath, is sent to server for the inquiry request message.
After chart components listen to update message, determine that the data of chart condition managing queue are changed, plot-like
The tail of the queue of state management queue has carried out primary update, and then obtains object information from updated tail of the queue, and for example, " every profession and trade is wide
It accuses and launches ".Chart components generate inquiry request message according to " every profession and trade advertisement dispensing ", and inquiry request message is sent to clothes
Business device.
After server receives inquiry request message, can according to " every profession and trade advertisement dispensing " in the inquiry request message this
Information, data are launched in the advertisement for obtaining various industries, and the advertisement for the various industries that will acquire launches data and returns to chart
Component.
Step 403, receive what the server was got according to the inquiry request message, it is corresponding with the object information
The second chart data.
Chart components receive the second chart data that server returns, and the advertisement of the second chart data, that is, various industries is launched
Data.
Step 404, the chart configuration parameter of the second chart is obtained.
The chart configuration parameter of second chart can the level according to belonging to the second chart and preconfigured chart layer
Corresponding relationship between grade and chart configuration parameter obtains the chart configuration parameter of the second chart, alternatively, according to the second chart
Corresponding relationship between type and preconfigured subtype and chart configuration parameter, the chart for obtaining the second chart are matched
Set parameter.The chart configuration parameter for the first chart that chart components are got and the chart configuration parameter of the second chart are different.
Step 405, according to the chart configuration parameter of second chart and second chart data, described in generation
Second chart.
Above-mentioned steps 401- step 405 realizes from next level chart and is back to upper level chart through the invention
Realization process.
Based on implementation method is bored under chart provided in an embodiment of the present invention above, the embodiment of the present invention also provides a kind of chart
Lower brill realization device, as shown in figure 5, described device includes:
Chart linkage event detection unit 10, for detecting the linkage event of the chart on the first chart;
Updating unit 20, for detecting that the chart on the first chart links in chart linkage event detection unit 10
When event, according to the type of chart linkage event, the tail of the queue of chart condition managing queue is updated;
Object information acquiring unit 30, for obtaining object information from updated tail of the queue;
Inquiry request message generation unit 40, for generating inquiry request message according to the object information;
Transmission unit 50, for the inquiry request message to be sent to server;
Receiving unit 60 is got for receiving the server according to the inquiry request message, with the object
Corresponding second chart data of information;
Chart configuration parameter acquiring unit 70, for obtaining the chart configuration parameter of the second chart;Wherein, second figure
Table be need next chart to be shown during chart linkage display, also, the chart configuration parameter of second chart with
The chart configuration parameter of first chart is different;
Chart generation unit 80, for the chart configuration parameter and second chart numbers according to second chart
According to generation second chart.
Optionally, in the case where the type of chart linkage event is inquiry request event, the updating unit 20
It is specifically used for, obtains the object information in the inquiry request event, and by believing the object in the inquiry request event
Breath is inserted into the tail of the queue of the chart condition managing queue, to change the data of the chart condition managing queue;
Wherein, second chart is the chart that linkage display is needed after boring under first chart.
Optionally, in the case where the type of chart linkage event is to return to request event, the updating unit 20
It is specifically used for, by deleting the data of the tail of the queue of the chart condition managing queue, to change chart condition managing team
The data of column;
Wherein, first chart is the chart of linkage display after boring under second chart.
It includes processor and memory that realization device is bored under the chart, and above-mentioned chart linkage event detection unit updates
Unit, object information acquiring unit, inquiry request message generation unit, transmission unit, receiving unit, chart configuration parameter obtain
Unit and chart generation unit etc. store in memory as program unit, are executed by processor stored in memory
Above procedure unit realizes corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one
Or more, the chart configuration parameter of two charts in front and back during linkage display is peeled away by adjusting kernel parameter, is broken
The close coupling relationship of the chart configuration parameter of two charts before and after opening linkage display in the process realizes that lower the flexible of brill chart being matched
It sets, enriches the lower scalability for boring chart.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited
Store up chip.
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor
Implementation method is bored under the existing chart.
The embodiment of the invention provides a kind of processor, the processor is for running program, wherein described program operation
Implementation method is bored under chart described in Shi Zhihang.
The embodiment of the invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can
The program run on a processor, processor perform the steps of when executing program
When detecting the chart linkage event on the first chart, according to the type of chart linkage event, to chart
The tail of the queue of condition managing queue is updated;
Object information is obtained from updated tail of the queue, and generates inquiry request message according to the object information, it will be described
Inquiry request message is sent to server;
Receive what the server was got according to the inquiry request message, the second figure corresponding with the object information
Table data;
Obtain the chart configuration parameter of the second chart;Wherein, second chart is that chart linkage display needs in the process
Next chart of display, also, the chart configuration parameter of the chart configuration parameter of second chart and first chart
It is different;
Chart configuration parameter and second chart data according to second chart generate second chart.
Optionally, in the case where the type of chart linkage event is inquiry request event, to chart condition managing
The tail of the queue of queue, which is updated, includes:
Obtain the object information in the inquiry request event, and by by the object information in the inquiry request event
It is inserted into the tail of the queue of the chart condition managing queue, to change the data of the chart condition managing queue;
Wherein, second chart is the chart of linkage display after boring under first chart.
Optionally, in the case where the type of chart linkage event is to return to request event, to chart condition managing
The tail of the queue of queue, which is updated, includes:
By deleting the data of the tail of the queue of the chart condition managing queue, to change the chart condition managing queue
Data;
Wherein, first chart is the chart of linkage display after boring under second chart.
Optionally, it includes: the chart condition managing queue that the data of the chart condition managing queue, which change,
Queue length changes.
Optionally, the chart configuration parameter for obtaining the second chart includes:
According to belonging to second chart between level and preconfigured diagram level and chart configuration parameter
Corresponding relationship obtains the chart configuration parameter of second chart;Alternatively,
According to corresponding between the type and preconfigured subtype and chart configuration parameter of second chart
Relationship obtains the chart configuration parameter of second chart.Equipment herein can be server, PC, PAD, mobile phone etc..
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just
The program of beginningization there are as below methods step:
When detecting the chart linkage event on the first chart, according to the type of chart linkage event, to chart
The tail of the queue of condition managing queue is updated;
Object information is obtained from updated tail of the queue, and generates inquiry request message according to the object information, it will be described
Inquiry request message is sent to server;
Receive what the server was got according to the inquiry request message, the second figure corresponding with the object information
Table data;
Obtain the chart configuration parameter of the second chart;Wherein, second chart is that chart linkage display needs in the process
Next chart of display, also, the chart configuration parameter of the chart configuration parameter of second chart and first chart
It is different;
Chart configuration parameter and second chart data according to second chart generate second chart.
Optionally, in the case where the type of chart linkage event is inquiry request event, to chart condition managing
The tail of the queue of queue, which is updated, includes:
Obtain the object information in the inquiry request event, and by by the object information in the inquiry request event
It is inserted into the tail of the queue of the chart condition managing queue, to change the data of the chart condition managing queue;
Wherein, second chart is the chart of linkage display after boring under first chart.
Optionally, in the case where the type of chart linkage event is to return to request event, to chart condition managing
The tail of the queue of queue, which is updated, includes:
By deleting the data of the tail of the queue of the chart condition managing queue, to change the chart condition managing queue
Data;
Wherein, first chart is the chart of linkage display after boring under second chart.
Optionally, it includes: the chart condition managing queue that the data of the chart condition managing queue, which change,
Queue length changes.
Optionally, the chart configuration parameter for obtaining the second chart includes:
According to belonging to second chart between level and preconfigured diagram level and chart configuration parameter
Corresponding relationship obtains the chart configuration parameter of second chart;Alternatively,
According to corresponding between the type and preconfigured subtype and chart configuration parameter of second chart
Relationship obtains the chart configuration parameter of second chart.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art,
Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement,
Improve etc., it should be included within the scope of the claims of this application.
Claims (10)
1. boring implementation method under a kind of chart, which is characterized in that the described method includes:
When detecting the chart linkage event on the first chart, according to the type of chart linkage event, to chart state
The tail of the queue of management queue is updated;
Object information is obtained from updated tail of the queue, and generates inquiry request message according to the object information, by the inquiry
Request message is sent to server;
Receive what the server was got according to the inquiry request message, the second chart numbers corresponding with the object information
According to;
Obtain the chart configuration parameter of the second chart;Wherein, second chart is that chart linkage display needs to show in the process
Next chart, also, the chart configuration parameter of second chart is different from the chart configuration parameter of first chart;
Chart configuration parameter and second chart data according to second chart generate second chart.
2. the method according to claim 1, wherein the type in chart linkage event is inquiry request thing
In the case where part, the tail of the queue of chart condition managing queue is updated includes:
The object information in the inquiry request event is obtained, and by the way that the object information in the inquiry request event to be inserted into
To the tail of the queue of the chart condition managing queue, to change the data of the chart condition managing queue;
Wherein, second chart is the chart of linkage display after boring under first chart.
3. the method according to claim 1, wherein the type in chart linkage event is to return to request thing
In the case where part, the tail of the queue of chart condition managing queue is updated includes:
By deleting the data of the tail of the queue of the chart condition managing queue, to change the number of the chart condition managing queue
According to;
Wherein, first chart is the chart of linkage display after boring under second chart.
4. according to the method in claim 2 or 3, which is characterized in that the data of the chart condition managing queue become
Change includes: that the queue length of the chart condition managing queue changes.
5. method according to claim 1-3, which is characterized in that the chart for obtaining the second chart configures ginseng
Number includes:
It is corresponding between level and preconfigured diagram level and chart configuration parameter according to belonging to second chart
Relationship obtains the chart configuration parameter of second chart;Alternatively,
According to the corresponding pass between the type and preconfigured subtype and chart configuration parameter of second chart
System obtains the chart configuration parameter of second chart.
6. boring realization device under a kind of chart, which is characterized in that described device includes:
Chart linkage event detection unit, for detecting the linkage event of the chart on the first chart;
Updating unit, for the chart linkage event detection unit detect the chart on the first chart link event when,
According to the type of chart linkage event, the tail of the queue of chart condition managing queue is updated;
Object information acquiring unit, for obtaining object information from updated tail of the queue;
Inquiry request message generation unit, for generating inquiry request message according to the object information;
Transmission unit, for the inquiry request message to be sent to server;
Receiving unit is got for receiving the server according to the inquiry request message, with the object information pair
The second chart data answered;
Chart configuration parameter acquiring unit, for obtaining the chart configuration parameter of the second chart;Wherein, second chart is figure
Need next chart to be shown during table linkage display, also, the chart configuration parameter of second chart and described the
The chart configuration parameter of one chart is different;
Chart generation unit, for according to second chart chart configuration parameter and second chart data, generate
Second chart.
7. device according to claim 6, which is characterized in that the chart linkage event type be inquiry request thing
In the case where part, the updating unit is specifically used for, and obtains the object information in the inquiry request event, and passing through will be described
Object information in inquiry request event is inserted into the tail of the queue of the chart condition managing queue, to change the chart state pipe
Manage the data of queue;
Wherein, second chart is the chart that linkage display is needed after boring under first chart.
8. device according to claim 6, which is characterized in that request thing in the type of chart linkage event to return
In the case where part, the updating unit is specifically used for, and by deleting the data of the tail of the queue of the chart condition managing queue, comes
Change the data of the chart condition managing queue;
Wherein, first chart is the chart of linkage display after boring under second chart.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein described program right of execution
Benefit bores implementation method under chart described in requiring any one of 1 to 5.
10. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run
Benefit bores implementation method under chart described in requiring any one of 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710919879.3A CN110019974B (en) | 2017-09-30 | 2017-09-30 | Chart drill-down implementation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710919879.3A CN110019974B (en) | 2017-09-30 | 2017-09-30 | Chart drill-down implementation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110019974A true CN110019974A (en) | 2019-07-16 |
CN110019974B CN110019974B (en) | 2021-06-29 |
Family
ID=67186408
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710919879.3A Active CN110019974B (en) | 2017-09-30 | 2017-09-30 | Chart drill-down implementation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110019974B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112286409A (en) * | 2020-08-21 | 2021-01-29 | 上海柯林布瑞信息技术有限公司 | Data visualization analysis method and device, storage medium and terminal |
CN112579067A (en) * | 2019-09-30 | 2021-03-30 | 北京国双科技有限公司 | Bullet picture display method and device |
CN112579664A (en) * | 2019-09-30 | 2021-03-30 | 北京国双科技有限公司 | Processing method and device for chart linkage |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102982089A (en) * | 2011-11-02 | 2013-03-20 | 微软公司 | Visual navigation of documents by object |
CN103020158A (en) * | 2012-11-26 | 2013-04-03 | 中兴通讯股份有限公司 | Report form creation method, device and system |
CN103765432A (en) * | 2011-09-08 | 2014-04-30 | 惠普发展公司,有限责任合伙企业 | Visual component and drill down mapping |
CN105094516A (en) * | 2014-05-12 | 2015-11-25 | Sap欧洲公司 | Visualization and Navigation for Multi-Dimensional Hierarchical Data |
-
2017
- 2017-09-30 CN CN201710919879.3A patent/CN110019974B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103765432A (en) * | 2011-09-08 | 2014-04-30 | 惠普发展公司,有限责任合伙企业 | Visual component and drill down mapping |
CN102982089A (en) * | 2011-11-02 | 2013-03-20 | 微软公司 | Visual navigation of documents by object |
CN103020158A (en) * | 2012-11-26 | 2013-04-03 | 中兴通讯股份有限公司 | Report form creation method, device and system |
CN105094516A (en) * | 2014-05-12 | 2015-11-25 | Sap欧洲公司 | Visualization and Navigation for Multi-Dimensional Hierarchical Data |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112579067A (en) * | 2019-09-30 | 2021-03-30 | 北京国双科技有限公司 | Bullet picture display method and device |
CN112579664A (en) * | 2019-09-30 | 2021-03-30 | 北京国双科技有限公司 | Processing method and device for chart linkage |
CN112286409A (en) * | 2020-08-21 | 2021-01-29 | 上海柯林布瑞信息技术有限公司 | Data visualization analysis method and device, storage medium and terminal |
CN112286409B (en) * | 2020-08-21 | 2021-09-24 | 上海柯林布瑞信息技术有限公司 | Data visualization analysis method and device, storage medium and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN110019974B (en) | 2021-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI697866B (en) | Method and device for implementing color tweening animation | |
CN107395664B (en) | A kind of method and device that business executes | |
CN108132833A (en) | A kind of distributed timing method for scheduling task and device based on zookeeper technologies | |
CN110019974A (en) | Implementation method and device are bored under chart | |
US9734555B2 (en) | Generating a tree map | |
US8176097B2 (en) | Maintaining data coherency within related multi-perspective user interfaces via session-less queries | |
CN106202006A (en) | Document generating method and device | |
CN110069312A (en) | A kind of method and device of UI component Configuration and generation UI Component Gallery | |
CN109194565A (en) | A kind of message read states reminding method and device | |
CN105045895B (en) | A kind of method and apparatus that promotional content is shown in specified page | |
CN110297718A (en) | Interface element linkage processing method, device and equipment | |
CN108924185A (en) | Interface creation method and device | |
CN109218796A (en) | A kind of method and apparatus showing virtual present special efficacy | |
CN110427237A (en) | A kind of method, apparatus and electronic equipment across application access target pages | |
CN106354841A (en) | Testing method and device of recommendation algorithms | |
CN108833971A (en) | A kind of method for processing video frequency and device | |
CN110020070A (en) | Webpage circle selects data processing method, apparatus and system | |
CN109039670A (en) | The sharing method and device of team's configuration method, team's allocation plan | |
CN109669807A (en) | The method of calibration and device of business event, processor, storage medium | |
US10664151B2 (en) | Adaptive electronic event reminder | |
CN109660581A (en) | Physical machine management method and device, system | |
CN107391771A (en) | The generation method and device of a kind of image special effect | |
CN109309858B (en) | Display method, device, equipment and medium of mutually exclusive icon | |
CN110162293A (en) | A kind of random number generation method, device and terminal for equally loaded | |
CN109587198A (en) | Graph text information method for pushing and device |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100080 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: Beijing Guoshuang Technology Co.,Ltd. Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A Applicant before: Beijing Guoshuang Technology Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |