CN107330019A - Searching method and device - Google Patents

Searching method and device Download PDF

Info

Publication number
CN107330019A
CN107330019A CN201710464871.2A CN201710464871A CN107330019A CN 107330019 A CN107330019 A CN 107330019A CN 201710464871 A CN201710464871 A CN 201710464871A CN 107330019 A CN107330019 A CN 107330019A
Authority
CN
China
Prior art keywords
search
data
classification
search result
index 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.)
Pending
Application number
CN201710464871.2A
Other languages
Chinese (zh)
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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710464871.2A priority Critical patent/CN107330019A/en
Publication of CN107330019A publication Critical patent/CN107330019A/en
Pending legal-status Critical Current

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/954Navigation, e.g. using categorised browsing
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure is directed to a kind of searching method and device.Method includes:When receiving global type search instruction, the search result of correspondence classification is obtained, the search result of the correspondence classification includes system data, application program internal data and web data;The search result of correspondence classification is included in same result of page searching with default display mode.Disclosed technique scheme can realize user by once searching for the system of satisfaction, the different demands using internal, Webpage search, search channel need not be switched or different application programs are opened, the efficiency that user's using terminal equipment searches for data is improved, the experience that user's using terminal equipment carries out data search is optimized.

Description

Searching method and device
Technical field
This disclosure relates to search technique field, more particularly to a kind of searching method and device.
Background technology
With the high speed development of mobile Internet, the information search request of user is related to system data, web data, all kinds of Application program etc., but traditional web page search engine can not be touched and searched up to using interior data and system data, system and in Rope service can not be touched up to web data, the information search request of user generally can not complete fulfillment, it is necessary to draw in different search Switched between holding up, add operation complexity and the search time of user, directly affect the body that user uses smart mobile phone Test.
The content of the invention
To overcome problem present in correlation technique, the embodiment of the present disclosure provides a kind of searching method and device, to solve The certainly drawbacks described above in correlation technique.
According to the first aspect of the embodiment of the present disclosure there is provided a kind of searching method, apply on search client, can wrap Include:
When receiving global type search instruction, the search result of correspondence classification, the search knot of the correspondence classification are obtained Fruit includes system data, application program internal data and web data;
The search result of correspondence classification is included in same result of page searching with default display mode.
In one embodiment, when the search result of the correspondence classification includes system data, the multiple classifications of acquisition Search result, including:
Index letter corresponding with the search keyword that the global type search instruction includes is searched in the first retrieval file The index information of system data is have recorded in breath, first retrieval file;
System data corresponding with the index information is defined as the search result.
In one embodiment, when the search result of the correspondence classification includes application program internal data, the acquisition The search result of correspondence classification, including:
The first request message is sent to the application client of matching operation systematic search framework, first request disappears The search keyword that the global type search instruction includes is carried in breath;
Receive the index information that the application client is returned based on first request message;
Application program internal data corresponding with the index information is defined as the search result.
In one embodiment, when the search result of the correspondence classification includes application program internal data, the acquisition The search result of correspondence classification, including:
Carrying the global type search instruction to server the second request message of transmission, in second request message includes Search keyword;
Receive the index information that the server is returned based on second request message;
Application program internal data corresponding with the index information is defined as the search result.
In one embodiment, when the search result of the correspondence classification includes web data, the acquisition correspondence classification Search result, including:
The index information that the server is returned based on second request message is received, the index information is the clothes What the index of business web data of the device based on the structuring stored was obtained, the index of the web data of the structuring is described Server carries out what structuring processing was obtained to the data captured from web data.
In one embodiment, when the search result of the correspondence classification includes web data, the acquisition correspondence classification Search result, including:
Sent to third party's web page search engine and the search pass is carried in the 3rd request message, the 3rd request message Keyword;
Receive the search result that third party's web page search engine is returned based on the 3rd request message.
In one embodiment, the search result of correspondence classification is included with default display mode tying in same search In the fruit page, including:
The search result of correspondence classification is included in same result of page searching according to preset order;Or,
Sort knot between the classification that server is determined based on the search keyword in the global type search instruction is received After fruit, ranking results are included in same result of page searching between the search result between correspondence classification is based on into the classification.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of searching method, using on the server, methods described bag Include:
Receive in the second request message that search client is sent, second request message and carry search keyword;
Based on the search keyword, sort knot between the index information and classification that obtain the search result of correspondence classification Really, the search result of the correspondence classification includes ranking results between application program internal data and web data, the classification The display row of designation system data, application program internal data and the corresponding search result of web data on client end interface Sequence;
Ranking results between the index information and classification of the search result are sent to the search client.
In one embodiment, the index information of the search result of correspondence classification is obtained, including:
The index information of the corresponding application program internal data of the search keyword is retrieved in the second retrieval file, with And the index information of web data.
In one embodiment, method also includes:
Web data is collected from web page server based on preset algorithm;
Data to collection carry out structuring processing, obtain the web data of structuring;
The structural data is stored in second retrieval file and the corresponding index letter of web data is generated Breath.
In one embodiment, method also includes:
Obtain the index information for the application program internal data that the corresponding application server of each application program is provided, institute State performance data and content-data of the application program internal data including the application program;
The index information of the application program internal data is stored in second retrieval file.
In one embodiment, method also includes:
Sort knot in predetermined order file between the classification of the corresponding different classes of search result of query search keyword Really, record has the server to preset the class that weighted value is determined based on user behavior data and classification in the predetermined order file Other ranking results.
In one embodiment, method includes:
Count the history access information of the corresponding different classes of search result of each search keyword;
Based on the history access information default weighted value corresponding with each classification, each search keyword is calculated Ranking results between the classification of corresponding search result;
Ranking results between the classification are stored in the predetermined order file.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of searcher, apply on search client, the dress Put including:
As a result acquisition module, when being configured as receiving global type search instruction, obtains the search result of correspondence classification, The search result of the correspondence classification includes system data, application program internal data and web data;
Display module, be configured as by the result acquisition module obtain it is described correspondence classification the search result with Default display mode is shown in same result of page searching.
In one embodiment, when the search result of the correspondence classification includes system data, the result acquisition module Including:
First retrieval submodule, is configured as what the search in the first retrieval file included with the global type search instruction The index information of system data is have recorded in the corresponding index information of search keyword, first retrieval file;
First determination sub-module, is configured as system data corresponding with the index information being defined as the search knot Really.
In one embodiment, when the search result of the correspondence classification includes application program internal data, the result Acquisition module includes:
First sending submodule, is configured as sending first to the application client of matching operation systematic search framework The search keyword that the global type search instruction includes is carried in request message, first request message;
First receiving submodule, is configured to receive what the application client was returned based on first request message Index information;
Second determination sub-module, is configured as application program internal data corresponding with the index information being defined as institute State search result.
In one embodiment, when the search result of the correspondence classification includes application program internal data, the result Acquisition module includes:
Second sending submodule, is configured as sending in the second request message, second request message to server and takes The search keyword included with the global type search instruction;
Second receiving submodule, is configured as receiving the index letter that the server is returned based on second request message Breath;
3rd determination sub-module, is configured as application program internal data corresponding with the index information being defined as institute State search result.
In one embodiment, when the search result of the correspondence classification includes web data, the result acquisition module Including:
3rd receiving submodule, is configured as receiving the index letter that the server is returned based on second request message Breath, the index information is obtained by the index of web data of the server based on the structuring stored, the structure The index of the web data of change carries out what structuring processing was obtained to the data captured from web data for the server.
In one embodiment, when the search result of the correspondence classification includes web data, the result acquisition module Including:
3rd sending submodule, is configured as sending the 3rd request message, the described 3rd to third party's web page search engine The search keyword is carried in request message;
4th receiving submodule, is configured as receiving third party's web page search engine based on the 3rd request message The search result of return.
In one embodiment, the display module includes:
First display sub-module, is configured as including searching same by the search result of correspondence classification according to preset order In rope results page;Or,
Second display sub-module, is configured as receiving server based on the search pass in the global type search instruction Between the classification that keyword is determined after ranking results, ranking results include between the search result between correspondence classification is based on into the classification In same result of page searching.
According to the fourth aspect of the embodiment of the present disclosure there is provided a kind of searcher, using on the server, described device bag Include:
Receiving module, is configured as receiving in the second request message that search client is sent, second request message Carry search keyword;
Module is retrieved, is configured as being based on the search keyword, the index information of the search result of correspondence classification is obtained And ranking results between classification, it is described correspondence classification search result include application program internal data and web data, institute Ranking results designation system data, application program internal data and the corresponding search result of web data are in client between stating classification Hold the display sequence on interface;
First sending module, be configured as ranking results between index information and classification by the search result send to The search client.
In one embodiment, retrieval module includes:
Second retrieval submodule, is configured as retrieving the corresponding application journey of the search keyword in the second retrieval file The index information of sequence internal data, and web data index information.
In one embodiment, device also includes:
Web data collection module, is configured as collecting web data from web page server based on preset algorithm;
Data structured module, is configured as carrying out structuring processing to the data of collection, obtains the webpage number of structuring According to;
First index set up module, be configured as the structural data being stored in second retrieval file and Generate the corresponding index information of web data.
In one embodiment, device also includes:
Application data acquisition module, is configured as obtaining the application that the corresponding application server of each application program is provided The index information of program internal data, the application program internal data includes the performance data and content number of the application program According to;
Second index sets up module, is configured as the index information of the application program internal data being stored in described the In two retrieval files.
In one embodiment, device also includes:
Enquiry module, is configured as the corresponding different classes of search knot of the query search keyword in predetermined order file Record has the server pre- based on user behavior data and classification in ranking results between the classification of fruit, the predetermined order file If ranking results between the classification that weighted value is determined.
In one embodiment, device includes:
Statistical module, the history for being configured as counting the corresponding different classes of search result of each search keyword is visited Ask information;
Sort determining module, is configured as being based on the history access information default weight corresponding with each classification Value, calculates ranking results between the classification of the corresponding search result of each search keyword;
Memory module, is configured as ranking results between the classification being stored in the predetermined order file.
According to the 5th of the embodiment of the present disclosure the aspect there is provided a kind of searcher, described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, processor is configured as:
When receiving global type search instruction, the search result of correspondence classification, the search knot of the correspondence classification are obtained Fruit includes system data, application program internal data and web data;
The search result of correspondence classification is included in same result of page searching with default display mode.
According to the 6th of the embodiment of the present disclosure the aspect there is provided a kind of searcher, described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, processor is configured as:
Receive in the second request message that search client is sent, first request message and carry search keyword;
Based on the search keyword, sort knot between the index information and classification that obtain the search result of correspondence classification Really, the search result of the correspondence classification includes ranking results between application program internal data and web data, the classification The display row of designation system data, application program internal data and the corresponding search result of web data on client end interface Sequence;
Ranking results between the index information and classification of the search result are sent to the search client.
According to the 7th of the embodiment of the present disclosure the aspect, there is provided a kind of non-provisional computer-readable storage medium, the storage medium On be stored with computer instruction, the instruction realizes following steps when being executed by processor:
When receiving global type search instruction, the search result of correspondence classification, the search knot of the correspondence classification are obtained Fruit includes system data, application program internal data and web data;
The search result of correspondence classification is included in same result of page searching with default display mode.
According to the eighth aspect of the embodiment of the present disclosure, there is provided a kind of non-provisional computer-readable storage medium, the storage medium On be stored with computer instruction, the instruction realizes following steps when being executed by processor:
Receive in the second request message that search client is sent, first request message and carry search keyword;
Based on the search keyword, sort knot between the index information and classification that obtain the search result of correspondence classification Really, the search result of the correspondence classification includes ranking results between application program internal data and web data, the classification The display row of designation system data, application program internal data and the corresponding search result of web data on client end interface Sequence;
Ranking results between the index information and classification of the search result are sent to the search client.
The technical scheme provided by this disclosed embodiment can include the following benefits:When receiving the retrieval of global type During instruction, the web data in system data, application program internal data and the web browser of terminal device can be obtained Shown on one page etc. different classes of search result, and by result, realize that user meets system number by once searching for According to, using internal data, the different demands of web data, without switching search channel or open different application programs, carry High user's using terminal equipment searches for the efficiency of data, optimizes the experience that user's using terminal equipment carries out data search.
Also, by the way that the search result of different classes of is shown according to ranking results between classification, further increase use Family finds the efficiency of oneself information needed.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the present invention Example, and for explaining principle of the invention together with specification.
Figure 1A is the flow chart of the searching method according to an exemplary embodiment.
Figure 1B is the schematic diagram of a scenario of the searching method according to an exemplary embodiment.
Fig. 1 C are the search result schematic diagrames of the searching method according to an exemplary embodiment.
Fig. 2 is the flow chart of the method for the search result of the acquisition system data according to an exemplary embodiment one.
Fig. 3 A are the methods of the search result of the acquisition application program internal data according to an exemplary embodiment two Flow chart one.
Fig. 3 B are the methods of the search result of the acquisition application program internal data according to an exemplary embodiment two Flowchart 2.
Fig. 4 A are the flow charts of the method for the search result of the acquisition web data according to an exemplary embodiment three One.
Fig. 4 B are the flow charts of the method for the search result of the acquisition web data according to an exemplary embodiment three Two.
Fig. 5 is the flow chart of the searching method according to an exemplary embodiment.
Fig. 6 A are the stream of the method for building up of the index of the web data of the structuring according to an exemplary embodiment four Cheng Tu.
Fig. 6 B are the foundation of the index of the application program internal data of the structuring according to an exemplary embodiment four The flow chart of method.
Fig. 7 is the side that ranking results between classification are determined based on historical behavior data according to an exemplary embodiment five The flow chart of method.
Fig. 8 is a kind of block diagram of searcher according to an exemplary embodiment.
Fig. 9 is the block diagram of another searcher according to an exemplary embodiment.
Figure 10 is a kind of block diagram of searcher according to an exemplary embodiment.
Figure 11 is the block diagram of another searcher according to an exemplary embodiment.
Figure 12 is a kind of block diagram suitable for searcher according to an exemplary embodiment.
Figure 13 is a kind of block diagram suitable for searcher according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the present invention.
Figure 1A is the flow chart of the searching method according to an exemplary embodiment, and Figure 1B is according to an exemplary implementation The schematic diagram of a scenario of the searching method exemplified, Fig. 1 C are the search results of the searching method according to an exemplary embodiment Schematic diagram;The searching method can be applied in terminal device (for example:Smart mobile phone, tablet personal computer) on, can be with terminal device Search client is installed.Search client can include two functional modules of front-end module and client modules, front-end module Receive after search instruction, may indicate that client modules realize the search of system data, search client can be an independence Application program, or be embedded in the application plug-in in the application programs such as browser.In one embodiment, search client Can be the system search engine of terminal device, but the embodiment of the present disclosure is not limited thereto, search client for example can be with For comprehensive search engines such as similar Baidu, refreshing horse, search dogs.As shown in Figure 1A, the searching method may comprise steps of:
In a step 101, when receiving global type search instruction, the search result of correspondence classification, correspondence classification are obtained Search result include system data, application program internal data and web data.
In one embodiment, global type search instruction can be understood as simultaneously system data, application program internal data, The instruction of information is retrieved in web data.
In one embodiment, the search result of correspondence classification includes system data, application program internal data and webpage Data, the method flow for obtaining the search result of correspondence classification can be found in Fig. 2-Fig. 4 B illustrated embodiments, not be described in detail first here.
In a step 102, the search result of correspondence classification is included in same search results pages with default display mode In face.
In one embodiment, can by correspondence classification search result with preset order in same result of page searching In, referring to Fig. 1 C, system data comes foremost, and application program internal data is shown in centre position, and web data is shown in Finally, when the search result of each classification is more, the button of " checking more results " can be illustrated below in correspondence classification, More search results are checked for user.
In one embodiment, the search result of correspondence classification can also be based in global type search instruction according to server The classification that determines of search keyword between ranking results be shown in same result of page searching, if for example, search is crucial Word is " contact person ", then server can determine that the contact data retrieved in system data is most attached most importance to based on many factors Will, most possibly checked, then system data can be shown up front by user, and if search keyword is " Netease is new Hear ", then server is potentially based on user and determines that user may in the history access corresponding search result of " Netease's news " keyword It is the browser page of Netease's news most to want what is checked, and then can be by web data sequence up front.
In one embodiment, when search client sends request message to server, server can be closed based on search Keyword determines ranking results between classification, and ranking results between classification are sent to search client.
In one embodiment, because the time of return of the search result of correspondence classification has point of priority, therefore search result Display can be shown in the way of increment.
In an illustrative examples, referring to Figure 1B, when terminal device 11 receives global type search instruction, it can be based on Local search client realizes the search of system data and the search of the individuation data of application program, such as application program The search of middle associated person information, history access record etc., and can searching to the request applications internal data of server 12 Application program internal data in the search of rope and the web data of structuring, server 12 can by application developer or The web data of structuring in the data that person partner is provided based on open platform 13, server 12 is that server 12 is based on climbing Worm mode captures data in web page server 14 and carries out structuring processing, storage and foundation index etc. and obtains, wherein For web data, it can also be obtained from the search client in terminal device 11 to the request of third party's web page search engine 15, It is possible thereby to realize that once search meets system data, application program internal data, the different demands of web data search.
In the present embodiment, when receiving global type search instruction, the system data of terminal device can be obtained from, answered Include with the different classes of search result such as the web data in program internal data and web browser, and by result one On the individual page, realize that user, by once searching for the system of satisfaction, the different demands using internal, Webpage search, searches without switching Rope channel opens different application programs, improves the efficiency that user's using terminal equipment searches for data, optimizes user Using terminal equipment carries out the experience of data search.
In one embodiment, when the search result of correspondence classification includes system data, the search knot of multiple classifications is obtained Really, including:
The search index information corresponding with the search keyword that global type search instruction includes in the first retrieval file, the The index information of system data is have recorded in one retrieval file;
System data corresponding with index information is defined as search result.
In one embodiment, when the search result of correspondence classification includes application program internal data, correspondence classification is obtained Search result, including:
Sent to the application client of matching operation systematic search framework in the first request message, the first request message Carry the search keyword that global type search instruction includes;
Receive the index information that application client is returned based on the first request message;
Application program internal data corresponding with index information is defined as search result.
In one embodiment, when the search result of correspondence classification includes application program internal data, correspondence classification is obtained Search result, including:
Sent to server and the search pass that global type search instruction includes is carried in the second request message, the second request message Keyword;
The index information that the reception server is returned based on the second request message;
Application program internal data corresponding with index information is defined as search result.
In one embodiment, when the search result of correspondence classification includes web data, the search knot of correspondence classification is obtained Really, including:
Index information that the reception server is returned based on the second request message, index information is by server based on storing What the index of the web data of structuring was obtained, the index of the web data of structuring is server to being captured from web data Data carry out structuring processing and obtain.
In one embodiment, when the search result of correspondence classification includes web data, the search knot of correspondence classification is obtained Really, including:
Sent to third party's web page search engine in the 3rd request message, the 3rd request message and carry search keyword;
Receive the search result that third party's web page search engine is returned based on the 3rd request message.
In one embodiment, the search result of correspondence classification is included in same search results pages with default display mode In face, including:
The search result of correspondence classification is included in same result of page searching according to preset order;Or,
After ranking results between receiving the classification that server is determined based on the search keyword in global type search instruction, Ranking results are included in same result of page searching between search result between correspondence classification is based on into classification.
It is specific how realizing global type search, it refer to subsequent embodiment.
So far, the embodiment of the present disclosure provide the above method, it is possible to achieve user by once search for meet system data, Application program internal data, the different demands of web data search, without switching search channel or the different application journeys of unlatching Sequence, improves the efficiency that user's using terminal equipment searches for data, optimizes user's using terminal equipment and carries out data search Experience.
Illustrate the technical scheme that the embodiment of the present disclosure is provided with specific embodiment below.
Fig. 2 is the flow chart of the searching method according to an exemplary embodiment one;The present embodiment is real using the disclosure The above method of example offer is provided, it is illustrative exemplified by obtaining the search result of correspondence classification, as shown in Fig. 2 including Following steps:
In step 201, search is corresponding with the search keyword that global type search instruction includes in the first retrieval file Index information, the index information of system data is have recorded in the first retrieval file.
In one embodiment, the access of the index information of system data can be based on Android standard search (search) framework Realize.
In one embodiment, the first retrieval file can be a listing file;In another embodiment, the first retrieval text Part can also be defined for a database file, form of the disclosure not to the first retrieval file.In one embodiment, may be used To obtain the index information of the corresponding system data of global type search instruction based on the first retrieval file.
In one embodiment, the index information of system data includes the index information of data and the index letter of user interface Breath.
In one embodiment, when the front-end module of search client receives global type search instruction, you can control is searched The client modules of rope client retrieve corresponding index information in the first retrieval file.
In step 202., system data corresponding with index information is defined as search result.
In the present embodiment, it can realize that the quick of search result of system data is obtained by Android standard search frameworks Take, it is simple to operate.
Fig. 3 A are the methods of the search result of the acquisition application program internal data according to an exemplary embodiment two Flow chart one, Fig. 3 B are the sides of the search result of the acquisition application program internal data according to an exemplary embodiment two The flowchart 2 of method;The present embodiment utilizes the above method that the embodiment of the present disclosure is provided, to obtain application program internal data It is illustrative exemplified by search result, the application of matching Android standard search frameworks can be obtained based on search client The search result of the internal data of program, as shown in Figure 3A, comprises the following steps:
In step 301, the first request message is sent to the application client of matching operation systematic search framework, the The search keyword that global type search instruction includes is carried in one request message.
In one embodiment, operating system can be Android operation system, or IOS, but the embodiment of the present disclosure It is not limited.Illustratively, one can for example be set inside the client of the application program of matching operation systematic search framework Extensible markup language (Extensible Markup Language, referred to as XML) retrieval file, should wherein have recorded correspondence The index information for the application program internal data that can be retrieved with the inside of program, is typically stored at the XML retrieval texts of client Application program internal data in part can include some individuation datas or private data of user, and such as contact person believes Breath, history access record etc..
In step 302, the index information that application client is returned based on the first request message is received.
In step 303, application program internal data corresponding with index information is defined as search result.
In one embodiment, the search result that server obtains application program internal data is also based on, such as Fig. 3 B institutes Show, comprise the following steps:
In step 311, sent to server and global type search instruction is carried in the second request message, the second request message Including search keyword.
In step 312, the index information that the reception server is returned based on the second request message.
In one embodiment, server is the corresponding server of search client, and server can receive each should The data periodically provided with program, such as Netease's news, the corresponding application server of Tengxun's application program by open platform, such as The content-datas such as video, news in application server and other storage can be searched for for user in the application Content-data or performance data, and believed based on the index that the data that open platform is provided set up application program internal data Breath, and be stored in the second retrieval file.
In one embodiment, some individuation datas of user can be also uploaded to corresponding application service by applications client Device, thus can realize whole search results that application program internal data is once obtained based on server, but may cause to use The security of family individuation data or private data is weaker.
In one embodiment, after server receives the second request message, you can the retrieval pair in the second retrieval file The index information answered.
In step 313, application program internal data corresponding with index information is defined as search result.
, can be based in the applications client retrieving portion application program of matching operation systematic search framework in the present embodiment Portion's data, can based on application server by open platform be supplied to server application program internal data fetching portion should Program internal data is used, the search result of Overall Acquisition application program internal data is achieved in.
Fig. 4 A are the flow charts of the method for the search result of the acquisition web data according to an exemplary embodiment three One, Fig. 4 B are the flowchart 2s of the method for the search result of the acquisition web data according to an exemplary embodiment three;This Embodiment utilizes the above method that the embodiment of the present disclosure is provided, and exemplary theory is carried out by taking the search result for obtaining web data as an example It is bright, as shown in Figure 4 A, comprise the following steps:
In step 401, sent to server and global type search instruction is carried in the second request message, the second request message Including search keyword.
In step 402, the index information that the reception server is returned based on the second request message, index information is server What the index of the web data based on the structuring stored was obtained, the index of the web data of structuring is server to from net The data captured in page data carry out what structuring processing was obtained.
In one embodiment, server can be collected disclosed in such as news, novel network based on traditional reptile mode High-quality data, and the index of the web data of structuring is set up, thus receiving the second request of search client transmission During message, the index of the web data based on structuring returns to the corresponding index information of search keyword.
In one embodiment, on web data search result acquisition, except the description of Fig. 4 A illustrated embodiments, also It can be obtained, as shown in Figure 4 B, comprised the following steps based on Fig. 4 B illustrated embodiments:
In step 411, send to carry in the 3rd request message, the 3rd request message to third party's web page search engine and search Rope keyword.
In step 412, the search result that third party's web page search engine is returned based on the 3rd request message is received.
In one embodiment, the functional module of third party's web page search engine can be built in search client, it is real When receiving global type search instruction now, the second request message is sent from trend third party web page search engine, is realized direct Obtain the result of page searching of web page search engine.
In one embodiment, different search input frames can be shown on the search interface at custom search end, such as " overall situation is searched Rope " input frame, " system data search ", " search of application program internal data " input frame etc. so that search client can be with The search instruction triggered based on different search input frames is triggered corresponding functional module in search framework and carries out matching search.
In the present embodiment, the search result of web data can be obtained by third party's web page search engine, can also be led to The index for crossing the web data of the result of server offer obtains the search result of web data, realizes acquisition web data Search result variation.
Fig. 5 is the flow chart of the searching method according to an exemplary embodiment, and the searching method can be applied in clothes It is engaged on device, as Fig. 5 shows, the searching method comprises the following steps:
In step 501, receive in the second request message that search client is sent, the second request message and carry search Keyword.
In step 502, based on search keyword, between the index information and classification that obtain the search result of correspondence classification Ranking results, the search result of correspondence classification includes ranking results mark between application program internal data and web data, classification Show the display row of system data, application program internal data and the corresponding search result of web data on client end interface Sequence.
In one embodiment, the corresponding application program internal data of search keyword can be retrieved in the second retrieval file Index information, and web data index information.
In one embodiment, the second retrieval file can be database file, wherein the application program internal data that is stored with Index information, the index information for the web data that can also be stored with.
In one embodiment, in the second retrieval file, the method for building up of the index information of web data can be found in Fig. 6 A institutes Show embodiment, be not described in detail first here.
In one embodiment, in the second retrieval file, the method for building up of the index information of application program internal data can join See Fig. 6 B illustrated embodiments, be not described in detail first here.
In one embodiment, can in predetermined order file the corresponding different classes of search knot of query search keyword Ranking results between the classification of fruit.
In one embodiment, the historical behavior daily record determination that ranking results can be based on user between classification, it is shown in Figure 7 Embodiment, is not described in detail first here.
In step 503, ranking results between the index information and classification of search result are sent to search client.
,, can be based on this when terminal device 11 receives global type search instruction referring to Figure 1B in an exemplary scenario The search client on ground is realized in the search of system data and the search of the individuation data of application program, such as application program The search of associated person information, history access record etc., and can to the request applications internal data of server 12 search With the search of the web data of structuring, application program internal data in server 12 can by application developer or The web data of structuring in the data that partner is provided based on open platform 13, server 12 is that server 12 is based on reptile Mode captures data in web page server 14 and carries out structuring processing, storage and foundation index etc. and obtains, wherein pin To web data, it can also be obtained from the search client in terminal device 11 to the request of third party's web page search engine 15, by This can realize that once search meets system data, application program internal data, the different demands of web data search.
Can be stored with the present embodiment, in server structuring application program internal data index information and knot The index information of the web data of structure, and each search keyword pair can be determined based on the historical behavior daily record of user Ranking results between the classification answered, realize that mixing of the different classes of search result on client end interface is shown.
In one embodiment, the index information of the search result of correspondence classification is obtained, including:
The index information of the corresponding application program internal data of search keyword, and net are retrieved in the second retrieval file The index information of page data.
In one embodiment, method also includes:
Web data is collected from web page server based on preset algorithm;
Data to collection carry out structuring processing, obtain the web data of structuring;
Structural data is stored in the second retrieval file and the corresponding index information of web data is generated.
In one embodiment, method also includes:
The index information for the application program internal data that the corresponding application server of each application program is provided is obtained, should Include the performance data and content-data of application program with program internal data;
The index information of application program internal data is stored in the second retrieval file.
In one embodiment, method also includes:
Sort knot in predetermined order file between the classification of the corresponding different classes of search result of query search keyword Really, record has server to be sorted between presetting the classification of weighted value determination based on user behavior data and classification in predetermined order file As a result.
In one embodiment, method includes:
Count the history access information of the corresponding different classes of search result of each search keyword;
Based on history access information default weighted value corresponding with each classification, each search keyword correspondence is calculated Search result classification between ranking results;
Ranking results between classification are stored in predetermined order file.
It is specific how realizing global type search, it refer to subsequent embodiment.
Fig. 6 A are the stream of the method for building up of the index of the web data of the structuring according to an exemplary embodiment four Cheng Tu, Fig. 6 B are the method for building up of the index of the application program internal data of the structuring according to an exemplary embodiment four Flow chart;The present embodiment utilizes the above method that the embodiment of the present disclosure is provided, with the index for the web data for setting up structuring With it is illustrative exemplified by the index of the application program internal data of structuring, as shown in Figure 6A, set up the net of structuring The method of the index of page data comprises the following steps:
In step 601, web data is collected from web page server based on preset algorithm.
In one embodiment, preset algorithm can be crawler algorithm, can also can collect web data for others Algorithm.
In step 602, the data to collection carry out structuring processing, obtain the web data of structuring.
In one embodiment, because the structure of the web data of different web sites is differed, therefore in order to formulate web data Unified standard form, it is necessary to be standardized to web data, the associated description of web data standardization can be found in existing skill Art, I will not elaborate.
In step 603, structural data is stored in the second retrieval file and generates the corresponding rope of web data Fuse ceases.
In one embodiment, as shown in Figure 6B, setting up the method for the index of the application program internal data of structuring includes Following steps:
In step 611, the application program internal data that the corresponding application server of each application program is provided is obtained Index information, the performance data and content-data of application program internal data including application program.
In one embodiment, third party application developer or apps server can be provided periodically to open platform Retrieval data in apps server, for example:The function number of the built-in function of the application programs such as Tengxun qq, wechat, microblogging According to or the content-data such as address list, chat record;Server can be obtained in apps server on an open platform Retrieve data.
In embodiment, open platform formulates content access reference format (for example, books, film etc.), thus server The application program internal data of structuring can be directly obtained, allows third party application developer or content partners can be with Quickly complete premium content docking.
In one embodiment, open platform can be the One function module of server, or an independent clothes Business device.
In one embodiment, the application program internal data read from open platform can be set up inside application program The index of data.
In step 612, the index information of application program internal data is stored in the second retrieval file.
In the present embodiment, by collecting the network public data of high-quality, structured index is set up, can be provided the user The Webpage search data of high value;In addition, the index for the application program internal data for passing through structuring, can provide the user height The application program internal data of value.
Fig. 7 is the side that ranking results between classification are determined based on historical behavior data according to an exemplary embodiment five The flow chart of method;The present embodiment utilizes the above method that the embodiment of the present disclosure is provided, and enters by taking ranking results between determining classification as an example Row exemplary illustration, as shown in fig. 7, comprises following steps:
In step 701, the history for counting the corresponding different classes of search result of each search keyword accesses letter Breath.
In one embodiment, search client can be when occurring search operation, by the access information of search result every time Send to server, thus server can be based on history access letter of the user for the search result of each search keyword Breath, such as history number of clicks and history click on the time to sequence and classification internal sort, sort algorithm between search result progress classification Main Consideration is number of clicks and click time of user etc., for example, user is closed immediately after clicking on a search result Close and click another search result, and crossed after the search result is checked in click and for a long time just close the result, And do not check other search results again, then it can determine that on this search, the click for the search result clicked on for the second time Time is long.
In a step 702, based on history access information default weighted value corresponding with each classification, calculate each and search Ranking results between the classification of the corresponding search result of rope keyword.
In one embodiment, history access information and each classification that can be based on the search result of each keyword Search result and the default weighted value of each classification correspondence determine total weighted value of each classification, each classification The calculating of total weighted value can be found in formula (1):
Z=(x1f1+x2f2+...xkfk)/n formulas (1)
In formula (1), f1+f2+...+fk=n, f1, f2 ..., fk are called power, and x1, x2 ... xk are each index.
In step 703, ranking results between classification are stored in predetermined order file.
In one embodiment, record has server to be based on user behavior data and the default weight of classification in predetermined order file It is worth ranking results between the classification determined.
In the present embodiment, big data analysis is carried out by the history access information to user's search result, for searching online Search keyword in rope, the most desired search result generic checked of user can be judged well, and then cause row Sequence meets the access habits of user, improves the retrieval experience of user.
Fig. 8 is a kind of block diagram of searcher according to an exemplary embodiment, using on the terminal device, is such as schemed Shown in 8, searcher includes:
As a result acquisition module 81, when being configured as receiving global type search instruction, obtain the search knot of correspondence classification Really, the search result of correspondence classification includes system data, application program internal data and web data;
Display module 82, is configured as the search result of corresponding classification for obtaining result acquisition module 81 with default display Mode is shown in same result of page searching.
Fig. 9 is the block diagram of another searcher according to an exemplary embodiment, as shown in figure 9, in above-mentioned Fig. 8 On the basis of illustrated embodiment, in one embodiment, when the search result of correspondence classification includes system data, mould is as a result obtained Block 81 includes:
First retrieval submodule 811, is configured as what the search in the first retrieval file included with global type search instruction The index information of system data is have recorded in the corresponding index information of search keyword, the first retrieval file;
First determination sub-module 812, is configured as system data corresponding with index information being defined as search result.
In one embodiment, when the search result of correspondence classification includes application program internal data, as a result acquisition module 81 include:
First sending submodule 813, is configured as the application client transmission to matching operation systematic search framework The search keyword that global type search instruction includes is carried in first request message, the first request message;
First receiving submodule 814, is configured to receive the index that application client is returned based on the first request message Information;
Second determination sub-module 815, is configured as being defined as searching by application program internal data corresponding with index information Hitch fruit.
In one embodiment, when the search result of correspondence classification includes application program internal data, as a result acquisition module 81 include:
Second sending submodule 816, is configured as sending carrying in the second request message, the second request message to server The search keyword that global type search instruction includes;
Second receiving submodule 817, is configured as the index information that the reception server is returned based on the second request message;
3rd determination sub-module 818, is configured as being defined as searching by application program internal data corresponding with index information Hitch fruit.
In one embodiment, when the search result of correspondence classification includes web data, as a result acquisition module 81 includes:
3rd receiving submodule 819, is configured as the index information that the reception server is returned based on the second request message, rope Fuse breath is obtained by the index of web data of the server based on the structuring stored, the index of the web data of structuring The data captured from web data are carried out with what structuring processing was obtained for server.
In one embodiment, when the search result of correspondence classification includes web data, as a result acquisition module 81 includes:
3rd sending submodule 821, is configured as sending the 3rd request message to third party's web page search engine, the 3rd please Ask and search keyword is carried in message;
4th receiving submodule 822, is configured as receiving third party's web page search engine based on the return of the 3rd request message Search result.
In one embodiment, display module 82 includes:
First display sub-module 823, is configured as including the search result of correspondence classification same according to preset order In individual result of page searching;Or,
Second display sub-module 824, is configured as receiving server based on the search pass in global type search instruction Between the classification that keyword is determined after ranking results, ranking results are included same between the search result between correspondence classification is based on into classification In individual result of page searching.
Figure 10 is a kind of block diagram of searcher according to an exemplary embodiment, using on the server, is such as schemed Shown in 10, searcher includes:
Receiving module 101, is configured as receiving and is taken in the second request message that search client is sent, the second request message With search keyword;
Retrieve module 102, be configured as be based on search keyword, obtain correspondence classification search result index information with And ranking results between classification, corresponding to the search result of classification includes arranging between application program internal data and web data, classification Sequence result designation system data, application program internal data and the corresponding search result of web data are on client end interface Display sequence;
First sending module 103, be configured as ranking results between index information and classification by search result send to Search client.
Figure 11 is the block diagram of another searcher according to an exemplary embodiment, as shown in figure 11, above-mentioned On the basis of embodiment illustrated in fig. 10, in one embodiment, retrieval module 102 includes:
Second retrieval submodule 1021, is configured as retrieving the corresponding application journey of search keyword in the second retrieval file The index information of sequence internal data, and web data index information.
In one embodiment, device also includes:
Web data collection module 104, is configured as collecting web data from web page server based on preset algorithm;
Data structured module 105, is configured as carrying out structuring processing to the data of collection, obtains the webpage of structuring Data;
First index sets up module 106, is configured as that structural data is stored in the second retrieval file and generated The corresponding index information of web data.
In one embodiment, device also includes:
Application data acquisition module 107, is configured as obtaining what the corresponding application server of each application program was provided The index information of application program internal data, application program internal data includes the performance data and content-data of application program;
Second index sets up module 108, is configured as the index information of application program internal data being stored in the second inspection In rope file.
In one embodiment, device also includes:
Enquiry module 109, is configured as that the query search keyword in predetermined order file is corresponding different classes of to be searched Record has server to be based on user behavior data and the default power of classification in ranking results between rope resulting class, predetermined order file Ranking results between the classification that weight values are determined.
In one embodiment, device includes:
Statistical module 1010, is configured as counting going through for the corresponding different classes of search result of each search keyword History access information;
Sort determining module 1020, is configured as being based on history access information default weight corresponding with each classification Value, calculates ranking results between the classification of the corresponding search result of each search keyword;
Memory module 1030, is configured as ranking results between classification being stored in predetermined order file.
The function of unit and the implementation process of effect specifically refer to correspondence step in the above method in said apparatus Implementation process, will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method Apply the part explanation of example.Device embodiment described above is only schematical, wherein illustrating as separating component Unit can be or may not be physically separate, the part shown as unit can be or may not be Physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to the actual needs Some or all of module therein is selected to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying wound In the case that the property made is worked, you can to understand and implement.
Figure 12 is a kind of block diagram suitable for searcher according to an exemplary embodiment.For example, device 1200 It can be terminal device.
Reference picture 12, device 1200 can include following one or more assemblies:Processing assembly 1202, memory 1204, Power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of input/output (I/O), sensor cluster 1214, and communication component 1216.
The integrated operation of the usual control device 1200 of processing assembly 1202, such as with display, call, data communication, The camera operation operation associated with record operation.Treatment element 1202 can include one or more processors 1220 to perform Instruction, to complete all or part of step of above-mentioned method.In addition, processing assembly 1202 can include one or more moulds Block, is easy to the interaction between processing assembly 1202 and other assemblies.For example, processing component 1202 can include multi-media module, To facilitate the interaction between multimedia groupware 1208 and processing assembly 1202.
Memory 1204 is configured as storing various types of data supporting the operation in equipment 1200.These data Example includes the instruction of any application program or method for being operated on device 1200, message, picture etc..Memory 1204 It can be realized by any kind of volatibility or non-volatile memory device or combinations thereof, such as static random access memory Device (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM) can be compiled Journey read-only storage (PROM), read-only storage (ROM), magnetic memory, flash memory, disk or CD.
Power supply module 1206 provides electric power for the various assemblies of device 1200.Electric power assembly 1206 can include power management System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 1200.
Multimedia groupware 1208 is included in the screen of one output interface of offer between device 1200 and user.At some In embodiment, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Touch-screen is may be implemented as, to receive the input signal from user.Touch panel includes one or more touch sensors With the gesture on sensing touch, slip and touch panel.Touch sensor can not only sensing touch or sliding action border, But also the detection duration related to touch or slide and pressure.In certain embodiments, multimedia groupware 1208 Including a front camera and/or rear camera.When equipment 1200 is in operator scheme, such as screening-mode or video mode When, front camera and/or rear camera can receive the multi-medium data of outside.Each front camera and rearmounted shooting Head can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 1210 is configured as output and/or input audio signal.For example, audio-frequency assembly 1210 includes a wheat Gram wind (MIC), when device 1200 is in operator scheme, when such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The audio signal received can be further stored in memory 1204 or via communication Component 1216 is sent.In certain embodiments, audio-frequency assembly 1210 also includes a loudspeaker, for exports audio signal.
I/O interfaces 1212 are that interface, above-mentioned peripheral interface module are provided between processing assembly 1202 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor cluster 1214 includes one or more sensors, and the state for providing various aspects for device 1200 is commented Estimate.For example, sensor cluster 1214 can detect opening/closed mode of equipment 1200, the relative positioning of component, such as group Part is the display and keypad of device 1200, and sensor cluster 1214 can be with 1,200 1 groups of detection means 1200 or device The position of part changes, the existence or non-existence that user contacts with device 1200, the orientation of device 1200 or acceleration/deceleration and device 1200 temperature change.Sensor cluster 1214 can include proximity transducer, be configured to connect in not any physics The presence of object nearby is detected when touching.Sensor cluster 1214 can also include optical sensor, such as CMOS or ccd image sensing Device, for being used in imaging applications.In certain embodiments, the sensor cluster 1214 can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, distance-sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress The wireless network based on communication standard, such as WIFI, 2G or 3G, or combinations thereof can be accessed by putting 1200.It is exemplary at one In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, communication component 1216 also includes near-field communication (NFC) module, to promote junction service. For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill can be based in NFC module Art, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1200 can be by one or more application specific integrated circuits (ASIC), numeral Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the side described by first aspect Method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 1204 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 1220 of device 1200.Example Such as, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
Figure 13 is a kind of block diagram for being applied to determine the device of traffic route according to an exemplary embodiment.Device 1300 may be provided in a server.Reference picture 13, device 1300 include processing assembly 1322, its further comprise one or Multiple processors, and as the memory resource representated by memory 1332, for store can by processing component 1322 execution Instruction, such as application program.The application program stored in memory 1332 can include it is one or more each Corresponding to the module of one group of instruction.In addition, processing assembly 1322 is configured as execute instruction, it is above-mentioned for controlling to install to perform The method of indicator lamp on smart machine.
Device 1300 can also include the power management that a power supply module 1326 is configured as performs device 1300, one Wired or wireless network interface 1350 is configured as device 1300 being connected to network, and input and output (I/O) interface 1358.Device 1300 can be operated based on the operating system for being stored in memory 1332, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 1332 of instruction, above-mentioned instruction can be performed to complete second aspect institute by the processing assembly 1322 of device 1310 The method of description.For example, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD- ROM, tape, floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (30)

1. a kind of searching method, it is characterised in that apply on search client, methods described includes:
When receiving global type search instruction, the search result of correspondence classification, the search result bag of the correspondence classification are obtained Include system data, application program internal data and web data;
The search result of correspondence classification is included in same result of page searching with default display mode.
2. according to the method described in claim 1, it is characterised in that include system data in the search result of the correspondence classification When, the search result of the multiple classifications of acquisition, including:
Index information corresponding with the search keyword that the global type search instruction includes, institute are searched in the first retrieval file State the index information that system data is have recorded in the first retrieval file;
System data corresponding with the index information is defined as the search result.
3. according to the method described in claim 1, it is characterised in that include application program in the search result of the correspondence classification During internal data, the search result of the acquisition correspondence classification, including:
Sent to the application client of matching operation systematic search framework in the first request message, first request message Carry the search keyword that the global type search instruction includes;
Receive the index information that the application client is returned based on first request message, the application client End includes the retrieval file of the index information of record correspondence application program and interior data registration;
Application program internal data corresponding with the index information is defined as the search result.
4. according to the method described in claim 1, it is characterised in that include application program in the search result of the correspondence classification During internal data, the search result of the acquisition correspondence classification, including:
The second request message is sent to server, carry that the global type search instruction includes in second request message searches Rope keyword;
Receive the index information that the server is returned based on second request message;
Application program internal data corresponding with the index information is defined as the search result.
5. method according to claim 4, it is characterised in that include web data in the search result of the correspondence classification When, the search result of the acquisition correspondence classification, including:
The index information that the server is returned based on second request message is received, the index information is the server What the index of the web data based on the structuring stored was obtained, the index of the web data of the structuring is the service Device carries out what structuring processing was obtained to the data captured from web data.
6. according to the method described in claim 1, it is characterised in that include web data in the search result of the correspondence classification When, the search result of the acquisition correspondence classification, including:
Sent to third party's web page search engine and the search key is carried in the 3rd request message, the 3rd request message Word;
Receive the search result that third party's web page search engine is returned based on the 3rd request message.
7. according to the method described in claim 1, it is characterised in that the search result by correspondence classification is with default aobvious The mode of showing is shown in same result of page searching, including:
The search result of correspondence classification is included in same result of page searching according to preset order;Or,
After ranking results between receiving the classification that server is determined based on the search keyword in the global type search instruction, Ranking results are included in same result of page searching between search result between correspondence classification is based on into the classification.
8. a kind of searching method, it is characterised in that on the server, methods described includes for application:
Receive in the second request message that search client is sent, first request message and carry search keyword;
Based on the search keyword, ranking results, institute between the index information and classification of the search result of correspondence classification are obtained Stating the search result of correspondence classification includes ranking results sign system between application program internal data and web data, the classification Display sequence of data, the application program internal data and the corresponding search result of web data of uniting on client end interface;
Ranking results between the index information and classification of the search result are sent to the search client.
9. method according to claim 8, it is characterised in that the index letter of the search result of the acquisition correspondence classification Breath, including:
The index information of the corresponding application program internal data of the search keyword, and net are retrieved in the second retrieval file The index information of page data.
10. method according to claim 9, it is characterised in that methods described also includes:
Web data is collected from web page server based on preset algorithm;
Data to collection carry out structuring processing, obtain the web data of structuring;
The structural data is stored in second retrieval file and the corresponding index information of web data is generated.
11. method according to claim 9, it is characterised in that methods described also includes:
The index information for the application program internal data that the corresponding application server of each application program is provided is obtained, it is described to answer Include the performance data and content-data of the application program with program internal data;
The index information of the application program internal data is stored in second retrieval file.
12. method according to claim 8, it is characterised in that methods described also includes:
Ranking results, institute between the classification of the corresponding different classes of search result of query search keyword in predetermined order file Stating in predetermined order file record has the server to be preset based on user behavior data and classification between the classification that weighted value is determined Ranking results.
13. method according to claim 12, it is characterised in that methods described includes:
Count the history access information of the corresponding different classes of search result of each search keyword;
Based on the history access information default weighted value corresponding with each classification, each search keyword correspondence is calculated Search result classification between ranking results;
Ranking results between the classification are stored in the predetermined order file.
14. a kind of searcher, it is characterised in that apply on search client, described device includes:
As a result acquisition module, when being configured as receiving global type search instruction, obtains the search result of correspondence classification, described The search result of correspondence classification includes system data, application program internal data and web data;
Display module, is configured as the search result by the correspondence classification of result acquisition module acquisition with default Display mode is shown in same result of page searching.
15. device according to claim 14, it is characterised in that include system number in the search result of the correspondence classification According to when, the result acquisition module includes:
First retrieval submodule, is configured as the search that search includes with the global type search instruction in the first retrieval file The index information of system data is have recorded in the corresponding index information of keyword, first retrieval file;
First determination sub-module, is configured as system data corresponding with the index information being defined as the search result.
16. device according to claim 14, it is characterised in that include applying journey in the search result of the correspondence classification During sequence internal data, the result acquisition module includes:
First sending submodule, is configured as sending the first request to the application client of matching operation systematic search framework The search keyword that the global type search instruction includes is carried in message, first request message;
First receiving submodule, is configured to receive the index that the application client is returned based on first request message Information;
Second determination sub-module, is configured as application program internal data corresponding with the index information being defined as described search Hitch fruit.
17. device according to claim 14, it is characterised in that include applying journey in the search result of the correspondence classification During sequence internal data, the result acquisition module includes:
Second sending submodule, is configured as sending the second request message to server, carries institute in second request message State the search keyword that global type search instruction includes;
Second receiving submodule, is configured as receiving the index information that the server is returned based on second request message;
3rd determination sub-module, is configured as application program internal data corresponding with the index information being defined as described search Hitch fruit.
18. device according to claim 17, it is characterised in that include webpage number in the search result of the correspondence classification According to when, the result acquisition module includes:
3rd receiving submodule, is configured as receiving the index information that the server is returned based on second request message, The index information is obtained by the index of web data of the server based on the structuring stored, the structuring The index of web data carries out what structuring processing was obtained to the data captured from web data for the server.
19. device according to claim 14, it is characterised in that include webpage number in the search result of the correspondence classification According to when, the result acquisition module includes:
3rd sending submodule, is configured as sending the 3rd request message, the 3rd request to third party's web page search engine The search keyword is carried in message;
4th receiving submodule, is configured as receiving third party's web page search engine based on the 3rd request message return Search result.
20. device according to claim 14, it is characterised in that the display module includes:
First display sub-module, is configured as including the search result of correspondence classification according to preset order tying in same search In the fruit page;Or,
Second display sub-module, is configured as receiving server based on the search keyword in the global type search instruction Between the classification of determination after ranking results, ranking results are included same between the search result between correspondence classification is based on into the classification In individual result of page searching.
21. a kind of searcher, it is characterised in that on the server, described device includes for application:
Receiving module, is configured as receiving carrying in the second request message that search client is sent, first request message There is search keyword;
Retrieve module, be configured as be based on the search keyword, obtain correspondence classification search result index information and Ranking results between classification, the search result of the correspondence classification includes application program internal data and web data, the class Other ranking results designation system data, application program internal data and the corresponding search result of web data are in client circle Display sequence on face;
First sending module, is configured as ranking results between index information and classification by the search result and sends to described Search client.
22. device according to claim 21, it is characterised in that the retrieval module includes:
Second retrieval submodule, is configured as retrieving in the second retrieval file in the corresponding application program of the search keyword The index information of portion's data, and web data index information.
23. device according to claim 22, it is characterised in that described device also includes:
Web data collection module, is configured as collecting web data from web page server based on preset algorithm;
Data structured module, is configured as carrying out structuring processing to the data of collection, obtains the web data of structuring;
First index sets up module, is configured as that the structural data is stored in second retrieval file and generated The corresponding index information of web data.
24. device according to claim 22, it is characterised in that described device also includes:
Application data acquisition module, is configured as obtaining the application program that the corresponding application server of each application program is provided The index information of internal data, the application program internal data includes the performance data and content-data of the application program;
Second index sets up module, is configured as the index information of the application program internal data being stored in second inspection In rope file.
25. device according to claim 21, it is characterised in that described device also includes:
Enquiry module, is configured as the corresponding different classes of search result of the query search keyword in predetermined order file Record has the server to be based on user behavior data and the default power of classification in ranking results between classification, the predetermined order file Ranking results between the classification that weight values are determined.
26. device according to claim 25, it is characterised in that described device includes:
Statistical module, the history for being configured as counting the corresponding different classes of search result of each search keyword accesses letter Breath;
Sort determining module, is configured as being based on the history access information default weighted value corresponding with each classification, meter Calculate ranking results between the classification of the corresponding search result of each search keyword;
Memory module, is configured as ranking results between the classification being stored in the predetermined order file.
27. a kind of searcher, it is characterised in that described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, processor is configured as:
When receiving global type search instruction, the search result of correspondence classification, the search result bag of the correspondence classification are obtained Include system data, application program internal data and web data;
The search result of correspondence classification is included in same result of page searching with default display mode.
28. a kind of searcher, it is characterised in that described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, processor is configured as:
Receive in the second request message that search client is sent, first request message and carry search keyword;
Based on the search keyword, ranking results, institute between the index information and classification of the search result of correspondence classification are obtained Stating the search result of correspondence classification includes ranking results sign system between application program internal data and web data, the classification Display sequence of data, the application program internal data and the corresponding search result of web data of uniting on client end interface;
Ranking results between the index information and classification of the search result are sent to the search client.
29. be stored with computer instruction on a kind of non-provisional computer-readable storage medium, the storage medium, it is characterised in that institute State when instruction is executed by processor and realize following steps:
When receiving global type search instruction, the search result of correspondence classification, the search result bag of the correspondence classification are obtained Include system data, application program internal data and web data;
The search result of correspondence classification is included in same result of page searching with default display mode.
30. be stored with computer instruction on a kind of non-provisional computer-readable storage medium, the storage medium, it is characterised in that institute State when instruction is executed by processor and realize following steps:
Receive in the second request message that search client is sent, first request message and carry search keyword;
Based on the search keyword, ranking results, institute between the index information and classification of the search result of correspondence classification are obtained Stating the search result of correspondence classification includes ranking results sign system between application program internal data and web data, the classification Display sequence of data, the application program internal data and the corresponding search result of web data of uniting on client end interface;
Ranking results between the index information and classification of the search result are sent to the search client.
CN201710464871.2A 2017-06-19 2017-06-19 Searching method and device Pending CN107330019A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710464871.2A CN107330019A (en) 2017-06-19 2017-06-19 Searching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710464871.2A CN107330019A (en) 2017-06-19 2017-06-19 Searching method and device

Publications (1)

Publication Number Publication Date
CN107330019A true CN107330019A (en) 2017-11-07

Family

ID=60195406

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710464871.2A Pending CN107330019A (en) 2017-06-19 2017-06-19 Searching method and device

Country Status (1)

Country Link
CN (1) CN107330019A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108256011A (en) * 2018-01-04 2018-07-06 北京奇艺世纪科技有限公司 A kind of Android system global search method and apparatus
CN108549569A (en) * 2018-04-26 2018-09-18 上海掌门科技有限公司 The method and apparatus of information in a kind of search for application
CN108733800A (en) * 2018-05-17 2018-11-02 努比亚技术有限公司 A kind of global search method, terminal and computer readable storage medium
CN108829844A (en) * 2018-06-20 2018-11-16 聚好看科技股份有限公司 A kind of information search method and system
CN108874958A (en) * 2018-06-06 2018-11-23 麒麟合盛网络技术股份有限公司 Content search method and device
CN109308338A (en) * 2018-08-09 2019-02-05 上海连尚网络科技有限公司 Information in a kind of search for application, display method and apparatus
WO2019205716A1 (en) * 2018-04-26 2019-10-31 上海掌门科技有限公司 Method and device for searching for information in application program
CN111324579A (en) * 2020-03-10 2020-06-23 畅捷通信息技术股份有限公司 ERP file query method, system, terminal and storage medium
CN111538874A (en) * 2020-04-22 2020-08-14 深圳传音控股股份有限公司 Quick search method, terminal and readable storage medium
WO2021042564A1 (en) * 2019-09-02 2021-03-11 深圳传音控股股份有限公司 Search method
CN112905674A (en) * 2021-03-04 2021-06-04 北京小米移动软件有限公司 Information sorting method and device
CN113254766A (en) * 2021-05-20 2021-08-13 北京百度网讯科技有限公司 Information retrieval method and device
CN113326416A (en) * 2021-06-15 2021-08-31 北京百度网讯科技有限公司 Method for retrieving data, method and device for sending retrieved data to client
CN113626462A (en) * 2021-07-15 2021-11-09 北京百度网讯科技有限公司 Instant messaging object searching method and device, electronic equipment and storage medium
WO2024067216A1 (en) * 2022-09-30 2024-04-04 华为技术有限公司 Application recommendation method and electronic device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040083197A1 (en) * 2002-10-25 2004-04-29 Hitachi, Ltd. Database management method and system
US20070185846A1 (en) * 2006-01-31 2007-08-09 Intellext, Inc. Methods and apparatus for organizing search results
CN102483753A (en) * 2009-05-27 2012-05-30 谷歌公司 Computer Application Data In Search Results
CN104331465A (en) * 2014-10-30 2015-02-04 广东欧珀移动通信有限公司 Searching method and device for mobile terminal
CN104520847A (en) * 2012-07-31 2015-04-15 苹果公司 User interface providing localized search capabilities
CN104750824A (en) * 2015-03-31 2015-07-01 北京百度网讯科技有限公司 Application functional data processing method and device
CN104750692A (en) * 2013-12-25 2015-07-01 中国移动通信集团公司 Information processing method, information retrieval method and corresponding device of information retrieval method
CN105095407A (en) * 2015-07-09 2015-11-25 中山大学 Method and system for real-time search of application program content
US20160117082A1 (en) * 2014-10-27 2016-04-28 Google Inc. Integrated task launcher user interface
CN106716413A (en) * 2014-09-26 2017-05-24 微软技术许可有限责任公司 Unified search on a personal computing device
CN106844484A (en) * 2016-12-23 2017-06-13 北京奇虎科技有限公司 Information search method, device and mobile terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040083197A1 (en) * 2002-10-25 2004-04-29 Hitachi, Ltd. Database management method and system
US20070185846A1 (en) * 2006-01-31 2007-08-09 Intellext, Inc. Methods and apparatus for organizing search results
CN102483753A (en) * 2009-05-27 2012-05-30 谷歌公司 Computer Application Data In Search Results
CN104520847A (en) * 2012-07-31 2015-04-15 苹果公司 User interface providing localized search capabilities
CN104750692A (en) * 2013-12-25 2015-07-01 中国移动通信集团公司 Information processing method, information retrieval method and corresponding device of information retrieval method
CN106716413A (en) * 2014-09-26 2017-05-24 微软技术许可有限责任公司 Unified search on a personal computing device
US20160117082A1 (en) * 2014-10-27 2016-04-28 Google Inc. Integrated task launcher user interface
CN104331465A (en) * 2014-10-30 2015-02-04 广东欧珀移动通信有限公司 Searching method and device for mobile terminal
CN104750824A (en) * 2015-03-31 2015-07-01 北京百度网讯科技有限公司 Application functional data processing method and device
CN105095407A (en) * 2015-07-09 2015-11-25 中山大学 Method and system for real-time search of application program content
CN106844484A (en) * 2016-12-23 2017-06-13 北京奇虎科技有限公司 Information search method, device and mobile terminal

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108256011A (en) * 2018-01-04 2018-07-06 北京奇艺世纪科技有限公司 A kind of Android system global search method and apparatus
CN108549569A (en) * 2018-04-26 2018-09-18 上海掌门科技有限公司 The method and apparatus of information in a kind of search for application
WO2019205716A1 (en) * 2018-04-26 2019-10-31 上海掌门科技有限公司 Method and device for searching for information in application program
WO2019205717A1 (en) * 2018-04-26 2019-10-31 上海掌门科技有限公司 Method and device for searching for information in application program
US11403346B2 (en) 2018-04-26 2022-08-02 Shanghai Zhangmen Science And Technology Co., Ltd. Method and device for searching for information in applications
CN108733800A (en) * 2018-05-17 2018-11-02 努比亚技术有限公司 A kind of global search method, terminal and computer readable storage medium
CN108874958A (en) * 2018-06-06 2018-11-23 麒麟合盛网络技术股份有限公司 Content search method and device
CN108829844A (en) * 2018-06-20 2018-11-16 聚好看科技股份有限公司 A kind of information search method and system
CN109308338A (en) * 2018-08-09 2019-02-05 上海连尚网络科技有限公司 Information in a kind of search for application, display method and apparatus
CN109308338B (en) * 2018-08-09 2021-06-18 上海连尚网络科技有限公司 Method and equipment for searching and displaying information in application program
WO2021042564A1 (en) * 2019-09-02 2021-03-11 深圳传音控股股份有限公司 Search method
CN111324579A (en) * 2020-03-10 2020-06-23 畅捷通信息技术股份有限公司 ERP file query method, system, terminal and storage medium
CN111324579B (en) * 2020-03-10 2024-05-31 畅捷通信息技术股份有限公司 Query method, system, terminal and storage medium of ERP (Enterprise resource planning) file
CN111538874A (en) * 2020-04-22 2020-08-14 深圳传音控股股份有限公司 Quick search method, terminal and readable storage medium
WO2021212879A1 (en) * 2020-04-22 2021-10-28 深圳传音控股股份有限公司 Quick search method, terminal and storage medium
CN112905674A (en) * 2021-03-04 2021-06-04 北京小米移动软件有限公司 Information sorting method and device
CN113254766A (en) * 2021-05-20 2021-08-13 北京百度网讯科技有限公司 Information retrieval method and device
CN113326416A (en) * 2021-06-15 2021-08-31 北京百度网讯科技有限公司 Method for retrieving data, method and device for sending retrieved data to client
CN113626462A (en) * 2021-07-15 2021-11-09 北京百度网讯科技有限公司 Instant messaging object searching method and device, electronic equipment and storage medium
CN113626462B (en) * 2021-07-15 2022-11-15 北京百度网讯科技有限公司 Instant messaging object searching method and device, electronic equipment and storage medium
WO2024067216A1 (en) * 2022-09-30 2024-04-04 华为技术有限公司 Application recommendation method and electronic device

Similar Documents

Publication Publication Date Title
CN107330019A (en) Searching method and device
US10706094B2 (en) System and method for customizing a display of a user device based on multimedia content element signatures
CN107341187B (en) Search processing method, device, equipment and computer storage medium
CN110489626A (en) A kind of information collecting method and device
CN106233282A (en) Use the application searches of capacity of equipment
CN107526744A (en) A kind of information displaying method and device based on search
CN105893493A (en) Searching method and device
CN105930247A (en) Method, device and mobile terminal for processing problem of system restart
CN108345610A (en) It is a kind of to obtain the method and apparatus of data resource, the device for obtaining data resource
CN104636164B (en) Start page generation method and device
CN104331503B (en) The method and device of information push
CN108121736A (en) A kind of descriptor determines the method for building up, device and electronic equipment of model
CN104035995A (en) Method and device for generating group tags
CN106126592B (en) Processing method and device for search data
US11546663B2 (en) Video recommendation method and apparatus
CN106682163A (en) Article information recommendation method and device and equipment
CN108733718A (en) Display methods, device and the display device for search result of search result
CN106777016A (en) The method and device of information recommendation is carried out based on instant messaging
CN107526740A (en) A kind of method and electronic equipment for showing search result
CN108897846A (en) Information search method, equipment and computer readable storage medium
CN107590137A (en) Interpretation method, device and computer-readable recording medium
CN106294596A (en) The method and device of information search
CN107329744A (en) The functional module of application program starts method and device
CN109948043A (en) A kind of information recommendation method and device
CN107343104A (en) Handle the method, apparatus and terminal device of Information on Collection

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination