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.