CN104391898B - Method for exhibiting data and device - Google Patents

Method for exhibiting data and device Download PDF

Info

Publication number
CN104391898B
CN104391898B CN201410642270.2A CN201410642270A CN104391898B CN 104391898 B CN104391898 B CN 104391898B CN 201410642270 A CN201410642270 A CN 201410642270A CN 104391898 B CN104391898 B CN 104391898B
Authority
CN
China
Prior art keywords
data
time
displaying
display area
granularity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410642270.2A
Other languages
Chinese (zh)
Other versions
CN104391898A (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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co 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 Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201410642270.2A priority Critical patent/CN104391898B/en
Publication of CN104391898A publication Critical patent/CN104391898A/en
Application granted granted Critical
Publication of CN104391898B publication Critical patent/CN104391898B/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/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9038Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists

Landscapes

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

Abstract

The invention discloses a kind of method for exhibiting data and devices.Wherein, which includes:The displaying request generated in data display area is obtained, wherein, data display area is that the region of the first data is shown according to first time granularity;The corresponding prompting frame of displaying displaying request, wherein, prompting frame is used to indicate the option and time attribute of one or more second time granularities;The second data are obtained according to time attribute and the second selected time granularity;Second data are shown in data display area according to the second time granularity.By the present invention, solve the problem of cumbersome during the data displaying for carrying out other times granularity based on the data having shown that in the prior art, to cause the efficiency that data are shown low, it is easy to operate, improve the efficiency of data displaying.

Description

Method for exhibiting data and device
Technical field
The present invention relates to data processing field, in particular to a kind of method for exhibiting data and device.
Background technology
When being counted to the data in fixed time period, need according to time display data and draw statistical chart, In statistical chart, it will usually monthly/week/day etc. time granularities display data, needing in the statistical chart of some time granularity When data carry out data displaying using other times granularity, mapping operation can be comparatively laborious.For example, the data of certain year are pressed 12 Month displaying after, if merely desire to displaying May data and by the data in May by week or per diem show, need first to lead to It crosses time control and resets time shaft as May, and a new time granularity (as by week or per diem) is set, then from number According to the data that May is inquired in library, and statistical chart is repainted.
Method for exhibiting data of the prior art, for having pressed the data of certain time granularity (e.g., monthly) displaying, if it is desired to The data that the data of the displaying are carried out with other time granularities (e.g., by week or per diem) are shown, then need to reset exhibition The period of registration evidence and time granularity, and data query is carried out simultaneously according to the period reset and time granularity again Statistical chart is redrawn, it is cumbersome, cause the efficiency that data are shown low.
It is cumbersome during for the data displaying for carrying out other times granularity based on the data having shown that in the prior art, it leads The problem of causing the efficiency of data displaying low, currently no effective solution has been proposed.
Invention content
It is cumbersome during for the data displaying for carrying out other times granularity in the relevant technologies based on the data having shown that, it leads The problem of causing the efficiency of data displaying low, currently no effective solution has been proposed, for this purpose, it is a primary object of the present invention to A kind of method for exhibiting data and device are provided, to solve the above problems.
To achieve these goals, according to an aspect of the invention, there is provided a kind of method for exhibiting data, the data exhibition Show that method includes:The displaying request generated in data display area is obtained, wherein, data display area is according at the first time Granularity shows the region of the first data;The corresponding prompting frame of displaying displaying request, wherein, prompting frame is used to indicate one or more The option and time attribute of a second time granularity;The second data are obtained according to time attribute and the second selected time granularity; Second data are shown in data display area according to the second time granularity.
Further, the second data are obtained according to time attribute and the second selected time granularity to include:Belong to according to the time Property and the second selected time granularity generation data query signal;The second number is read from database using data query signal According to, wherein, database includes local data base and/or remote data base.
Further, the displaying request generated in data display area is obtained to include:It obtains in data display area Displaying subregion perform first operation, and generate displaying request, wherein, data display area makes according to first time granularity With multiple displaying sub-district the first data of domain views, the first operation includes one of operations described below:Single-click operation, double click operation and slip Operation.
Further, while the first operation to the displaying subregion execution in data display area is obtained, data Methods of exhibiting further includes:The query object of triggering displaying subregion;Obtain the corresponding time attribute of query object and one or more The option of a second time granularity.
Further, the data information of the second data is also shown in prompting frame.
To achieve these goals, according to another aspect of the present invention, a kind of data displaying device, the data exhibition are provided Showing device includes:First acquisition module, for obtaining the displaying generated in data display area request, wherein, data displaying Region is the region that the first data are shown according to first time granularity;First display module, for showing corresponding to displaying request Prompting frame, wherein, prompting frame is used to indicate the option and time attribute of one or more second time granularities;Second obtains mould Block, for obtaining the second data according to time attribute and the second selected time granularity;Second display module, for according to second Time granularity shows the second data in data display area.
Further, the second acquisition module includes:Generation module, for according to time attribute and the second selected time grain Degree generation data query signal;Read module, for reading the second data from database using data query signal, wherein, Database includes local data base and/or remote data base.
Further, the first acquisition module includes:Third acquisition module, for obtaining to the displaying in data display area The first operation that subregion performs, and displaying request is generated, wherein, data display area uses multiple according to first time granularity Show sub-district the first data of domain views, the first operation includes one of operations described below:Single-click operation, double click operation and slide.
Further, while the first operation to the displaying subregion execution in data display area is obtained, data Displaying device further includes:Trigger module, for triggering the query object of displaying subregion;4th acquisition module is looked into for obtaining Ask the option of the corresponding time attribute of object and one or more second time granularities.
Further, the data information of the second data is also shown in prompting frame.
Using the embodiment of the present invention, when needing to be shown the data having shown that using other times granularity, on boundary The corresponding prompting frame of displaying request with getting is shown on face, according to the time attribute indicated by prompting frame and selected second Time granularity obtains the time attribute the second data corresponding with the second selected time granularity automatically, then second counts this It is illustrated in data display area according to according to the second time granularity.In the above-described embodiments, without being weighed manually by time control The period (time attribute in corresponding above-described embodiment) of new setting display data and time granularity, according to indicated by prompting frame Time attribute and the second time granularity can obtain the second data, it is easy to operate in the embodiment.By of the invention real Example is applied, it is cumbersome when solving in the prior art based on the data displaying of data progress other times granularity having shown that, it leads The problem of causing the efficiency of data displaying low, it is easy to operate, improve the efficiency of data displaying.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and forms the part of the application, this hair Bright illustrative embodiments and their description do not constitute improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of method for exhibiting data according to embodiments of the present invention;
Fig. 2 is a kind of statistical chart of optional data displaying according to embodiments of the present invention;And
Fig. 3 is the schematic diagram of data displaying device according to embodiments of the present invention.
Specific embodiment
In order to which those skilled in the art is made to more fully understand the present invention program, below in conjunction in the embodiment of the present invention The technical solution in the embodiment of the present invention is clearly and completely described in attached drawing, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's all other embodiments obtained without making creative work should all belong to the model that the present invention protects It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be the object for distinguishing similar, and specific sequence or precedence are described without being used for.It should be appreciated that it uses in this way Data can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not listing clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
Fig. 1 is the flow chart of method for exhibiting data according to embodiments of the present invention, and this method as shown in Figure 1 includes following step Suddenly:
Step S102 obtains the displaying request generated in data display area.
Wherein, data display area is that the region of the first data is shown according to first time granularity.
Step S104 shows the corresponding prompting frame of displaying request.
Wherein, prompting frame is used to indicate the option and time attribute of one or more second time granularities
Step S106 obtains the second data according to time attribute and the second selected time granularity.
Step S108 shows the second data according to the second time granularity in data display area.
Using the embodiment of the present invention, when needing to be shown the data having shown that using other times granularity, on boundary The corresponding prompting frame of displaying request with getting is shown on face, according to the time attribute indicated by prompting frame and selected second Time granularity obtains the time attribute the second data corresponding with the second selected time granularity automatically, then second counts this It is illustrated in data display area according to according to the second time granularity.In the above-described embodiments, without being weighed manually by time control The period (time attribute in corresponding above-described embodiment) of new setting display data and time granularity, according to indicated by prompting frame Time attribute and the second time granularity can obtain the second data, it is easy to operate in the embodiment.By of the invention real Example is applied, it is cumbersome when solving in the prior art based on the data displaying of data progress other times granularity having shown that, it leads The problem of causing the efficiency of data displaying low, it is easy to operate, improve the efficiency of data displaying.
Specifically, after the displaying generated in data display area request is got, show that displaying request institute is right The prompting frame answered, wherein, the option of time attribute and the second time granularity is shown in the prompting frame, can be selected by prompting frame Fixed second time granularity, then obtains the second data, and according to the choosing according to the time attribute and the second selected time granularity The second fixed time granularity shows the second data got in data display area.
In an optional embodiment of the present invention, it is asked in the displaying that acquisition generates in data display area It afterwards, can be by showing that the location information of generation displaying request carried in request determines that the time pointed by location information belongs to Property.
Data display area in above-described embodiment can be statistical chart;First time granularity can be year, season, the moon, Week or day;Second time granularity can be year, season, the moon, week or day.
Fig. 2 is a kind of statistical chart of optional data displaying according to embodiments of the present invention.It is discussed in detail with reference to Fig. 2 The above embodiment of the present invention.
As shown in Fig. 2, data display area can be statistical chart shown in Fig. 2, monthly illustrate 3 in the statistical chart, 4th, the booting number of users in May, that is, first time granularity is the moon in the statistical chart.Specifically, it is illustrated in statistical chart The booting of the booting number of users, 2014/04/01-2014/04/30 (i.e. April) in (i.e. March) is used The booting number of users of amount and 2014/05/01-2014/05/31 (i.e. May).
In the above embodiment of the present invention, after getting in the displaying request generated on statistical chart, the exhibition is shown Show the corresponding prompting frame of request, e.g., the Area generation displaying request where the data in March then shows the time in the prompting frame Attribute is:The option of one or more second time granularities can also be shown in the prompting frame, such as March:By week displaying and It per diem shows, user can select the second time granularity by clicking the option of second time granularity.
It, can be according to after time attribute and the second selected time granularity is obtained by the above embodiment of the present invention Time attribute and the second selected time granularity obtain the second data, and opened up in data display area according to the second time granularity Show the second data.In the above-described embodiments, the second number can be obtained according to time attribute and the second time granularity by prompting frame According to easy to operate, efficient.
Further, the data information of the second data can also be shown in prompting frame, data information can be to data Description or explain information.In prompting frame in statistical chart as shown in Figure 2, except showing time attribute and the second time granularity Option outside, also show data information (the booting numbers of users i.e. shown in Fig. 2 of the second data (i.e. the data in March):58, 344)。
According to the above embodiment of the present invention, obtaining the second data according to time attribute and the second selected time granularity can be with Including:Data query signal is generated according to time attribute and the second selected time granularity;Using data query signal from data The second data are read in library, wherein, database can include local data base and/or remote data base.
In the above-described embodiments, after data of the March to May are illustrated by first time granularity, if it is desired to by March Data are shown according to the second time granularity (e.g., all), are only needed to click in prompting frame shown in fig. 2 and are by week displaying Can, i.e., determine the second time granularity for week by the prompting frame.It clicks by after week displaying, it will be to local data base and/or long-range Database sends a data query signal, wherein, when carrying above-mentioned time attribute and second in the data query signal Between granularity;It is read from local data base and/or remote data base using the data query signal and meets above-mentioned time category After property and the second data (i.e. the data in March) of the second time granularity, the statistical chart of front end can be according to the second time granularity It is redrawn, by the data in March by Zhou Jinhang statistics displayings.
When clicking the per diem displaying in the prompting frame in Fig. 2, the realization process of the processing method is with clicking by week displaying Unanimously, details are not described herein.
According to the above embodiment of the present invention, when data display area is the statistical chart by week displaying, to per diem show Data, processing procedure and above-mentioned click are consistent by the processing procedure of week displaying, that is, click per diem to be shown in statistical chart should Region where the data in week will pop up a prompting frame, time attribute, the number of the data for having this week shown in the prompting frame According to data information and the second time granularity option (e.g., per diem show), need to only click in the prompting frame and per diem show , i.e., determine that the second time granularity is day by the prompting frame.Click per diem show after, will to local data base and/ Or remote data base sends a data query signal, when returning to the second data for arriving according to the data query signal acquisition (i.e. The data in this week per diem to show) after, the statistical chart of front end can be redrawn according to the second time granularity, by the number in this week According to per diem carrying out statistics displaying.
Although shown in Fig. 2 examples by week displaying and per diem shown (namely the time granularity provided is week and day), It is it will be understood by those skilled in the art that the time granularity shown in each prompting frame, can further include year and the moon (increase displaying per year in prompting frame i.e. in figure and monthly show), can realize in this way from small time granularity to the big time The fast fallback of granularity.Even the span year of the time attribute of current display data and the time attribute of target data, then Also can be by showing fast fallback per year, the time attribute in time where reselection target data and time granularity are completed later The displaying of target data, convenience still more faster than traditional operation mode.Which time granularity shown as offer in prompting frame, Those skilled in the art can be selected according to factors such as practical usage scenarios and frequency of use, and details are not described herein again.
By the above embodiment of the present invention, after first time granularity display data has been pressed, to the number to having shown that According to the second time granularity is used to be shown, the option of the second time granularity in prompting frame need to be only clicked, without passing through Time control resets period (time attribute in corresponding above-described embodiment) and the time granularity of display data manually, leads to The second data can be obtained according to time attribute and the second time granularity by crossing prompting frame, easy to operate, number in the embodiment According to the efficient of displaying.
In the above embodiment of the present invention, obtaining the displaying request generated in data display area can include:It obtains To the first operation that the displaying subregion in data display area performs, and displaying request is generated, wherein, data display area is pressed According to first time granularity using multiple displaying sub-district the first data of domain views, the first operation can include one of operations described below:It is single Hit operation, double click operation and slide.
Specifically, single-click operation, double click operation or cunning are performed in the displaying subregions of the first data when showing to have at one During dynamic operation, after the operation of execution is got, the displaying request in above-described embodiment is generated.
Above-mentioned slide can be the operation that finger streaks the operation of touch screen or mouse streaks screen.
By the above embodiment of the present invention, to be shown to the first data having shown that using the second time granularity, Single-click operation, double click operation or slide can be performed in the displaying subregion for showing first data, then basis The operation generation displaying request of execution, acquisition and the corresponding prompting frame of displaying request, and pass through the prompting frame and realize to having opened up The first data shown are shown using the second time granularity.By above-described embodiment, without by time control manually again Period (time attribute in corresponding above-described embodiment) and the time granularity of display data are set, it only need to be by simply grasping Make, i.e., the effect that the second data are shown by the second time granularity, easy to operate, the effect of data displaying are realized by prompting frame Rate is high.
In an optional embodiment of the present invention, obtaining what the displaying subregion in data display area was performed After first operation, location information can be determined, and generate and carry the location information according to the execution position of the first operation Displaying request.
Specifically, single-click operation, double click operation or cunning are performed in the displaying subregions of the first data when showing to have at one During dynamic operation, above-mentioned location information is determined according to the execution position of single-click operation, double click operation or slide, is then generated Carry the displaying request of the location information.
For example, in statistical chart shown in Fig. 2, when region (the i.e. above-mentioned reality for clicking the data that March is shown in statistical chart Apply the displaying subregion in example) when, the displaying subregion according to belonging to the single-click operation pops up corresponding prompting frame.
For another example, the region where mouse streaks the data in (i.e. above-mentioned slide) March shown in Fig. 2 is (i.e. above-mentioned Displaying subregion in embodiment) when, the displaying subregion according to belonging to the slide pops up corresponding prompting frame.
By the above embodiment of the present invention, to be shown to the first data having shown that using the second time granularity, Single-click operation, double click operation or slide can be performed in the displaying subregion for showing first data, obtains operation The affiliated corresponding prompting frame of displaying subregion, and pass through prompting frame realization and the second time was used to the first data having shown that Granularity is shown.By above-described embodiment, the period without resetting display data manually by time control is (corresponding Time attribute in above-described embodiment) and time granularity, it only need to be by shirtsleeve operation, i.e., when being realized by prompting frame by second Between granularity show the second data effect, data displaying it is easy to operate, efficient.
In the above embodiment of the present invention, the first behaviour to the displaying subregion execution in data display area is being obtained While work, method for exhibiting data can also include:The query object of triggering displaying subregion;When acquisition query object is corresponding Between the option of attribute and one or more second time granularities.
Wherein, each displaying subregion can correspond to a query object.
Specifically, while the first operation to the displaying subregion execution in data display area is got, pass through The query object in the displaying subregion is triggered, obtains the corresponding time attribute of the query object and one or more second times The option of granularity.
It can include preset query function in above-mentioned query object, be stored with and the exhibition in the preset query function Show the related presupposed information of the first data shown in subregion, which can include time attribute and one or more The option of second time granularity.
By above-described embodiment, the period without resetting display data manually by time control is (corresponding above-mentioned Time attribute in embodiment) and time granularity, only it need to obtain the inquiry by triggering the query object in the displaying subregion The option of the corresponding time attribute of object and one or more second time granularities, and by the time attribute and one or more the The option of two time granularities is illustrated in prompting frame, you can is realized by prompting frame and is shown the second data by the second time granularity Effect, data are shown easy to operate, efficient.
In an optional embodiment of the present invention, second of the time shaft execution to data display area is being got After operation, location information is determined according to execution position of second operation, and generate carry the displaying of the location information please It asks.
The second above-mentioned operation can be double click operation.
It should be further noted that if location information is coordinate information, wherein it is determined that the time pointed by location information Attribute can include:Obtain the time axial coordinate of the corresponding data display area of coordinate information;It determines belonging to time axial coordinate Time range obtains time attribute.
Specifically, when location information is coordinate information, the time axial coordinate of location information is obtained from the coordinate information, And determine the time range belonging to the time axial coordinate, so as to obtain time attribute.
In above-described embodiment, each time attribute corresponds to a preset time range, when time shaft coordinate is fallen at some When in time range, it is determined that the time attribute pointed by the location information is time attribute corresponding with the time range.
Statistical chart as shown in Figure 2, where the 2014/03/01-2014/03/31 on the time shaft for double-clicking the statistical chart Position when, according to the displaying request corresponding prompting frame is shown on statistical chart, wherein, shown in the prompting frame when Between attribute be:March.
By the above embodiment of the present invention, to be shown to the first data having shown that using the second time granularity, It can be double-clicked on the time shaft of data display area at the corresponding time axial coordinate of first data, according to the double click operation Generation displaying request, then acquisition and the corresponding prompting frame of displaying request, and the above-mentioned time is shown in the prompting frame Attribute.It, only need to be by simple double click operation, i.e., without manually selecting date and time granularity again by above-described embodiment The effect that second data are shown according to the second time granularity can be realized by prompting frame, data are shown easy to operate, Data are shown efficient.
In the above-described embodiments, each time attribute corresponds to a preset time range, believes in location information for coordinate In the case of breath, the time range belonging to the time axial coordinate of location information is judged, you can determine pointed by the location information Time attribute.By above-described embodiment, the time attribute pointed by location information can be accurately determined, so as in prompting frame Display meets the correct time attribute of displaying request.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions It is performed in computer system, although also, show logical order in flow charts, it in some cases, can be with not The sequence being same as herein performs shown or described step.
Fig. 3 is the schematic diagram of data displaying device according to embodiments of the present invention, as shown in figure 3, the data show device It can include:First acquisition module 10, the first display module 30, the second acquisition module 50 and the second display module 70.
Wherein, the first acquisition module 10 is asked for obtaining the displaying generated in data display area, wherein, data exhibition It is the region that the first data are shown according to first time granularity to show region;First display module 30 is right for showing displaying request institute The prompting frame answered, wherein, prompting frame is used to indicate the option and time attribute of one or more second time granularities;Second obtains Module 50 is used to obtain the second data according to time attribute and the second selected time granularity;Second display module 70 is used for basis Second time granularity shows the second data in data display area.
Using the embodiment of the present invention, when needing to be shown the data having shown that using other times granularity, on boundary Displaying and the corresponding prompting frame of displaying request that the first acquisition module is got, the prompting shown according to the first display module on face Time attribute indicated by frame and the second selected time granularity, the second acquisition module obtain the time attribute and selected automatically Corresponding second data of second time granularity, then the second display module second data are illustrated according to the second time granularity In data display area.In the above-described embodiments, it is (right without resetting the period of display data manually by time control Answer the time attribute in above-described embodiment) and time granularity, according to the time attribute indicated by prompting frame and the second time granularity The second data can be obtained, it is easy to operate in the embodiment.Through the embodiment of the present invention, it solves and is based in the prior art The data that have shown that carry out cumbersome during the data displaying of other times granularity, the problem of causing the efficiency that data are shown low, It is easy to operate, improve the efficiency of data displaying.
Specifically, after the displaying generated in data display area request is got, show that displaying request institute is right The prompting frame answered, wherein, the option of time attribute and the second time granularity is shown in the prompting frame, can be selected by prompting frame Fixed second time granularity, then obtains the second data, and according to the choosing according to the time attribute and the second selected time granularity The second fixed time granularity shows the second data got in data display area.
In an optional embodiment of the present invention, the first acquisition module can obtain what is generated in data display area Displaying request, and the location information that the displaying carried in being asked according to displaying is asked determines time attribute.
Data display area in above-described embodiment can be statistical chart;First time granularity can be year, the moon, week or Day;Second time granularity can be year, the moon, week or day.
Further, the data information of the second data can also be shown in prompting frame.
According to the above embodiment of the present invention, the second acquisition module can include:Generation module, for according to time attribute and Selected the second time granularity generation data query signal;Read module, for being read from database using data query signal The second data are taken, wherein, database can include local data base and/or remote data base.
By the above embodiment of the present invention, after first time granularity display data has been pressed, to the number to having shown that According to the second time granularity is used to be shown, the option of the second time granularity in prompting frame need to be only clicked, without passing through Time control resets period (time attribute in corresponding above-described embodiment) and the time granularity of display data manually, leads to The second data can be obtained according to time attribute and the second time granularity by crossing prompting frame, easy to operate, number in the embodiment According to the efficient of displaying.
In the above embodiment of the present invention, the first acquisition module can include:Third acquisition module, for obtaining to data The first operation that displaying subregion in display area performs, and displaying request is generated, wherein, data display area is according to first Time granularity can include one of operations described below using multiple displaying sub-district the first data of domain views, the first operation:Single-click operation, Double click operation and slide.
Specifically, single-click operation, double click operation or cunning are performed in the displaying subregions of the first data when showing to have at one During dynamic operation, after the operation of execution is got, the displaying request in above-described embodiment is generated.
Above-mentioned slide can be the operation that finger streaks the operation of touch screen or mouse streaks screen.
By the above embodiment of the present invention, to be shown to the first data having shown that using the second time granularity, Single-click operation, double click operation or slide can be performed in the displaying subregion for showing first data, then basis The operation generation displaying request of execution, acquisition and the corresponding prompting frame of displaying request, and pass through the prompting frame and realize to having opened up The first data shown are shown using the second time granularity.By above-described embodiment, without by time control manually again Period (time attribute in corresponding above-described embodiment) and the time granularity of display data are set, it only need to be by simply grasping Make, i.e., the effect that the second data are shown by the second time granularity, easy to operate, the effect of data displaying are realized by prompting frame Rate is high.
In the above embodiment of the present invention, the first acquisition module can also include:First acquisition submodule, for acquisition pair The first operation that displaying subregion in data display area performs, wherein, data display area makes according to first time granularity With multiple displaying sub-district the first data of domain views, the first operation can include one of operations described below:Single-click operation, double click operation and Slide;First generation submodule for determining location information according to the execution position of the first operation, and generates displaying and asks It asks.
Specifically, single-click operation, double click operation or cunning are performed in the displaying subregions of the first data when showing to have at one During dynamic operation, after the operation of execution is got, the displaying request in above-described embodiment is generated.
Above-mentioned slide can be the operation that finger streaks the operation of touch screen or mouse streaks screen.
By the above embodiment of the present invention, to be shown to the first data having shown that using the second time granularity, Single-click operation, double click operation or slide can be performed in the displaying subregion for showing first data, obtains and is somebody's turn to do Corresponding prompting frame is operated, and passes through prompting frame realization and the first data having shown that is opened up using the second time granularity Show.By above-described embodiment, without resetting period (corresponding above-described embodiment of display data manually by time control In time attribute) and time granularity, need to only be realized by prompting frame and shown by the second time granularity by shirtsleeve operation The effect of second data, data are shown easy to operate, efficient.
In the above-described embodiments, the same of the first operation to the displaying subregion execution in data display area is being obtained When, data displaying device can also include:Trigger module, for triggering the query object of displaying subregion;4th acquisition module, For obtaining the option of the corresponding time attribute of query object and one or more second time granularities.
Wherein, each displaying subregion can correspond to a query object.
Specifically, while the first operation to the displaying subregion execution in data display area is got, pass through The query object in the displaying subregion is triggered, obtains the corresponding time attribute of the query object and one or more second times The option of granularity.
It can include preset query function in above-mentioned query object, be stored with and the exhibition in the preset query function Show the related presupposed information of the first data shown in subregion, which can include time attribute and one or more The option of second time granularity.
By above-described embodiment, the period without resetting display data manually by time control is (corresponding above-mentioned Time attribute in embodiment) and time granularity, only it need to obtain the inquiry by triggering the query object in the displaying subregion The option of the corresponding time attribute of object and one or more second time granularities, and by the time attribute and one or more the The option of two time granularities is illustrated in prompting frame, you can is realized by prompting frame and is shown the second data by the second time granularity Effect, data are shown easy to operate, efficient.
In an optional embodiment of the present invention, the first acquisition module can also include:Second acquisition submodule is used In the second operation for obtaining the time shaft execution to data display area;First determining module, for holding according to the second operation Row location determination location information;Second generation submodule, for generating displaying request according to location information.
Specifically, when performing the second operation on the time shaft of data display area, according to the execution position of the second operation Determine the location information in above-described embodiment, then generation carries the displaying request of the location information.
The second above-mentioned operation can be double click operation.
If it should be further noted that location information be coordinate information, wherein, the first acquisition module can include:The Three acquisition submodules, for obtaining the time axial coordinate of the corresponding data display area of coordinate information;Second determining module, is used for It determines the time range belonging to time axial coordinate, obtains time attribute.
Specifically, when location information is coordinate information, the time axial coordinate of location information is obtained from the coordinate information, And determine the time range belonging to the time axial coordinate, so as to obtain time attribute.
In above-described embodiment, each time attribute corresponds to a preset time range, when time shaft coordinate is fallen at some When in time range, it is determined that the time attribute pointed by the location information is time attribute corresponding with the time range.
Modules provided in the present embodiment are identical with the application method that the corresponding step of embodiment of the method is provided, should It can also be identical with scene.It is noted, of course, that the scheme that above-mentioned module is related to can be not limited in embodiment of the method Content and scene, and above-mentioned module may operate in terminal or mobile terminal, can pass through software or hardware realization.
It can be seen from the above description that the present invention realizes following technique effect:
Using the embodiment of the present invention, when needing to be shown the data having shown that using other times granularity, on boundary The corresponding prompting frame of displaying request with getting is shown on face, according to the time attribute indicated by prompting frame and selected second Time granularity obtains the time attribute the second data corresponding with the second selected time granularity automatically, then second counts this It is illustrated in data display area according to according to the second time granularity.In the above-described embodiments, without being weighed manually by time control The period (time attribute in corresponding above-described embodiment) of new setting display data and time granularity, according to indicated by prompting frame Time attribute and the second time granularity can obtain the second data, it is easy to operate in the embodiment.By of the invention real Example is applied, it is cumbersome when solving in the prior art based on the data displaying of data progress other times granularity having shown that, it leads The problem of causing the efficiency of data displaying low, it is easy to operate, improve the efficiency of data displaying.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general Computing device realize that they can concentrate on single computing device or be distributed in multiple computing devices and be formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored In the storage device by computing device come perform either they are fabricated to respectively each integrated circuit modules or by they In multiple modules or step be fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific Hardware and software combines.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, that is made any repaiies Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of method for exhibiting data, which is characterized in that including:
The displaying request generated in data display area is obtained, wherein, the data display area is according to first time grain The region of degree the first data of displaying, the displaying request are generated by performing the first operation, are taken in the displaying request With location information, the location information is is generated according to the execution position of the described first operation;
Show the corresponding prompting frame of the displaying request, wherein, the prompting frame is used to indicate one or more second times The option and time attribute of granularity, the time attribute are the time attribute that the location information is directed toward;
The second data are obtained according to the time attribute and selected second time granularity;
Second data are shown in the data display area according to second time granularity.
2. method for exhibiting data according to claim 1, which is characterized in that according to the time attribute and it is selected described in Second time granularity obtains the second data and includes:
Data query signal is generated according to the time attribute and selected second time granularity;
Second data are read from database using the data query signal,
Wherein, the database includes local data base and/or remote data base.
3. method for exhibiting data according to claim 1, which is characterized in that obtain the exhibition generated in data display area Show that request includes:
The first operation performed to the displaying subregion in the data display area is obtained, and generates the displaying request,
Wherein, the data display area is used according to the first time granularity the described in multiple displaying sub-district domain views One data, first operation include one of operations described below:Single-click operation, double click operation and slide.
4. method for exhibiting data according to claim 3, which is characterized in that obtaining in the data display area While showing the first operation that subregion performs, the method for exhibiting data further includes:
Trigger the query object of the displaying subregion;
Obtain the option of the corresponding time attribute of the query object and one or more of second time granularities.
5. method for exhibiting data as claimed in any of claims 1 to 4, which is characterized in that in the prompting frame also Show the data information of second data.
6. a kind of data show device, which is characterized in that including:
First acquisition module, for obtaining the displaying generated in data display area request, wherein, the data display area To show the region of the first data according to first time granularity, the displaying request is generated by performing the first operation, Location information is carried in the displaying request, the location information is is generated according to the execution position of the described first operation 's;
First display module, for showing the corresponding prompting frame of the displaying request, wherein, the prompting frame is used to indicate one The option and time attribute of a or multiple second time granularities, the time attribute belong to for the time that the location information is directed toward Property;
Second acquisition module, for obtaining the second data according to the time attribute and selected second time granularity;
Second display module, for showing second number in the data display area according to second time granularity According to.
7. data according to claim 6 show device, which is characterized in that second acquisition module includes:
Generation module, for generating data query signal according to the time attribute and selected second time granularity;
Read module, for reading second data from database using the data query signal,
Wherein, the database includes local data base and/or remote data base.
8. data according to claim 6 show device, which is characterized in that first acquisition module includes:
Third acquisition module, for obtaining the first operation performed to the displaying subregion in the data display area, and it is raw It is asked into the displaying,
Wherein, the data display area is used according to the first time granularity the described in multiple displaying sub-district domain views One data, first operation include one of operations described below:Single-click operation, double click operation and slide.
9. data according to claim 8 show device, which is characterized in that are obtaining in the data display area While showing the first operation that subregion performs, the data displaying device further includes:
Trigger module, for triggering the query object of the displaying subregion;
4th acquisition module, for obtain the corresponding time attribute of the query object and it is one or more of second when Between granularity option.
10. the data displaying device according to any one in claim 6 to 9, which is characterized in that in the prompting frame also Show the data information of second data.
CN201410642270.2A 2014-11-13 2014-11-13 Method for exhibiting data and device Active CN104391898B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410642270.2A CN104391898B (en) 2014-11-13 2014-11-13 Method for exhibiting data and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410642270.2A CN104391898B (en) 2014-11-13 2014-11-13 Method for exhibiting data and device

Publications (2)

Publication Number Publication Date
CN104391898A CN104391898A (en) 2015-03-04
CN104391898B true CN104391898B (en) 2018-06-26

Family

ID=52609802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410642270.2A Active CN104391898B (en) 2014-11-13 2014-11-13 Method for exhibiting data and device

Country Status (1)

Country Link
CN (1) CN104391898B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893411A (en) * 2015-11-20 2016-08-24 乐视致新电子科技(天津)有限公司 Statistic data processing method and apparatus
CN106230659A (en) * 2016-07-29 2016-12-14 上海爱数信息技术股份有限公司 A kind of method for exhibiting data, system and server
CN106407294A (en) * 2016-08-30 2017-02-15 惠州学院 Method and device for displaying test data of user
CN108073558A (en) * 2016-11-09 2018-05-25 北京国双科技有限公司 data display method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004063943A2 (en) * 2003-01-15 2004-07-29 Luke Leonard Martin Porter Time in databases and applications of databases
CN102196094A (en) * 2011-04-26 2011-09-21 宇龙计算机通信科技(深圳)有限公司 Information display method and device
CN102880695A (en) * 2012-09-19 2013-01-16 北京国双科技有限公司 Method and device for determining click location in website
CN103823813A (en) * 2012-11-19 2014-05-28 腾讯科技(深圳)有限公司 Method and device for processing history operation records of electronic terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102426570B (en) * 2010-12-17 2013-03-13 百度在线网络技术(北京)有限公司 Method and equipment for demonstrating influencing factors in statistical chart

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004063943A2 (en) * 2003-01-15 2004-07-29 Luke Leonard Martin Porter Time in databases and applications of databases
CN102196094A (en) * 2011-04-26 2011-09-21 宇龙计算机通信科技(深圳)有限公司 Information display method and device
CN102880695A (en) * 2012-09-19 2013-01-16 北京国双科技有限公司 Method and device for determining click location in website
CN103823813A (en) * 2012-11-19 2014-05-28 腾讯科技(深圳)有限公司 Method and device for processing history operation records of electronic terminal

Also Published As

Publication number Publication date
CN104391898A (en) 2015-03-04

Similar Documents

Publication Publication Date Title
Wilber et al. Cost-effective hits for relative similarity comparisons
CN106528884B (en) A kind of information exhibiting pictures generation method and device
CN104391898B (en) Method for exhibiting data and device
CN102880688B (en) A kind of method for webpage is estimated, device and equipment
JP2019510283A (en) Information processing method, server, and nonvolatile storage medium
CN110210883A (en) The recognition methods of team control account, device, server and storage medium
CN104636142B (en) A kind of information processing method and electronic equipment
CN104967607A (en) Information processing method, terminal and server
CN108281012B (en) Display method and device of traffic flow data, storage medium and electronic device
CN106611366A (en) Method and device for automatically selecting article
CN105139256B (en) Time Index Chart display methods and device
CN110472154A (en) A kind of resource supplying method, apparatus, electronic equipment and readable storage medium storing program for executing
CN103377263B (en) A kind of screening technique of business object and device
CN105488149A (en) Data processing method and device
RU2622850C2 (en) Method and server for processing product identifiers and machine-readable storage medium
CN108259638A (en) Personal group list intelligent sorting method, intelligent terminal and storage medium
PL1714429T3 (en) Terminal, method and computer program product for interacting with a physical entity
CN106204087A (en) For the method and apparatus selecting advertising media
CN106156369A (en) Multi-layer subordinate method for exhibiting data and device
CN104503570B (en) User behavior data processing system and equipment based on Panoramic Warping
CN110045907A (en) Information display method and device
CN106649373A (en) Thermodynamic diagram display method and device
CN103995654A (en) Chart granularity adjusting method and device
CN108710656A (en) A kind of content delivery method and device
CN106331689B (en) Object apparatus is positioned when positioning object method and VR video playings when VR video playings

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Date display method and device

Effective date of registration: 20190531

Granted publication date: 20180626

Pledgee: Shenzhen Black Horse World Investment Consulting Co.,Ltd.

Pledgor: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

Registration number: 2019990000503

PE01 Entry into force of the registration of the contract for pledge of patent right
CP02 Change in the address of a patent holder

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Patentee after: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A

Patentee before: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder
PP01 Preservation of patent right

Effective date of registration: 20240604

Granted publication date: 20180626