Detailed description of the invention
Below by the embodiment of DETAILED DESCRIPTION The present application. It should be noted that the embodiments described herein only forIllustrate, be not limited to the application.
Fig. 1 illustrates the structural representation of the application's mobile search system, this mobile search system bagDraw together mobile search device 11 and far-end server 12, mobile search device 11 can pass through mobile radio communicationNetwork 13 is communicated by letter with far-end server 12. Mobile communications network 13 can be that 3G mobile communications network etc. is carriedFor the network of mobile communication business.
Mobile search device 11 can built-in mobile search engine 111, and mobile search engine 111 is according to searchingRope request searches out corresponding result and returns to user from the 111a of local index storehouse.
Far-end server 12 can be the server that searching service provider provides. In far-end server 12Can built-in far-end search engine 121, far-end search engine 121 can be by being internal or external at far-endThe remote data collection of server 12 searches out corresponding result and returns to user.
For example, in For Electronic Commodity Trading System, various sellers can send out on electronic goods transaction platformCloth product information. Remote data is concentrated and is comprised index data. Every index data can comprise this index numberAccording to ID and the update time of the content of this index data. The ID of this index data creates this ropeEquipment (for example server of this electronic goods transaction platform) configuration of argument certificate, this ID is used for onlyAn index data of one mark. The content of this index data can comprise the description of various product attribute informations,The such as associated video of the picture concerned of product size, product colour, product function, product, product etc.Various buyers can search for these product attribute informations. Correspondingly, the business of electronic goods transaction platform suppliesAnswer business to can be regarded as searching service provider.
Again for example, various video distribution website provides magnanimity video. Remote data is concentrated every index dataCan comprise the update time that identifies the ID of this index data and the content of this index data. Index dataContent can comprise introductory video, video segment etc. User can search for these videos. Correspondingly,The operator of video website can be regarded as searching service provider.
Fig. 2 illustrates the flow chart of the application's mobile search method embodiment mono-, comprising:
Step 201, reception searching request.
Step 202, in carrying out local search, carry out far-end search according to searching request.
In step 202, far-end search comprises:
Step 202a, by mobile communications network, searching request is sent to far-end server.
Step 202b, reception far-end server are concentrated the ID of the far-end Search Results obtaining from remote data.
Step 202c, the far-end Search Results that need to show according to the ID judgement of far-end Search Results.
Step 202d, the ID of far-end Search Results that needs are shown send to far-end server.
The content of the far-end Search Results that the needs that step 202e, reception far-end server return show.
Step 202f, use far-end Search Results upgrade local index storehouse.
In step 202, carry out local search and far-end search, for obtaining by local search simultaneouslyLocal search results and the far-end Search Results obtaining by far-end search, can be by the search of first obtainingThe content of result first shows.
Conventionally, local search results search speed is very fast, thus can first show local search results inHold, then show the content that needs the far-end Search Results showing.
In step 202b, can also receive far-end server and concentrate the far-end search of obtaining from remote dataThe update time of result. In step 202c, specifically can be according to the ID of far-end Search Results and renewalTime judges the far-end Search Results that needs demonstration.
If do not obtain the update time of far-end Search Results in step 202b, at step 202cIn can judge whether the local search results that exists ID identical with the ID of far-end Search Results, if deposited, determine that this far-end Search Results is not need to show; If there is no, definite this far-end is searchedHitch fruit is to need to show.
If obtained ID and the update time of far-end Search Results in step 202b, in stepIn 202c, can need the far-end showing according to the ID of far-end Search Results and the judgement of coming together update timeSearch Results, specific implementation can be referring to Fig. 4.
Fig. 3 illustrates the data interaction schematic diagram of the application's mobile search method embodiment bis-. BelowIntroduce in detail the flow process of the application's mobile search method embodiment bis-in conjunction with Fig. 1 and Fig. 3.
Step 101, mobile search engine receive the searching request that user sends by mobile search device.This searching request can comprise at least one keyword. For example, if user wishes to inquire about electronic product,Can input the keyword of product attributes such as can showing name of product, color, memory capacity, mobileSearch engine can receive these keywords.
Step 102, mobile search engine are carried out local search, that is, according to the searching request receiving fromLocal index obtains local search results in storehouse, and the content of local search results is shown.
The local search results obtaining from local index storehouse can comprise that one or more is stored in local ropeDraw the index data in storehouse. Local search results comprises ID, update time and content. When ID and renewalBetween be to be the attribute that each index data arranges for the ease of organizing index database, the data place in index databaseReason is transparent for user, stealthy, and user is without understanding the ID of every index data and moreThe new time, only need are paid close attention to the content of every index data. Thereby, at the display interface of mobile search deviceIn, mainly show the content of local search results, when conventionally can not showing the ID of index data and upgradingBetween.
Each local search results can be arranged sequentially, for example can be according to update time from eveningArrange to order early, that is, update time, sequence was the latest the most forward, and the update time of sequence the earliestAfter leaning on. In evening update time, illustrate that variation has occurred the content of local search results recently. Morning update time,The content that local search results is described does not change for a long time. Search according to arranging this locality update timeHitch fruit, can offer user in time by the up-to-date local search results having changed.
In execution step 101 and 102, the step that mobile search engine is also carried out comprises:
Searching request is sent to far-end server by step 103, mobile search engine. Mobile search deviceCan be by communicating by letter between mobile communications network and far-end server, thereby mobile search engine can pass throughSearching request is sent to far-end server by mobile communications network.
Before step 101, far-end server can connect with remote data collection in advance.
Step 104, far-end server are concentrated and are got the far-end corresponding with searching request and search from remote dataHitch fruit, and by the ID of far-end Search Results with return to mobile search engine update time.
Step 105, mobile search engine need aobvious according to the ID of far-end Search Results and judgement update timeThe far-end Search Results showing.
The index data concentrated due to remote data is more than the index data in local index storehouse, thereby far-endServer search to far-end Search Results more than or equal local search results. Meanwhile, far-end search knotMay some be identical with local search results in fruit, may there be segment distal Search Results and this localityThe ID of Search Results is identical, and update time is also identical.
In step 102, local search results is shown, so with local search results phaseSame far-end Search Results does not just need to show.
The ID of the far-end Search Results that step 106, mobile search engine show needs sends to far-end clothesBusiness device.
The far-end search knot that the needs that step 107, mobile search engine reception far-end server return showThe content of fruit.
Step 108, by needs show far-end Search Results show, and with far-end Search Results upgradeGround index database.
It should be noted that, in the application's embodiment, mention, in execution step 101 and 102Execution step 103-108, this does not refer to that step 103-108 also must when step 101-102 completesMust complete, and refer to that step 101 receives after searching request, local search and the step 103 of step 102Far-end search can try one's best and start to carry out simultaneously, but the search of local search and far-end be relatively independent enterRow, and do not require that local search and far-end search must finish simultaneously.
In the mobile search method providing in the application, local search and far-end search are carried out simultaneously, therebyCan ensure the speed of mobile search, and the Search Results that far-end server returns is current up-to-date,What so just can ensure to offer user is up-to-date Search Results.
In the mobile search method providing in the application, obtaining far-end search knot according to searching request at every turnAfter fruit, adopt and need the far-end Search Results showing to upgrade local index storehouse, carry out in mobile search like thisTime completed the renewal in local index storehouse, and without carrying out the huge renewal of data volume, reduced thisGround index database upgrades required data volume.
And, obtain at twice for far-end Search Results, first obtain the ID of far-end Search Results,And do not obtain complete Search Results, can ensure that data traffic is fully few; Then, judge according to IDWhich far-end Search Results needs to show (if obtained the update time of far-end Search Results, canAccording to ID and judge update time which far-end Search Results need show). The far-end showing for needsSearch Results, sends ID again to far-end server, is returned to the far-end that needs demonstration by far-end serverThe content of Search Results. For the far-end Search Results that does not need to show, can not send ID to clothesBusiness device. Like this, can save the content that transmission does not need the far-end Search Results showing, further reduceLocal index storehouse upgrade required data volume, make mobile phone etc. passable to the more sensitive mobile device of flowMore effectively obtain up-to-date Search Results.
In the mobile search method providing in the application, when mobile search engine carries out local search,Searching request has been sent to far-end server by mobile search engine, makes far-end server synchronously from far-endData centralization search far-end Search Results. Conventionally local search speed, far-end is searched for due to data volumeHuge thereby search speed is slower. During showing local search results, far-end server can have relativelyThe sufficient time completes far-end search, and shows after far-end Search Results is listed in to local search results.On the one hand local search and far-end search are carried out simultaneously, take full advantage of the fireballing advantage of local search andThe new advantage of Search Results of far-end search, has improved the speed of mobile search. On the other hand, for useFamily, when it watches local search results, far-end server returns to far-end Search Results, andCan not cause period of reservation of number oversize.
According to the application embodiment, step 105 can comprise the steps, as shown in Figure 4,Fig. 4 illustrates mobile search engine according to the ID of far-end Search Results and judges needs update timeA kind of schematic flow sheet of the far-end Search Results showing.
Step 1051, judge whether the local search results that exists ID identical with the ID of far-end Search Results.If there is the local search results that ID is identical with the ID of far-end Search Results, perform step 1052;If there is no the ID local search results identical with the ID of far-end Search Results, performs step 1054.
Step 1052, judge that local search results that ID is identical and the update time of far-end Search Results areNo identical; If the local search results that ID is identical is identical with the update time of far-end Search Results,Execution step 1053; If the update time of the local search results that ID is identical and far-end Search Results is notWith, perform step 1054.
Step 1053, determine far-end Search Results be do not need show.
Step 1054, determine far-end Search Results be need show.
According to the application embodiment, in step 108, the content of far-end Search Results is shown, canTo comprise: for the ID far-end Search Results different from the ID of local search results, by far-end search knotThe content that the content of fruit is arranged in local search results shows afterwards; For ID and local search resultsThe far-end Search Results that ID is identical, shown with the content update of far-end Search Results, there is identical IDThe content of local search results.
For the ID far-end Search Results identical with the ID of local search results, preferably, can be in inspectionAfter measuring user's operation information, shown with the content update of far-end Search Results, there is identical IDThe content of local search results. User's operation information comprises demonstration circle of user for mobile search deviceThe certain operations information of face, such as page turn information, refreshing information etc. For example, user uses mobile searchWhen device, click refresh button, mobile search engine can detect refreshing information, user's click " underOne page " button, mobile search can detect page turn information etc.
Conventionally local search speed is faster than far-end search speed, thereby, aobvious in the content of far-end Search ResultsShow that, to before user, the content of local search results has been shown to user. Still identical for IDThe local search results that update time is different and far-end Search Results, check local search knot userFruit time standby far-end Search Results content update local search results, can make to show discontinuous, shadowRing user's checking for Search Results. If after user's operation information being detected, for example, detectAfter user's page turn information, refreshing information etc., original mobile search device also needs to carry out page turning or brushNew operation, with the content update local search results of far-end Search Results, just can avoid whereby opportunityThere is showing incoherent situation, promote user and experience.
According to the application embodiment, in step 108, upgrade local index storehouse with far-end Search Results,Can comprise: for the ID far-end Search Results different from the ID of local search results, far-end is searched forResult is added in local index storehouse as the index data in local index storehouse; Search for ID and this localityThe identical far-end Search Results of ID of hitch fruit, with the content update local index storehouse of far-end Search ResultsIn there is the index data of identical ID.
In the technical scheme providing at each embodiment of the application, adopt far-end Search Results to upgrade local ropeArgument certificate, local index data can constantly be accumulated, thereby, can be without in advance in mobile search deviceStorage local index data. If do not store local index data when mobile search device dispatches from the factory, soWhen user carries out mobile search for the first time, the result searching from local index data is 0, but alsoFar-end server do not mean that user cannot obtain Search Results, because can also return to far-end Search Results.Along with user's searching times increases, constantly adopt far-end Search Results to upgrade local index data, this localityIndex data is constantly accumulated, and like this, the quantity that searches local search results from local index data increasesMany, the hit rate of search also can improve, and the fireballing advantage of local search can obtain more abundantPerformance.
According to the application embodiment, constantly accumulate and search to mobile for fear of local index dataRope device brings larger storage burden, can be according to predefined rule of elimination, regularly or irregularlyGround deletion local index data.
For example, can delete the local index data that a part was not upgraded for a long time. Particularly, canSo that deleted update time early than the local index data of Preset Time.
For example, can delete the less local index data of a part of access times. Particularly, can be byAccess times are deleted lower than the local index data of default access times threshold value.
The implementation procedure of the application's mobile search method is described below by a concrete example.
For example, in For Electronic Commodity Trading System, can at the far-end server of For Electronic Commodity Trading SystemObtain far-end Search Results by search remote data collection, remote data collection is according to comprising what various sellers issuedProduct information. Buyer and seller's mobile search device can be by mobile communications network and far-end serverCommunication, like this, seller can be in For Electronic Commodity Trading System release product information, buyer can be at electricitySearching products information in sub-commodity trading system.
In the time that a buyer thinks search about the product information of Nokia's mobile phone, can be at mobile search deviceMiddle input " Nokia " and " mobile phone " this both keyword are as searching request. In mobile search deviceMobile search engine receive after searching request, in local index data search with " Nokia " andThe local search results that " mobile phone " is corresponding, specifically can search content comprises this both keywordLocal index data, are then shown to user by local search results. For example, local search results comprises3, respectively:
The first local search results: ID is A, and be 2011-6-7 update time;
The second local search results: ID is B, and be 2011-5-3 update time;
The 3rd local search results: ID is C, and be 2011-4-3 update time.
When mobile search device carries out local search, mobile search device sends to searching requestFar-end server. Far-end server concentrates search relative with " mobile phone " with " Nokia " from remote dataThe far-end Search Results of answering, and by the ID of far-end Search Results with send to update time mobile search to drawHold up. For example, far-end Search Results comprises 6, respectively:
The first far-end Search Results: ID is A, and be 2011-6-7 update time;
The second far-end Search Results: ID is B, and be 2011-6-10 update time;
The 3rd far-end Search Results: ID is C, and be 2011-4-3 update time;
The 4th far-end Search Results: ID is D, and be 2011-6-7 update time;
The 5th far-end Search Results: ID is E, and be 2011-6-7 update time;
The 6th far-end Search Results: ID is F, and be 2011-6-7 update time.
The judgement of mobile search engine needs the far-end Search Results showing. Owing to there not being ID and the 4th far awayEnd Search Results, the 5th Search Results local search results identical with the ID of the 6th Search Results, because ofAnd determine that the 4th far-end Search Results, the 5th Search Results and the 6th Search Results are the far-ends that needs demonstrationSearch Results.
The ID of the first far-end Search Results, the second far-end Search Results and the 3rd far-end Search Results respectivelyIt is identical with the ID of the first local search results, the second local search results and the 3rd local search results,Wherein, search with first this locality respectively the update time of the first far-end Search Results and the 3rd far-end Search ResultsHitch fruit is identical with the update time of the 3rd local search results, visible, with the first local search results phaseRatio, the content of the first far-end Search Results does not change; Compared with the 3rd local search results, theThe content of three far-end Search Results does not change. Thereby, can determine the first far-end Search Results andThe 3rd far-end Search Results is not need to show.
The ID of the second far-end Search Results is identical with the ID of the second local search results, but the second far-endThe update time of Search Results is different from the update time of the second local search time, visible, the second far-endCompared with the content of the content of Search Results and the second local search results, there is variation. Thereby, can be trueFixed the second far-end Search Results is to need to show. It should be noted that, due to the concentrated number of remote dataAccording to normally up-to-date, thereby, for the identical far-end Search Results and local search results of ID,The content of far-end Search Results is newer than the content of local search results.
Mobile search engine is by the second far-end Search Results, the 4th far-end Search Results, the 5th far-end searchThe ID of result and the 6th far-end Search Results sends to far-end server. Far-end server is to mobile searchEngine returns to the second far-end Search Results, the 4th far-end Search Results, the 5th far-end Search Results and the 6thThe content of far-end Search Results.
Mobile search engine is by the 4th far-end Search Results, the 5th far-end Search Results and the search of the 6th far-endResult is arranged in local search results and shows afterwards, and as shown in Figure 5 and Figure 6, Fig. 5 and Fig. 6 are respectivelyThe schematic diagram of the Search Results display effect of the application's mobile search method.
But there is variation with the identical content of ID of the second local search results in the second far-end Search Results,Because the second local search results shows, thereby the second far-end Search Results is not arranged in to this locality and searchesAfter hitch fruit, show, but detect after user's operation information and (for example detect at mobile search engineUser clicks after the page turn information of " lower one page " button), show that the Search Results of second page is (as Fig. 6Shown in), and be the content of the second far-end Search Results by the content replacement of the second local search results. Work as useWhen family is checked the 1st page again, the second local search results content was updated.
Fig. 7 illustrates the structural representation of the application's mobile search device embodiment, this mobile searchDevice 11 comprises: receiver module 20, local processing module 21, the first sending module 22, the first receptionModule 23, judge module 24, the second sending module 25, the second receiver module 2 and more new module 28.Receiver module 20 is for receiving searching request. Local processing module 21 is connected with receiver module 20, forThe searching request receiving according to receiver module 20 is carried out local search. The first sending module 22 is with localProcessing module 21 connects, for when local processing module 21 is carried out local search, by movementSearching request is sent to far-end server by communication network. The first receiver module 23 is for receiving remote serviceDevice is concentrated the ID of the far-end Search Results obtaining from remote data. Judge module 24 and the first receiver module23 connect, and need aobvious for the ID judgement of the far-end Search Results that receives according to the first receiver module 23The far-end Search Results showing. The second sending module 25 with for according to the judged result of judge module 24,The ID of the far-end Search Results that needs are shown sends to far-end server. The second receiver module 26 andTwo sending modules 25 connect, for far-end Search Results needs being shown at second sending module 24ID sends to after far-end server, the far-end Search Results that the needs that reception far-end server returns showContent. More new module 28 is connected with the second receiver module 26, for the far-end search knot with needing to showFruit upgrades local index storehouse.
Wherein, the first receiver module 23 can also receive the update time of far-end Search Results. Judge moduleID and the update time of the 24 far-end Search Results that specifically can receive according to the first receiver module 23Judgement needs the far-end Search Results showing.
Device shown in Fig. 7 can also comprise display module 27, and this display module 27 is located in respectively with originallyReason module 21 is connected with the second receiver module 26, and this display module 27 is for carrying out the same of local searchThe content of the Search Results first obtaining in the process of Shi Jinhang far-end search first shows, for example, if localSearch Results is first acquired, first show the content of local search results, then shows far-end Search ResultsContent.
In device shown in Fig. 7, more new module 28 specifically can be for for ID and local search resultsThe different far-end Search Results of ID, using far-end Search Results add in local index storehouse as described inIndex data in local index storehouse; For the ID far-end search knot identical with the ID of local search resultsReally, with the index data in local index storehouse described in the content update of far-end Search Results with identical IDContent.
Fig. 8 illustrates the structural representation of judge module in Fig. 7, and judge module 24 can comprise:The first judging unit 241, the second judging unit 242, the first processing unit 243 and the second processing unit244. The first judging unit 214 can be connected with local processing module 21 and the first receiver module 23,For the local search results that judges whether to exist ID identical with the ID of far-end Search Results. The second judgementUnit 242 is connected with the first judging unit 242, for determining and have ID at the first judging unit 241In the situation of the local search results identical with the ID of far-end Search Results, judge that this locality that ID is identical searchesWhether the update time of hitch fruit and far-end Search Results is identical. The first processing unit 243 and the second judgementUnit 242 connects, for determine local search results that ID is identical and far away at the second judging unit 242In identical situation, determine that far-end Search Results is not need to show the update time of end Search Results;And for determine local search results that ID is identical and far-end Search Results at the second judging unit 242In update time different situation, determine that far-end Search Results is to need to show. The second processing unit 244Be connected with the first judging unit 241, for determining and do not have ID and far-end at the first judging unit 241In the situation of the local search results that the ID of Search Results is identical, determine far-end Search Results be need aobviousShow.
The mobile search method that the application provides and step thereof can by have one of data-handling capacity orMultiple treatment facilities (for example smart mobile phone of one or more touch or non-touch) operation computerExecutable instruction realizes. In the storage medium for the treatment of facility, can store and variously carry for carrying out the applicationThe instruction of each step of the mobile search method of confession.
The application's mobile search device can be by one or more processing of operation computer executable instructionsEquipment is realized, for example, can be the smart mobile phone of touch or non-touch. This mobile search device canComprise display screen, processor and storage medium, in storage medium, can store various for carrying out the applicationThe instruction of each step of the mobile search method providing, processor can be according to the finger of storing in memoryThe step in the method providing in aforementioned each embodiment is provided for order or program, makes to show in user interfaceLocal search results and far-end Search Results.
Although described the application with reference to exemplary embodiments, should be appreciated that term used is explanationWith exemplary and nonrestrictive term. It is not de-because the application can specifically implement in a variety of formsFrom spirit or the essence of invention, thus should be appreciated that above-described embodiment is not limited to any aforesaid details,And explain widely in the spirit and scope that should limit in the claim of enclosing, therefore fall into claimOr whole variations in its equivalent scope and remodeling all should be the claim of enclosing and contain.