CN105279035B - Calendared tasks querying method and device - Google Patents

Calendared tasks querying method and device Download PDF

Info

Publication number
CN105279035B
CN105279035B CN201510724940.XA CN201510724940A CN105279035B CN 105279035 B CN105279035 B CN 105279035B CN 201510724940 A CN201510724940 A CN 201510724940A CN 105279035 B CN105279035 B CN 105279035B
Authority
CN
China
Prior art keywords
calendared tasks
period
segment identification
correspondence
calendared
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510724940.XA
Other languages
Chinese (zh)
Other versions
CN105279035A (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

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

An embodiment of the present invention provides a kind of calendared tasks querying method and devices.The calendared tasks querying method, including:The inquiry instruction for being directed to calendared tasks is obtained, inquiry instruction includes at least:Query Dates range;By calling reservation system interface, the calendared tasks quantity in multiple queries sub-period corresponding to poll inquiry date range, and generate the task distribution information corresponding to Query Dates range, wherein, multiple queries sub-period cover Query Dates range and mutually there is no overlapping the date, task distribution information include inquiry sub-period when segment identification and calendared tasks quantity correspondence;The correspondence of segment identification and calendared tasks quantity, passes through and calls reservation system interface, obtain initial query result, wherein initial query result is the part calendared tasks within the scope of Query Dates when included in task based access control distributed intelligence;The obtained initial query result of output.Pass through this programme, it is ensured that there is higher search efficiency under several scenes.

Description

Calendared tasks querying method and device
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of calendared tasks querying method and device.
Background technology
In the prior art, CalendarProvider only provides the system for inquiring calendared tasks according to time range and connects Mouthful.Wherein, the calendared tasks that user is created would generally be related to certain time limit range, still, since data volume reaches certain Data load is inquired after degree can be too big, and therefore, the disposable mode for inquiring all calendared tasks within the scope of the time limit is usually not It can be used.Calendared tasks querying method is at present:Calendared tasks are inquired according to fixed time period inquiry, such as:With today For starting point, inquired by turns for a period range section within 7 days, the data elder generation loaded and displayed inquired.
But since calendared tasks inquiry is the operation of striding course communication, that is, when being directed to each in segment limit Calendared tasks inquiry is that striding course communicates, and efficiency is very low under scene of the method before calendared tasks concentrated on or later, Such as:Just have event within three months after today, with 7 days be one when segment limit in the case of, need to inquire 12 ability by turns Obtain data.
It it is one to ensure that there is higher search efficiency under several scenes as it can be seen that providing a kind of calendar querying method Urgent problem to be solved.
Invention content
The embodiment of the present invention is designed to provide a kind of calendared tasks querying method and device, to ensure in several scenes There is down higher search efficiency.Specific technical solution is as follows:
In a first aspect, an embodiment of the present invention provides a kind of calendared tasks querying methods, including:
Obtain the inquiry instruction for being directed to calendared tasks, wherein the inquiry instruction includes at least:Query Dates range;
By calling reservation system interface, the day in multiple queries sub-period corresponding to Query Dates range described in poll Successive business quantity, and generate the task distribution information corresponding to the Query Dates range, wherein the multiple inquiry sub-period Cover the Query Dates range and mutually there is no the overlapping date, the task distribution information includes the inquiry sub-period When segment identification and calendared tasks quantity correspondence;
Based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence, pass through tune With the reservation system interface, initial query result is obtained, wherein the initial query result is within the scope of the Query Dates Part calendared tasks;
Export the initial query result obtained.
Optionally, it is described based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence Relationship obtains initial query as a result, including by calling the reservation system interface:
Based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence, determine just Beginning date range, wherein the partial query sub-period in ranging from the multiple inquiry sub-period of the origination date;
By calling the reservation system interface, the calendared tasks within the scope of the origination date are obtained;
Using the calendared tasks within the scope of the origination date obtained as initial query result.
Optionally, it is described based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence Relationship determines origination date range, including:
Be related to from correspondence included by the task distribution information when segment identification in, determine acquiescence base period institute it is right The objective time interval mark answered;
Judge the corresponding target calendared tasks quantity of objective time interval mark whether non-zero, if so, will have described The target query sub-period of objective time interval mark is as origination date range;Otherwise,
It traverses and is located at objective time interval mark and target calendared tasks quantity correspondence in the task distribution information Correspondence later, until when segment identification corresponding to calendared tasks quantity non-zero, will be with the corresponding calendar traversed Task quantity non-zero when segment identification inquiry sub-period as origination date range.
Optionally, it is described based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence Relationship determines origination date range, including:
Be related to from correspondence included by the task distribution information when segment identification in, determine acquiescence base period institute it is right The objective time interval mark answered;
Judge whether the corresponding target calendared tasks quantity of objective time interval mark is more than predetermined displaying quantity, if It is, using the target query sub-period identified with the objective time interval as origination date range;Otherwise,
Determine the difference of target calendared tasks quantity and the predetermined displaying quantity;
It traverses and is located at objective time interval mark and target calendared tasks quantity correspondence in the task distribution information Correspondence later, until when segment identification corresponding to the sum of calendared tasks quantity be more than the difference, will have and be traversed The sum of corresponding calendared tasks quantity be more than the difference when segment identification at least one inquiry sub-period and the target Sub-period is inquired as origination date range.
Optionally, the inquiry instruction further includes:The target fiducials date;
It is described based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence, really Determine origination date range, including:
Be related to from correspondence included by the task distribution information when segment identification in, determine the target fiducials date Corresponding objective time interval mark;
Judge the corresponding target calendared tasks quantity of objective time interval mark whether non-zero, if so, will have described The target query sub-period of objective time interval mark is as origination date range;Otherwise,
It traverses and is located at objective time interval mark and target calendared tasks quantity correspondence in the task distribution information Correspondence later, until when segment identification corresponding to calendared tasks quantity non-zero, will be with the corresponding calendar traversed Task quantity non-zero when segment identification inquiry sub-period as origination date range.
Optionally, the inquiry instruction further includes:The target fiducials date;
It is described based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence, really Determine origination date range, including:
Be related to from correspondence included by the task distribution information when segment identification in, determine the target fiducials date Corresponding objective time interval mark;
Judge whether the corresponding target calendared tasks quantity of objective time interval mark is more than predetermined displaying quantity, if It is, using the target query sub-period identified with the objective time interval as origination date range;Otherwise,
Determine the difference of target calendared tasks quantity and the predetermined displaying quantity;
It traverses and is located at objective time interval mark and target calendared tasks quantity correspondence in the task distribution information Correspondence later, until when segment identification corresponding to the sum of calendared tasks quantity be more than the difference, will have and be traversed The sum of corresponding calendared tasks quantity be more than the difference when segment identification at least one inquiry sub-period and the target Sub-period is inquired as origination date range.
Optionally, it is described based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence Relationship determines origination date range, including:
From it is included in the task distribution information when segment identification and calendared tasks quantity correspondence in, determine institute Corresponding calendared tasks quantity be more than predetermined displaying quantity it is at least one when segment identification;
From corresponding calendared tasks quantity be more than predetermined displaying quantity when segment identification in, obtain corresponding calendared tasks number Measure minimum when segment identification;
Using with corresponding calendared tasks minimum number when segment identification inquiry sub-period as origination date range.
Optionally, it is described based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence Relationship determines origination date range, including:
From it is included in the task distribution information when segment identification and calendared tasks quantity correspondence in, determine institute The most when segment identification of corresponding calendared tasks quantity;
Using with corresponding calendared tasks quantity it is most when segment identification inquiry sub-period as origination date range.
Optionally, after the initial query result that the output is obtained, the method further includes:
Obtain load instruction upwards;
The included period in date range and the task distribution information based on the calendared tasks currently exported The correspondence of mark and calendared tasks quantity, determined for the first displaying date, wherein the first displaying date is the multiple Inquire the partial query sub-period in sub-period;
By calling the reservation system interface, the calendared tasks in the first displaying date range are obtained;
On the calendared tasks currently exported, the day loaded in the first displaying date range obtained is successive Business.
Optionally, after the initial query result that the output is obtained, the method further includes:
Obtain load instruction downwards;
The included period in date range and the task distribution information based on the calendared tasks currently exported The correspondence of mark and calendared tasks quantity, determined for the second displaying date, wherein the second displaying date is the multiple Inquire the partial query sub-period in sub-period;
By calling the reservation system interface, the calendared tasks in the second displaying date range are obtained;
Under the calendared tasks currently exported, the day loaded in the second displaying date range obtained is successive Business.
Optionally, segment identification includes when described:
Inquire the from date of sub-period;
Alternatively,
The when segment limit characterized by the from date of inquiry sub-period and date of expiry.
Second aspect, an embodiment of the present invention provides a kind of calendared tasks inquiry units, including:
Inquiry instruction obtains module, for obtaining the inquiry instruction for being directed to calendared tasks, wherein the inquiry instruction is extremely Include less:Query Dates range;
Task distribution information generating module calls reservation system interface, Query Dates range institute described in poll for passing through Calendared tasks quantity in corresponding multiple queries sub-period, and generate the letter of the task distribution corresponding to the Query Dates range Breath, wherein the multiple inquiry sub-period covers the Query Dates range and mutually there is no overlapping date, the task distributions Information include it is described inquiry sub-period when segment identification and calendared tasks quantity correspondence;
Initial query result determining module, for based on it is included in the task distribution information when segment identification and calendar The correspondence of task quantity obtains initial query result, wherein described initially to look by calling the reservation system interface It is the part calendared tasks within the scope of the Query Dates to ask result;
Initial query result output module, for exporting the initial query result obtained.
Compared with prior art, in the embodiment of the present invention, obtain be directed to calendared tasks include Query Dates range Inquiry instruction after, be not to carry out poll calendared tasks according to fixed time period, but pass through and call reservation system interface, poll The calendared tasks quantity in multiple queries sub-period corresponding to the Query Dates range, and it is right to generate the Query Dates range institute The task distribution information answered, based on it is included in the task distribution information when segment identification and the corresponding of calendared tasks quantity close System obtains and exports and belong to the initial of the calendared tasks of the part within the scope of the Query Dates by calling the reservation system interface Query result.It can be seen that by this programme, inquiry twice can outputting calendar task, i.e. one query calendared tasks quantity, one It is secondary according to task distribution information inquiry to the initial query result for belonging to part calendared tasks, so that striding course traffic operation Reduction and only output par, c calendared tasks ensure there is higher search efficiency under several scenes.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
A kind of the first flow chart for calendared tasks querying method that Fig. 1 is provided by the embodiment of the present invention;
A kind of second of flow chart of calendared tasks querying method that Fig. 2 is provided by the embodiment of the present invention;
A kind of the third flow chart for calendared tasks querying method that Fig. 3 is provided by the embodiment of the present invention;
A kind of 4th kind of flow chart of calendared tasks querying method that Fig. 4 is provided by the embodiment of the present invention;
A kind of structural schematic diagram for calendared tasks inquiry unit that Fig. 5 is provided by the embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In order to solve prior art problem, an embodiment of the present invention provides a kind of calendared tasks querying method and device, with Improve the delivery efficiency for the calendared tasks inquired user.
A kind of calendared tasks querying method is provided for the embodiments of the invention first below to be introduced.
It should be noted that a kind of calendared tasks querying method that the embodiment of the present invention is provided is applied to terminal device, The terminal device can be:The equipment that smart mobile phone, tablet computer etc. have calendared tasks establishment and query function.
Also, a kind of executive agent for calendared tasks querying method that the embodiment of the present invention is provided can be calendared tasks Inquiry unit, in practical applications, the calendared tasks inquiry unit can be special calendar client, or, or Feature card in existing calendar client, this is all reasonable.
As shown in Figure 1, a kind of calendared tasks querying method that the embodiment of the present invention is provided, may include steps of:
S101 obtains the inquiry instruction for being directed to calendared tasks;
When user wishes to inquire the calendared tasks in a certain section of date, can be provided by calendared tasks inquiry unit Calendared tasks query interface execute calendared tasks inquiry operation, specifically, user can be in the calendared tasks query interface Middle input inquiry date range, and inquiry instruction is sent out, correspondingly, the calendared tasks inquiry unit can obtain and be directed to calendar The inquiry instruction of task, and execute subsequent query process, wherein the inquiry instruction at least may include:Query Dates range.
Wherein, the concrete form of Query Dates range is the permitted form of calendared tasks query interface, for example, should The form of Query Dates range can be:2015-9-11 to 2015-12-11,2015.08.13-2015.11.15,2015 years 4 Months 5 days to 2015 on Augusts 5, etc..Also, user can voluntarily pass through the from date of keyboard input inquiry date range And the date of expiry, certainly, which can provide selectable from date set and expiration date to the user Phase gathers, in this way, user can complete the input of Query Dates range by way of the date needed for selection.
S102, by calling reservation system interface, in the multiple queries sub-period corresponding to the poll Query Dates range Calendared tasks quantity, and generate the task distribution information corresponding to the Query Dates range;
It is not but the poll directly using the prior art come poll inquiry calendared tasks after obtaining the inquiry instruction The calendared tasks quantity in multiple queries sub-period corresponding to the Query Dates range, and it is right to generate the Query Dates range institute The task distribution information answered, wherein multiple queries sub-period covers the Query Dates range and the overlapping date is mutually not present, this Business distributed intelligence include the inquiry sub-period when segment identification and calendared tasks quantity correspondence.Wherein, reservation system Interface is interface in the prior art, such as:For ANDROID Android systems, corresponding reservation system interface can be: content://com.android.calendar/instances/whenbyday。
Wherein, to the Query Dates range divide to form multiple queries sub-period when can according to default interval duration, Target interval duration that can also be indicated when inquiring calendared tasks according to user;It wherein, can be with for default interval duration For preset duration before system default duration or user, and for indicated when inquiring calendared tasks according to user For the case where present interval duration, user needs to input target interval duration while input inquiry date range, at this point, The inquiry instruction obtained can also include:Target interval duration.
It is understood that can be for example for default interval duration or target interval duration:3 days, 5 days, 7 days Etc..No matter also, inquiry sub-period is divided by starting point of from date or mutually divide the inquiry period of the day from 11 p.m. to 1 a.m using the date of expiry as starting point Section, when being divided to the Query Dates range according to acquiescence duration or target interval duration, except inquiry finally marked off Outside period, the duration certainty all same of other inquiry sub-periods divided, and the inquiry sub-period finally marked off can It can be identical or different with the duration of inquiry sub-period before.
It should be noted that when segment identification can inquire the from date of sub-period;Alternatively, by the starting of inquiry sub-period The when segment limit on date and date of expiry characterization.For the period is identified as the from date of inquiry sub-period, task distribution The form of information can be such as the following table 1;The when segment limit of from date and date of expiry characterization, task distribution are identified as the period The form of information can refer to such as the following table 2:
From date Calendared tasks quantity
20150911 30
20150916 20
20150921 15
…… ……
Table 1
Table 2
Which kind of form no matter segment identification use when be emphasized that, can be according to day when generating task distribution information Phase sequencing, i.e. the involved inquiry sub-period of a correspondence is relative to involved by the correspondence after the correspondence Inquire for sub-period, the date is forward, likewise, the involved inquiry sub-period of correspondence relative to the correspondence it For the involved inquiry sub-period of preceding correspondence, the date is rearward.
S103, based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence, lead to It crosses and calls the reservation system interface, obtain initial query result;
After obtaining the task distribution information, in order to improve delivery efficiency, the usage experience of user is improved, can be based on should The correspondence of segment identification and calendared tasks quantity when included in task distribution information, and by calling the reservation system to connect Mouthful, obtain initial query result, wherein the initial query result is the part calendared tasks within the scope of the Query Dates, also It is to say, causes disposably to show calendared tasks limited amount since the screen size of terminal device is limited, it is defeated in order to improve Go out efficiency, can based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence, output Part calendared tasks.
Specifically, it is described based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence Relationship obtains initial query result (S103), as shown in Fig. 2, may include by calling the reservation system interface:
S1031, based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence, really Determine origination date range;
Wherein, the partial query sub-period in ranging from the multiple inquiry sub-period of the origination date;
S1032 obtains the calendared tasks within the scope of the origination date by calling the reservation system interface;
S1033, using the calendared tasks within the scope of the origination date obtained as initial query result.
Certainly, it is above-mentioned based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence Relationship, by calling the reservation system interface, the specific implementation for obtaining initial query result is merely exemplary, not The restriction to the embodiment of the present invention should be constituted.
In addition, based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence, really The specific implementation of origination date range (S1031) is determined there are a variety of, and clear in order to be laid out, follow-up citing is introduced.
S104 exports the initial query result obtained.
After acquisition belongs to the initial query result of the part calendared tasks within the scope of the Query Dates, it can export and be obtained The initial query result obtained.
Compared with prior art, in the embodiment of the present invention, obtain be directed to calendared tasks include Query Dates range Inquiry instruction after, be not to carry out poll calendared tasks according to fixed time period, but pass through and call reservation system interface, poll The calendared tasks quantity in multiple queries sub-period corresponding to the Query Dates range, and it is right to generate the Query Dates range institute The task distribution information answered, based on it is included in the task distribution information when segment identification and the corresponding of calendared tasks quantity close System obtains and exports and belong to the initial of the calendared tasks of the part within the scope of the Query Dates by calling the reservation system interface Query result.It can be seen that by this programme, inquiry twice can outputting calendar task, i.e. one query calendared tasks quantity, one It is secondary according to task distribution information inquiry to the initial query result for belonging to part calendared tasks, so that striding course traffic operation Reduction and only output par, c calendared tasks ensure there is higher search efficiency under several scenes.
Citing below introduce based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence Relationship determines the specific implementation of origination date range (S1031):
In the first realization method, it is described based on it is included in the task distribution information when segment identification and calendared tasks The correspondence of quantity determines origination date range (S1031), may include:
Be related to from correspondence included by the task distribution information when segment identification in, determine acquiescence base period corresponding to Objective time interval mark;
Judge the corresponding target calendared tasks quantity of objective time interval mark whether non-zero, if so, will have the target When segment identification target query sub-period as origination date range;Otherwise,
It traverses and is located in the task distribution information after objective time interval mark and target calendared tasks quantity correspondence Correspondence, until when segment identification corresponding to calendared tasks quantity non-zero, will be with the corresponding calendared tasks traversed Quantity non-zero when segment identification inquiry sub-period as origination date range.
Wherein, it traverses and is located at objective time interval mark and target calendared tasks quantity correspondence in the task distribution information When correspondence later, using the date from front to back by the way of.
Wherein, the base period which sets before being system default date or user, citing For:The acquiescence base period can be the date shown by the clock of terminal device, be not limited thereto certainly.
Also, for the case where period being identified as the from date of inquiry sub-period, the determining acquiescence Base day Objective time interval mark corresponding to phase refers specifically to:Determine that the target from date for meeting first condition, first condition are:Less than etc. In acquiescence base period and from date adjacent later is more than acquiescence base period.For example, as shown in table 1, it is assumed that silent It is 20150914 to recognize base period, then the target from date corresponding to the acquiescence base period is 20150911.
And for the period be identified as by the from date of inquiry sub-period and the date of expiry characterization when segment limit for, institute It states and determines that the objective time interval mark corresponding to acquiescence base period refers specifically to:Determine the objective time interval range for meeting second condition, Second condition is:Including the acquiescence base period.For example:As shown in table 2, it is assumed that acquiescence base period is 20150914, Then give tacit consent to the objective time interval ranging from 20150911~20150915 corresponding to base period.
In addition, for the sake of clarity, it is not non-zero to identify corresponding target calendared tasks quantity for the objective time interval In the case of determine origination date range, for example:Assuming that the correspondence that task distribution information includes is:20150907 pairs Should have 10,20150911 be corresponding with 0,20150915 be corresponding with 0,20150919 be corresponding with 10,20150923 be corresponding with 0, 20150927 are corresponding with 30, if the objective time interval determined is identified as 20150923,20150927~20151001 For origination date range, it is if the objective time interval determined is identified as 20150911,20150919~20150922 Origination date range.
In second of realization method, it is described based on it is included in the task distribution information when segment identification and day it is successive The correspondence for quantity of being engaged in, determines origination date range (S1031), may include:
Be related to from correspondence included by the task distribution information when segment identification in, determine acquiescence base period corresponding to Objective time interval mark;
Judge whether the corresponding target calendared tasks quantity of objective time interval mark is more than predetermined displaying quantity, if so, Using the target query sub-period identified with the objective time interval as origination date range;Otherwise,
Determine the difference of target calendared tasks quantity and the predetermined displaying quantity;
It traverses and is located in the task distribution information after objective time interval mark and target calendared tasks quantity correspondence Correspondence, until when segment identification corresponding to the sum of calendared tasks quantity be more than the difference, will be right with the institute traversed Answer the sum of calendared tasks quantity be more than the difference when segment identification at least one inquiry sub-period and the target query sub-period As origination date range.
Wherein, it traverses and is located at objective time interval mark and target calendared tasks quantity correspondence in the task distribution information When correspondence later, the mode of date from front to back may be used.
Wherein, make a reservation for displaying quantity may be set according to actual conditions, in practical applications, which can be with The quantity that calendared tasks can be shown for one screen of terminal device, is not limited thereto certainly.And about the acquiescence base period Specific descriptions may refer to the corresponding contents of the first realization method, likewise, about determining corresponding to acquiescence base period The detailed description of objective time interval mark may refer to the corresponding contents of the first realization method.
In addition, for the sake of clarity, corresponding target calendared tasks quantity is identified no more than predetermined for the objective time interval Origination date range is determined in the case of showing quantity, for example:Assuming that the correspondence that task distribution information includes is: 20150907, which are corresponding with 25,20150911, is corresponding with 20,20150915 and is corresponding with 15,20150919 and be corresponding with 10,20150923 It is corresponding with 10,20150927 and is corresponding with 35, and predetermined displaying quantity is 30, if the objective time interval determined is identified as 20150907, then the when segment limit 20150907~20150914 corresponding to 20150907 and 20150911 is origination date model It encloses, if the objective time interval determined is identified as corresponding to 20150915,20150915,20150919 and 20150923 When segment limit 20150915~20150926 be origination date range.
In the third realization method kind, user can voluntarily input a date conduct in calendared tasks query interface and look into The datum mark of inquiry, at this point, the inquiry instruction can also include:The target fiducials date;
It is described based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence, determine Origination date range (S1031) may include:
Be related to from correspondence included by the task distribution information when segment identification in, determine the target fiducials date institute it is right The objective time interval mark answered;
Judge the corresponding target calendared tasks quantity of objective time interval mark whether non-zero, if so, will have the target When segment identification target query sub-period as origination date range;Otherwise,
It traverses and is located in the task distribution information after objective time interval mark and target calendared tasks quantity correspondence Correspondence, until when segment identification corresponding to calendared tasks quantity non-zero, will be with the corresponding calendared tasks traversed Quantity non-zero when segment identification inquiry sub-period as origination date range.
Wherein, it traverses and is located at objective time interval mark and target calendared tasks quantity correspondence in the task distribution information When correspondence later, the mode of date from front to back may be used.
Wherein, the specific descriptions about the target fiducials date may refer to give tacit consent to base period in the first realization method Corresponding contents, likewise, the detailed description about the objective time interval mark determined corresponding to the target fiducials date can be with Referring to the corresponding contents of the first realization method, it is not non-zero to identify corresponding target calendared tasks quantity about the objective time interval In the case of determine that the description content of origination date range may refer to the corresponding contents of the first realization method.
In the 4th kind of realization method, user can voluntarily input a date conduct in calendared tasks query interface and look into The datum mark of inquiry, at this point, the inquiry instruction can also include:The target fiducials date;
It is described based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence, really Determine origination date range (S1031), may include:
Be related to from correspondence included by the task distribution information when segment identification in, determine the target fiducials date institute it is right The objective time interval mark answered;
Judge whether the corresponding target calendared tasks quantity of objective time interval mark is more than predetermined displaying quantity, if so, Using the target query sub-period identified with the objective time interval as origination date range;Otherwise,
Determine the difference of target calendared tasks quantity and the predetermined displaying quantity;
It traverses and is located in the task distribution information after objective time interval mark and target calendared tasks quantity correspondence Correspondence, until when segment identification corresponding to the sum of calendared tasks quantity be more than the difference, will be right with the institute traversed Answer the sum of calendared tasks quantity be more than the difference when segment identification at least one inquiry sub-period and the target query sub-period As origination date range.
Wherein, it traverses and is located at objective time interval mark and target calendared tasks quantity correspondence in the task distribution information When correspondence later, the mode of date from front to back may be used.
Wherein, the specific descriptions about the target fiducials date may refer to give tacit consent to base period in the first realization method Corresponding contents, likewise, the detailed description about the objective time interval mark determined corresponding to the target fiducials date can be with Referring to the content for determining the objective time interval mark corresponding to the acquiescence benchmark period in the first realization method;About predetermined displaying number The detailed description of amount may refer to the corresponding contents in second of realization method, corresponding to objective time interval mark Target calendared tasks quantity determines that the specific descriptions of origination date range may refer in the case of being not more than predetermined displaying quantity Second of realization method.
In the 5th kind of realization method, it is described based on it is included in the task distribution information when segment identification and calendared tasks The correspondence of quantity determines origination date range (S1031), may include:
From it is included in the task distribution information when segment identification and calendared tasks quantity correspondence in, determine that institute is right Answer calendared tasks quantity be more than predetermined displaying quantity it is at least one when segment identification;
From corresponding calendared tasks quantity be more than predetermined displaying quantity when segment identification in, obtain corresponding calendared tasks number Measure minimum when segment identification;
Using with corresponding calendared tasks minimum number when segment identification inquiry sub-period as origination date range.
In the 6th kind of realization method, it is described based on it is included in the task distribution information when segment identification and calendared tasks The correspondence of quantity determines origination date range (S1031), may include:
From it is included in the task distribution information when segment identification and calendared tasks quantity correspondence in, determine that institute is right Answer the when segment identification that calendared tasks quantity is most;
Using with corresponding calendared tasks quantity it is most when segment identification inquiry sub-period as origination date range.
It is emphasized that above-mentioned six kinds of cited modes are merely exemplary, should not constitute to of the invention real Apply the restriction of example.
Further, after the initial results that output is obtained, the calendared tasks that the embodiment of the present invention is provided are looked into Inquiry method, as shown in figure 3, can also include:
S1051 obtains load instruction upwards;
Wherein, user executes the gesture operation pulled downwards on the interface that output has initial query result, to send out Load instruction upwards, correspondingly, the calendared tasks inquiry unit can obtain load instruction upwards.
Certainly, in practical applications, user sends out the mode of load instruction to be upwards not limited to above-mentioned execution downward The gesture operation of pulling.
S1061, it is included in date range and the task distribution information based on the calendared tasks currently exported When segment identification and calendared tasks quantity correspondence, determined for the first displaying date;
Wherein, which is the partial query sub-period in multiple inquiry sub-period.
After obtaining load instruction upwards, date range that can be based on the calendared tasks currently exported and the task The correspondence of segment identification and calendared tasks quantity, determined for the first displaying date, and then follow-up when included in distributed intelligence Obtain the calendared tasks in the first displaying date range.
Wherein, when included in the date range and the task distribution information based on the calendared tasks currently exported The correspondence of segment identification and calendared tasks quantity, determining the specific implementation on the first displaying date, there are a variety of.Citing and Speech:
In one implementation, the objective time interval mark corresponding to the date range of the calendared tasks currently exported is determined Know, in a manner of from back to front, traverses and be located at objective time interval mark and target calendared tasks quantity in the task distribution information Correspondence before correspondence, until when segment identification corresponding to calendared tasks quantity non-zero, will be with the institute traversed Corresponding calendared tasks quantity non-zero when segment identification inquiry sub-period as the first displaying date.For example:Assuming that task The correspondence that distributed intelligence includes is followed successively by:20150907, which are corresponding with 10,20150911, is corresponding with 0,20150915 correspondences There are 0,20150919 to be corresponding with 10,20150923 and be corresponding with 0,20150927 and be corresponding with 30, if the objective time interval determined 20150919 are identified as, then 20150907~20150910 be the first displaying date, if the objective time interval mark determined It is 20150927 to know, then 20150919~20150922 be the first displaying date.
In another implementation, the objective time interval corresponding to the date range of the calendared tasks currently exported is determined Mark traverses in a manner of from back to front and is located at objective time interval mark and target calendared tasks number in the task distribution information Measure the correspondence before correspondence, until when segment identification corresponding to the sum of calendared tasks quantity be more than predetermined displaying quantity. For example:Assuming that the correspondence that task distribution information includes is:20150907, which are corresponding with 25,20150911, is corresponding with 20, it 20,150,915 15,20150919 are corresponding with are corresponding with 10,20150923 and are corresponding with 10,20150927 and be corresponding with 35, and is predetermined Show that quantity is 30, if the objective time interval determined is identified as 20150915,20150919 and 20150923, When segment limit 20150907~20150914 corresponding to 20150907 and 20150911 was the first displaying date.
S1071 obtains the calendared tasks in the first displaying date range by calling the reservation system interface;
S1081 loads the day in the first displaying date range obtained on the calendared tasks currently exported Successive business.
After determining the first displaying date range, first exhibition can be obtained by calling the reservation system interface Show the calendared tasks in date range, and then on the calendared tasks currently exported, loads first displaying obtained Calendared tasks in date range.
Through the above scheme, when there are corresponding to the displaying demand of more calendared tasks and more calendared tasks by user Date range is in the case where current outputting calendar task corresponds to after calendar range, quick output par, c calendared tasks.
Further, after the initial results that output is obtained, the calendared tasks that the embodiment of the present invention is provided are looked into Inquiry method, as shown in figure 4, can also include:
S1052 obtains load instruction downwards;
Wherein, user executes the gesture operation pulled upwards on the interface that output has initial query result, to send out Load instruction downwards, correspondingly, the calendared tasks inquiry unit can obtain load instruction downwards.
Certainly, in practical applications, user sends out the mode of load instruction to be downwards not limited to above-mentioned execution upward The gesture operation of pulling.
S1062, it is included in date range and the task distribution information based on the calendared tasks currently exported When segment identification and calendared tasks quantity correspondence, determined for the second displaying date;
Wherein, which is the partial query sub-period in multiple inquiry sub-period.
After obtaining load instruction downwards, date range that can be based on the calendared tasks currently exported and the task The correspondence of segment identification and calendared tasks quantity, determined for the second displaying date, and then follow-up when included in distributed intelligence Obtain the calendared tasks in the second displaying date range.
Wherein, when included in the date range and the task distribution information based on the calendared tasks currently exported The correspondence of segment identification and calendared tasks quantity, determining the specific implementation on the second displaying date, there are a variety of.Citing and Speech:
In one implementation, the objective time interval mark corresponding to the date range of the calendared tasks currently exported is determined Know, in a manner of from front to back, traverses and be located at objective time interval mark and target calendared tasks quantity in the task distribution information Correspondence after correspondence, until when segment identification corresponding to calendared tasks quantity non-zero, will be with the institute traversed Corresponding calendared tasks quantity non-zero when segment identification inquiry sub-period as the second displaying date.For example:Assuming that task The correspondence that distributed intelligence includes is followed successively by:20150907, which are corresponding with 10,20150911, is corresponding with 0,20150915 correspondences There are 0,20150919 to be corresponding with 10,20150923 and be corresponding with 0,20150927 and be corresponding with 30, if the objective time interval determined 20150919 are identified as, then 201509027~20151001 be the first displaying date.
In another implementation, the objective time interval corresponding to the date range of the calendared tasks currently exported is determined Mark traverses in a manner of from front to back and is located at objective time interval mark and target calendared tasks number in the task distribution information Measure the correspondence after correspondence, until when segment identification corresponding to the sum of calendared tasks quantity be more than predetermined displaying quantity. For example:Assuming that the correspondence that task distribution information includes is:20150907, which are corresponding with 25,20150911, is corresponding with 20, it 20,150,915 15,20150919 are corresponding with are corresponding with 10,20150923 and are corresponding with 10,20150927 and be corresponding with 35, and is predetermined Show that quantity is 30, if the objective time interval determined is identified as 20150915,20150919 and 20150923, when Segment limit 20150927~20150930 was the first displaying date.
S1072 obtains the calendared tasks in the second displaying date range by calling the reservation system interface;
S1082 loads the day in the second displaying date range obtained under the calendared tasks currently exported Successive business.
After determining the second displaying date range, second exhibition can be obtained by calling the reservation system interface Show the calendared tasks in date range, and then under the calendared tasks currently exported, loads second displaying obtained Calendared tasks in date range.
Through the above scheme, when there are corresponding to the displaying demand of more calendared tasks and more calendared tasks by user Date range is in the case where current outputting calendar task corresponds to after calendar range, quick output par, c calendared tasks.
In practical applications, above-mentioned about the scheme of upward load calendared tasks and about downward load calendared tasks Scheme can exist with individualism or combination, this is all reasonable.Also, user can repeatedly load calendared tasks and more upwards Secondary downward load calendared tasks may refer to S1051 extremely for the technology realization of any upward load calendared tasks S1081 may refer to S1052 to S1082 for the technology realization of any downward load calendared tasks.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of calendared tasks inquiry unit, such as Fig. 5 institutes Show, may include:
Inquiry instruction obtains module 510, for obtaining the inquiry instruction for being directed to calendared tasks, wherein the inquiry refers to Order includes at least:Query Dates range;
Task distribution information generating module 520 calls reservation system interface, Query Dates range described in poll for passing through Calendared tasks quantity in corresponding multiple queries sub-period, and generate the task distribution corresponding to the Query Dates range Information, wherein the multiple inquiry sub-period covers the Query Dates range and mutually there is no overlapping date, the tasks point Cloth information include it is described inquiry sub-period when segment identification and calendared tasks quantity correspondence;
Initial query result determining module 530, for based on it is included in the task distribution information when segment identification and The correspondence of calendared tasks quantity obtains initial query result by calling the reservation system interface, wherein described first Beginning query result is the part calendared tasks within the scope of the Query Dates;
Initial query result output module 540, for exporting the initial query result obtained.
Compared with prior art, in the embodiment of the present invention, obtain be directed to calendared tasks include Query Dates range Inquiry instruction after, be not to carry out poll calendared tasks according to fixed time period, but pass through and call reservation system interface, poll The calendared tasks quantity in multiple queries sub-period corresponding to the Query Dates range, and it is right to generate the Query Dates range institute The task distribution information answered, based on it is included in the task distribution information when segment identification and the corresponding of calendared tasks quantity close System obtains and exports and belong to the initial of the calendared tasks of the part within the scope of the Query Dates by calling the reservation system interface Query result.It can be seen that by this programme, inquiry twice can outputting calendar task, i.e. one query calendared tasks quantity, one It is secondary according to task distribution information inquiry to the initial query result for belonging to part calendared tasks, so that striding course traffic operation Reduction and only output par, c calendared tasks ensure there is higher search efficiency under several scenes.
Specifically, the initial query result determining module 530, may include:
Origination date range determination unit, for based on it is included in the task distribution information when segment identification and calendar The correspondence of task quantity determines origination date range, wherein ranging from the multiple inquiry sub-period of the origination date In partial query sub-period;
Calendared tasks obtaining unit, for by calling the reservation system interface, obtaining within the scope of the origination date Calendared tasks;
Initial query result determination unit, for using the calendared tasks within the scope of the origination date obtained as just Beginning query result.
In one implementation, the origination date range determination unit is specifically used for:
Be related to from correspondence included by the task distribution information when segment identification in, determine acquiescence base period institute it is right The objective time interval mark answered;
Judge the corresponding target calendared tasks quantity of objective time interval mark whether non-zero, if so, will have described The target query sub-period of objective time interval mark is as origination date range;Otherwise,
It traverses and is located at objective time interval mark and target calendared tasks quantity correspondence in the task distribution information Correspondence later, until when segment identification corresponding to calendared tasks quantity non-zero, will be with the corresponding calendar traversed Task quantity non-zero when segment identification inquiry sub-period as origination date range.
In another implementation, the origination date range determination unit is specifically used for:
Be related to from correspondence included by the task distribution information when segment identification in, determine acquiescence base period institute it is right The objective time interval mark answered;
Judge whether the corresponding target calendared tasks quantity of objective time interval mark is more than predetermined displaying quantity, if It is, using the target query sub-period identified with the objective time interval as origination date range;Otherwise,
Determine the difference of target calendared tasks quantity and the predetermined displaying quantity;
It traverses and is located at objective time interval mark and target calendared tasks quantity correspondence in the task distribution information Correspondence later, until when segment identification corresponding to the sum of calendared tasks quantity be more than the difference, will have and be traversed The sum of corresponding calendared tasks quantity be more than the difference when segment identification at least one inquiry sub-period and the target Sub-period is inquired as origination date range.
In another implementation, the inquiry instruction further includes:The target fiducials date;
The origination date range determination unit is specifically used for:
It is described based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence, really Determine origination date range, including:
Be related to from correspondence included by the task distribution information when segment identification in, determine the target fiducials date Corresponding objective time interval mark;
Judge the corresponding target calendared tasks quantity of objective time interval mark whether non-zero, if so, will have described The target query sub-period of objective time interval mark is as origination date range;Otherwise,
It traverses and is located at objective time interval mark and target calendared tasks quantity correspondence in the task distribution information Correspondence later, until when segment identification corresponding to calendared tasks quantity non-zero, will be with the corresponding calendar traversed Task quantity non-zero when segment identification inquiry sub-period as origination date range.
In another implementation, the inquiry instruction further includes:The target fiducials date;
The origination date range determination unit is specifically used for:
Be related to from correspondence included by the task distribution information when segment identification in, determine the target fiducials date Corresponding objective time interval mark;
Judge whether the corresponding target calendared tasks quantity of objective time interval mark is more than predetermined displaying quantity, if It is, using the target query sub-period identified with the objective time interval as origination date range;Otherwise,
Determine the difference of target calendared tasks quantity and the predetermined displaying quantity;
It traverses and is located at objective time interval mark and target calendared tasks quantity correspondence in the task distribution information Correspondence later, until when segment identification corresponding to the sum of calendared tasks quantity be more than the difference, will have and be traversed The sum of corresponding calendared tasks quantity be more than the difference when segment identification at least one inquiry sub-period and the target Sub-period is inquired as origination date range.
In another implementation, the origination date range determination unit is specifically used for:
From it is included in the task distribution information when segment identification and calendared tasks quantity correspondence in, determine institute Corresponding calendared tasks quantity be more than predetermined displaying quantity it is at least one when segment identification;
From corresponding calendared tasks quantity be more than predetermined displaying quantity when segment identification in, obtain corresponding calendared tasks number Measure minimum when segment identification;
Using with corresponding calendared tasks minimum number when segment identification inquiry sub-period as origination date range.
In another implementation, the origination date range determination unit is specifically used for:
From it is included in the task distribution information when segment identification and calendared tasks quantity correspondence in, determine institute The most when segment identification of corresponding calendared tasks quantity;
Using with corresponding calendared tasks quantity it is most when segment identification inquiry sub-period as origination date range.
Further, a kind of calendared tasks inquiry unit that the embodiment of the present invention is provided can also include:First adds Module is carried, is used for:After exporting the initial query result obtained, load instruction upwards is obtained;It is exported based on current Calendared tasks date range and the task distribution information in it is included when segment identification and calendared tasks quantity pair It should be related to, determine for the first displaying date, wherein the first displaying date is the partial query in the multiple inquiry sub-period Sub-period;By calling the reservation system interface, the calendared tasks in the first displaying date range are obtained;In current institute On the calendared tasks of output, the calendared tasks in the first displaying date range obtained are loaded.
Further, a kind of calendared tasks inquiry unit that the embodiment of the present invention is provided can also include:Second adds Module is carried, is used for:After exporting the initial query result obtained, load instruction downwards is obtained;It is exported based on current Calendared tasks date range and the task distribution information in it is included when segment identification and calendared tasks quantity pair It should be related to, determine for the second displaying date, wherein the second displaying date is the partial query in the multiple inquiry sub-period Sub-period;By calling the reservation system interface, the calendared tasks in the second displaying date range are obtained;In current institute Under the calendared tasks of output, the calendared tasks in the second displaying date range obtained are loaded.
Specifically, segment identification may include when described:
Inquire the from date of sub-period;
Alternatively,
The when segment limit characterized by the from date of inquiry sub-period and date of expiry.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to embodiment of the method Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (12)

1. a kind of calendared tasks querying method, which is characterized in that including:
Obtain the inquiry instruction for being directed to calendared tasks, wherein the inquiry instruction includes at least:Query Dates range;
By calling reservation system interface, the day in multiple queries sub-period corresponding to Query Dates range described in poll is successive Business quantity, and generate the task distribution information corresponding to the Query Dates range, wherein the multiple inquiry sub-period is covered The Query Dates range and mutually there is no overlapping the date, the task distribution information include it is described inquire sub-period period The correspondence of mark and calendared tasks quantity;
Based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence, pass through and call institute Reservation system interface is stated, initial query result is obtained, wherein the initial query result is the portion within the scope of the Query Dates Divide calendared tasks;
Export the initial query result obtained.
2. according to the method described in claim 1, it is characterized in that, it is described based on it is included in the task distribution information when The correspondence of segment identification and calendared tasks quantity obtains initial query as a result, packet by calling the reservation system interface It includes:
Based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence, determine initial day Phase range, wherein the partial query sub-period in ranging from the multiple inquiry sub-period of the origination date;
By calling the reservation system interface, the calendared tasks within the scope of the origination date are obtained;
Using the calendared tasks within the scope of the origination date obtained as initial query result.
3. according to the method described in claim 2, it is characterized in that, it is described based on it is included in the task distribution information when The correspondence of segment identification and calendared tasks quantity determines origination date range, including:
Be related to from correspondence included by the task distribution information when segment identification in, determine acquiescence base period corresponding to Objective time interval identifies;
Judge the corresponding target calendared tasks quantity of objective time interval mark whether non-zero, if so, will have the target When segment identification target query sub-period as origination date range;Otherwise,
It traverses and is located in the task distribution information after objective time interval mark and target calendared tasks quantity correspondence Correspondence, until when segment identification corresponding to calendared tasks quantity non-zero, will be with the corresponding calendared tasks traversed Quantity non-zero when segment identification inquiry sub-period as origination date range.
4. according to the method described in claim 2, it is characterized in that, it is described based on it is included in the task distribution information when The correspondence of segment identification and calendared tasks quantity determines origination date range, including:
Be related to from correspondence included by the task distribution information when segment identification in, determine acquiescence base period corresponding to Objective time interval identifies;
Judge whether the corresponding target calendared tasks quantity of objective time interval mark is more than predetermined displaying quantity, if so, will Target query sub-period with objective time interval mark is as origination date range;Otherwise,
Determine the difference of target calendared tasks quantity and the predetermined displaying quantity;
It traverses and is located in the task distribution information after objective time interval mark and target calendared tasks quantity correspondence Correspondence, until when segment identification corresponding to the sum of calendared tasks quantity be more than the difference, will be with the institute traversed The sum of corresponding calendared tasks quantity be more than the difference when segment identification at least one inquiry sub-period and the target query Sub-period is as origination date range.
5. according to the method described in claim 2, it is characterized in that, the inquiry instruction further includes:The target fiducials date;
It is described based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence, determine just Beginning date range, including:
Be related to from correspondence included by the task distribution information when segment identification in, determine that target fiducials date institute is right The objective time interval mark answered;
Judge the corresponding target calendared tasks quantity of objective time interval mark whether non-zero, if so, will have the target When segment identification target query sub-period as origination date range;Otherwise,
It traverses and is located in the task distribution information after objective time interval mark and target calendared tasks quantity correspondence Correspondence, until when segment identification corresponding to calendared tasks quantity non-zero, will be with the corresponding calendared tasks traversed Quantity non-zero when segment identification inquiry sub-period as origination date range.
6. according to the method described in claim 2, it is characterized in that, the inquiry instruction further includes:The target fiducials date;
It is described based on it is included in the task distribution information when segment identification and calendared tasks quantity correspondence, determine just Beginning date range, including:
Be related to from correspondence included by the task distribution information when segment identification in, determine that target fiducials date institute is right The objective time interval mark answered;
Judge whether the corresponding target calendared tasks quantity of objective time interval mark is more than predetermined displaying quantity, if so, will Target query sub-period with objective time interval mark is as origination date range;Otherwise,
Determine the difference of target calendared tasks quantity and the predetermined displaying quantity;
It traverses and is located in the task distribution information after objective time interval mark and target calendared tasks quantity correspondence Correspondence, until when segment identification corresponding to the sum of calendared tasks quantity be more than the difference, will be with the institute traversed The sum of corresponding calendared tasks quantity be more than the difference when segment identification at least one inquiry sub-period and the target query Sub-period is as origination date range.
7. according to the method described in claim 2, it is characterized in that, it is described based on it is included in the task distribution information when The correspondence of segment identification and calendared tasks quantity determines origination date range, including:
From it is included in the task distribution information when segment identification and calendared tasks quantity correspondence in, determine corresponding to Calendared tasks quantity be more than predetermined displaying quantity it is at least one when segment identification;
From corresponding calendared tasks quantity be more than predetermined displaying quantity when segment identification in, obtain corresponding calendared tasks quantity most Few when segment identification;
Using with corresponding calendared tasks minimum number when segment identification inquiry sub-period as origination date range.
8. according to the method described in claim 2, it is characterized in that, it is described based on it is included in the task distribution information when The correspondence of segment identification and calendared tasks quantity determines origination date range, including:
From it is included in the task distribution information when segment identification and calendared tasks quantity correspondence in, determine corresponding to The most when segment identification of calendared tasks quantity;
Using with corresponding calendared tasks quantity it is most when segment identification inquiry sub-period as origination date range.
9. according to the method described in claim 1, it is characterized in that, it is described export the initial query result that is obtained it Afterwards, the method further includes:
Obtain load instruction upwards;
Included when segment identification in date range and the task distribution information based on the calendared tasks currently exported With the correspondence of calendared tasks quantity, determined for the first displaying date, wherein the first displaying date is the multiple inquiry Partial query sub-period in sub-period;
By calling the reservation system interface, the calendared tasks in the first displaying date range are obtained;
On the calendared tasks currently exported, the calendared tasks in the first displaying date range obtained are loaded.
10. according to the method described in claim 1, it is characterized in that, it is described export the initial query result that is obtained it Afterwards, the method further includes:
Obtain load instruction downwards;
Included when segment identification in date range and the task distribution information based on the calendared tasks currently exported With the correspondence of calendared tasks quantity, determined for the second displaying date, wherein the second displaying date is the multiple inquiry Partial query sub-period in sub-period;
By calling the reservation system interface, the calendared tasks in the second displaying date range are obtained;
Under the calendared tasks currently exported, the calendared tasks in the second displaying date range obtained are loaded.
11. according to claim 1-10 any one of them methods, which is characterized in that segment identification includes when described:
Inquire the from date of sub-period;
Alternatively,
The when segment limit characterized by the from date of inquiry sub-period and date of expiry.
12. a kind of calendared tasks inquiry unit, which is characterized in that including:
Inquiry instruction obtains module, for obtaining the inquiry instruction for being directed to calendared tasks, wherein the inquiry instruction at least wraps It includes:Query Dates range;
Task distribution information generating module calls reservation system interface, corresponding to Query Dates range described in poll for passing through Multiple queries sub-period in calendared tasks quantity, and generate the task distribution information corresponding to the Query Dates range, Wherein, the multiple inquiry sub-period covers the Query Dates range and mutually there is no overlapping date, the task distribution letters Breath include it is described inquiry sub-period when segment identification and calendared tasks quantity correspondence;
Initial query result determining module, for based on it is included in the task distribution information when segment identification and calendared tasks The correspondence of quantity obtains initial query result, wherein the initial query knot by calling the reservation system interface Fruit is the part calendared tasks within the scope of the Query Dates;
Initial query result output module, for exporting the initial query result obtained.
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 CN105279035A (en) 2016-01-27
CN105279035B true 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)

Families Citing this family (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
CN112182050B (en) * 2020-09-30 2024-04-30 中国民航信息网络股份有限公司 User query request processing method and device and electronic equipment

Citations (2)

* 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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8775506B2 (en) * 2011-10-19 2014-07-08 Oracle International Corporation Eager block fetching for web-based data grids
US8615504B2 (en) * 2011-12-14 2013-12-24 Artist Growth, Llc Action alignment for event planning, project management and process structuring

Patent Citations (2)

* 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

Also Published As

Publication number Publication date
CN105279035A (en) 2016-01-27

Similar Documents

Publication Publication Date Title
CN106296142B (en) Method and system for selecting multiple payment channels
CN104657372B (en) page operation data processing method and device
CN104967731B (en) A kind of terminal notifying method and terminal
CN102799640A (en) Page loading device and page loading method
CN105354027A (en) Terminal application program management method and apparatus
CN104484352A (en) Method, device and equipment for quickly searching application program
CN105338154B (en) A kind of contact sequencing method, device and terminal
KR20130012033A (en) Icon displaying method according to service usage capability and electronic device supporting the same
CN101465752A (en) Method and system for ordering linkman
CN109672543A (en) Group event management method and device
CN106156998A (en) The management method of a kind of Pending tasks and device
CN106656646A (en) Intelligent flow prompt method and device, and corresponding mobile terminal
WO2017161901A1 (en) Method and device for marking event on electronic calendar
CN108307068A (en) Pair screen shows interface switching method, mobile terminal and storage medium
CN105656734A (en) Method, device and system for controlling intelligent housing system
CN105279035B (en) Calendared tasks querying method and device
CN108537651A (en) Bookkeeping methods, mobile terminal and computer readable storage medium
CN110233741A (en) Service charging method, device, equipment and storage medium
CN106651289A (en) Task reminding method and task reminding device
CN104639717A (en) Contact information display method and device
CN107341208A (en) A kind of content recommendation method and device
CN106682813A (en) User working state determining method and terminal
CN106941559A (en) A kind of calendar information sharing method and calendar client
CN106933873A (en) A kind of cross-platform data querying method and equipment
CN112286616A (en) Dynamic wallpaper setting method and device and electronic equipment

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