CN104424327A - Method and device for confirming search time scope in search engine - Google Patents

Method and device for confirming search time scope in search engine Download PDF

Info

Publication number
CN104424327A
CN104424327A CN201310410046.6A CN201310410046A CN104424327A CN 104424327 A CN104424327 A CN 104424327A CN 201310410046 A CN201310410046 A CN 201310410046A CN 104424327 A CN104424327 A CN 104424327A
Authority
CN
China
Prior art keywords
time
search
scope
format
information
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
CN201310410046.6A
Other languages
Chinese (zh)
Other versions
CN104424327B (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.)
Singularity Xinyuan International Technology Development (Beijing) Co.,Ltd.
Original Assignee
CHONGQING XINMEI AGRICULTURAL INFORMATION 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 CHONGQING XINMEI AGRICULTURAL INFORMATION TECHNOLOGY CO LTD filed Critical CHONGQING XINMEI AGRICULTURAL INFORMATION TECHNOLOGY CO LTD
Priority to CN201310410046.6A priority Critical patent/CN104424327B/en
Publication of CN104424327A publication Critical patent/CN104424327A/en
Application granted granted Critical
Publication of CN104424327B publication Critical patent/CN104424327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Abstract

The invention discloses a method and a device for confirming a search time scope in a search engine. The method comprises the following steps of receiving the information inputted by a user and initializing the search time scope; identifying the time information meeting the preset time format in the received information, wherein the preset time format comprises a first time format and a second time format; adopting the identified time information meeting the preset time format for adjusting the initialized search time scope, thereby acquiring a final search time scope. According to the embodiment of the invention, the user need not input time according to a fixed format, the user also need not select time from a time selecting frame and the user only need input a search term containing time information according to a normal time presentation mode, so that the experience of the user is increased.

Description

Be applied to the range determining method and device search time in search engine
Technical field
The present invention relates to search technique, particularly relate to a kind of range determining method and device search time be applied in search engine.
Background technology
At such as news website, shopping website, tour site, air ticket website, in the search engine of transaction platform etc., time is as the critical range parameter of one query, whether its accuracy is directly connected to can locator data result set accurately, therefore for time parameter, user is often required in temporal information frame according to the set form input provided in traditional mode, such as " XX XX month XX day ", but, the input habit of such meeting limited subscriber, add user and use complexity, or selection of time frame is provided on webpage, require user's option date from selection of time frame, but the selection of user's target date often needs operation repeatedly, which increase the complexity of user operation.
Summary of the invention
In view of this, the invention provides a kind of range determining method and device search time be applied in search engine, the temporal information contained in the information of user's input can be automatically identified, determine with this time range needing search, improve user experience.
The invention provides a kind of range determining method search time be applied in search engine, comprise
Identify the temporal information meeting predetermined time form in the information of described reception, described predetermined time form comprise time format one and/or time format two; Described time format one at least comprises Part I and Part III, wherein Part I is: the present, yesterday, bright, front, near, upper, rear and large after in arbitrary, Part III is: day, sky, the moon, week, year, number, arbitrary in week and week, described time format two comprises Part IV and Part V, wherein Part IV be numeral, Part V is: the moon, day, year and number in arbitrary;
The temporal information meeting predetermined time form identified described in employing adjusts to scope described initialized search time, obtains final scope search time.
Preferably, described time format one can also comprise Part II, and Part II is numeral.
Preferably, when predetermined time form comprise time format for the moment, the temporal information of what described employing identified meet predetermined time form adjusts to scope initialized search time and is specially: adopt the temporal information meeting predetermined time form that identifies to do time migration to scope initialized search time.
Preferably, when predetermined time, form comprised time format two, the temporal information of what described employing identified meet predetermined time form adjusts to scope initialized search time and is specially: adopt the temporal information meeting predetermined time form that identifies to do element of time to scope initialized search time and replace.
Preferably, when predetermined time, form comprised time format one and time format two, the temporal information of what described employing identified meet predetermined time form adjusts to scope initialized search time and is specially:
Whether judge in the information of described reception containing the temporal information meeting time format one/time format two;
If so, then do time migration/element of time to scope initialized search time to replace;
If not, whether containing the temporal information meeting time format two/time format one then in the information judging described reception;
If so, then element of time replacement/time migration is done to scope initialized search time.
Preferably, described time migration is done to scope initialized search time, can comprise:
What recognize described in determining meets time migration parameter corresponding to each several part in the temporal information of time format one, and described time migration parameter is in units of sky;
Using the product of time migration parameter corresponding for each several part determined as final time offset;
Described final time offset is adopted to offset scope described initialized search time.
Preferably, described the present, yesterday, bright, front, near, upper, rear and large rear corresponding time migration parameter can be respectively: 0 ,-1,1 ,-1 or-2 ,-1 ,-1,1 or 2,3; Described day, sky, the moon, week, year, number, week and time migration parameter corresponding to week can be respectively: 1,1,30,7,365,1,7,7.
Preferably, describedly element of time is done to scope initialized search time replace, can comprise following any one or multinomial: adopt the year information recognized to replace year information in scope initialized search time, the day adopting the moon information the recognized moon information and adopting in scope initialized search time of replacing to recognize or number information replace the day information in scope initialized search time.
Present invention also offers a kind of ranges determination device search time be applied in search engine, comprise
Receive and initialization module, for receiving the information of user's input, and initialization scope search time;
Identification module, for identify described reception information in meet the temporal information of predetermined time form, described predetermined time form comprise time format one and/or time format two; Described time format one at least comprises Part I and Part III; wherein Part I is: the present, yesterday, bright, front, near, upper, rear and large after in arbitrary; Part III is: day, sky, the moon, week, year, number, arbitrary in week and week; described time format two comprises Part IV and Part V; wherein Part IV be numeral, Part V is: the moon, day, year and number in arbitrary;
Processing module, the search time scope of the temporal information meeting predetermined time form recognized for adopting described identification module to described reception and initialization module initializes adjusts, and obtains final scope search time.
Preferably, described time format one can also comprise Part II, and Part II is numeral.
Beneficial effect of the present invention:
The embodiment of the present invention, for the information of user's input, identify the temporal information of wherein mating with time format one or time format two, and according to this temporal information recognized, initialized time range is adjusted, this kind of mode, do not need user according to set form input time in temporal information frame, user's select time from selection of time frame is not needed yet, user only needs to input containing the information of temporal information and passable according to normal temporal expressions mode, such as directly input the price of watermelon " today ", therefore can improve the Experience Degree of user; In addition, the summary of concrete form to existing time expression form of time format one or time format two proposes, and therefore identifies according to time format one or time format two, has and identifies wide, recognition accuracy high.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described:
Fig. 1 be provided by the invention be applied in search engine search time range determining method the schematic flow sheet of the first embodiment.
Fig. 2 be provided by the invention be applied in search engine search time range determining method the schematic flow sheet of the second embodiment.
Fig. 3 be provided by the invention be applied in search engine search time range determining method the schematic flow sheet of the 3rd embodiment.
Fig. 4 be provided by the invention be applied in search engine search time range determining method the schematic flow sheet of the 4th embodiment.
Fig. 5 be provided by the invention be applied in search engine search time ranges determination device the structural representation of embodiment.
Fig. 6 is the structural representation of the embodiment of the first processing unit.
Fig. 7 is the structural representation of the embodiment of the second processing unit.
Fig. 8 is the structural representation of the embodiment of the 3rd processing unit.
Embodiment
Please refer to Fig. 1, be provided by the invention be applied in search engine search time range determining method the schematic flow sheet of the first embodiment, it comprises:
The information of step S11, reception user input, and initialization scope search time.
The temporal information of predetermined time form is met in the information received in step S12, identification step S11.
Wherein, form comprises time format one and/or time format two predetermined time; Described time format one at least comprises Part I and Part III, wherein Part I is: the present, yesterday, bright, front, near, upper, rear and large after in arbitrary, Part III is: day, sky, the moon, week, year, number, arbitrary in week and week, described time format two comprises Part IV and Part V, wherein Part IV be numeral, Part V is: the moon, day, year and number in arbitrary.
Step S13, adopt the temporal information meeting predetermined time form that recognizes of step S12 to adjust to scope initialized search time, obtain final scope search time.
The time format one that the present embodiment proposes and the summary of time format two to the common expression-form of time propose, and common temporal expressions form can be such as: " on August 12nd, 2013 ", " August 12 ", " No. 12 ", " August 12 ", " tomorrow ", " today ", " today ", " tomorrow ", " day after tomorrow ", " day before yesterday ", " nearly one week ", " a nearly week ", " last week ", " last month ", " next month ", " nearly one month ", " first 3 days ", " upper 1 week " and " first three sky " etc.
Wherein, time format one comprises three parts, wherein Part I is mainly: the present, yesterday, bright, front, near, upper, rear and large after in arbitrary, Part II is mainly numeral, and Part III is mainly: day, sky, the moon, week, year, number, arbitrary in week and week, wherein Part II can be default, such as: the expression formula of some time is " first three sky ", and now three parts all have, and the expression formula of some time is " day before yesterday ", now lack Part II, but this allows.
Wherein, time format two is primarily of Part IV and Part V composition, and wherein Part IV be digital, and Part V is: the moon, day, year and number in arbitrary, its common form of expression is such as " 02 year ", " No. 25 ", " August ", " 13 days ", etc.
The present embodiment, for the information of user's input, identify the temporal information of wherein mating with time format one or time format two, and according to this temporal information recognized, scope initialized search time is offset or is done the replacement of element of time, final scope search time is determined with this, this kind of mode, do not need user according to set form input time in temporal information frame, user's select time from selection of time frame is not needed yet, user only needs to input containing the search word of temporal information and passable according to normal temporal expressions mode, such as directly input " price of nearly one week egg ", therefore the operation complexity of user can be reduced, improve the Experience Degree of user, also corresponding Webpage search interface can be made more succinct simultaneously.
Please refer to Fig. 2, be provided by the invention be applied in search engine search time range determining method the schematic flow sheet of the second embodiment, it comprises:
The information of step S21, reception user input, and initialization scope search time.
Wherein, the information of user's input can be such as " June in 2013 Chinese cabbage on the 5th price, today watermelon price; the preferential activity of tomorrow; the news of last week, which the work of nearly three days has, the house transaction situation of nearly a year " etc. the search type containing temporal information.
Wherein, during initialization scope search time, can by initialization today scope search time, such as: when today is on August 12nd, 2013, then scope is initialization time: start(starts)=on August 12nd, 2013 00:00:00, end(terminate)=on August 12nd, 2013 23:59:59.
The temporal information of time format one is met in the information received in step S22, identification step S21.
Step S23, determine to recognize meet time migration parameter corresponding to each several part in the temporal information of time format one.
Step S24, time migration parameter corresponding for each several part determined to be multiplied as final time offset.
Step S25, final time offset is adopted to offset described initialized time search scope.
Wherein, the corresponding time migration parameter of the keyword of every part in time format one, time migration parameter is in units of sky, and adopt the form of time migration Parameter Mapping table to store keyword and time migration parameter, wherein time migration Parameter Mapping table can be as shown in Table 1.
Table one:
In Table 1, "-" number represents (past) skew backward, and "+" number represents (future) skew forward.Such as "-1 " represents skew backward one day, i.e. yesterday, "+1 " represents biased forwards one day, i.e. tomorrow, the off-set value that " middle without any numeral " is corresponding when being hypodactylia Part II, the off-set value that such as " front " was corresponding in " day before yesterday " is "-2 ", and the off-set value that in " first three sky ", " front " is corresponding is "-1 ".
Wherein, after determining time migration parameter corresponding to each several part, the result that each several part is multiplied by the present embodiment is as final time offset, such as: in " today ", the time migration parameter of Part I and Part III difference correspondence is " 0 " and " 1 ", the final time offset that then " today " is corresponding is 0*1=0, the time migration parameter that again such as in " nearly 10 days ", Part I " closely " is corresponding is "-1 ", middle continuous print numeral integrally, the time migration parameter of its correspondence is " 10 ", Part III " my god " corresponding time migration parameter is 1, therefore the time offset that " nearly 10 days " are corresponding is "-1*10*1=-10 ".
Enumerate the time offset that some common temporal expressions modes are corresponding below again, such as:
" first three sky "=-1*3*1
" yesterday "=-1*1
" a upper week "=-1*1*1*7
" tomorrow "=1*1
" nearly one month "=-1*1*1*30
" nearly ten days "=-1*10*1
" first 2 days "=-1*2*1
Wherein, after final time offset is determined, this time offset is adopted daily to do time migration to initialized time search scope, time migration can be done to the initial time (start) in initialized time search scope herein, or all can do time migration to initial time (start) and end time (end).
Such as, scope is initialization time: start(starts)=on August 12nd, 2013 00:00:00, end(terminate)=on August 12nd, 2013 23:59:59.The information of user's input is " the watermelon price of the day before yesterday ".The temporal information then recognized from the information of user's input is " day before yesterday ", and the time offset of " day before yesterday " correspondence is "-2 ", therefore start and end is offset two days all backward, obtaining final time search scope is: start(starts)=on August 10th, 2013 00:00:00, end(terminate)=on August 10th, 2013 23:59:59.Again such as, the information of user's input is " price of nearly three days eggs ", the time offset corresponding due to " nearly three days " is-3, therefore start is offset three days backward, obtaining final time search scope is: start(starts)=on August 9th, 2013 00:00:00, end(terminate)=on August 12nd, 2013 23:59:59.
For similar " last month " or " nearly three months " this temporal expressions mode containing keyword " moon ", if time range will be initialized as today offset, possible accuracy is not high, at this moment can consider will be initialized as time search scope this month, to increase accuracy.Such as: initialization time hunting zone be that start(starts)=on August 01st, 2013 00:00:00, end(terminate)=on August 30th, 2013 23:59:59.If the information of user's input is " XXX last month ", then determine that time offset is-30 by temporal information " last month ",-30 pairs of start times and end time is utilized all to offset, obtaining final time search scope is: start(starts)=on July 01st, 2013 00:00:00, end(terminate)=on July 30th, 2013 23:59:59.If that user's input is " nearly three months XXX ", then determine that time offset is-90 by temporal information " nearly three months ",-90 pairs of start times are utilized to offset, obtaining final time search scope is: start(starts)=on May 01st, 2013 00:00:00, end(terminate)=on August 30th, 2013 23:59:59.
In addition, for such as " last year ", " nearly 3 years ", this kind of temporal information containing keyword " year ", can consider will be initialized as time search scope the current year, with increase determine final search time scope accuracy.
The present embodiment, for the temporal information meeting " time format one ", by searching time migration parameter corresponding to each several part, and finally determine time offset by the time migration parameter of each several part, the time offset finally determined by this again offsets scope initialized search time, thus scope search time that can obtain fast and accurately, then search in conjunction with other keyword of user's input, the accuracy of Search Results can be improved, improve user satisfaction.
Please refer to Fig. 3, be provided by the invention be applied in search engine search time range determining method the schematic flow sheet of the 3rd embodiment, it comprises:
The information of step S31, reception user input, and initialization scope search time.
Wherein, the step S21 in step S31 and Fig. 2 is identical, is not repeated herein.
The temporal information of time format two is met in the information received in step S32, identification step S31.
Step S33, adopt the temporal information meeting time format two that identifies to do element of time to time of model initialized search time, month and/or date to replace, obtain final scope search time.
Wherein, step S32 may recognize multiple temporal information meeting time format two, such as: user's input be the price of gold on the 5th " in the April, 2013 ", the temporal information that three meet time format two is contained in this information, be " 2013 ", " April " and " 5 days " respectively, these all need all to identify respectively.
Wherein, in step S33 to scope initialized search time do element of time replace year information that refers to replacement, the moon information replacement and/or day (number) information replace, concrete, step S33 comprises and adopts the year information recognized to replace year information in scope initialized search time, and the day adopting the moon information the recognized moon information and adopting in scope initialized search time of replacing to recognize or number information replace at least one or more in information of day in scope initialized search time.
Such as: initialization scope search time is: start(starts)=on August 12nd, 2013 00:00:00, end(terminate)=on August 12nd, 2013 23:59:59.User's input be the price of gold on the 5th " in the April, 2013 ", owing to containing the temporal information that three meet time format two in this information, " 2013 ", " April " and " 5 days " respectively, then initialized search time scope do year information, the moon information and day information replacement after scope search time that obtains be: start(starts)=on April 5th, 2013 00:00:00, end(terminate)=on April 5th, 2013 23:59:59.
Enumerate the adjustment mode that some temporal informations are corresponding below again:
" on June 5th, 2013 "=by Start and end time (amendment year is 2013, and the amendment moon was 6 amendment days is 5)
" June 5 "=by Start and end time (the amendment moon was 6 amendment days is 5)
" June 12 "=by Start and end time (the amendment moon was 6 amendment days is 12)
" 12 days "=by Start and end time (amendment day is 12)
" June 5 "=by Start and end time (the amendment moon was 6 amendment days is 5)
" June 5 "=by Start and end time (the amendment moon was 6 amendment days is 5)
" March 10 "=by Start and end time (the amendment moon was 3 amendment days is 10)
" 2012 on July 2, "=by Start and end time (amendment year be the 2012 amendment moons be 7 amendment days be 2)
The present embodiment, for the year information contained in user's input information, the moon information and/or day information, adopted time format two to identify, then directly to replace in time search accordingly year information, the moon information and/or day information, determine final scope search time.
Please refer to Fig. 4, be provided by the invention be applied in search engine search time range determining method the schematic flow sheet of the 4th embodiment, it comprises:
The information of step S41, reception user input, and initialization scope search time.
Step S42, to judge in the information that receives whether free format match time format one; If so, perform step S43, otherwise perform step S44.
Step S43, the mode addressed according to Fig. 2, determine final scope search time, process ends.
Step S44, to judge in the information that receives whether free information matches time format two; If so, step S45 is performed, otherwise process ends.
Step S45, the mode addressed according to Fig. 3, determine final scope search time, process ends.
In actual applications, for the information of user's input, the mode of Fig. 2 or Fig. 3 not only can be adopted to determine final scope search time, all right integrated use two kinds of modes, namely when a kind of mode can not identify, can also attempt using another kind.Whether if having time the sequencing of S44 and S42 does not definitely limit, and also can first adopt S44 to judge in the information received whether free information matches time format two, perform step S42 if not again and to judge in the information received format match time format one.
Please refer to Fig. 5, be provided by the invention be applied in search engine search time ranges determination device the structural representation of embodiment, it comprises:
Receive and initialization module 1, for receiving the information of user's input, and initialization scope search time.
Wherein, the information of user's input can be such as " June in 2013 Chinese cabbage on the 5th price, today watermelon price; the preferential activity of tomorrow; the news of last week, which the work of nearly three days has, the house transaction situation of nearly a year " etc. the search type containing temporal information.
Wherein, during initialization scope search time, can by initialization today scope search time, such as: when today is on August 12nd, 2013, then scope is initialization time: start(starts)=on August 12nd, 2013 00:00:00, end(terminate)=on August 12nd, 2013 23:59:59.
Identification module 2, for meeting the temporal information of predetermined time form in the information that receives in identifying, predetermined time form comprise time format one and/or time format two.
Wherein, time format one comprises three parts, wherein Part I is mainly: the present, yesterday, bright, front, near, upper, rear and large after in arbitrary, Part II is mainly numeral, and Part III is mainly: day, sky, the moon, week, year, number, arbitrary in week and week, wherein Part II can be default, such as: the expression formula of some time is " first three sky ", and now three parts all have, and the expression formula of some time is " day before yesterday ", now lack Part II, but this allows.
Wherein, the corresponding time migration parameter of the keyword of every part in time format one, time migration parameter is in units of sky, and adopt the form of time migration Parameter Mapping table to store keyword and time migration parameter, wherein time migration Parameter Mapping table can as shown in table one above.
Wherein, time format two is primarily of Part IV and Part V composition, and wherein Part I be digital, and Part II is: the moon, day, year and number in arbitrary, its common form of expression is such as " 02 year ", " No. 25 ", " August ", " 13 days ", etc.
Processing module 3, adjusts to scope described initialized search time for the temporal information meeting predetermined time form that identifies described in adopting, obtains final scope search time.
Processing module 3 comprises the first processing unit 31, second processing unit 32 and the 3rd processing unit 33.
First processing unit 31, for when predetermined time form comprise time format for the moment, adopt the temporal information meeting predetermined time form that identifies to do time migration to scope initialized search time.
Second processing unit 32, for when predetermined time, form comprised time format two, adopts the temporal information meeting predetermined time form that identifies to do element of time to scope initialized search time and replaces.
Whether the 3rd processing unit 33, for when predetermined time, form comprised time format one and time format two, judge in the information of described reception containing the temporal information meeting time format one/time format two; If so, then do time migration/element of time to scope initialized search time to replace; If not, whether containing the temporal information meeting time format two/time format one then in the information judging described reception; If so, then element of time replacement/time migration is done to scope initialized search time.
As shown in Figure 6, the first processing unit 31 comprises in one embodiment:
Determine subelement 311, meet time migration parameter corresponding to each several part in the temporal information of time format one for what recognize described in determining.
Be multiplied subelement 312, and the product of the time migration parameter that each several part for described determining unit 31 being determined is corresponding is as final time offset.
First skew subelement 313, offsets scope described initialized search time for adopting described final time offset.
As shown in Figure 7, the second processing unit 32, in its a kind of embodiment, mainly comprises:
Year information replaces subelement 321, replaces year information in scope initialized search time for adopting the year information recognized.
Month information replaces subelement 322, replaces moon information in scope initialized search time for adopting the moon information recognized.
Day information replaces subelement 323, replaces day information in scope initialized search time for adopting day of recognizing or number information.
As shown in Figure 8, the 3rd processing unit 33, in its a kind of embodiment, mainly comprises:
Judgment sub-unit 333, for judge receive information in whether containing the temporal information meeting time format one/time format two; If so, the second skew subelement 331/ information of then calling is replaced subelement 332 and is done time migration/element of time to scope initialized search time and replace; If not, then judge receive information in whether containing the temporal information meeting time format two/time format one; If so, then recalls information is replaced subelement 332/ second and is offset subelement 331 and do element of time replacement/time migration to scope initialized search time
Second skew subelement 331 specifically for: what recognize described in determining meets time migration parameter corresponding to each several part in the temporal information of time format one, and described time migration parameter is in units of sky; Using the product of time migration parameter corresponding for each several part determined as final time offset; Described final time offset is adopted to offset scope described initialized search time.
Information replace subelement 332 specifically for: adopt the year information recognized to replace year information in scope initialized search time, the day adopting the moon information the recognized moon information and adopting in scope initialized search time of replacing to recognize or number information replace the day information in scope initialized search time.
The embodiment of the present invention, for the information of user's input, identify wherein with the temporal information of predetermined time format match, and according to this temporal information recognized, scope initialized search time is offset or is done the replacement of element of time, final scope search time is determined with this, this kind of mode, do not need user according to set form input time in temporal information frame, user's select time from selection of time frame is not needed yet, user only needs to input containing the information of temporal information and passable according to normal temporal expressions mode, such as directly input " price of nearly one week egg ", therefore the operation complexity of user can be reduced, improve the Experience Degree of user, also corresponding Webpage search interface can be made more succinct simultaneously.
What finally illustrate is, above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that, can modify to technical scheme of the present invention or equivalent replacement, and not departing from aim and the scope of technical solution of the present invention, it all should be encompassed in the middle of right of the present invention.

Claims (10)

1. be applied to range determining method search time in search engine, it is characterized in that: comprise
Receive the information of user's input, and initialization scope search time;
Identify the temporal information meeting predetermined time form in the information of described reception, described predetermined time form comprise time format one and/or time format two; Described time format one at least comprises Part I and Part III, wherein Part I is: the present, yesterday, bright, front, near, upper, rear and large after in arbitrary, Part III is: day, sky, the moon, week, year, number, arbitrary in week and week, described time format two comprises Part IV and Part V, wherein Part IV be numeral, Part V is: the moon, day, year and number in arbitrary;
The temporal information meeting predetermined time form identified described in employing adjusts to scope described initialized search time, obtains final scope search time.
2. be applied to range determining method search time in search engine as claimed in claim 1, it is characterized in that: described time format one also comprises Part II, and Part II is numeral.
3. be applied to range determining method search time in search engine as claimed in claim 1, it is characterized in that: when predetermined time form comprise time format for the moment, the temporal information of what described employing identified meet predetermined time form to scope initialized search time adjust into:
The temporal information meeting predetermined time form that identifies is adopted to do time migration to scope initialized search time.
4. be applied to range determining method search time in search engine as claimed in claim 1, it is characterized in that: when predetermined time, form comprised time format two, the temporal information of what described employing identified meet predetermined time form to scope initialized search time adjust into:
Adopt the temporal information meeting predetermined time form that identifies to do element of time to scope initialized search time to replace.
5. be applied to range determining method search time in search engine as claimed in claim 1, it is characterized in that: when predetermined time, form comprised time format one and time format two, the temporal information of what described employing identified meet predetermined time form to scope initialized search time adjust into:
Whether judge in the information of described reception containing the temporal information meeting time format one/time format two;
If so, then do time migration/element of time to scope initialized search time to replace;
If not, whether containing the temporal information meeting time format two/time format one then in the information judging described reception;
If so, then element of time replacement/time migration is done to scope initialized search time.
6. range determining method search time be applied in search engine as described in any one of claim 3,5, is characterized in that: describedly do time migration to scope initialized search time, comprising:
What recognize described in determining meets time migration parameter corresponding to each several part in the temporal information of time format one, and described time migration parameter is in units of sky;
Using the product of time migration parameter corresponding for each several part determined as final time offset;
Described final time offset is adopted to offset scope described initialized search time.
7. range determining method search time be applied in search engine as described in any one of claim 1,2,3,5, is characterized in that:
Described the present, yesterday, bright, front, near, upper, rear and large rear corresponding time migration parameter are respectively: 0 ,-1,1 ,-1 or-2 ,-1 ,-1,1 or 2,3;
Described day, sky, the moon, week, year, number, week and time migration parameter corresponding to week be respectively: 1,1,30,7,365,1,7,7.
8. range determining method search time be applied in search engine as described in claim 4 or 5, it is characterized in that: describedly element of time is done to scope initialized search time replace, comprise following any one or multinomial: adopt the year information recognized to replace year information in scope initialized search time, the day adopting the moon information the recognized moon information and adopting in scope initialized search time of replacing to recognize or number information replace the day information in scope initialized search time.
9. be applied to ranges determination device search time in search engine, it is characterized in that: comprise
Receive and initialization module, for receiving the information of user's input, and initialization scope search time;
Identification module, for identify described reception information in meet the temporal information of predetermined time form, described predetermined time form comprise time format one and/or time format two; Described time format one at least comprises Part I and Part III; wherein Part I is: the present, yesterday, bright, front, near, upper, rear and large after in arbitrary; Part III is: day, sky, the moon, week, year, number, arbitrary in week and week; described time format two comprises Part IV and Part V; wherein Part IV be numeral, Part V is: the moon, day, year and number in arbitrary;
Processing module, the search time scope of the temporal information meeting predetermined time form recognized for adopting described identification module to described reception and initialization module initializes adjusts, and obtains final scope search time.
10. be applied to ranges determination device search time in search engine as claimed in claim 7, it is characterized in that: described time format one also comprises Part II, and Part II is numeral.
CN201310410046.6A 2013-09-10 2013-09-10 Applied to the search time range determining method and device in search engine Active CN104424327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310410046.6A CN104424327B (en) 2013-09-10 2013-09-10 Applied to the search time range determining method and device in search engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310410046.6A CN104424327B (en) 2013-09-10 2013-09-10 Applied to the search time range determining method and device in search engine

Publications (2)

Publication Number Publication Date
CN104424327A true CN104424327A (en) 2015-03-18
CN104424327B CN104424327B (en) 2018-09-14

Family

ID=52973301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310410046.6A Active CN104424327B (en) 2013-09-10 2013-09-10 Applied to the search time range determining method and device in search engine

Country Status (1)

Country Link
CN (1) CN104424327B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293647A (en) * 2015-05-12 2017-01-04 江苏金思维软件有限公司 A kind of software inquiry method and system supporting the relative-date time
CN108628603A (en) * 2017-03-16 2018-10-09 北京京东尚科信息技术有限公司 A kind of method, apparatus, equipment and storage medium that time setting value is provided
CN108776679A (en) * 2018-05-30 2018-11-09 百度在线网络技术(北京)有限公司 A kind of sorting technique of search term, device, server and storage medium
CN114072788A (en) * 2019-07-02 2022-02-18 国际商业机器公司 Random sampling from search engine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050149858A1 (en) * 2003-12-29 2005-07-07 Stern Mia K. System and method for managing documents with expression of dates and/or times
CN1955963A (en) * 2005-10-25 2007-05-02 国际商业机器公司 System and method for searching dates in electronic documents
CN101710321A (en) * 2009-10-28 2010-05-19 金蝶软件(中国)有限公司 Method and device for querying database date and database

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050149858A1 (en) * 2003-12-29 2005-07-07 Stern Mia K. System and method for managing documents with expression of dates and/or times
CN1955963A (en) * 2005-10-25 2007-05-02 国际商业机器公司 System and method for searching dates in electronic documents
CN101710321A (en) * 2009-10-28 2010-05-19 金蝶软件(中国)有限公司 Method and device for querying database date and database

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293647A (en) * 2015-05-12 2017-01-04 江苏金思维软件有限公司 A kind of software inquiry method and system supporting the relative-date time
CN108628603A (en) * 2017-03-16 2018-10-09 北京京东尚科信息技术有限公司 A kind of method, apparatus, equipment and storage medium that time setting value is provided
CN108776679A (en) * 2018-05-30 2018-11-09 百度在线网络技术(北京)有限公司 A kind of sorting technique of search term, device, server and storage medium
CN114072788A (en) * 2019-07-02 2022-02-18 国际商业机器公司 Random sampling from search engine
US11797615B2 (en) 2019-07-02 2023-10-24 International Business Machines Corporation Random sampling from a search engine

Also Published As

Publication number Publication date
CN104424327B (en) 2018-09-14

Similar Documents

Publication Publication Date Title
CN104424327A (en) Method and device for confirming search time scope in search engine
CN104808903B (en) Text selection method and device
CN105468222A (en) Application arrangement system and method
US20140324810A1 (en) Internet accessing method and device, mobile terminal and storage medium
CN102999752A (en) Method and device for quickly identifying local characters in picture and terminal
CN105094775B (en) Webpage generation method and device
EP3159808A1 (en) Address book based picture matching method and terminal
CN104268175A (en) Data search device and method thereof
CN104007836A (en) Handwriting input processing method and terminal device
CN104951508A (en) Time information identification method and device
CN101149806B (en) Method and device for hand writing identification post treatment using context information
CN104657846A (en) Calendar event reminding method and calendar event reminding system of mobile terminal
CN104766077A (en) Method and device for recognizing characters in picture
CN101441549A (en) Character recognition method, system and electric terminal
CN105631461A (en) Image recognition system and method
CN103971679B (en) Contact voice searching method and device and mobile terminal
CN102945113B (en) Method character being replaced by input method and client
CN104954568A (en) Mobile phone font dynamic control system and method
CN108710622B (en) Webpage information recommendation method and system based on machine learning
CN103903615A (en) Information processing method and electronic device
CN105589873B (en) Data searching method, terminal and server
CN103685668B (en) Method and a system for quickly inputting contact persons in local address books
CN104765785A (en) Contact person searching method and device
CN102789481A (en) Method for analyzing specific type of contents of mobile phone IM (Instant Messaging) client
CN103207890A (en) Method and device for acquiring contact person information

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: 20200610

Address after: Room 502-1, floor 5, building 2, courtyard 10, KEGU 1st Street, economic development zone, Daxing District, Beijing 100081

Patentee after: Singularity Xinyuan International Technology Development (Beijing) Co.,Ltd.

Address before: The 401121 northern New District of Chongqing municipality Mount Huangshan Road 5 south of Mercury Technology Building 1 floor office No. 3

Patentee before: A-MEDIA COMMUNICATION TECH Co.,Ltd.