CN105279035A - Calendar task query method and calendar task query device - Google Patents

Calendar task query method and calendar task query device Download PDF

Info

Publication number
CN105279035A
CN105279035A CN201510724940.XA CN201510724940A CN105279035A CN 105279035 A CN105279035 A CN 105279035A CN 201510724940 A CN201510724940 A CN 201510724940A CN 105279035 A CN105279035 A CN 105279035A
Authority
CN
China
Prior art keywords
calendared tasks
date
segment identification
query
period
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
CN201510724940.XA
Other languages
Chinese (zh)
Other versions
CN105279035B (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 ByteDance Network Technology Co Ltd
Original Assignee
Beijing Hammer Numeral Science And 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 Hammer Numeral Science And Technology Co Ltd filed Critical Beijing Hammer Numeral Science And Technology Co Ltd
Priority to CN201510724940.XA priority Critical patent/CN105279035B/en
Publication of CN105279035A publication Critical patent/CN105279035A/en
Application granted granted Critical
Publication of CN105279035B publication Critical patent/CN105279035B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention provides a calendar task query method and a calendar task query device. The calendar task query method comprises the steps of acquiring a query instruction in allusion to a calendar task, wherein the query instruction at least comprises a query date range; polling the numbers of calendar tasks of a plurality of query sub time periods corresponding to the query date range through calling a reserved system interface, and generating task distribution information corresponding to the query date range, wherein the plurality of query sub time periods cover the query date range and do not have an overlapped date, and the task distribution information comprises a corresponding relation between time period identifiers of the query sub time periods and the numbers of calendar tasks; acquiring an initial query result through calling the reserved system interface based on the corresponding relation, which is contained in the task distribution information, between the time period identifiers and the numbers of calendar tasks, wherein the initial query result part of calendar tasks within the query date range; and outputting the acquired initial query result. Through the scheme provided by the invention, high query efficiency under various scenarios can be ensured.

Description

Calendared tasks querying method and device
Technical field
The present invention relates to technical field of data processing, particularly relate to a kind of calendared tasks querying method and device.
Background technology
In prior art, CalendarProvider only provides the system interface according to time range inquiry calendared tasks.Wherein, the calendared tasks that user creates can relate to certain time limit scope usually, but, due to data volume acquire a certain degree after data query loading can be too large, therefore, the mode of all calendared tasks within the scope of the disposable inquiry time limit can not be used usually.Current calendared tasks querying method is: inquire about calendared tasks according to set time section inquiry, such as: take today as starting point, within 7 days, is that a period range section carries out inquiry of taking turns, the first loaded and displayed of the data inquired.
But, due to the operation that calendared tasks inquiry is a striding course communication, calendared tasks inquiry when being namely directed to each in segment limit is striding course communication, under the method scene before calendared tasks concentrated on or later, efficiency is very low, such as: within three months after today, just have event, when being one with 7 days when segment limit, need inquiry by turns just can obtain data 12 times.
Visible, providing a kind of calendar querying method, to ensure having higher search efficiency under several scenes, is a problem demanding prompt solution.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of calendared tasks querying method and device, to ensure having higher search efficiency under several scenes.Concrete technical scheme is as follows:
First aspect, embodiments provides a kind of calendared tasks querying method, comprising:
Obtain the query statement being directed to calendared tasks, wherein, described query statement at least comprises: Query Dates scope;
By calling reservation system interface, calendared tasks quantity in multiple queries sub-period described in poll corresponding to Query Dates scope, and the task distribution information generated corresponding to described Query Dates scope, wherein, described multiple queries sub-period is contained described Query Dates scope and be there is not the overlapping date mutually, and described task distribution information comprises the time segment identification and the corresponding relation of calendared tasks quantity of described inquiry sub-period;
Based on the corresponding relation of segment identification and calendared tasks quantity time included in described task distribution information, by calling described reservation system interface, obtain initial query result, wherein, described initial query result is the part calendared tasks within the scope of described Query Dates;
Export the described initial query result obtained.
Optionally, the described corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, by calling described reservation system interface, obtaining initial query result, comprising:
Based on the corresponding relation of segment identification and calendared tasks quantity time included in described task distribution information, determine origination date scope, wherein, described origination date scope is the partial query sub-period in described multiple queries sub-period;
By calling described reservation system interface, obtain the calendared tasks within the scope of described origination date;
Using the calendared tasks within the scope of obtained described origination date as initial query result.
Optionally, the described corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, determine origination date scope, comprising:
From corresponding relation included by described task distribution information relate to time segment identification, determine the objective time interval mark given tacit consent to corresponding to base period;
Judge the corresponding target calendared tasks quantity of described objective time interval mark whether non-zero, if so, the target query sub-period of described objective time interval mark will be had as origination date scope; Otherwise,
Travel through in described task distribution information the corresponding relation be positioned at after described objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity non-zero, using have traversed corresponding to calendared tasks quantity non-zero time segment identification inquiry sub-period as origination date scope.
Optionally, the described corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, determine origination date scope, comprising:
From corresponding relation included by described task distribution information relate to time segment identification, determine the objective time interval mark given tacit consent to corresponding to base period;
Judge whether the corresponding target calendared tasks quantity of described objective time interval mark is greater than predetermined displaying quantity, if so, the target query sub-period of described objective time interval mark will be had as origination date scope; Otherwise,
Determine the difference of target calendared tasks quantity and described predetermined displaying quantity;
Travel through in described task distribution information the corresponding relation be positioned at after described objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity sum be greater than described difference, using have traversed corresponding to calendared tasks quantity sum be greater than described difference time segment identification at least one inquiry sub-period and described target query sub-period as origination date scope.
Optionally, described query statement also comprises: the target fiducials date;
The described corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, determine origination date scope, comprising:
From corresponding relation included by described task distribution information relate to time segment identification, determine the objective time interval mark corresponding to the described target fiducials date;
Judge the corresponding target calendared tasks quantity of described objective time interval mark whether non-zero, if so, the target query sub-period of described objective time interval mark will be had as origination date scope; Otherwise,
Travel through in described task distribution information the corresponding relation be positioned at after described objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity non-zero, using have traversed corresponding to calendared tasks quantity non-zero time segment identification inquiry sub-period as origination date scope.
Optionally, described query statement also comprises: the target fiducials date;
The described corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, determine origination date scope, comprising:
From corresponding relation included by described task distribution information relate to time segment identification, determine the objective time interval mark corresponding to the described target fiducials date;
Judge whether the corresponding target calendared tasks quantity of described objective time interval mark is greater than predetermined displaying quantity, if so, the target query sub-period of described objective time interval mark will be had as origination date scope; Otherwise,
Determine the difference of target calendared tasks quantity and described predetermined displaying quantity;
Travel through in described task distribution information the corresponding relation be positioned at after described objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity sum be greater than described difference, using have traversed corresponding to calendared tasks quantity sum be greater than described difference time segment identification at least one inquiry sub-period and described target query sub-period as origination date scope.
Optionally, the described corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, determine origination date scope, comprising:
Time included from described task distribution information segment identification and calendared tasks quantity corresponding relation in, determine that corresponding calendared tasks quantity is greater than predetermined segment identification when showing at least one of quantity;
From corresponding calendared tasks quantity be greater than predetermined show quantity time segment identification, obtain the time segment identification of corresponding calendared tasks minimum number;
Using have corresponding calendared tasks minimum number time segment identification inquiry sub-period as origination date scope.
Optionally, the described corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, determine origination date scope, comprising:
Time included from described task distribution information segment identification and calendared tasks quantity corresponding relation in, determine the time segment identification that corresponding calendared tasks quantity is maximum;
Using have corresponding calendared tasks quantity maximum time segment identification inquiry sub-period as origination date scope.
Optionally, after the described initial query result that described output obtains, described method also comprises:
Obtain upwards load instructions;
Based on the corresponding relation of segment identification and calendared tasks quantity time included in the date range of current exported calendared tasks and described task distribution information, determined for the first displaying date, wherein, the described first displaying date is the partial query sub-period in described multiple queries sub-period;
By calling described reservation system interface, obtain the calendared tasks in described first date range;
On current exported calendared tasks, the calendared tasks in described first date range that loading obtains.
Optionally, after the described initial query result that described output obtains, described method also comprises:
Obtain downward load instructions;
Based on the corresponding relation of segment identification and calendared tasks quantity time included in the date range of current exported calendared tasks and described task distribution information, determined for the second displaying date, wherein, the described second displaying date is the partial query sub-period in described multiple queries sub-period;
By calling described reservation system interface, obtain the calendared tasks in described second date range;
Under current exported calendared tasks, the calendared tasks in described second date range that loading obtains.
Optionally, time described, segment identification comprises:
The from date of inquiry sub-period;
Or,
By the from date of inquiry sub-period and the time segment limit of date of expiry sign.
Second aspect, embodiments provides a kind of calendared tasks inquiry unit, comprising:
Query statement obtains module, and for obtaining the query statement being directed to calendared tasks, wherein, described query statement at least comprises: Query Dates scope;
Task distribution information generating module, for by calling reservation system interface, calendared tasks quantity in multiple queries sub-period described in poll corresponding to Query Dates scope, and the task distribution information generated corresponding to described Query Dates scope, wherein, described multiple queries sub-period is contained described Query Dates scope and be there is not the overlapping date mutually, and described task distribution information comprises the time segment identification and the corresponding relation of calendared tasks quantity of described inquiry sub-period;
Initial query result determination module, for the corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, by calling described reservation system interface, obtain initial query result, wherein, described initial query result is the part calendared tasks within the scope of described Query Dates;
Initial query result output module, for exporting obtained described initial query result.
Compared with prior art, in the embodiment of the present invention, obtain be directed to calendared tasks comprise the query statement of Query Dates scope after, be not carry out poll calendared tasks according to set time section, but by calling reservation system interface, calendared tasks quantity in this multiple queries sub-period corresponding to Query Dates scope of poll, and generate this task distribution information corresponding to Query Dates scope, based on the corresponding relation of segment identification and calendared tasks quantity time included in this task distribution information, by calling this reservation system interface, obtain and export the initial query result of the part calendared tasks belonged within the scope of this Query Dates.Pass through this programme as seen, twice inquiry namely can outputting calendar task, i.e. one query calendared tasks quantity, once according to task distribution information inquiry to the initial query result belonging to part calendared tasks, make striding course traffic operation reduce and only output calendared tasks like this, ensure, under several scenes, there is higher search efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The first process flow diagram of a kind of calendared tasks querying method that Fig. 1 provides for the embodiment of the present invention;
The second process flow diagram of a kind of calendared tasks querying method that Fig. 2 provides for the embodiment of the present invention;
The third process flow diagram of a kind of calendared tasks querying method that Fig. 3 provides for the embodiment of the present invention;
4th kind of process flow diagram of a kind of calendared tasks querying method that Fig. 4 provides for the embodiment of the present invention;
The structural representation of a kind of calendared tasks inquiry unit that Fig. 5 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, 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, belong to the scope of protection of the invention.
In order to solve prior art problem, embodiments provide a kind of calendared tasks querying method and device, to improve the output efficiency of the calendared tasks to user's inquiry.
First a kind of calendared tasks querying method that the embodiment of the present invention provides is introduced below.
It should be noted that, a kind of calendared tasks querying method that the embodiment of the present invention provides is applied to terminal device, and this terminal device can be: smart mobile phone, panel computer etc. have the equipment of calendared tasks establishment and query function.
And, the executive agent of a kind of calendared tasks querying method that the embodiment of the present invention provides can be calendared tasks inquiry unit, in actual applications, this calendared tasks inquiry unit can be special calendar client, or, also can be the feature card in existing calendar client, this be all rational.
As shown in Figure 1, a kind of calendared tasks querying method that the embodiment of the present invention provides, can comprise the steps:
S101, obtains the query statement being directed to calendared tasks;
When user wishes to inquire about the calendared tasks in a certain period of date, the calendared tasks query interface that can be provided by calendared tasks inquiry unit carrys out the operation of implementation calendar job enquiry, concrete, user can in this calendared tasks query interface input inquiry date range, and send inquiry instruction, accordingly, this calendared tasks inquiry unit can obtain the query statement being directed to calendared tasks, and perform follow-up query script, wherein, this query statement at least can comprise: Query Dates scope.
Wherein, the form that the concrete form of Query Dates scope allows for calendared tasks query interface, for example, the form of this Query Dates scope can be: 2015-9-11 to 2015-12-11,2015.08.13-2015.11.15, on August 5,5 days to 2015 April in 2015, etc.And, user can voluntarily by from date and the date of expiry of input through keyboard Query Dates scope, certainly, this calendared tasks query interface can provide selectable from date set and date of expiry set for user, like this, user can by the input selecting the mode on required date to complete Query Dates scope.
S102, by calling reservation system interface, the calendared tasks quantity in this multiple queries sub-period corresponding to Query Dates scope of poll, and generate this task distribution information corresponding to Query Dates scope;
After this query statement of acquisition, be not directly adopt prior art to carry out poll inquiry calendared tasks, but the calendared tasks quantity in this multiple queries sub-period corresponding to Query Dates scope of poll, and generate this task distribution information corresponding to Query Dates scope, wherein, multiple queries sub-period is contained this Query Dates scope and be there is not the overlapping date mutually, and this task distribution information comprises the time segment identification and the corresponding relation of calendared tasks quantity of this inquiry sub-period.Wherein, reservation system interface is interface of the prior art, and such as: for ANDROID Android system, corresponding reservation system interface can be: content: //com.android.calendar/instances/whenbyday.
Wherein, can according to default interval duration when this Query Dates scope is divided to form multiple queries sub-period, also can according to the target interval duration indicated when inquiry calendared tasks of user; Wherein, can for the duration preset before system default duration or user for default interval duration, and for the situation according to user's indicated present interval duration when inquiring about calendared tasks, user needs to input target interval duration while input inquiry date range, now, the query statement obtained can also comprise: target interval duration.
Be understandable that, for default interval duration or target interval duration can be for example: 3 days, 5 days, 7 days etc.And, be no matter that starting point divides inquiry sub-period or is that starting point divides inquiry sub-period mutually with date of expiry with from date, when this Query Dates scope being divided according to acquiescence duration or target interval duration, except the inquiry sub-period finally marked off, the duration of other inquiry sub-periods divided is inevitable all identical, and finally mark off inquiry sub-period may be identical or different with the duration of inquiry sub-period before.
It should be noted that, time segment identification can inquire about the from date of sub-period; Or, by the from date of inquiry sub-period and the time segment limit of date of expiry sign.For the from date that the period is designated inquiry sub-period, the form of task distribution information can as following table 1; Be designated for the period time segment limit that from date and date of expiry characterize, the form of task distribution information can with reference to such as following table 2:
From date Calendared tasks quantity
20150911 30
20150916 20
20150921 15
…… ……
Table 1
From date Calendared tasks quantity
20150911~20150915 30
20150916~20150920 20
20150921~20150925 15
…… ……
Table 2
It is emphasized that, time segment identification no matter adopt which kind of form, can according to date sequencing when generating task distribution information, namely sub-period is inquired about for inquiring about sub-period involved by the corresponding relation after this corresponding relation involved by a corresponding relation, date is forward, same, inquire about sub-period for inquiring about sub-period involved by the corresponding relation before this corresponding relation involved by a corresponding relation, the date is rearward.
S103, based on the corresponding relation of segment identification and calendared tasks quantity time included in this task distribution information, by calling this reservation system interface, obtains initial query result;
After this task distribution information of acquisition, in order to improve output efficiency, improve the experience of user, can based on the corresponding relation of segment identification and calendared tasks quantity time included in this task distribution information, and by calling this reservation system interface, obtain initial query result, wherein, this initial query result is the part calendared tasks within the scope of this Query Dates, that is, screen size due to terminal device is limited causes disposable displaying calendared tasks limited amount, therefore, in order to improve output efficiency, can based on the corresponding relation of segment identification and calendared tasks quantity time included in this task distribution information, output calendared tasks.
Concrete, the described corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, by calling described reservation system interface, obtaining initial query result (S103), as shown in Figure 2, can comprise:
S1031, based on the corresponding relation of segment identification and calendared tasks quantity time included in this task distribution information, determines origination date scope;
Wherein, this origination date scope is the partial query sub-period in described multiple queries sub-period;
S1032, by calling this reservation system interface, obtains the calendared tasks within the scope of this origination date;
S1033, using the calendared tasks within the scope of this obtained origination date as initial query result.
Certainly, the above-mentioned corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, by calling described reservation system interface, the specific implementation obtaining initial query result, as just example, should not form the restriction to the embodiment of the present invention.
In addition, based on the corresponding relation of segment identification and calendared tasks quantity time included in this task distribution information, determine that the specific implementation of origination date scope (S1031) exists multiple, in order to layout is clear, follow-up citing introduction.
S104, exports this initial query result obtained.
After obtaining the initial query result of the part calendared tasks belonged within the scope of this Query Dates, this obtained initial query result can be exported.
Compared with prior art, in the embodiment of the present invention, obtain be directed to calendared tasks comprise the query statement of Query Dates scope after, be not carry out poll calendared tasks according to set time section, but by calling reservation system interface, calendared tasks quantity in this multiple queries sub-period corresponding to Query Dates scope of poll, and generate this task distribution information corresponding to Query Dates scope, based on the corresponding relation of segment identification and calendared tasks quantity time included in this task distribution information, by calling this reservation system interface, obtain and export the initial query result of the part calendared tasks belonged within the scope of this Query Dates.Pass through this programme as seen, twice inquiry namely can outputting calendar task, i.e. one query calendared tasks quantity, once according to task distribution information inquiry to the initial query result belonging to part calendared tasks, make striding course traffic operation reduce and only output calendared tasks like this, ensure, under several scenes, there is higher search efficiency.
The corresponding relation based on segment identification and calendared tasks quantity time included in this task distribution information is introduced in citing below, determines the specific implementation of origination date scope (S1031):
In the first implementation, the described corresponding relation based on segment identification and calendared tasks quantity time included in this task distribution information, determine origination date scope (S1031), can comprise:
From corresponding relation included by this task distribution information relate to time segment identification, determine the objective time interval mark given tacit consent to corresponding to base period;
Judge the corresponding target calendared tasks quantity of this objective time interval mark whether non-zero, if so, the target query sub-period of this objective time interval mark will be had as origination date scope; Otherwise,
Travel through in this task distribution information the corresponding relation be positioned at after this objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity non-zero, using have traversed corresponding to calendared tasks quantity non-zero time segment identification inquiry sub-period as origination date scope.
Wherein, when traveling through in this task distribution information the corresponding relation be positioned at after this objective time interval mark and target calendared tasks quantity corresponding relation, date mode is from front to back adopted.
Wherein, this acquiescence base period can for the base period set before system default date or user, for example: this acquiescence base period can date shown by the clock of terminal device, is certainly not limited thereto.
And, for the situation that the period is designated the from date of inquiry sub-period, describedly determine that the objective time interval mark given tacit consent to corresponding to base period specifically refers to: the target from date determining to meet first condition, first condition is: be less than or equal to and give tacit consent to base period and from date adjacent is afterwards greater than acquiescence base period.For example, as shown in table 1, assumed by default base period is 20150914, then this target from date corresponding to acquiescence base period is 20150911.
And for the period be designated by the inquiry from date of sub-period and date of expiry characterize time segment limit for, the described objective time interval mark specifically finger determining to give tacit consent to corresponding to base period: the objective time interval scope determining to meet second condition, second condition is: comprise this acquiescence base period.For example: as shown in table 2, assumed by default base period is 20150914, then the objective time interval scope of acquiescence corresponding to base period is 20150911 ~ 20150915.
In addition, for the sake of clarity, for when non-zero, origination date scope is not determined for the corresponding target calendared tasks quantity of this objective time interval mark, for example: suppose that the corresponding relation that task distribution information comprises is: 20150907 to having 10, 20150911 pairs should have 0, 20150915 pairs should have 0, 20150919 pairs should have 10, 20150923 pairs should have 0, 20150927 pairs should have 30, if the objective time interval determined is designated 20150923, so 20150927 ~ 20151001 is origination date scope, if the objective time interval determined is designated 20150911, so 20150919 ~ 20150922 is origination date scope.
In the second implementation, the described corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, determine origination date scope (S1031), can comprise:
From corresponding relation included by this task distribution information relate to time segment identification, determine the objective time interval mark given tacit consent to corresponding to base period;
Judge whether the corresponding target calendared tasks quantity of this objective time interval mark is greater than predetermined displaying quantity, if so, the target query sub-period of this objective time interval mark will be had as origination date scope; Otherwise,
Determine target calendared tasks quantity and this predetermined difference of showing quantity;
Travel through in this task distribution information the corresponding relation be positioned at after this objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity sum be greater than this difference, using have traversed corresponding to calendared tasks quantity sum be greater than this difference time segment identification at least one inquiry sub-period and this target query sub-period as origination date scope.
Wherein, when traveling through in this task distribution information the corresponding relation be positioned at after this objective time interval mark and target calendared tasks quantity corresponding relation, date mode from front to back can be adopted.
Wherein, predetermined displaying quantity can set according to actual conditions, and in actual applications, this predetermined displaying quantity can shield for terminal device one quantity can showing calendared tasks, is certainly not limited thereto.And can see the corresponding contents of the first implementation about the specific descriptions of this acquiescence base period, same, the detailed description about the objective time interval mark determined corresponding to acquiescence base period can see the corresponding contents of the first implementation.
In addition, for the sake of clarity, origination date scope is determined when predetermined displaying quantity is not more than for this objective time interval mark corresponding target calendared tasks quantity, for example: suppose that the corresponding relation that task distribution information comprises is: 20150907 to having 25, 20150911 pairs should have 20, 20150915 pairs should have 15, 20150919 pairs should have 10, 20150923 pairs should have 10, 20150927 pairs should have 35, and predetermined displaying quantity is 30, if the objective time interval determined is designated 20150907, time segment limit 20150907 ~ 20150914 so corresponding to 20150907 and 20150911 is origination date scope, if the objective time interval determined is designated 20150915, so 20150915, time segment limit 20150915 ~ 20150926 corresponding to 20150919 and 20150923 is origination date scope.
In the third implementation kind, user can input the reference point of a date as inquiry voluntarily in calendared tasks query interface, and now, described query statement can also comprise: the target fiducials date;
The described corresponding relation based on segment identification and calendared tasks quantity time included in this task distribution information, determine origination date scope (S1031), can comprise:
From corresponding relation included by this task distribution information relate to time segment identification, determine the objective time interval mark corresponding to this target fiducials date;
Judge the corresponding target calendared tasks quantity of this objective time interval mark whether non-zero, if so, the target query sub-period of this objective time interval mark will be had as origination date scope; Otherwise,
Travel through in this task distribution information the corresponding relation be positioned at after this objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity non-zero, using have traversed corresponding to calendared tasks quantity non-zero time segment identification inquiry sub-period as origination date scope.
Wherein, when traveling through in this task distribution information the corresponding relation be positioned at after this objective time interval mark and target calendared tasks quantity corresponding relation, date mode from front to back can be adopted.
Wherein, specific descriptions about this target fiducials date can see the corresponding contents giving tacit consent to base period in the first implementation, same, for when non-zero, detailed description about the objective time interval mark determined corresponding to the target fiducials date see the corresponding contents of the first implementation, can not determine that the description content of origination date scope can see the corresponding contents of the first implementation about the corresponding target calendared tasks quantity of this objective time interval mark.
In the 4th kind of implementation, user can input the reference point of a date as inquiry voluntarily in calendared tasks query interface, and now, described query statement can also comprise: the target fiducials date;
The described corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, determine origination date scope (S1031), can comprise:
From corresponding relation included by this task distribution information relate to time segment identification, determine the objective time interval mark corresponding to this target fiducials date;
Judge whether the corresponding target calendared tasks quantity of this objective time interval mark is greater than predetermined displaying quantity, if so, the target query sub-period of this objective time interval mark will be had as origination date scope; Otherwise,
Determine target calendared tasks quantity and this predetermined difference of showing quantity;
Travel through in this task distribution information the corresponding relation be positioned at after this objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity sum be greater than this difference, using have traversed corresponding to calendared tasks quantity sum be greater than this difference time segment identification at least one inquiry sub-period and this target query sub-period as origination date scope.
Wherein, when traveling through in this task distribution information the corresponding relation be positioned at after this objective time interval mark and target calendared tasks quantity corresponding relation, date mode from front to back can be adopted.
Wherein, specific descriptions about this target fiducials date can see the corresponding contents giving tacit consent to base period in the first implementation, same, the detailed description about the objective time interval mark determined corresponding to the target fiducials date can see the content determining the objective time interval mark given tacit consent to corresponding to the benchmark period in the first implementation; About the detailed description of predetermined displaying quantity, see the corresponding contents in the second implementation, when being not more than predetermined displaying quantity about the corresponding target calendared tasks quantity of this objective time interval mark, can determine that the specific descriptions of origination date scope can see the second implementation.
In the 5th kind of implementation, the described corresponding relation based on segment identification and calendared tasks quantity time included in this task distribution information, determine origination date scope (S1031), can comprise:
Time included from this task distribution information segment identification and calendared tasks quantity corresponding relation in, determine that corresponding calendared tasks quantity is greater than predetermined segment identification when showing at least one of quantity;
From corresponding calendared tasks quantity be greater than predetermined show quantity time segment identification, obtain the time segment identification of corresponding calendared tasks minimum number;
Using have corresponding calendared tasks minimum number time segment identification inquiry sub-period as origination date scope.
In the 6th kind of implementation, the described corresponding relation based on segment identification and calendared tasks quantity time included in this task distribution information, determine origination date scope (S1031), can comprise:
Time included from this task distribution information segment identification and calendared tasks quantity corresponding relation in, determine the time segment identification that corresponding calendared tasks quantity is maximum;
Using have corresponding calendared tasks quantity maximum time segment identification inquiry sub-period as origination date scope.
It is emphasized that above-mentioned six kinds of cited modes are as just example, should not form the restriction to the embodiment of the present invention.
Further, after exporting this initial results obtained, the calendared tasks querying method that the embodiment of the present invention provides, as shown in Figure 3, can also comprise:
S1051, obtains upwards load instructions;
Wherein, user is exporting the gesture operation interface having an initial query result performing and pulls downwards, thus sends and upwards load instruction, and accordingly, this calendared tasks inquiry unit can obtain upwards load instructions.
Certainly, in actual applications, the mode that user sends upwards load instructions is not limited to the gesture operation that above-mentioned execution pulls downwards.
S1061, based on the corresponding relation of segment identification and calendared tasks quantity time included in the date range of current exported calendared tasks and this task distribution information, determined for the first displaying date;
Wherein, this first displaying date is the partial query sub-period in the plurality of inquiry sub-period.
Obtaining upwards after load instructions, can based on the corresponding relation of segment identification and calendared tasks quantity time included in the date range of current exported calendared tasks and this task distribution information, determined for the first displaying date, and then the calendared tasks in this first date range of follow-up acquisition.
Wherein, based on the corresponding relation of segment identification and calendared tasks quantity time included in the date range of current exported calendared tasks and this task distribution information, determine that the specific implementation on the first displaying date exists multiple.For example:
In one implementation, determine the mark of the objective time interval corresponding to date range of current exported calendared tasks, in mode from back to front, travel through in this task distribution information the corresponding relation be positioned at before this objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity non-zero, using have traversed corresponding to calendared tasks quantity non-zero time segment identification inquiry sub-period as first show the date.For example: suppose that the corresponding relation that task distribution information comprises is followed successively by: 20150907 to having 10,20150911 to having 0,20150915 to having 0,20150919 to having 10,20150923 to having 0,20150927 to having 30, if the objective time interval determined is designated 20150919, so 20150907 ~ 20150910 was the first displaying date, if the objective time interval determined is designated 20150927, so 20150919 ~ 20150922 was the first displaying date.
In another kind of implementation, determine the mark of the objective time interval corresponding to date range of current exported calendared tasks, in mode from back to front, travel through in this task distribution information the corresponding relation be positioned at before this objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity sum be greater than and predetermined show quantity.For example: suppose that the corresponding relation that task distribution information comprises is: 20150907 to having 25,20150911 to having 20,20150915 to having 15,20150919 to having 10,20150923 to having 10,20150927 to having 35, and predetermined displaying quantity is 30, if the objective time interval determined is designated 20150915,20150919 and 20150923, so, the time segment limit 20150907 ~ 20150914 corresponding to 20150907 and 20150911 was the first displaying date.
S1071, by calling this reservation system interface, obtains the calendared tasks in this first date range;
S1081, on current exported calendared tasks, the calendared tasks in this first date range that loading obtains.
After determining this first date range, by calling this reservation system interface, the calendared tasks in this first date range can be obtained, and then on current exported calendared tasks, the calendared tasks in this first date range that loading obtains.
By such scheme, when user there is the displaying demand of more calendared tasks and date range corresponding to this more calendared tasks after the corresponding calendar scope of current outputting calendar task, quick output calendared tasks.
Further, after exporting this initial results obtained, the calendared tasks querying method that the embodiment of the present invention provides, as shown in Figure 4, can also comprise:
S1052, obtains downward load instructions;
Wherein, user has in output the gesture operation interface of initial query result performing and upwards pulls, thus sends and load instruction downwards, and accordingly, this calendared tasks inquiry unit can obtain downward load instructions.
Certainly, in actual applications, the mode that user sends downward load instructions is not limited to the gesture operation that above-mentioned execution upwards pulls.
S1062, based on the corresponding relation of segment identification and calendared tasks quantity time included in the date range of current exported calendared tasks and this task distribution information, determined for the second displaying date;
Wherein, this second displaying date is the partial query sub-period in the plurality of inquiry sub-period.
After the downward load instructions of acquisition, can based on the corresponding relation of segment identification and calendared tasks quantity time included in the date range of current exported calendared tasks and this task distribution information, determined for the second displaying date, and then the calendared tasks in this second date range of follow-up acquisition.
Wherein, based on the corresponding relation of segment identification and calendared tasks quantity time included in the date range of current exported calendared tasks and this task distribution information, determine that the specific implementation on the second displaying date exists multiple.For example:
In one implementation, determine the mark of the objective time interval corresponding to date range of current exported calendared tasks, in mode from front to back, travel through in this task distribution information the corresponding relation be positioned at after this objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity non-zero, using have traversed corresponding to calendared tasks quantity non-zero time segment identification inquiry sub-period as second show the date.For example: suppose that the corresponding relation that task distribution information comprises is followed successively by: 20150907 to having 10,20150911 to having 0,20150915 to having 0,20150919 to having 10,20150923 to having 0,20150927 to having 30, if the objective time interval determined is designated 20150919, so 201509027 ~ 20151001 was the first displaying date.
In another kind of implementation, determine the mark of the objective time interval corresponding to date range of current exported calendared tasks, in mode from front to back, travel through in this task distribution information the corresponding relation be positioned at after this objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity sum be greater than and predetermined show quantity.For example: suppose that the corresponding relation that task distribution information comprises is: 20150907 to having 25,20150911 to having 20,20150915 to having 15,20150919 to having 10,20150923 to having 10,20150927 to having 35, and predetermined displaying quantity is 30, if the objective time interval determined is designated 20150915,20150919 and 20150923, so, time, segment limit 20150927 ~ 20150930 was the first displaying date.
S1072, by calling this reservation system interface, obtains the calendared tasks in this second date range;
S1082, under current exported calendared tasks, the calendared tasks in this second date range that loading obtains.
After determining this second date range, by calling this reservation system interface, the calendared tasks in this second date range can be obtained, and then under current exported calendared tasks, the calendared tasks in this second date range that loading obtains.
By such scheme, when user there is the displaying demand of more calendared tasks and date range corresponding to this more calendared tasks after the corresponding calendar scope of current outputting calendar task, quick output calendared tasks.
In actual applications, above-mentioned about upwards loading the scheme of calendared tasks and can individualism or combine existing about the scheme loading calendared tasks downwards, this is all rational.And, user can repeatedly upwards load calendared tasks and repeatedly load calendared tasks downwards, realizing for the technology upwards loading calendared tasks of arbitrary time all can see S1051 to S1081, and the technology for the downward loading calendared tasks of arbitrary time realizes all can see S1052 to S1082.
Corresponding to said method embodiment, the embodiment of the present invention additionally provides a kind of calendared tasks inquiry unit, as shown in Figure 5, can comprise:
Query statement obtains module 510, and for obtaining the query statement being directed to calendared tasks, wherein, described query statement at least comprises: Query Dates scope;
Task distribution information generating module 520, for by calling reservation system interface, calendared tasks quantity in multiple queries sub-period described in poll corresponding to Query Dates scope, and the task distribution information generated corresponding to described Query Dates scope, wherein, described multiple queries sub-period is contained described Query Dates scope and be there is not the overlapping date mutually, and described task distribution information comprises the time segment identification and the corresponding relation of calendared tasks quantity of described inquiry sub-period;
Initial query result determination module 530, for the corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, by calling described reservation system interface, obtain initial query result, wherein, described initial query result is the part calendared tasks within the scope of described Query Dates;
Initial query result output module 540, for exporting obtained described initial query result.
Compared with prior art, in the embodiment of the present invention, obtain be directed to calendared tasks comprise the query statement of Query Dates scope after, be not carry out poll calendared tasks according to set time section, but by calling reservation system interface, calendared tasks quantity in this multiple queries sub-period corresponding to Query Dates scope of poll, and generate this task distribution information corresponding to Query Dates scope, based on the corresponding relation of segment identification and calendared tasks quantity time included in this task distribution information, by calling this reservation system interface, obtain and export the initial query result of the part calendared tasks belonged within the scope of this Query Dates.Pass through this programme as seen, twice inquiry namely can outputting calendar task, i.e. one query calendared tasks quantity, once according to task distribution information inquiry to the initial query result belonging to part calendared tasks, make striding course traffic operation reduce and only output calendared tasks like this, ensure, under several scenes, there is higher search efficiency.
Concrete, described initial query result determination module 530, can comprise:
Origination date scope determining unit, for the corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, determine origination date scope, wherein, described origination date scope is the partial query sub-period in described multiple queries sub-period;
Calendared tasks obtains unit, for by calling described reservation system interface, obtains the calendared tasks within the scope of described origination date;
Initial query result determining unit, for using the calendared tasks within the scope of obtained described origination date as initial query result.
In one implementation, described origination date scope determining unit specifically for:
From corresponding relation included by described task distribution information relate to time segment identification, determine the objective time interval mark given tacit consent to corresponding to base period;
Judge the corresponding target calendared tasks quantity of described objective time interval mark whether non-zero, if so, the target query sub-period of described objective time interval mark will be had as origination date scope; Otherwise,
Travel through in described task distribution information the corresponding relation be positioned at after described objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity non-zero, using have traversed corresponding to calendared tasks quantity non-zero time segment identification inquiry sub-period as origination date scope.
In another kind of implementation, described origination date scope determining unit specifically for:
From corresponding relation included by described task distribution information relate to time segment identification, determine the objective time interval mark given tacit consent to corresponding to base period;
Judge whether the corresponding target calendared tasks quantity of described objective time interval mark is greater than predetermined displaying quantity, if so, the target query sub-period of described objective time interval mark will be had as origination date scope; Otherwise,
Determine the difference of target calendared tasks quantity and described predetermined displaying quantity;
Travel through in described task distribution information the corresponding relation be positioned at after described objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity sum be greater than described difference, using have traversed corresponding to calendared tasks quantity sum be greater than described difference time segment identification at least one inquiry sub-period and described target query sub-period as origination date scope.
In another kind of implementation, described query statement also comprises: the target fiducials date;
Described origination date scope determining unit specifically for:
The described corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, determine origination date scope, comprising:
From corresponding relation included by described task distribution information relate to time segment identification, determine the objective time interval mark corresponding to the described target fiducials date;
Judge the corresponding target calendared tasks quantity of described objective time interval mark whether non-zero, if so, the target query sub-period of described objective time interval mark will be had as origination date scope; Otherwise,
Travel through in described task distribution information the corresponding relation be positioned at after described objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity non-zero, using have traversed corresponding to calendared tasks quantity non-zero time segment identification inquiry sub-period as origination date scope.
In another kind of implementation, described query statement also comprises: the target fiducials date;
Described origination date scope determining unit specifically for:
From corresponding relation included by described task distribution information relate to time segment identification, determine the objective time interval mark corresponding to the described target fiducials date;
Judge whether the corresponding target calendared tasks quantity of described objective time interval mark is greater than predetermined displaying quantity, if so, the target query sub-period of described objective time interval mark will be had as origination date scope; Otherwise,
Determine the difference of target calendared tasks quantity and described predetermined displaying quantity;
Travel through in described task distribution information the corresponding relation be positioned at after described objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity sum be greater than described difference, using have traversed corresponding to calendared tasks quantity sum be greater than described difference time segment identification at least one inquiry sub-period and described target query sub-period as origination date scope.
In another kind of implementation, described origination date scope determining unit specifically for:
Time included from described task distribution information segment identification and calendared tasks quantity corresponding relation in, determine that corresponding calendared tasks quantity is greater than predetermined segment identification when showing at least one of quantity;
From corresponding calendared tasks quantity be greater than predetermined show quantity time segment identification, obtain the time segment identification of corresponding calendared tasks minimum number;
Using have corresponding calendared tasks minimum number time segment identification inquiry sub-period as origination date scope.
In another kind of implementation, described origination date scope determining unit specifically for:
Time included from described task distribution information segment identification and calendared tasks quantity corresponding relation in, determine the time segment identification that corresponding calendared tasks quantity is maximum;
Using have corresponding calendared tasks quantity maximum time segment identification inquiry sub-period as origination date scope.
Further, a kind of calendared tasks inquiry unit that the embodiment of the present invention provides, can also comprise: the first load-on module, for: after exporting the described initial query result obtained, obtain upwards load instructions; Based on the corresponding relation of segment identification and calendared tasks quantity time included in the date range of current exported calendared tasks and described task distribution information, determined for the first displaying date, wherein, the described first displaying date is the partial query sub-period in described multiple queries sub-period; By calling described reservation system interface, obtain the calendared tasks in described first date range; On current exported calendared tasks, the calendared tasks in described first date range that loading obtains.
Further, a kind of calendared tasks inquiry unit that the embodiment of the present invention provides, can also comprise: the second load-on module, for: after exporting the described initial query result obtained, obtain downward load instructions; Based on the corresponding relation of segment identification and calendared tasks quantity time included in the date range of current exported calendared tasks and described task distribution information, determined for the second displaying date, wherein, the described second displaying date is the partial query sub-period in described multiple queries sub-period; By calling described reservation system interface, obtain the calendared tasks in described second date range; Under current exported calendared tasks, the calendared tasks in described second date range that loading obtains.
Concrete, time described, segment identification can comprise:
The from date of inquiry sub-period;
Or,
By the from date of inquiry sub-period and the time segment limit of date of expiry sign.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Each embodiment in this instructions all adopts relevant mode to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (12)

1. a calendared tasks querying method, is characterized in that, comprising:
Obtain the query statement being directed to calendared tasks, wherein, described query statement at least comprises: Query Dates scope;
By calling reservation system interface, calendared tasks quantity in multiple queries sub-period described in poll corresponding to Query Dates scope, and the task distribution information generated corresponding to described Query Dates scope, wherein, described multiple queries sub-period is contained described Query Dates scope and be there is not the overlapping date mutually, and described task distribution information comprises the time segment identification and the corresponding relation of calendared tasks quantity of described inquiry sub-period;
Based on the corresponding relation of segment identification and calendared tasks quantity time included in described task distribution information, by calling described reservation system interface, obtain initial query result, wherein, described initial query result is the part calendared tasks within the scope of described Query Dates;
Export the described initial query result obtained.
2. method according to claim 1, is characterized in that, the described corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, by calling described reservation system interface, obtaining initial query result, comprising:
Based on the corresponding relation of segment identification and calendared tasks quantity time included in described task distribution information, determine origination date scope, wherein, described origination date scope is the partial query sub-period in described multiple queries sub-period;
By calling described reservation system interface, obtain the calendared tasks within the scope of described origination date;
Using the calendared tasks within the scope of obtained described origination date as initial query result.
3. method according to claim 2, is characterized in that, the described corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, determines origination date scope, comprising:
From corresponding relation included by described task distribution information relate to time segment identification, determine the objective time interval mark given tacit consent to corresponding to base period;
Judge the corresponding target calendared tasks quantity of described objective time interval mark whether non-zero, if so, the target query sub-period of described objective time interval mark will be had as origination date scope; Otherwise,
Travel through in described task distribution information the corresponding relation be positioned at after described objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity non-zero, using have traversed corresponding to calendared tasks quantity non-zero time segment identification inquiry sub-period as origination date scope.
4. method according to claim 2, is characterized in that, the described corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, determines origination date scope, comprising:
From corresponding relation included by described task distribution information relate to time segment identification, determine the objective time interval mark given tacit consent to corresponding to base period;
Judge whether the corresponding target calendared tasks quantity of described objective time interval mark is greater than predetermined displaying quantity, if so, the target query sub-period of described objective time interval mark will be had as origination date scope; Otherwise,
Determine the difference of target calendared tasks quantity and described predetermined displaying quantity;
Travel through in described task distribution information the corresponding relation be positioned at after described objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity sum be greater than described difference, using have traversed corresponding to calendared tasks quantity sum be greater than described difference time segment identification at least one inquiry sub-period and described target query sub-period as origination date scope.
5. method according to claim 2, is characterized in that, described query statement also comprises: the target fiducials date;
The described corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, determine origination date scope, comprising:
From corresponding relation included by described task distribution information relate to time segment identification, determine the objective time interval mark corresponding to the described target fiducials date;
Judge the corresponding target calendared tasks quantity of described objective time interval mark whether non-zero, if so, the target query sub-period of described objective time interval mark will be had as origination date scope; Otherwise,
Travel through in described task distribution information the corresponding relation be positioned at after described objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity non-zero, using have traversed corresponding to calendared tasks quantity non-zero time segment identification inquiry sub-period as origination date scope.
6. method according to claim 2, is characterized in that, described query statement also comprises: the target fiducials date;
The described corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, determine origination date scope, comprising:
From corresponding relation included by described task distribution information relate to time segment identification, determine the objective time interval mark corresponding to the described target fiducials date;
Judge whether the corresponding target calendared tasks quantity of described objective time interval mark is greater than predetermined displaying quantity, if so, the target query sub-period of described objective time interval mark will be had as origination date scope; Otherwise,
Determine the difference of target calendared tasks quantity and described predetermined displaying quantity;
Travel through in described task distribution information the corresponding relation be positioned at after described objective time interval mark and target calendared tasks quantity corresponding relation, until time segment identification corresponding to calendared tasks quantity sum be greater than described difference, using have traversed corresponding to calendared tasks quantity sum be greater than described difference time segment identification at least one inquiry sub-period and described target query sub-period as origination date scope.
7. method according to claim 2, is characterized in that, the described corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, determines origination date scope, comprising:
Time included from described task distribution information segment identification and calendared tasks quantity corresponding relation in, determine that corresponding calendared tasks quantity is greater than predetermined segment identification when showing at least one of quantity;
From corresponding calendared tasks quantity be greater than predetermined show quantity time segment identification, obtain the time segment identification of corresponding calendared tasks minimum number;
Using have corresponding calendared tasks minimum number time segment identification inquiry sub-period as origination date scope.
8. method according to claim 2, is characterized in that, the described corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, determines origination date scope, comprising:
Time included from described task distribution information segment identification and calendared tasks quantity corresponding relation in, determine the time segment identification that corresponding calendared tasks quantity is maximum;
Using have corresponding calendared tasks quantity maximum time segment identification inquiry sub-period as origination date scope.
9. method according to claim 1, is characterized in that, after the described initial query result that described output obtains, described method also comprises:
Obtain upwards load instructions;
Based on the corresponding relation of segment identification and calendared tasks quantity time included in the date range of current exported calendared tasks and described task distribution information, determined for the first displaying date, wherein, the described first displaying date is the partial query sub-period in described multiple queries sub-period;
By calling described reservation system interface, obtain the calendared tasks in described first date range;
On current exported calendared tasks, the calendared tasks in described first date range that loading obtains.
10. method according to claim 1, is characterized in that, after the described initial query result that described output obtains, described method also comprises:
Obtain downward load instructions;
Based on the corresponding relation of segment identification and calendared tasks quantity time included in the date range of current exported calendared tasks and described task distribution information, determined for the second displaying date, wherein, the described second displaying date is the partial query sub-period in described multiple queries sub-period;
By calling described reservation system interface, obtain the calendared tasks in described second date range;
Under current exported calendared tasks, the calendared tasks in described second date range that loading obtains.
11. methods according to any one of claim 1-10, it is characterized in that, time described, segment identification comprises:
The from date of inquiry sub-period;
Or,
By the from date of inquiry sub-period and the time segment limit of date of expiry sign.
12. 1 kinds of calendared tasks inquiry units, is characterized in that, comprising:
Query statement obtains module, and for obtaining the query statement being directed to calendared tasks, wherein, described query statement at least comprises: Query Dates scope;
Task distribution information generating module, for by calling reservation system interface, calendared tasks quantity in multiple queries sub-period described in poll corresponding to Query Dates scope, and the task distribution information generated corresponding to described Query Dates scope, wherein, described multiple queries sub-period is contained described Query Dates scope and be there is not the overlapping date mutually, and described task distribution information comprises the time segment identification and the corresponding relation of calendared tasks quantity of described inquiry sub-period;
Initial query result determination module, for the corresponding relation based on segment identification and calendared tasks quantity time included in described task distribution information, by calling described reservation system interface, obtain initial query result, wherein, described initial query result is the part calendared tasks within the scope of described Query Dates;
Initial query result output module, for exporting obtained described initial query result.
CN201510724940.XA 2015-10-29 2015-10-29 Calendared tasks querying method and device Active CN105279035B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510724940.XA CN105279035B (en) 2015-10-29 2015-10-29 Calendared tasks querying method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510724940.XA CN105279035B (en) 2015-10-29 2015-10-29 Calendared tasks querying method and device

Publications (2)

Publication Number Publication Date
CN105279035A true CN105279035A (en) 2016-01-27
CN105279035B CN105279035B (en) 2018-10-02

Family

ID=55148085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510724940.XA Active CN105279035B (en) 2015-10-29 2015-10-29 Calendared tasks querying method and device

Country Status (1)

Country Link
CN (1) CN105279035B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107908661A (en) * 2017-10-16 2018-04-13 深圳市汉普电子技术开发有限公司 A kind of fast searching method, device and readable storage medium storing program for executing for repeating calendar event
CN112182050A (en) * 2020-09-30 2021-01-05 中国民航信息网络股份有限公司 User query request processing method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184483A (en) * 2011-05-16 2011-09-14 浪潮集团山东通用软件有限公司 Flexible and extensible user-defined working calendar based work flow scheduling framework
CN102547943A (en) * 2012-02-28 2012-07-04 华为技术有限公司 Control method and device of task item execution
US20130103738A1 (en) * 2011-10-19 2013-04-25 Oracle International Corporation Eager block fetching for web-based data grids
US20130159270A1 (en) * 2011-12-14 2013-06-20 Matthew B. Urmy Action alignment for event planning, project management and process structuring

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184483A (en) * 2011-05-16 2011-09-14 浪潮集团山东通用软件有限公司 Flexible and extensible user-defined working calendar based work flow scheduling framework
US20130103738A1 (en) * 2011-10-19 2013-04-25 Oracle International Corporation Eager block fetching for web-based data grids
US20130159270A1 (en) * 2011-12-14 2013-06-20 Matthew B. Urmy Action alignment for event planning, project management and process structuring
CN102547943A (en) * 2012-02-28 2012-07-04 华为技术有限公司 Control method and device of task item execution

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107908661A (en) * 2017-10-16 2018-04-13 深圳市汉普电子技术开发有限公司 A kind of fast searching method, device and readable storage medium storing program for executing for repeating calendar event
CN112182050A (en) * 2020-09-30 2021-01-05 中国民航信息网络股份有限公司 User query request processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN105279035B (en) 2018-10-02

Similar Documents

Publication Publication Date Title
CN107730196B (en) Project progress management method and terminal equipment
CN107832901B (en) Task allocation method and device, terminal equipment and storage medium
CN106991196B (en) Universal data tracing method and system
CN104484352A (en) Method, device and equipment for quickly searching application program
CA2486482A1 (en) Event analysis system and method
CN110828017A (en) Information processing method and information processing system for nuclear power plant
CN109814971B (en) Desktop application icon arrangement method, electronic device and storage medium
CN109933534B (en) Method and device for determining financial test object
CN110716966A (en) Data visualization processing method and system, electronic device and storage medium
US20060195350A1 (en) Design review, progress check information transmission method and apparatus
CN105279035A (en) Calendar task query method and calendar task query device
CN111274302A (en) Editing method and system of webpage chart component, electronic equipment and storage medium
CN114386777A (en) Automatic production scheduling method and system for production plan, computer terminal and mobile terminal
CN111158827A (en) Method and device for graphic configuration tool correlation calculation value information
CN104991781A (en) Application software internal function recommendation method and device
CN105447114A (en) Display method and apparatus for form field
CN106933873A (en) A kind of cross-platform data querying method and equipment
CN106570004B (en) Data management method and device
CN113901033A (en) Data migration method, device, equipment and medium
CN112416995B (en) Data statistics method, device, computer equipment and storage medium
CN107168547B (en) Method and device for inputting command
CN105404671A (en) Implementation method and apparatus for mobile terminal electronic billing
CN106033576A (en) Method and apparatus for displaying object information
CN111488368A (en) Data query method and device and electronic equipment
CN110765119A (en) Client trend change presentation method and device and computer readable storage medium

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190121

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: BEIJING ZIJIE TIAODONG NETWORK TECHNOLOGY CO., LTD.

Address before: 100176 Beijing Daxing District Beijing economic and Technological Development Zone, Chuang Chuang fourteen Street 99, 33 D building 3 floors 309, 310 rooms.

Patentee before: Beijing hammer numeral science and technology company limited