Embodiment
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in instructions of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged in the appropriate case, so as embodiments of the invention described herein can with except here diagram or describe those except order implement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
Fig. 1 is the process flow diagram of the method for exhibiting data according to the embodiment of the present invention, and the method comprises the steps: as shown in Figure 1
Step S102, obtains the displaying request generated in data display region.
Wherein, data display region is the region showing the first data according to very first time granularity.
Step S104, shows this prompting frame corresponding to displaying request.
Wherein, prompting frame is used to indicate option and the time attribute of one or more second time granularity
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 region.
Adopt the embodiment of the present invention, when needing to use other times granularity to show to the data of having shown, the prompting frame corresponding with the displaying request got is shown at interface, according to the time attribute indicated by prompting frame and the second selected time granularity, then these second data are illustrated in data display region according to the second time granularity by the second data that this time attribute of automatic acquisition is corresponding with the second selected time granularity.In the above-described embodiments, without the need to manually being reset time period (time attribute in corresponding above-described embodiment) and the time granularity of display data by time control, the second data can be obtained according to the time attribute indicated by prompting frame and the second time granularity, convenient to operation in this embodiment.By the embodiment of the present invention, solve complex operation when carrying out the data display of other times granularity based on the data of having shown in prior art, cause the inefficient problem of data display, convenient to operation, improve the efficiency of data display.
Particularly, after getting the displaying request generated in data display region, show this prompting frame corresponding to displaying request, wherein, the option of time attribute and the second time granularity is shown in this prompting frame, the second time granularity can be selected by prompting frame, then obtain the second data according to this time attribute and the second selected time granularity, and in data display region, show according to this second selected time granularity the second data got.
In an optional embodiment of the present invention, after obtaining the displaying request generated in data display region, can by showing that the time attribute pointed by positional information determination positional information of request is shown in the generation of carrying in request.
Data display region in above-described embodiment can be statistical graph; Very 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 the statistical graph of a kind of optional data display according to the embodiment of the present invention.The above embodiment of the present invention is introduced in detail below in conjunction with Fig. 2.
As shown in Figure 2, data display region can be the statistical graph shown in Fig. 2, in this statistical graph, monthly illustrate 3,4, the start number of users in May, also, in this statistical graph, very first time granularity is the moon.Particularly, the start number of users of 2014/03/01-2014/03/31 (i.e. March), the start number of users of 2014/04/01-2014/04/30 (i.e. April) and the start number of users of 2014/05/01-2014/05/31 (i.e. May) is illustrated in statistical graph.
In the above embodiment of the present invention, after getting the displaying request generated on statistical graph, show the prompting frame that this displaying request is corresponding, as, Area generation at the data place in March shows request, then in this prompting frame, displaying time attribute is: March, can also show the option of one or more second time granularity in this prompting frame, as: show by week and per diem show, user can select the second time granularity by the option clicking this second time granularity.
By the above embodiment of the present invention, after acquisition time attribute and the second selected time granularity, the second data can be obtained according to time attribute and the second selected time granularity, and in data display region, show the second data according to the second time granularity.In the above-described embodiments, the second data can be obtained according to time attribute and the second time granularity by prompting frame, easy and simple to handle, efficiency is high.
Further, can also show the data message of the second data in prompting frame, data message can be description to data or explain information.In prompting frame in statistical graph as shown in Figure 2, except showing the option of time attribute and the second time granularity, also show data message (the start number of users namely shown in Fig. 2: 58,344) of the second data (i.e. the data in March).
According to the above embodiment of the present invention, obtaining the second data according to time attribute and the second selected time granularity can comprise: generate data query signal according to time attribute and the second selected time granularity; Usage data request signal reads the second data from database, and wherein, database can comprise local data base and/or remote data base.
In the above-described embodiments, after the data illustrating March to May by very first time granularity, if want by the data in March according to the second time granularity (as, week) display, click in prompting frame shown in only needing in fig. 2 and show by week, namely determine that the second time granularity is for week by this prompting frame.Click after showing by week, a data query signal will be sent to local data base and/or remote data base, and wherein, in this data query signal, carry above-mentioned time attribute and the second time granularity; After the second data (i.e. the data in March) using this data query signal to read from local data base and/or remote data base to meet above-mentioned time attribute and the second time granularity, the statistical graph of front end can redraw according to the second time granularity, shows the data in March to be pressed Zhou Jinhang statistics.
When clicking the per diem displaying in the prompting frame in Fig. 2, the implementation procedure of this disposal route is shown consistent with click by week, does not repeat them here.
According to the above embodiment of the present invention, when data display region is the statistical graph by showing in week, to per diem display data, its processing procedure is consistent by the processing procedure of showing in week with above-mentioned click, namely, click the region at the data place in this week will per diem shown in statistical graph, by ejection prompting frame, the time attribute having the data in this week is shown in this prompting frame, the data message of these data, and second time granularity option (as, per diem show), only need click in this prompting frame and per diem show, namely determine that the second time granularity is day by this prompting frame.After click is per diem shown, a data query signal will be sent to local data base and/or remote data base, when return according to this data query signal acquisition to the second data (data in this week namely will per diem shown) after, the statistical graph of front end can redraw according to the second time granularity, shows the data in this week per diem to be carried out statistics.
Show and per diem displaying (time granularity also namely provided is week and day) by week although show in Fig. 2 example, but it will be appreciated by those skilled in the art that, the time granularity shown in each prompting frame, can further include year and the moon (namely increase in prompting frame in the drawings and show per year and monthly show), the fast fallback from little time granularity to large time granularity can be realized like this.Even the span year of the time attribute of the time attribute of current display data and target data, so also can by showing fast fallback per year, the time attribute in select target data place time and time granularity complete the displaying of target data more afterwards, still convenience more faster than traditional operation mode.Show which time granularity as providing in prompting frame, those skilled in the art can select according to factors such as the use scenes of reality and frequencies of utilization, repeat no more herein.
Pass through the above embodiment of the present invention, after pressing very first time granularity display data, show to use the second time granularity to the data of having shown, only need click the option of the second time granularity in prompting frame, without the need to manually being reset time period (time attribute in corresponding above-described embodiment) and the time granularity of display data by time control, the second data can be obtained according to time attribute and the second time granularity by prompting frame, convenient to operation in this embodiment, the efficiency of data display is high.
State on the invention in embodiment, obtain the displaying request generated in data display region can comprise: obtain the first operation performed the displaying subregion in data display area, and generate displaying request, wherein, data display region uses multiple displaying subregion to show the first data according to very first time granularity, and the first operation can comprise one of following operation: single-click operation, double click operation and slide.
Particularly, when performing single-click operation, double click operation or slide in the displaying subregion that a displaying has the first data, after the operation getting execution, generate the displaying request in above-described embodiment.
Above-mentioned slide can be the operation that finger streaks touch-screen, also can be the operation that mouse streaks screen.
Pass through the above embodiment of the present invention, show to use the second time granularity to first data of having shown, single-click operation, double click operation or slide can be performed in the displaying subregion showing these the first data, then generate according to the operation performed and show request, obtain the prompting frame corresponding with this displaying request, and realize using the second time granularity to show to first data of having shown by this prompting frame.Pass through above-described embodiment, without the need to manually being reset time period (time attribute in corresponding above-described embodiment) and the time granularity of display data by time control, only shirtsleeve operation need be passed through, namely realize the effect of to show the second data by the second time granularity by prompting frame, data display convenient to operation, efficiency is high.
In an optional embodiment of the present invention, after obtaining the first operation that the displaying subregion in data display area is performed, according to the executing location determination positional information of the first operation, and the displaying request carrying this positional information can be generated.
Particularly, when performing single-click operation, double click operation or slide in the displaying subregion that a displaying has the first data, determine above-mentioned positional information according to the executing location of single-click operation, double click operation or slide, then generate the displaying request carrying this positional information.
Such as, in the statistical graph shown in Fig. 2, when clicking in statistical graph region (the displaying subregion namely in above-described embodiment) of the data showing March, the displaying subregion belonging to this single-click operation ejects prompting frame corresponding with it.
And for example, when mouse streaks region (the displaying subregion namely in above-described embodiment) at the data place in the March shown in (namely above-mentioned slide) Fig. 2, the displaying subregion belonging to this slide ejects prompting frame corresponding with it.
Pass through the above embodiment of the present invention, show to use the second time granularity to first data of having shown, single-click operation, double click operation or slide can be performed in the displaying subregion showing these the first data, the prompting frame that displaying subregion belonging to acquisition operation is corresponding, and realize using the second time granularity to show to first data of having shown by this prompting frame.Pass through above-described embodiment, without the need to manually being reset time period (time attribute in corresponding above-described embodiment) and the time granularity of display data by time control, only shirtsleeve operation need be passed through, namely realize the effect of to show the second data by the second time granularity by prompting frame, data display convenient to operation, efficiency is high.
In the above embodiment of the present invention, while obtaining the first operation performed the displaying subregion in data display area, method for exhibiting data can also comprise: trigger the query object showing subregion; Obtain the option of time attribute corresponding to query object and one or more second time granularity.
Wherein, each displaying subregion can a corresponding query object.
Particularly, while getting the first operation that the displaying subregion in data display area is performed, by triggering the query object in this displaying subregion, the option of time attribute corresponding to this query object and one or more second time granularity is obtained.
Default query function can be comprised in above-mentioned query object, store the presupposed information relevant with first data of showing in this displaying subregion in this query function preset, this presupposed information can comprise the option of time attribute and one or more second time granularity.
Pass through above-described embodiment, without the need to manually being reset time period (time attribute in corresponding above-described embodiment) and the time granularity of display data by time control, only need by triggering the query object in this displaying subregion, obtain the option of time attribute corresponding to this query object and one or more second time granularity, and the option of this time attribute and one or more second time granularity is illustrated in prompting frame, namely realize the effect of to show the second data by the second time granularity by prompting frame, data display convenient to operation, efficiency is high.
In an optional embodiment of the present invention, after getting the second operation that the time shaft of data display area is performed, according to the executing location determination positional information of this second operation, and generate the displaying request carrying this positional information.
The second above-mentioned operation can be double click operation.
Need to further illustrate, if positional information is coordinate information, wherein, determine that the time attribute pointed by positional information can comprise: the time shaft coordinate obtaining data display region corresponding to coordinate information; Determine the time range belonging to time shaft coordinate, obtain time attribute.
Particularly, when positional information is coordinate information, from this coordinate information, obtain the time shaft coordinate of positional information, and determine this time range belonging to time shaft coordinate, thus obtain time attribute.
In above-described embodiment, the time range that each time attribute correspondence one is default, when time shaft coordinate drops in certain time range, then determines that the time attribute pointed by this positional information is the time attribute corresponding with this time range.
Statistical graph as shown in Figure 2, when the position at the 2014/03/01-2014/03/31 place on the time shaft double-clicking this statistical graph, on statistical graph, show prompting frame corresponding with it according to this displaying request, wherein, the time attribute shown in this prompting frame is: March.
Pass through the above embodiment of the present invention, show to use the second time granularity to first data of having shown, the time shaft coordinate place that these the first data are corresponding can be double-clicked on the time shaft of data display area, request is shown in generation according to this double click operation, then obtain the prompting frame corresponding with this displaying request, and show above-mentioned time attribute in this prompting frame.Pass through above-described embodiment, without the need to manually option date and time granularity again, only by simple double click operation, namely need realize by prompting frame the effect showing these the second data according to the second time granularity, data display convenient to operation, the efficiency of data display is high.
In the above-described embodiments, the time range that each time attribute correspondence one is default, when positional information is coordinate information, judges the time range belonging to time shaft coordinate of positional information, can determine the time attribute pointed by this positional information.By above-described embodiment, the time attribute pointed by positional information can be determined exactly, so that display meets the correct time attribute of showing request in prompting frame.
It should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the process flow diagram of accompanying drawing, and, although show logical order in flow charts, but in some cases, can be different from the step shown or described by order execution herein.
Fig. 3 is the schematic diagram of the data display device according to the embodiment of the present invention, and as shown in Figure 3, this data display device can comprise: the first acquisition module 10, first display module 30, second acquisition module 50 and the second display module 70.
Wherein, the first acquisition module 10 is for obtaining the displaying request generated in data display region, and wherein, data display region is the region showing the first data according to very first time granularity; First display module 30 is for showing the prompting frame corresponding to request, and wherein, prompting frame is used to indicate option and the time attribute of one or more second time granularity; Second acquisition module 50 is for obtaining the second data according to time attribute and the second selected time granularity; Second display module 70 for showing the second data according to the second time granularity in data display region.
Adopt the embodiment of the present invention, when needing to use other times granularity to show to the data of having shown, the prompting frame corresponding with the displaying request that the first acquisition module gets is shown at interface, time attribute indicated by the prompting frame shown according to the first display module and the second selected time granularity, the second data that second this time attribute of acquisition module automatic acquisition is corresponding with the second selected time granularity, then these second data are illustrated in data display region according to the second time granularity by the second display module.In the above-described embodiments, without the need to manually being reset time period (time attribute in corresponding above-described embodiment) and the time granularity of display data by time control, the second data can be obtained according to the time attribute indicated by prompting frame and the second time granularity, convenient to operation in this embodiment.By the embodiment of the present invention, solve complex operation when carrying out the data display of other times granularity based on the data of having shown in prior art, cause the inefficient problem of data display, convenient to operation, improve the efficiency of data display.
Particularly, after getting the displaying request generated in data display region, show this prompting frame corresponding to displaying request, wherein, the option of time attribute and the second time granularity is shown in this prompting frame, the second time granularity can be selected by prompting frame, then obtain the second data according to this time attribute and the second selected time granularity, and in data display region, show according to this second selected time granularity the second data got.
In an optional embodiment of the present invention, the first acquisition module can obtain the displaying request generated in data display region, and according to showing the positional information determination time attribute of this displaying request of carrying in request.
Data display region in above-described embodiment can be statistical graph; Very 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 message 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 comprise: generation module, for generating data query signal according to time attribute and the second selected time granularity; Read module, reads the second data for usage data request signal from database, and wherein, database can comprise local data base and/or remote data base.
Pass through the above embodiment of the present invention, after pressing very first time granularity display data, show to use the second time granularity to the data of having shown, only need click the option of the second time granularity in prompting frame, without the need to manually being reset time period (time attribute in corresponding above-described embodiment) and the time granularity of display data by time control, the second data can be obtained according to time attribute and the second time granularity by prompting frame, convenient to operation in this embodiment, the efficiency of data display is high.
State on the invention in embodiment, first acquisition module can comprise: the 3rd acquisition module, for obtaining the first operation performed the displaying subregion in data display area, and generate displaying request, wherein, data display region uses multiple displaying subregion to show the first data according to very first time granularity, and the first operation can comprise one of following operation: single-click operation, double click operation and slide.
Particularly, when performing single-click operation, double click operation or slide in the displaying subregion that a displaying has the first data, after the operation getting execution, generate the displaying request in above-described embodiment.
Above-mentioned slide can be the operation that finger streaks touch-screen, also can be the operation that mouse streaks screen.
Pass through the above embodiment of the present invention, show to use the second time granularity to first data of having shown, single-click operation, double click operation or slide can be performed in the displaying subregion showing these the first data, then generate according to the operation performed and show request, obtain the prompting frame corresponding with this displaying request, and realize using the second time granularity to show to first data of having shown by this prompting frame.Pass through above-described embodiment, without the need to manually being reset time period (time attribute in corresponding above-described embodiment) and the time granularity of display data by time control, only shirtsleeve operation need be passed through, namely realize the effect of to show the second data by the second time granularity by prompting frame, data display convenient to operation, efficiency is high.
State on the invention in embodiment, first acquisition module can also comprise: first obtains submodule, for obtaining the first operation performed the displaying subregion in data display area, wherein, data display region uses multiple displaying subregion to show the first data according to very first time granularity, and the first operation can comprise one of following operation: single-click operation, double click operation and slide; First generates submodule, for the executing location determination positional information according to the first operation, and generates displaying request.
Particularly, when performing single-click operation, double click operation or slide in the displaying subregion that a displaying has the first data, after the operation getting execution, generate the displaying request in above-described embodiment.
Above-mentioned slide can be the operation that finger streaks touch-screen, also can be the operation that mouse streaks screen.
Pass through the above embodiment of the present invention, show to use the second time granularity to first data of having shown, single-click operation, double click operation or slide can be performed in the displaying subregion showing these the first data, obtain the prompting frame corresponding with this operation, and realize using the second time granularity to show to first data of having shown by this prompting frame.Pass through above-described embodiment, without the need to manually being reset time period (time attribute in corresponding above-described embodiment) and the time granularity of display data by time control, only shirtsleeve operation need be passed through, namely realize the effect of to show the second data by the second time granularity by prompting frame, data display convenient to operation, efficiency is high.
In the above-described embodiments, while obtaining the first operation performed the displaying subregion in data display area, data display device can also comprise: trigger module, for triggering the query object showing subregion; 4th acquisition module, for obtaining the option of time attribute corresponding to query object and one or more second time granularity.
Wherein, each displaying subregion can a corresponding query object.
Particularly, while getting the first operation that the displaying subregion in data display area is performed, by triggering the query object in this displaying subregion, the option of time attribute corresponding to this query object and one or more second time granularity is obtained.
Default query function can be comprised in above-mentioned query object, store the presupposed information relevant with first data of showing in this displaying subregion in this query function preset, this presupposed information can comprise the option of time attribute and one or more second time granularity.
Pass through above-described embodiment, without the need to manually being reset time period (time attribute in corresponding above-described embodiment) and the time granularity of display data by time control, only need by triggering the query object in this displaying subregion, obtain the option of time attribute corresponding to this query object and one or more second time granularity, and the option of this time attribute and one or more second time granularity is illustrated in prompting frame, namely realize the effect of to show the second data by the second time granularity by prompting frame, data display convenient to operation, efficiency is high.
In an optional embodiment of the present invention, the first acquisition module can also comprise: second obtains submodule, for obtaining the second operation performed the time shaft of data display area; First determination module, for the executing location determination positional information according to the second operation; Second generates submodule, shows request for generating according to positional information.
Particularly, when the time shaft in data display region performs the second operation, according to the positional information in executing location determination above-described embodiment of the second operation, then generate the displaying request carrying this positional information.
The second above-mentioned operation can be double click operation.
Need to further illustrate, if positional information is coordinate information, wherein, the first acquisition module can comprise: the 3rd obtains submodule, for obtaining the time shaft coordinate in data display region corresponding to coordinate information; Second determination module, for determining the time range belonging to time shaft coordinate, obtains time attribute.
Particularly, when positional information is coordinate information, from this coordinate information, obtain the time shaft coordinate of positional information, and determine this time range belonging to time shaft coordinate, thus obtain time attribute.
In above-described embodiment, the time range that each time attribute correspondence one is default, when time shaft coordinate drops in certain time range, then determines that the time attribute pointed by this positional information is the time attribute corresponding with this time range.
The modules provided in the present embodiment is identical with the using method that the corresponding step of embodiment of the method provides, application scenarios also can be identical.It is noted, of course, that the scheme that above-mentioned module relates to can be not limited to content in embodiment of the method and scene, and above-mentioned module may operate in terminal or mobile terminal, can pass through software or hardware implementing.
As can be seen from the above description, present invention achieves following technique effect:
Adopt the embodiment of the present invention, when needing to use other times granularity to show to the data of having shown, the prompting frame corresponding with the displaying request got is shown at interface, according to the time attribute indicated by prompting frame and the second selected time granularity, then these second data are illustrated in data display region according to the second time granularity by the second data that this time attribute of automatic acquisition is corresponding with the second selected time granularity.In the above-described embodiments, without the need to manually being reset time period (time attribute in corresponding above-described embodiment) and the time granularity of display data by time control, the second data can be obtained according to the time attribute indicated by prompting frame and the second time granularity, convenient to operation in this embodiment.By the embodiment of the present invention, solve complex operation when carrying out the data display of other times granularity based on the data of having shown in prior art, cause the inefficient problem of data display, convenient to operation, improve the efficiency of data display.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.