CN104391898A - Data showing method and device - Google Patents

Data showing method and device Download PDF

Info

Publication number
CN104391898A
CN104391898A CN201410642270.2A CN201410642270A CN104391898A CN 104391898 A CN104391898 A CN 104391898A CN 201410642270 A CN201410642270 A CN 201410642270A CN 104391898 A CN104391898 A CN 104391898A
Authority
CN
China
Prior art keywords
data
time
time granularity
displaying
data display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410642270.2A
Other languages
Chinese (zh)
Other versions
CN104391898B (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

Abstract

The invention discloses a data showing method and a data showing device The data showing method includes the steps of obtaining a showing request generated within a data showing area, wherein the data showing area is an area where the first data are shown according to a first time granularity; showing a prompt box corresponding to the showing request, wherein the prompt box is used for indicating the option and the time property of one or more second time granularities; obtaining second data according to the time property and the selected second time granularity; showing the second data within the data showing area according to the second time granularity. By applying the method and the device, the problem of low efficiency of data showing caused by tedious operations in the data showing of other time granularities based on the shown data in the prior art is solved; the operation is convenient and rapid; the data showing efficiency is improved.

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 adding up the data in set time section; need according to time display data and draw statistical graph; in statistical graph; usually can monthly/week/day equal time granularity display data; when needing to use other times granularity to carry out data display to the data in the statistical graph of certain time granularity, mapping operation can be more loaded down with trivial details.Such as, after the data of certain year were shown by 12 month, if only want show May data and by the data in May by week or per diem show, needing first to reset time shaft by time control is May, and a new time granularity (as by week or per diem) is set, then from database, inquire about the data in May, and repaint statistical graph.
Method for exhibiting data of the prior art, for by certain time granularity (as, the data of monthly) showing, if want to the data of this displaying carry out other time granularity (as, by week or per diem) data display, then need the time period and the time granularity that reset display data, and again carry out data query according to this time period reset and time granularity and redraw statistical graph, complex operation, causes the efficiency of data display low.
For 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, not yet propose effective solution at present.
Summary of the invention
For complex operation when carrying out the data display of other times granularity based on the data of having shown in correlation technique, cause the inefficient problem of data display, at present effective solution is not yet proposed, for this reason, fundamental purpose of the present invention is to provide a kind of method for exhibiting data and device, to solve the problem.
To achieve these goals, according to an aspect of the present invention, provide a kind of method for exhibiting data, this method for exhibiting data comprises: obtain 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; Show the prompting frame corresponding to request, wherein, prompting frame is used to indicate option and the time attribute of one or more second time granularity; The second data are obtained according to time attribute and the second selected time granularity; In data display region, the second data are shown according to the second time granularity.
Further, obtain the second data according to time attribute and the second selected time granularity to 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 comprises local data base and/or remote data base.
Further, obtain the displaying request generated in data display region to 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 comprises one of following operation: single-click operation, double click operation and slide.
Further, while obtaining the first operation performed the displaying subregion in data display area, method for exhibiting data also comprises: trigger the query object showing subregion; Obtain the option of time attribute corresponding to query object and one or more second time granularity.
Further, the data message of the second data is also shown in prompting frame.
To achieve these goals, according to a further aspect in the invention, provide a kind of data display device, this data display device comprises: the first acquisition module, for obtaining 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; First display module, for showing the prompting frame corresponding to request, wherein, prompting frame is used to indicate option and the time attribute of one or more second time granularity; Second acquisition module, for obtaining the second data according to time attribute and the second selected time granularity; Second display module, for showing the second data according to the second time granularity in data display region.
Further, the second acquisition module comprises: 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 comprises local data base and/or remote data base.
Further, first acquisition module comprises: 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 comprises one of following operation: single-click operation, double click operation and slide.
Further, while obtaining the first operation performed the displaying subregion in data display area, data display device also comprises: 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.
Further, the data message of the second data is also shown in prompting frame.
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.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the process flow diagram of the method for exhibiting data according to the embodiment of the present invention;
Fig. 2 is the statistical graph of a kind of optional data display according to the embodiment of the present invention; And
Fig. 3 is the schematic diagram of the data display device according to the embodiment of the present invention.
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.

Claims (10)

1. a method for exhibiting data, is characterized in that, comprising:
Obtain the displaying request generated in data display region, wherein, described data display region is the region showing the first data according to very first time granularity;
Show the described prompting frame shown corresponding to request, wherein, described prompting frame is used to indicate option and the time attribute of one or more second time granularity;
The second data are obtained according to described time attribute and selected described second time granularity;
In described data display region, described second data are shown according to described second time granularity.
2. method for exhibiting data according to claim 1, is characterized in that, obtains the second data comprise according to described time attribute and selected described second time granularity:
Data query signal is generated according to described time attribute and selected described second time granularity;
Use described data query signal from database, read described second data,
Wherein, described database comprises local data base and/or remote data base.
3. method for exhibiting data according to claim 1, is characterized in that, obtains the displaying request generated in data display region and comprises:
Obtain the first operation that the displaying subregion in described data display region is performed, and generate described displaying request,
Wherein, described data display region uses multiple described displaying subregion to show described first data according to described very first time granularity, and described first operation comprises one of following operation: single-click operation, double click operation and slide.
4. method for exhibiting data according to claim 3, is characterized in that, while obtaining the first operation performed the displaying subregion in described data display region, described method for exhibiting data also comprises:
Trigger the query object of described displaying subregion;
Obtain the option of described time attribute corresponding to described query object and described one or more second time granularity.
5. method for exhibiting data as claimed in any of claims 1 to 4, is characterized in that, also shows the data message of described second data in described prompting frame.
6. a data display device, is characterized in that, comprising:
First acquisition module, for obtaining the displaying request generated in data display region, wherein, described data display region is the region showing the first data according to very first time granularity;
First display module, for showing the described prompting frame shown corresponding to request, wherein, described prompting frame is used to indicate option and the time attribute of one or more second time granularity;
Second acquisition module, for obtaining the second data according to described time attribute and selected described second time granularity;
Second display module, for showing described second data according to described second time granularity in described data display region.
7. data display device according to claim 6, is characterized in that, described second acquisition module comprises:
Generation module, for generating data query signal according to described time attribute and selected described second time granularity;
Read module, for using described data query signal to read described second data from database,
Wherein, described database comprises local data base and/or remote data base.
8. data display device according to claim 6, is characterized in that, described first acquisition module comprises:
3rd acquisition module, for obtaining the first operation performed the displaying subregion in described data display region, and generates described displaying request,
Wherein, described data display region uses multiple described displaying subregion to show described first data according to described very first time granularity, and described first operation comprises one of following operation: single-click operation, double click operation and slide.
9. data display device according to claim 8, is characterized in that, while obtaining the first operation performed the displaying subregion in described data display region, described data display device also comprises:
Trigger module, for triggering the query object of described displaying subregion;
4th acquisition module, for obtaining the option of described time attribute corresponding to described query object and described one or more second time granularity.
10. according to the data display device in claim 6 to 9 described in any one, it is characterized in that, in described prompting frame, also show the data message of described 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 true CN104391898A (en) 2015-03-04
CN104391898B 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)

Cited By (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 (5)

* 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
CN102426570B (en) * 2010-12-17 2013-03-13 百度在线网络技术(北京)有限公司 Method and equipment for demonstrating influencing factors in statistical chart
CN103823813A (en) * 2012-11-19 2014-05-28 腾讯科技(深圳)有限公司 Method and device for processing history operation records of electronic terminal

Patent Citations (5)

* 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
CN102426570B (en) * 2010-12-17 2013-03-13 百度在线网络技术(北京)有限公司 Method and equipment for demonstrating influencing factors in statistical chart
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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
匿名: ""如何查看淘宝电子对账单"", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/15622F247AD41AFDFCBEA5F4.HTML》 *

Cited By (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

Also Published As

Publication number Publication date
CN104391898B (en) 2018-06-26

Similar Documents

Publication Publication Date Title
CN105005429B (en) A kind of method and terminal of terminal display picture
CN101867637A (en) Method and terminal for dynamically generating standby interface
CN110866133B (en) Information searching method, page display method, system and equipment
CN104636142B (en) A kind of information processing method and electronic equipment
CN108810637A (en) Video broadcasting method, device and terminal device
CN105468275A (en) Method and apparatus for performing operation on presented object
CN104391898A (en) Data showing method and device
CN103248705A (en) Server, client and video treatment method
CN105843477A (en) Event display method and device
CN108762628A (en) Page elements move display methods, device, terminal device and storage medium
CN105183853A (en) Method and device used for presenting label page
CN107104833A (en) A kind of method to set up of configuration information, source terminal equipment and target terminal equipment
CN104679391A (en) Icon display method and device of smart watch
CN113596555B (en) Video playing method and device and electronic equipment
CN104808891A (en) Page information processing method and device
CN104394478A (en) Method and player for playing video
CN113010738B (en) Video processing method, device, electronic equipment and readable storage medium
CN106789277B (en) User behavior determination method and device based on state machine model
CN105487769B (en) Media file display method and device and electronic equipment
CN105468747A (en) Recommendation information display method and device
CN104020854A (en) Information processing method and device
CN106155462A (en) A kind of interface alternation method and device
CN112698772A (en) Document template processing method and device and document creating method and device
CN109683798B (en) Text determination method, terminal and computer readable storage medium
CN111553749A (en) Activity push strategy configuration method and device

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 Guoshuang 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 Guoshuang Technology Co.,Ltd.

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

Patentee before: Beijing Guoshuang Technology Co.,Ltd.

CP02 Change in the address of a patent holder