CN110609957A - Method, terminal and server for global search - Google Patents

Method, terminal and server for global search Download PDF

Info

Publication number
CN110609957A
CN110609957A CN201910886761.4A CN201910886761A CN110609957A CN 110609957 A CN110609957 A CN 110609957A CN 201910886761 A CN201910886761 A CN 201910886761A CN 110609957 A CN110609957 A CN 110609957A
Authority
CN
China
Prior art keywords
information
terminal
server
keyword
fed back
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910886761.4A
Other languages
Chinese (zh)
Other versions
CN110609957B (en
Inventor
崔薇
张军
李凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201910886761.4A priority Critical patent/CN110609957B/en
Publication of CN110609957A publication Critical patent/CN110609957A/en
Application granted granted Critical
Publication of CN110609957B publication Critical patent/CN110609957B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • 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/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The invention discloses a method, a terminal and a server for global search, which are used for solving the problems that the resource types fed back by the existing resource providers are single, and the global search mode of the terminal is complicated. The terminal extracts the keywords input by the user in the global search box with one screen, sends the extracted keywords to the server, and the server searches for the object corresponding to the keywords and the information of the object. The server feeds back the information of at least one searched object to the terminal, the terminal determines an information set corresponding to the keyword according to the information of the object fed back by the server, information contained in the information set corresponding to the keyword is filled into corresponding sub-items in a preset display template, a display interface is generated, and the generated display interface is displayed on the negative screen. When the terminal carries out global search, the server can acquire the resources of various types corresponding to the keywords, so that the global search process is simplified.

Description

Method, terminal and server for global search
Technical Field
The present invention relates to the field of terminals, and in particular, to a method, a terminal, and a server for performing global search.
Background
Currently, with the development of science and technology, the storage capacity of a mobile terminal is increasing, for example, the memory capacity of a mobile phone is expanded from 32G to 62G, and up to now, a 128G memory or even an infinite memory is embodied in the use of a user, and resources such as applications, stored pictures, videos and the like that can be installed in the current mobile phone are increasing.
In order to solve the problem that search is difficult due to more and more storage resources, a terminal integrates a global search function, the terminal obtains keyword information input by a user in a global search box, inquires local content related to the keywords, meanwhile, inquires online resources related to the keywords through resource provider software installed in the terminal, for example, the user inputs ' king ' in the global search box, the terminal inquires local content related to the ' king ' at the same time, inquires applications related to the ' king ' through an application store ' APP, inquires music related to the ' king ' through a music APP, inquires movies and TV plays related to the ' king ' through a movie APP, and then, inquiry results fed back by each resource provider and local inquiry results are displayed on an interface where the global search box is located.
If the resource providers are unloaded, the resources of the application cannot be inquired, and each resource provider can only provide a single resource, so that the global search mode of the terminal is complicated.
In summary, the resource types fed back by the existing resource providers are single, and the way of performing global search by the terminal is tedious.
Disclosure of Invention
The invention provides a method, a terminal and a server for global search, which are used for solving the problems that the resource types fed back by the existing resource providers are single, and the global search mode of the terminal is complicated.
In a first aspect, a method for performing global search provided in an embodiment of the present invention is applied to a terminal, and includes:
extracting keywords input by a user in a global search box on a negative screen of the terminal;
sending the extracted keywords to a server, and receiving information of at least one object corresponding to the keywords fed back by the server;
determining an information set corresponding to the keyword according to the received information of at least one object fed back by the server;
filling information contained in the information set corresponding to the keyword into corresponding sub-items in a preset display template to generate a display interface;
and displaying the generated display interface on the negative screen.
According to the method, the terminal extracts the keywords input by the user in the global search box with one screen, the extracted keywords are sent to the server, and the server searches the object corresponding to the keywords and the information of the object according to the received keywords. The server feeds back the information of at least one searched object to the terminal, the terminal determines an information set corresponding to the keyword according to the information of the object fed back by the server, information contained in the information set corresponding to the keyword is filled into corresponding sub-items in a preset display template, a display interface is generated, and the generated display interface is displayed on the negative screen. When the terminal carries out global search, the resource corresponding to the keyword does not need to be acquired by each resource provider, and each type of resource corresponding to the keyword can be acquired by the server, so that the global search process is simplified.
In an optional implementation manner, the determining, according to the received information of the at least one object fed back by the server, an information set corresponding to the keyword includes:
removing repeated object information in the information of the at least one object obtained by searching locally according to the keyword information and the information of the at least one object fed back by the server, wherein the repeated object is an object contained in the information of the at least one object obtained by searching locally according to the keyword information;
and merging the information of the at least one object fed back by the server after the removal and the information of the at least one object obtained by local searching to obtain an information set corresponding to the keyword.
In an optional implementation manner, the information of the at least one object obtained by locally searching according to the keyword information includes:
the extracted keywords are sent to a server, and meanwhile, the information of at least one object corresponding to the keywords is inquired locally through the terminal; or
And after receiving the information of the at least one object fed back by the server, locally inquiring the information of the at least one object fed back by the server through the terminal.
In an optional implementation manner, the filling information included in the information set corresponding to the keyword into corresponding sub-items in a preset display template to generate a display interface includes:
and filling the information into corresponding sub items in a preset display template aiming at the information of any object contained in the information set corresponding to the keyword, and generating a display interface of the object.
In an optional implementation manner, the sending the extracted keyword to a server further includes:
and sending part or all of the equipment ID of the terminal, which is used for updating the terminal query record by the server, the number of objects corresponding to the keyword, which are used for indicating the server to feed back, and the authentication information of the terminal to the server together with the keyword.
In an alternative embodiment, the information includes at least one group of information elements, where the group of information elements includes an identifier of a sub-item name and information of the object corresponding to the identifier;
filling information contained in the information set corresponding to the keyword into corresponding sub-items in a preset display template, wherein the filling comprises the following steps:
analyzing any group of information elements contained in the information to obtain the information of the object corresponding to the identifier of the sub-item name;
and filling the information obtained by analysis into the sub-items with the same sub-item name in the display template corresponding to the identification according to the identification of the sub-item name corresponding to the information.
In an optional implementation manner, the rearranging the sub-items filled with information according to a preset sub-item interval to form a presentation template corresponding to the object includes:
determining the preset sub-item arrangement sequence of the display template corresponding to the category to which the object belongs;
adjusting the positions of the sub items filled with the information according to the preset sub item intervals and the determined arrangement sequence of the preset sub items;
and generating an adaptive display template for the adjusted sub-items filled with the information.
In a second aspect, a method for performing global search provided in an embodiment of the present invention is applied to a server, and includes:
receiving a keyword sent by a terminal;
determining at least one object corresponding to the keyword and information of the object;
and sending the information of the at least one object to a terminal, so that the terminal determines an information set corresponding to the keyword according to the received information of the at least one object fed back by the server, fills information contained in the information set corresponding to the keyword into corresponding sub-items in a preset display template, generates a display interface, and displays the generated display interface on the negative screen.
In an optional implementation manner, the receiving the keyword sent by the terminal further includes:
and receiving part or all of the equipment ID of the terminal for updating the inquiry record of the terminal, the number of objects corresponding to the keywords fed back by the indicating server and the authentication information of the terminal.
In an optional embodiment, the determining at least one object corresponding to the keyword includes:
determining the weight of the class of an object preset by the terminal;
determining an object corresponding to the keyword;
and selecting at least one object from the objects corresponding to the category with the maximum weight according to the determined category to which the object belongs.
In an optional embodiment, the determining at least one object corresponding to the keyword and the information set of the object includes:
determining information of the at least one object;
for any object, determining a sub-item name of the display template corresponding to the information of the object according to the display template information notified by the terminal;
and binding the identifier of the subframe name corresponding to the information of the object aiming at any information corresponding to the object.
In a third aspect, an embodiment of the present invention further provides a terminal for performing global search, where the terminal includes: a processor and a memory, wherein the memory stores program code that, when executed by the processor, causes the terminal to perform the following:
extracting keywords input by a user in a global search box on a negative screen of the terminal;
sending the extracted keywords to a server, and receiving information of at least one object corresponding to the keywords fed back by the server;
determining an information set corresponding to the keyword according to the received information of at least one object fed back by the server;
filling information contained in the information set corresponding to the keyword into corresponding sub-items in a preset display template to generate a display interface;
and displaying the generated display interface on the negative screen.
In one possible implementation, the processor is specifically configured to:
removing repeated object information in the information of the at least one object obtained by searching locally according to the keyword information and the information of the at least one object fed back by the server, wherein the repeated object is an object contained in the information of the at least one object obtained by searching locally according to the keyword information;
and merging the information of the at least one object fed back by the server after the removal and the information of the at least one object obtained by local searching to obtain an information set corresponding to the keyword.
In one possible implementation, the processor is specifically configured to:
the extracted keywords are sent to a server, and meanwhile, the information of at least one object corresponding to the keywords is inquired locally through the terminal; or
And after receiving the information of the at least one object fed back by the server, locally inquiring the information of the at least one object fed back by the server through the terminal.
In one possible implementation, the processor is specifically configured to:
and filling the information into corresponding sub items in a preset display template aiming at the information of any object contained in the information set corresponding to the keyword, and generating a display interface of the object.
In one possible implementation, the processor is further configured to:
and sending part or all of the equipment ID of the terminal, which is used for updating the terminal query record by the server, the number of objects corresponding to the keyword, which are used for indicating the server to feed back, and the authentication information of the terminal to the server together with the keyword.
In a possible implementation manner, the information set includes at least one group of information elements, where the group of information elements includes an identifier of a sub-item name and information of the object corresponding to the identifier;
the processor is specifically configured to:
analyzing any group of information elements contained in the information set to obtain the information of the object corresponding to the identifier of the sub-item name;
and filling the information obtained by analysis into the sub-items with the same sub-item name in the display template corresponding to the identification according to the identification of the sub-item name corresponding to the information.
In one possible implementation, the processor is specifically configured to:
determining the preset sub-item arrangement sequence of the display template corresponding to the category to which the object belongs;
adjusting the positions of the sub items filled with the information according to the preset sub item intervals and the determined arrangement sequence of the preset sub items;
and generating an adaptive display template for the adjusted sub-items filled with the information.
In a fourth aspect, an embodiment of the present invention further provides a terminal for performing global search, where the terminal includes:
an extraction module: the method comprises the steps of extracting keywords input by a user in a global search box on a negative screen of the terminal;
a transmission module: the system comprises a server, a database and a database, wherein the server is used for extracting keywords from a plurality of objects, and the keywords are used for sending the extracted keywords to the server and receiving information of at least one object corresponding to the keywords fed back by the server;
a first determination module: determining an information set corresponding to the keyword according to the received information of at least one object fed back by the server;
a processing module: filling information contained in the information set corresponding to the keyword into corresponding sub-items in a preset display template to generate a display interface;
a display module: and the display interface is used for displaying the generated display interface on the negative screen.
In a fifth aspect, an embodiment of the present invention further provides a server for performing global search, where the server includes: a processor and a memory, wherein the memory stores program code that, when executed by the processor, causes the terminal to perform the following:
receiving a keyword sent by a terminal;
determining at least one object corresponding to the keyword and information of the object;
and sending the information of the at least one object to a terminal, so that the terminal determines an information set corresponding to the keyword according to the received information of the at least one object fed back by the server, fills information contained in the information set corresponding to the keyword into corresponding sub-items in a preset display template, generates a display interface, and displays the generated display interface on the negative screen.
In one possible implementation, the processor is further configured to:
and receiving part or all of the equipment ID of the terminal for updating the inquiry record of the terminal, the number of objects corresponding to the keywords fed back by the indicating server and the authentication information of the terminal.
In one possible implementation, the processor is specifically configured to:
determining the weight of the class of an object preset by the terminal;
determining an object corresponding to the keyword;
and selecting at least one object from the objects corresponding to the category with the maximum weight according to the determined category to which the object belongs.
In one possible implementation, the processor is specifically configured to:
determining information of the at least one object;
for any object, determining a sub-item name of the display template corresponding to the information of the object according to the display template information notified by the terminal;
and binding the identifier of the subframe name corresponding to the information of the object aiming at any information corresponding to the object.
In a sixth aspect, an embodiment of the present invention further provides a server for performing global search, where the server includes:
a receiving module: the system comprises a receiving terminal and a processing terminal, wherein the receiving terminal is used for receiving keywords sent by the receiving terminal;
a second determination module: the method comprises the steps of determining at least one object corresponding to the keyword and information of the object;
a sending module: and the information of the at least one object is sent to a terminal, so that the terminal determines an information set corresponding to the keyword according to the received information of the at least one object fed back by the server, fills information contained in the information set corresponding to the keyword into corresponding sub-items in a preset display template, generates a display interface, and displays the generated display interface on the negative screen.
In a seventh aspect, the present application further provides a computer storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of the method of the first or second aspect.
In addition, for technical effects brought by any one implementation manner of the second aspect to the sixth aspect, reference may be made to technical effects brought by different implementation manners of the first aspect or the second aspect, and details are not described here.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a negative one-screen interface of a terminal according to an embodiment of the present invention;
FIG. 2A is a diagram of a content provider application according to an embodiment of the present invention;
FIG. 2B is a schematic diagram of an interactive system for performing global search in the prior art;
fig. 3 is a schematic diagram of a system for performing global search according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of an interaction method for a terminal and a server to perform global search according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating an operation of a user performing global search according to an embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating a negative one-screen display of a global search result according to an embodiment of the present invention;
FIG. 7 is a schematic diagram illustrating a negative one-screen display of another global search result according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a display template according to an embodiment of the present invention;
fig. 9 is a schematic flowchart of a method for displaying a global search result by a terminal according to an embodiment of the present invention;
fig. 10 is a schematic interface diagram of a terminal filling information of an object into a display template according to an embodiment of the present invention;
FIG. 11 is a schematic diagram of a process for generating a presentation interface according to an embodiment of the present invention;
fig. 12 is a schematic diagram of a preset arrangement sequence corresponding to an object class according to an embodiment of the present invention;
fig. 13 is a schematic diagram of a preset arrangement sequence corresponding to a second type of object categories according to an embodiment of the present invention;
fig. 14 is a schematic diagram of a preset arrangement sequence corresponding to a third object type according to an embodiment of the present invention;
FIG. 15 is a schematic diagram illustrating a global search result according to an embodiment of the present invention;
fig. 16 is a schematic structural diagram of a first terminal for performing global search according to the embodiment of the present invention;
fig. 17 is a schematic structural diagram of a second terminal for performing global search according to the embodiment of the present invention;
fig. 18 is a schematic structural diagram of a third terminal for performing global search according to the embodiment of the present invention;
fig. 19 is a schematic structural diagram of a first server for performing global search according to the embodiment of the present invention;
fig. 20 is a schematic structural diagram of a second server for performing global search according to the embodiment of the present invention;
fig. 21 is a schematic diagram of a method for performing global search on a terminal side according to an embodiment of the present invention;
fig. 22 is a schematic diagram of a method for performing global search on a server side according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Some of the words that appear in the text are explained below:
1. the term "and/or" in the embodiments of the present invention describes an association relationship of associated objects, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The keyword "/" generally indicates that the former and latter associated objects are in an "or" relationship.
2. In the embodiments of the present application, the term "plurality" means two or more, and other terms are similar thereto.
3. The term "negative screen" in the embodiment of the present application means that a main screen of the terminal slides a screen to the right until a screen corresponding to the leftmost split screen.
The application scenario described in the embodiment of the present invention is for more clearly illustrating the technical solution of the embodiment of the present invention, and does not form a limitation on the technical solution provided in the embodiment of the present invention, and it can be known by a person skilled in the art that with the occurrence of a new application scenario, the technical solution provided in the embodiment of the present invention is also applicable to similar technical problems. In the description of the present invention, the term "plurality" means two or more unless otherwise specified.
The terminal in the embodiment of the application is an electronic device with communication and global search functions, such as an electronic device like a mobile phone and a tablet, and as shown in fig. 1, is an application interface diagram of a global search function integrated on a negative screen of a mobile phone, a user can input a keyword in a global search box, and the global search function queries content related to the keyword.
Currently, the global search function has functions of searching local content and online content (i.e. networking content) related to a keyword, and when searching online content, the online content related to the keyword is mainly obtained through an application program of a content provider installed in a terminal, where the application program of the content provider is APPs installed in the terminal, such as APP store, i music, i theme, and the like, as shown in fig. 2A.
As shown in fig. 2B, when performing a global search, the terminal needs to obtain a resource of a type corresponding to the keyword through each content provider software installed in the terminal, and further, if the content provider is uninstalled, the resource of the type cannot be queried, for example, if an application store is uninstalled in the terminal, the application resource related to the keyword cannot be obtained when performing a global search. Moreover, for a content provider, when developing a corresponding application program, adaptation needs to be performed for the global search function of terminals of different models, if the application program of the content provider is changed, an OTA version of the application program for the terminal of the model needs to be reissued, the development cycle is long, the difficulty is high, and the terminal may need to install and update the application program of the content provider many times to acquire updated online content.
In summary, when performing global search, a terminal needs to interact with multiple different content providers at the same time, the search process is complicated, and the query result is limited by whether an application program of a content provider is installed. Therefore, the embodiment of the application provides a global search mode, a terminal does not rely on a content provider to obtain a search result, but sends a keyword extracted from a global search box to a server, and feeds back various types of resources related to the keyword through the server. Referring to fig. 3, the system for global search provided by the present application includes a terminal 10 and a server 20;
the terminal 10 is used for extracting keywords input by a user in a global search box on a negative screen of the terminal; sending the extracted keywords to a server, and receiving information of at least one object corresponding to the keywords fed back by the server; filling information contained in the information set corresponding to the keyword into corresponding sub-items in a preset display template to generate a display interface; and displaying the generated display interface on the negative screen.
A server 20, configured to receive a keyword sent by a terminal; determining at least one object corresponding to the keyword and information of the object; and sending the information of the at least one object to a terminal, so that the terminal determines an information set corresponding to the keyword according to the received information of the at least one object fed back by the server, fills information contained in the information set corresponding to the keyword into corresponding sub-items in a preset display template, generates a display interface, and displays the generated display interface on the negative screen.
In the method, the terminal extracts keywords input by the user in the global search box on the negative screen, sends the extracted keywords to the server, and the server searches related contents according to the received keywords, determines various types of objects corresponding to the keywords and information of the objects, such as: the terminal sends the keyword 'king' to the server, and the server searches various types of resources related to the 'king', such as application resource 'king glory', movie and television resource 'king style', theme resource 'king ambition' and the like, so that the problem that the search result is obtained through a content provider is solved, various types of resources related to the keyword can be obtained through the server, and the overall search process is simplified.
The embodiment of the invention mainly introduces the interaction of global search information between a terminal and a server in a system for global search, and the terminal displays the information on a negative screen according to a search result fed back by the server.
As shown in fig. 4, an interaction flow diagram for performing global search on a terminal and a server provided in the embodiment of the present application includes the following steps:
step S400, the terminal extracts keywords in the global search box and sends the keywords to a server; the specific operation flow is as follows:
referring to fig. 5, in fig. 5(a), the user clicks the global search box of the negative screen of the terminal, and enters the information to be queried (i.e. the keyword) in the global search box, where the keyword may be any character, number, punctuation, and the like, as shown in fig. 5 (b). The terminal extracts the keywords input by the user in the global search box and sends the keywords to the server.
Further, the terminal may also send some or all of the following information to the service together with the keyword, such as: the device ID of the terminal itself (unique identifier of the terminal), the number of objects corresponding to the keyword fed back by the indication server, and the authentication information of the terminal. The above information is only an example, the information sent by the terminal to the server is not limited to part or all of the above information, on the other hand, for the timing when the terminal sends the above information, the terminal may send the above information to the server before sending the keyword, or the terminal does not send the above information to the server, the above information is preset information, that is, the above information may be preset in the terminal and the server in advance by a third party, for example, the above information is information agreed by a protocol, and the communication between the terminal and the server follows the protocol, which is not limited in the embodiment of the present application.
Step 401, a server receives a keyword sent by a terminal;
the server receives the keywords sent by the terminal, and correspondingly, when receiving the keywords, the server may also receive the device ID of the terminal, the number of objects fed back to the terminal by the server, and part or all of the authentication information of the terminal.
The server executes corresponding operations according to the received device ID of the terminal, the number of objects fed back to the terminal by the server and the authentication information of the terminal, such as:
illustratively, if the server receives the number N of objects of the keyword fed back by the terminal-specified server, the server queries N objects related to the keyword in the database and feeds back the N objects to the terminal; or after the server inquires all the objects related to the keyword in the database, N objects are selected from all the objects and fed back to the terminal;
illustratively, if the server receives the authentication information of the terminal, the server authenticates the terminal according to the authentication information, and if the authentication is passed, the server inquires the keyword and/or feeds back the inquiry result to the terminal; otherwise, no operation is performed;
for example, if the server receives the device ID of the terminal, the server stores the data corresponding to the device ID, for example, the query record corresponding to the device ID, that is, the queried keyword; the preset query weight corresponding to the device ID, for example, the weight of the tool class APP of the device ID is higher, and when the server queries the keyword sent by the terminal corresponding to the device ID, the query result belonging to the tool class is selected from the query results in a biased manner and fed back to the terminal. There are various ways for the server to determine the query weight information corresponding to the device ID, two of which are listed below:
one optional way is to preset the query weight information of the terminal, for example, the terminal sends the query weight information of itself to the server in advance, and the server binds and stores the device ID of the terminal and the query weight information; illustratively, a user can set query weight through a setting function of a terminal, and the terminal sends a device ID and query weight information set by the user to a server; another optional mode is that the server determines query weight information of the terminal according to information such as a model of the terminal, query records, and the like, for example: if the model of the terminal is suitable for the old, the server increases the query weight of the information class of the terminal; and if the model of the terminal is suitable for business persons, increasing the query weight of the tool class of the terminal. The information such as the model of the terminal can be reported to the server by the terminal.
It should be noted that, the query weight is only an example, the server may set the corresponding query weight according to the category corresponding to the query result, and may also set the corresponding query weight according to the content included in the query result.
Step 402, the server inquires about the object related to the keyword and the information of the object;
the server queries an object related to the keyword in a database, where the database is a resource center stored by the server, where resources in the database may be classified according to categories, such as an application category, a movie and television resource category, a reading category, a title category, and the like, and when the server queries an object related to the keyword in the category, a possible implementation manner is that the server may query an object including part or all of characters of the keyword according to the keyword, for example: if the keyword is 'king', the server searches the database for the content containing 'king', such as searching the resources of 'king glory', 'king card war' of application class, 'king card to king card', 'king person style' of film and television class, and the like; in another possible implementation manner, the server may also perform a query according to the content associated with the keyword or the object with the same paraphrase and harmonic tone. Such as: if the keyword is "pan bao", the server searches the database for an object related to "pan bao", for example, searches for "pan bao" in the application class and application resources such as "pay bao" and "arliba" in the same enterprise as the pan bao software.
After the server queries the object related to the keyword, information of the object, such as information of the size, download times, application description and the like of the 'Taobao' is obtained.
Step 403, the server feeds back information of at least one object corresponding to the keyword to the terminal;
the server may search for a plurality of objects corresponding to the keyword, and the server may feed back all the searched objects and information corresponding to each object to the terminal, or may select some objects and their respective information to feed back to the terminal. As described above, the server selects an information set of some objects from all searched objects to feed back to the terminal according to the number of objects corresponding to the keyword sent by the terminal for instructing the server to feed back the keyword or according to a preset feedback number.
There are various ways for the server to select some objects from all searched objects, and the following description is given as an example:
the selection mode is as follows: randomly selecting;
and the server randomly selects the objects with the number from all the inquired objects according to the determined number of the objects fed back to the terminal, and feeds back the objects to the terminal.
And a second selection mode: selecting according to the query weight information corresponding to the terminal;
for example, the server searches 20 keyword-related objects, wherein 10 objects belong to the application class, 6 objects belong to the movie and television class, and 4 objects belong to the subject class. Suppose that the server determines the query weight information of the terminal to be the application class weight 0.6 and the movie class weight 0.4. Assuming that the number of objects that the terminal requires the server to feed back is 10, the server may select the objects by the following method:
in a selectable selection mode, the number of applications selected by the server on the object belonging to the application class is: multiplying the number of the objects requiring feedback by the weight of the application type, namely 10 × 0.6 ═ 6; that is, the server selects 6 objects from 10 objects belonging to the application class to feed back to the terminal, and the server may select randomly or according to the popularity of the application, for example, the server selects according to the download times of the application; if the number of the objects of the application class is less than 6, sequentially selecting the objects of the next higher-weight class according to the weight sequence to fill up the number of the objects requiring feedback; if the number of objects corresponding to the keyword searched by the server is smaller than the number of objects requiring feedback, for example, the number of objects requiring feedback in the above embodiment is 10, assuming that all the objects searched by the terminal are 8, only the information sets corresponding to the 8 objects may be fed back to the terminal;
in another alternative selection mode, the server selects all objects corresponding to the category with the higher query weight, and if the number of the objects is less than the number of the objects requiring feedback, the server sequentially selects the objects of the next category with the higher weight according to the weight ranking. Such as: with the above embodiment, the server feeds back all information sets corresponding to the 10 objects belonging to the application class to the terminal. Wherein the information set contains information of only one object. In other words, the server transmits information corresponding to each of the objects to the terminal.
Step 404, the terminal receives information of at least one object fed back by the server;
and the terminal receives the information of the at least one object fed back by the server.
Step 405, the terminal determines an information set corresponding to the keyword according to the received information of at least one object fed back by the server;
there are various ways for the terminal to determine the information set corresponding to the keyword, two are listed below:
the determination method is as follows: the terminal simultaneously obtains an object corresponding to the keyword through the server and the terminal locally;
the terminal extracts keywords input by a user in a global search box on a negative screen of the terminal, sends the extracted keywords to the server, and meanwhile, can locally inquire information of at least one object corresponding to the keywords through the terminal.
The terminal determines an object which is repeated in the objects fed back by the server and the objects which are locally inquired by the terminal, and eliminates the information of the repeated objects fed back by the server, namely the information of the objects which are locally inquired by the terminal is reserved, and the objects which are locally inquired by the terminal, the corresponding information and the information of the objects fed back by the server after elimination are combined into an information set corresponding to the keyword.
For example, the following table 1 is information of an object that the terminal receives the server feedback; table 2 is information of an object corresponding to the keyword, which is locally queried by the terminal.
TABLE 1
TABLE 2
The terminal determines the information set corresponding to the keyword according to the above table 1 and table 2 as shown in table 3 below:
TABLE 3
Determining a second mode: and the terminal acquires the object corresponding to the keyword through the server, traverses the object fed back by the server and determines that the object fed back by the server belongs to the local object of the terminal.
The terminal first obtains information of an object corresponding to the keyword through the server, that is, when the terminal sends the extracted keyword to the server, the terminal does not query the object corresponding to the keyword locally, and the terminal can directly use information of at least one object fed back by the server as an information set corresponding to the keyword, as shown in fig. 6, the terminal is a display interface generated only according to the information set of the object fed back by the server; for example, in combination with table 1, if the objects fed back by the server are "royal glory", "royal camp", and "royal style", the terminal traverses the local data to determine whether the local device is installed with "royal glory", "royal camp", or "royal style". Suppose that "the royal is glory" is installed locally on the terminal, the information of "the royal is glory" is obtained locally on the terminal, the information of "the royal is glory" fed back by the server is replaced by the information of "the royal is glory" locally inquired by the terminal, the information and the information of other objects fed back by the server are combined into an information set corresponding to the keyword, and the information set corresponding to the keyword after combination is shown in the following table 4.
TABLE 4
As shown in fig. 7, a presentation interface is generated according to the information set of the keyword corresponding to table 4. And clicking the positioning symbol after the royal is glowed, and jumping to a screen where the royal is locally glowed and a specific position of the screen, namely a third row and a fourth row of application program icons in a main screen of the terminal.
It should be noted that, when displaying the local object of the terminal on negative one screen, the display interface of the object may further include a start button, and the object can be directly started or opened by clicking the start button.
Step 406, the terminal generates a display interface of an object aiming at that the information set corresponding to the keyword comprises information of any object and a preset display model;
it should be noted that the information of the object fed back by the server and received by the terminal is information formed by encapsulating the information of the object according to a data format by the server, so that after receiving the information, the terminal analyzes the information according to the preset data format same as that of the server, and fills the information obtained by analysis into a corresponding sub-item in a preset display template to generate a display interface of the object.
The preset data format is determined according to a display template configured in the terminal and used for displaying the global search result, and the object information contained in the display template in the embodiment of the invention includes but is not limited to part or all of the following sub-items: the name of the object, the display icon, the resolution of the display icon, the detailed information of the object, and the specific information corresponding to the category to which the object belongs, such as: the exclusive information of the object of the application class is information such as download amount, memory size and the like; the exclusive information of the video objects is information such as director, story outline and the like; the exclusive information of the reading class object (such as a novel) is the information of an author, a publicity slogan and the like. The attributes such as the resolution of the display icon, the font of each sub-item, the font size, the sub-item interval, the font color and the like can be embodied by the display template, and can also be set by the user.
As shown in fig. 8, the display template is a schematic diagram configured in the terminal, and the display template includes a plurality of sub-items, and the names of the sub-items are: object category, object name, display icon, memory size, download amount, read amount, movie review, promotion slogan, director list, author information, rating, download operation, on-demand operation, detailed information, and more description. The detailed information is a detailed introduction of the object, and when a user clicks a character of the detailed information, the detailed operation of the object may be presented through a floating pop-up window or jump to a complete application interface to present the detailed operation of the object, where "more description" may be used to fold information of the object, such as: when the terminal needs to display more search results through negative one screen, partial information of the display template can be folded, and when the user clicks more description to display the folded content.
The following illustrates, with reference to the display template shown in fig. 8, a manner in which the server determines the information set of the object according to the preset data format:
when the server feeds back the information of the object corresponding to the keyword sent by the terminal, aiming at any information of the object to be fed back, the server binds the information of the object to be fed back and the identifier of the corresponding sub-item name in the display template to form a group of information elements of the object. Such as: and defining the identifier of each sub-item name in the display template by using a number, wherein the identifier of the sub-item name which is an object type is 1, the identifier of the sub-item name which is an object name is 2, the identifier of the sub-item name which is a display icon is 3, the identifier of the sub-item name which is the size of the memory is 4, the identifier of the sub-item name which is the download amount is 5, and the like.
Assuming that an object to be fed back is 'royal glory', the object information includes an application type and an object name: "the king glory", the display icon is wzry. jpg, memory size: 50M, download amount: 10 ten thousand times and the like; the server determines the information set for the object in the form shown in table 5 below:
1 applications of
2 Rong Yao of the king
3 wzry.jpg
4 50M
5 10 ten thousand times
TABLE 5
Table 5 is only an example, the information set may be in a list form or a text form, and the form of the information set is not limited in the embodiment of the present invention.
And the server sends the respective information sets of the objects to be fed back to the terminal. And the terminal generates a display template of the object according to the received information set of the object and displays the display template on a negative screen.
As shown in fig. 9, a flowchart of a specific method for generating a display interface for a terminal provided in the embodiment of the present application includes the following steps:
step 900: the terminal analyzes the information which belongs to the object fed back by the server in the information set corresponding to the keyword;
the terminal analyzes the information of the object fed back by the server according to a preset data format to obtain at least one group of information elements of the object, namely the identifier of the sub-item name of the display template and the specific information content of the object; for example, for the information set shown in table 1, the terminal analyzes the information set according to a preset data format, and obtains that the object information corresponding to the identifier 1 is "application", the object information corresponding to the identifier 2 is "royal glory", the object information corresponding to the identifier 3 is "wzry.jpg", the object information corresponding to the identifier 4 is "50M", and the object information corresponding to the identifier 5 is "10 ten thousand times", that is, the terminal can determine that the "object type" of the object is application according to the identifier, the name of the object is royal glory, the display icon of the object is wzry.jpg, the size of the memory of the object is 50M, and the download amount of the object is 10 ten thousand times;
step 901: the terminal fills the information obtained by analysis into the sub-items of the corresponding sub-item names in the display template;
with reference to the above example, the terminal fills the information of the analyzed object into the sub-item in the presentation template corresponding to the identifier according to the identifier corresponding to each piece of information, as shown in fig. 10, which is a schematic diagram of the terminal after filling the information of the analyzed object into the presentation template.
Step 902: the terminal rearranges the sub items filled with the information according to a preset sub item interval to form a display template corresponding to the object;
if the sub-items of the filling information are not preset sub-item intervals, the terminal rearranges the sub-items of the filling information to form a display template corresponding to the object, and there are various ways for the terminal to rearrange the sub-items of the filling information, as illustrated below:
the first arrangement mode is as follows: arranging according to the sub-item identification sequence;
as shown in fig. 11, in which the terminal in fig. 11(a) deletes the sub-items not filled with information, as shown in fig. 11(b), the terminal arranges the sub-items filled with information according to the order of the sub-item identifiers and the preset sub-item intervals, so that the intervals between the sub-items in the adjusted UI interface are the preset sub-item intervals, where arrows between the sub-items indicate the preset sub-item intervals, and the preset sub-item intervals between the sub-items may be equal or different.
The second arrangement mode: arranging according to a preset arrangement sequence corresponding to the class to which the object belongs;
different object categories have the same or different ranking, such as: as shown in fig. 12, the preset arrangement order of the film and television objects is shown, the display icon is used as a base point, and the right side of the display icon is sorted according to the object name, the video type, the year, the place of production, the director, and the score; as shown in fig. 13, the preset arrangement order of the theme class objects is that, with the display icon as a base point, the right side of the display icon is sorted according to the object name, the author, the size of the theme, and the score; as shown in fig. 14, for the preset arrangement order of the application class objects, taking the presentation icon as a base point, the arrangement order on the right side of the presentation icon is: the name of the object is displayed in the first line, the size and the downloading amount of the memory are displayed in the second line, and the propaganda slogan is displayed in the third line.
And the terminal rearranges the sub items filled with the information according to the category of the object and the preset sub item interval, and generates an adaptive display template for the adjusted sub items filled with the information. Fig. 15 is a schematic diagram of a display template of different objects formed by presetting an arrangement order according to object categories and presetting subitem intervals according to an embodiment of the present invention.
Optionally, the terminal detects the received object, determines whether the object is an installed or downloaded object of the local computer, and if the object is the installed or downloaded object of the local computer, replaces the operations of downloading, playing, trying and the like in the display template with the operations of positioning, starting and the like.
It should be noted that, the above description of the preset arrangement order corresponding to the category to which the object belongs is only an example, and according to the embodiment of the present invention, different arrangement orders may be generated according to the sub-item and the sub-item order selected by the user, which is not limited in this respect.
The third arrangement mode: randomly arranging;
and randomly arranging the sub items filled with the information, and generating an adaptive display template for the adjusted sub items filled with the information. And aiming at the information of the object contained in any information set, the terminal arranges the sub-items filled with the information according to the arrangement mode and generates an adaptive display template for display according to the adjusted sub-items filled with the information.
As shown in fig. 15, it is a schematic diagram to generate a presentation interface of each object in an information set with a keyword "three generations and three generations" by the above manner of generating the presentation interface, and display a global search result by minus one screen.
Based on the same concept, the embodiment of the present invention further provides a terminal function entity device for performing global search, and since the device is a terminal in the system for performing global search provided by the embodiment of the present invention, and the principle of the device for solving the problem is similar to that of the method, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 16, an embodiment of the present invention provides a terminal for performing global search, where the terminal includes: a processor 1600 and a memory 1601, wherein the memory 1601 stores program code, and when the one or more computer programs stored in the memory 1601 are executed by the processor 1600, the terminal is caused to perform the following processes:
extracting keywords input by a user in a global search box on a negative screen of the terminal;
sending the extracted keywords to a server, and receiving information of at least one object corresponding to the keywords fed back by the server;
determining an information set corresponding to the keyword according to the received information of at least one object fed back by the server;
filling information contained in the information set corresponding to the keyword into corresponding sub-items in a preset display template to generate a display interface;
and displaying the generated display interface on the negative screen.
Optionally, the processor 1600 is specifically configured to:
removing repeated object information in the information of the at least one object obtained by searching locally according to the keyword information and the information of the at least one object fed back by the server, wherein the repeated object is an object contained in the information of the at least one object obtained by searching locally according to the keyword information;
and merging the information of the at least one object fed back by the server after the removal and the information of the at least one object obtained by local searching to obtain an information set corresponding to the keyword.
Optionally, the processor 1600 is specifically configured to:
the extracted keywords are sent to a server, and meanwhile, the information of at least one object corresponding to the keywords is inquired locally through the terminal; or
And after receiving the information of the at least one object fed back by the server, locally inquiring the information of the at least one object fed back by the server through the terminal.
Optionally, the processor 1600 is specifically configured to:
and filling the information into corresponding sub items in a preset display template aiming at the information of any object contained in the information set corresponding to the keyword, and generating a display interface of the object.
Optionally, the processor 1600 is further configured to:
and sending part or all of the equipment ID of the terminal, which is used for updating the terminal query record by the server, the number of objects corresponding to the keyword, which are used for indicating the server to feed back, and the authentication information of the terminal to the server together with the keyword.
Optionally, the information set includes at least one group of information elements, where the group of information elements includes an identifier of a sub-item name and information of the object corresponding to the identifier;
the processor 1600 is specifically configured to:
analyzing any group of information elements of any object contained in the information set to obtain the information of the object corresponding to the identifier of the sub-item name;
and filling the information obtained by analysis into the sub-items with the same sub-item name in the display template corresponding to the identification according to the identification of the sub-item name corresponding to the information.
Optionally, the processor 1600 is specifically configured to:
determining the preset sub-item arrangement sequence of the display template corresponding to the category to which the object belongs;
adjusting the positions of the sub items filled with the information according to the preset sub item intervals and the determined arrangement sequence of the preset sub items;
and generating an adaptive display template for the adjusted sub-items filled with the information.
Based on the same concept, as shown in fig. 17, an embodiment of the present invention provides another terminal for performing global search, including:
the extraction module 1700: the method comprises the steps of extracting keywords input by a user in a global search box on a negative screen of the terminal;
the transmission module 1701: the system comprises a server, a database and a database, wherein the server is used for extracting keywords from a plurality of objects, and the keywords are used for sending the extracted keywords to the server and receiving information of at least one object corresponding to the keywords fed back by the server;
the first determining module 1702: determining an information set corresponding to the keyword according to the received information of at least one object fed back by the server;
the processing module 1703: the display interface is generated by filling the information contained in the information set corresponding to the keyword into corresponding sub-items in a preset display template;
the display module 1704: and the display interface is used for displaying the generated display interface on the negative screen.
Optionally, the first determining module 1702 is specifically configured to:
removing repeated object information in the information of the at least one object obtained by searching locally according to the keyword information and the information of the at least one object fed back by the server, wherein the repeated object is an object contained in the information of the at least one object obtained by searching locally according to the keyword information;
and merging the information of the at least one object fed back by the server after the removal and the information of the at least one object obtained by local searching to obtain an information set corresponding to the keyword.
Optionally, the first determining module 1702 is specifically configured to:
optionally, the first determining module 1702 is further configured to:
the extracted keywords are sent to a server, and meanwhile, the information of at least one object corresponding to the keywords is inquired locally through the terminal; or
And after receiving the information of the at least one object fed back by the server, locally inquiring the information of the at least one object fed back by the server through the terminal.
Optionally, the processing module 1703 is specifically configured to:
and filling the information into corresponding sub items in a preset display template aiming at the information of any object contained in the information set corresponding to the keyword, and generating a display interface of the object.
Optionally, the extracting module 1700 is further configured to:
and sending part or all of the equipment ID of the terminal, which is used for updating the terminal query record by the server, the number of objects corresponding to the keyword, which are used for indicating the server to feed back, and the authentication information of the terminal to the server together with the keyword.
Optionally, at least one group of information elements of any object included in the information set, where the group of information elements includes an identifier of a sub-item name and information of the object corresponding to the identifier;
the first determining module 1702 is specifically configured to:
analyzing any group of information elements contained in the information set to obtain the information of the object corresponding to the identifier of the sub-item name;
and filling the information obtained by analysis into the sub-items with the same sub-item name in the display template corresponding to the identification according to the identification of the sub-item name corresponding to the information.
The processing module 1703 is specifically configured to:
determining the preset sub-item arrangement sequence of the display template corresponding to the category to which the object belongs;
adjusting the positions of the sub items filled with the information according to the preset sub item intervals and the determined arrangement sequence of the preset sub items;
and generating an adaptive display template for the adjusted sub-items filled with the information.
As shown in fig. 18, a third terminal 1800 for performing a global search according to an embodiment of the present invention includes: a Radio Frequency (RF) circuit 1810, a power supply 1820, a processor 1830, a memory 1840, an input unit 1850, a display unit 1860, a camera 1870, a communication interface 1880, and a Wireless Fidelity (Wi-Fi) module 1890. Those skilled in the art will appreciate that the configuration of the terminal shown in fig. 18 is not intended to be limiting, and that the terminal provided by the embodiments of the present application may include more or less components than those shown, or some components may be combined, or a different arrangement of components may be provided.
The following describes the various components of the terminal 1800 in detail with reference to fig. 18:
the RF circuit 1810 can be used for receiving and transmitting data during communication or conversation. In particular, the RF circuit 1810 sends the downlink data of the base station to the processor 1830 for processing; and in addition, sending the uplink data to be sent to the base station. Generally, the RF circuit 1810 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
In addition, the RF circuit 1810 may also communicate with a network and other terminals through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
Wi-Fi technology belongs to short-range wireless transmission technology, the terminal 1800 can connect with an Access Point (AP) through a Wi-Fi module 1890, thereby realizing Access to a data network. The Wi-Fi module 1890 may be used for receiving and transmitting data during communication.
The terminal 1800 may be physically connected to other terminals via the communication interface 1880. Optionally, the communication interface 1880 is connected to a communication interface of the other terminal through a cable, so as to implement data transmission between the terminal 1800 and the other terminal.
In this embodiment of the application, the terminal 1800 is capable of implementing a communication service and sending information to other contacts, so the terminal 1800 needs to have a data transmission function, that is, the terminal 1800 needs to include a communication module inside. Although fig. 18 shows communication modules such as the RF circuit 1810, the Wi-Fi module 1890 and the communication interface 1880, it is to be understood that at least one of the above-described components or other communication modules (e.g., bluetooth modules) for enabling communication are present in the terminal 1800 for data transmission.
For example, when the terminal 1800 is a mobile phone, the terminal 1800 may include the RF circuit 1810 and may further include the Wi-Fi module 1890; when the terminal 1800 is a computer, the terminal 1800 may include the communication interface 1880 and may also include the Wi-Fi module 1890; when the terminal 1800 is a tablet computer, the terminal 1800 may include the Wi-Fi module.
The memory 1840 may be used to store software programs and modules. The processor 1830 executes the software programs and modules stored in the memory 1840 to perform various functional applications and data processing of the terminal 1800, and when the processor 1830 executes the program codes in the memory 1840, part or all of the processes in fig. 1 according to the embodiments of the present invention can be implemented.
Alternatively, the memory 1840 may mainly include a program storage area and a data storage area. The storage program area can store an operating system, various application programs (such as communication application), a face recognition module and the like; the storage data area may store data (such as various multimedia files like pictures, video files, etc., and face information templates) created according to the use of the terminal, etc.
In addition, the memory 1840 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The input unit 1850 may be used to receive numeric or character information input by a user and generate key signal inputs related to user settings and function control of the terminal 1800.
Optionally, the input unit 1850 may include a touch panel 1851 and other input terminals 1852.
The touch panel 1851, also referred to as a touch screen, may collect touch operations of a user on or near the touch panel 1851 (e.g., operations of a user on or near the touch panel 1851 using any suitable object or accessory such as a finger or a stylus), and drive a corresponding connection device according to a preset program. Alternatively, the touch panel 1851 may include two portions, i.e., a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1830, and can receive and execute commands sent by the processor 1830. In addition, the touch panel 1851 may be implemented by various types, such as resistive, capacitive, infrared, and surface acoustic wave.
Optionally, the other input terminals 1852 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1860 may be used to display information input by a user or information provided to the user and various menus of the terminal 1800. The display unit 1860 is a display system of the terminal 1800, and is used for presenting an interface and realizing human-computer interaction.
The display unit 1860 may include a display panel 1861. Alternatively, the Display panel 1861 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Further, the touch panel 1851 can overlay the display panel 1861, and when the touch panel 1851 detects a touch operation thereon or nearby, the touch panel 1851 transmits the touch operation to the processor 1830 to determine the type of the touch event, and then the processor 1830 provides a corresponding visual output on the display panel 1861 according to the type of the touch event.
Although in fig. 18 the touch panel 1851 and the display panel 1861 are implemented as two separate components to implement the input and output functions of the terminal 1800, in some embodiments, the touch panel 1851 and the display panel 1861 may be integrated to implement the input and output functions of the terminal 1800.
The processor 1830 is a control center of the terminal 1800, connects various components using various interfaces and lines, performs various functions of the terminal 1800 and processes data by operating or executing software programs and/or modules stored in the memory 1840 and calling data stored in the memory 1840, thereby implementing various services based on the terminal.
Optionally, the processor 1830 may include one or more processing units. Optionally, the processor 1830 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1830.
The camera 1870 is configured to implement a shooting function of the terminal 1800 and shoot pictures or videos. The camera 1870 may also be used to implement a scanning function of the terminal 1800 to scan a scanned object (two-dimensional code/barcode).
The terminal 1800 also includes a power supply 1820 (e.g., a battery) for powering the various components. Optionally, the power supply 1820 may be logically connected to the processor 1830 through a power management system, so as to implement functions of managing charging, discharging, power consumption, and the like through the power management system.
It is to be noted that the processor 1830 can perform the functions of the processor 1600 in fig. 16 and the memory 1840 stores the contents of the memory 1601 in fig. 16 according to the embodiment of the present invention.
Based on the same concept, the embodiment of the present invention further provides a server function entity device for performing global search, and since the device is a server in the system for performing global search provided by the embodiment of the present invention, and the principle of the device for solving the problem is similar to that of the method, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 19, an embodiment of the present invention provides a server for performing global search, where the server includes: a processor 1900 and a memory 1901, wherein the memory 1901 stores program code, and when one or more computer programs stored in the memory 1901 are executed by the processor 1900, the server is caused to perform the following:
receiving a keyword sent by a terminal;
determining at least one object corresponding to the keyword and information of the object;
and sending the information of the at least one object to a terminal, so that the terminal determines an information set corresponding to the keyword according to the received information of the at least one object fed back by the server, fills information contained in the information set corresponding to the keyword into corresponding sub-items in a preset display template, generates a display interface, and displays the generated display interface on the negative screen.
Optionally, the processor 1900 is further configured to:
and receiving part or all of the equipment ID of the terminal for updating the inquiry record of the terminal, the number of objects corresponding to the keywords fed back by the indicating server and the authentication information of the terminal.
Optionally, the processor 1900 is specifically configured to:
determining the weight of the class of an object preset by the terminal;
determining an object corresponding to the keyword;
and selecting at least one object from the objects corresponding to the category with the maximum weight according to the determined category to which the object belongs.
Optionally, the processor 1900 is specifically configured to:
determining information of the at least one object;
for any object, determining a sub-item name of the display template corresponding to the information of the object according to the display template information notified by the terminal;
and binding the identifier of the subframe name corresponding to the information of the object aiming at any information corresponding to the object.
Based on the same concept, as shown in fig. 20, an embodiment of the present invention provides another server for performing global search, including:
the receiving module 2000: the system comprises a receiving terminal and a processing terminal, wherein the receiving terminal is used for receiving keywords sent by the receiving terminal;
the second determination module 2001: the method comprises the steps of determining at least one object corresponding to the keyword and information of the object;
the sending module 2002: and the information of the at least one object is sent to a terminal, so that the terminal determines an information set corresponding to the keyword according to the received information of the at least one object fed back by the server, fills information contained in the information set corresponding to the keyword into corresponding sub-items in a preset display template, generates a display interface, and displays the generated display interface on the negative screen.
Optionally, the receiving module 2000 is further configured to:
and receiving part or all of the equipment ID of the terminal for updating the inquiry record of the terminal, the number of objects corresponding to the keywords fed back by the indicating server and the authentication information of the terminal.
Optionally, the second determining module 2001 is specifically configured to:
determining the weight of the class of an object preset by the terminal;
determining an object corresponding to the keyword;
and selecting at least one object from the objects corresponding to the category with the maximum weight according to the determined category to which the object belongs.
Optionally, the second determining module 2001 is specifically configured to:
determining information of the at least one object;
for any object, determining a sub-item name of the display template corresponding to the information of the object according to the display template information notified by the terminal;
and binding the identifier of the subframe name corresponding to the information of the object aiming at any information corresponding to the object.
Based on the same inventive concept, the embodiment of the present invention further provides a method for performing global search, and since the method corresponds to the method for performing terminal function entity device in the system for performing global search in the embodiment of the present invention, and the principle of the method for solving the problem is similar to that of the device, the implementation of the method can refer to the implementation of the terminal, and repeated details are not repeated.
As shown in fig. 21, an embodiment of the present invention provides a method for performing global search, which is applied to a terminal, and the method includes:
step 2100, extracting keywords input by a user in a global search box on a negative screen of the terminal;
step 2101, sending the extracted keywords to a server, and receiving information of at least one object corresponding to the keywords fed back by the server;
step 2102, determining an information set corresponding to the keyword according to the received information of the at least one object fed back by the server;
step 2103, filling information contained in the information set corresponding to the keyword into corresponding sub-items in a preset display template to generate a display interface;
and 2104, displaying the generated display interface on the negative screen.
Optionally, the determining, according to the received information of the at least one object fed back by the server, an information set corresponding to the keyword includes:
removing repeated object information in the information of the at least one object obtained by searching locally according to the keyword information and the information of the at least one object fed back by the server, wherein the repeated object is an object contained in the information of the at least one object obtained by searching locally according to the keyword information;
and merging the information of the at least one object fed back by the server after the removal and the information of the at least one object obtained by local searching to obtain an information set corresponding to the keyword.
Optionally, the information of at least one object obtained by locally searching according to the keyword information includes:
the extracted keywords are sent to a server, and meanwhile, the information of at least one object corresponding to the keywords is inquired locally through the terminal; or
And after receiving the information of the at least one object fed back by the server, locally inquiring the information of the at least one object fed back by the server through the terminal.
Optionally, the filling information included in the information set corresponding to the keyword into corresponding sub-items in a preset display template to generate a display interface includes:
and filling the information into corresponding sub items in a preset display template aiming at the information of any object contained in the information set corresponding to the keyword, and generating a display interface of the object.
Optionally, the sending the extracted keyword to a server further includes:
and sending part or all of the equipment ID of the terminal, which is used for updating the terminal query record by the server, the number of objects corresponding to the keyword, which are used for indicating the server to feed back, and the authentication information of the terminal to the server together with the keyword.
Optionally, the information set includes at least one group of information elements, where the group of information elements includes an identifier of a sub-item name and information of the object corresponding to the identifier;
the step of filling information contained in the information set of the object into corresponding sub-items in a preset display template aiming at any object comprises the following steps:
analyzing any group of information elements contained in the information set to obtain the information of the object corresponding to the identifier of the sub-item name;
and filling the information obtained by analysis into the sub-items with the same sub-item name in the display template corresponding to the identification according to the identification of the sub-item name corresponding to the information.
Optionally, the rearranging the sub-items filled with the information according to a preset sub-item interval to form a display template corresponding to the object includes:
determining the preset sub-item arrangement sequence of the display template corresponding to the category to which the object belongs;
adjusting the positions of the sub items filled with the information according to the preset sub item intervals and the determined arrangement sequence of the preset sub items;
and generating an adaptive display template for the adjusted sub-items filled with the information.
Based on the same inventive concept, the embodiment of the present invention further provides a method for performing global search, and since the method corresponds to the method for performing global search for a server function entity device in the system for performing global search in the embodiment of the present invention, and the principle of the method for solving the problem is similar to that of the device, the implementation of the method can refer to the implementation of the terminal, and repeated details are omitted.
As shown in fig. 22, an embodiment of the present invention provides a method for performing global search, which is applied to a server, and the method includes:
step 2200, receiving the keyword sent by the terminal;
step 2201, determining at least one object corresponding to the keyword and information of the object;
step 2202, sending the information of the at least one object to a terminal, so that the terminal determines an information set corresponding to the keyword according to the received information of the at least one object fed back by the server, fills information contained in the information set corresponding to the keyword into a corresponding sub-item in a preset display template, generates a display interface, and displays the generated display interface on the negative screen.
Optionally, the receiving the keyword sent by the terminal further includes:
and receiving part or all of the equipment ID of the terminal for updating the inquiry record of the terminal, the number of objects corresponding to the keywords fed back by the indicating server and the authentication information of the terminal.
Optionally, the determining at least one object corresponding to the keyword includes:
determining the weight of the class of an object preset by the terminal;
determining an object corresponding to the keyword;
and selecting at least one object from the objects corresponding to the category with the maximum weight according to the determined category to which the object belongs.
Optionally, the determining at least one object corresponding to the keyword and the information set of the object includes:
determining information of the at least one object;
for any object, determining a sub-item name of the display template corresponding to the information of the object according to the display template information notified by the terminal;
and binding the identifier of the subframe name corresponding to the information of the object aiming at any information corresponding to the object.
The embodiment of the invention also provides a storage medium readable by the computing equipment aiming at the method for carrying out the global search, namely, the content is not lost after the power is off. The storage medium stores therein a software program comprising program code which, when executed on a computing device, when read and executed by one or more processors, implements the solution of any of the above terminals for global search according to embodiments of the present invention.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for global search is applied to a terminal, and comprises the following steps:
extracting keywords input by a user in a global search box on a negative screen of the terminal;
sending the extracted keywords to a server, and receiving information of at least one object corresponding to the keywords fed back by the server;
determining an information set corresponding to the keyword according to the received information of at least one object fed back by the server;
filling information contained in the information set corresponding to the keyword into corresponding sub-items in a preset display template to generate a display interface;
and displaying the generated display interface on the negative screen.
2. The method of claim 1, wherein the determining the information set corresponding to the keyword according to the received information of the at least one object fed back by the server comprises:
removing repeated object information in the information of the at least one object obtained by searching locally according to the keyword information and the information of the at least one object fed back by the server, wherein the repeated object is an object contained in the information of the at least one object obtained by searching locally according to the keyword information;
and merging the information of the at least one object fed back by the server after the removal and the information of the at least one object obtained by local searching to obtain an information set corresponding to the keyword.
3. The method of claim 2, wherein the information of the at least one object obtained by searching locally according to the keyword information comprises:
the extracted keywords are sent to a server, and meanwhile, the information of at least one object corresponding to the keywords is inquired locally through the terminal; or
And after receiving the information of the at least one object fed back by the server, locally inquiring the information of the at least one object fed back by the server through the terminal.
4. The method according to claim 1, wherein the step of filling information included in the information set corresponding to the keyword into corresponding sub-items in a preset display template to generate a display interface comprises:
and filling the information into corresponding sub items in a preset display template aiming at the information of any object contained in the information set corresponding to the keyword, and generating a display interface of the object.
5. A method for global search is applied to a server and comprises the following steps:
receiving a keyword sent by a terminal;
determining at least one object corresponding to the keyword and information of the object;
and sending the information of the at least one object to a terminal, so that the terminal determines an information set corresponding to the keyword according to the received information of the at least one object fed back by the server, fills information contained in the information set corresponding to the keyword into corresponding sub-items in a preset display template, generates a display interface, and displays the generated display interface on the negative screen.
6. A global search terminal, comprising: a processor and a memory, wherein the memory stores program code that, when executed by the processor, causes the terminal to perform the following:
extracting keywords input by a user in a global search box on a negative screen of the terminal;
sending the extracted keywords to a server, and receiving information of at least one object corresponding to the keywords fed back by the server;
determining an information set corresponding to the keyword according to the received information of at least one object fed back by the server;
filling information contained in the information set corresponding to the keyword into corresponding sub-items in a preset display template to generate a display interface;
and displaying the generated display interface on the negative screen.
7. The terminal of claim 6, wherein the processor is further specifically configured to:
removing repeated object information in the information of the at least one object obtained by searching locally according to the keyword information and the information of the at least one object fed back by the server, wherein the repeated object is an object contained in the information of the at least one object obtained by searching locally according to the keyword information;
and merging the information of the at least one object fed back by the server after the removal and the information of the at least one object obtained by local searching to obtain an information set corresponding to the keyword.
8. The terminal of claim 7, wherein the processor is further configured to:
the extracted keywords are sent to a server, and meanwhile, the information of at least one object corresponding to the keywords is inquired locally through the terminal; or
And after receiving the information of the at least one object fed back by the server, locally inquiring the information of the at least one object fed back by the server through the terminal.
9. The terminal of claim 6, wherein the processor is further specifically configured to:
and filling the information into corresponding sub items in a preset display template aiming at the information of any object contained in the information set corresponding to the keyword, and generating a display interface of the object.
10. A server for global search, the server comprising: a processor and a memory, wherein the memory stores program code that, when executed by the processor, causes the server to perform the following:
receiving a keyword sent by a terminal;
determining at least one object corresponding to the keyword and information of the object;
and sending the information of the at least one object to a terminal, so that the terminal determines an information set corresponding to the keyword according to the received information of the at least one object fed back by the server, fills information contained in the information set corresponding to the keyword into corresponding sub-items in a preset display template, generates a display interface, and displays the generated display interface on the negative screen.
CN201910886761.4A 2019-09-19 2019-09-19 Global searching method, terminal and server Active CN110609957B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910886761.4A CN110609957B (en) 2019-09-19 2019-09-19 Global searching method, terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910886761.4A CN110609957B (en) 2019-09-19 2019-09-19 Global searching method, terminal and server

Publications (2)

Publication Number Publication Date
CN110609957A true CN110609957A (en) 2019-12-24
CN110609957B CN110609957B (en) 2023-11-03

Family

ID=68892958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910886761.4A Active CN110609957B (en) 2019-09-19 2019-09-19 Global searching method, terminal and server

Country Status (1)

Country Link
CN (1) CN110609957B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111221845A (en) * 2019-12-31 2020-06-02 华为技术有限公司 Cross-device information searching method and terminal device
CN112947879A (en) * 2021-03-10 2021-06-11 深圳市优擎信息科技有限公司 Billboard source data acquisition method and device, computer equipment and storage medium
CN113158046A (en) * 2021-04-20 2021-07-23 深圳市富途网络科技有限公司 Method and device for searching information, electronic equipment and storage medium
CN117130981A (en) * 2023-01-04 2023-11-28 荣耀终端有限公司 Application content searching method and electronic equipment
CN113158046B (en) * 2021-04-20 2024-04-26 深圳市富途网络科技有限公司 Method, device, electronic equipment and storage medium for searching information

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999628A (en) * 2012-12-07 2013-03-27 北京网秦天下科技有限公司 Search method and information search terminal
CN103745013A (en) * 2014-01-28 2014-04-23 中科创达软件股份有限公司 Searching method and device
CN105354195A (en) * 2014-08-19 2016-02-24 阿里巴巴集团控股有限公司 Information search method and apparatus
US20170026707A1 (en) * 2015-07-22 2017-01-26 Samsung Electronics Co., Ltd. Electronic device for providing information associated with broadcast content and method thereof
CN108717437A (en) * 2018-05-16 2018-10-30 腾讯科技(深圳)有限公司 Search result methods of exhibiting, device and storage medium
CN108733800A (en) * 2018-05-17 2018-11-02 努比亚技术有限公司 A kind of global search method, terminal and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999628A (en) * 2012-12-07 2013-03-27 北京网秦天下科技有限公司 Search method and information search terminal
CN103745013A (en) * 2014-01-28 2014-04-23 中科创达软件股份有限公司 Searching method and device
CN105354195A (en) * 2014-08-19 2016-02-24 阿里巴巴集团控股有限公司 Information search method and apparatus
US20170026707A1 (en) * 2015-07-22 2017-01-26 Samsung Electronics Co., Ltd. Electronic device for providing information associated with broadcast content and method thereof
CN108717437A (en) * 2018-05-16 2018-10-30 腾讯科技(深圳)有限公司 Search result methods of exhibiting, device and storage medium
CN108733800A (en) * 2018-05-17 2018-11-02 努比亚技术有限公司 A kind of global search method, terminal and computer readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111221845A (en) * 2019-12-31 2020-06-02 华为技术有限公司 Cross-device information searching method and terminal device
CN112947879A (en) * 2021-03-10 2021-06-11 深圳市优擎信息科技有限公司 Billboard source data acquisition method and device, computer equipment and storage medium
CN113158046A (en) * 2021-04-20 2021-07-23 深圳市富途网络科技有限公司 Method and device for searching information, electronic equipment and storage medium
CN113158046B (en) * 2021-04-20 2024-04-26 深圳市富途网络科技有限公司 Method, device, electronic equipment and storage medium for searching information
CN117130981A (en) * 2023-01-04 2023-11-28 荣耀终端有限公司 Application content searching method and electronic equipment

Also Published As

Publication number Publication date
CN110609957B (en) 2023-11-03

Similar Documents

Publication Publication Date Title
CN102024064B (en) Rapid searching method and mobile communication terminal
CN110609957B (en) Global searching method, terminal and server
JP2019531561A (en) Image processing method and apparatus, electronic device, and graphical user interface
CN110222288B (en) Page display method, device and storage medium
CN112399006B (en) File sending method and device and electronic equipment
CN112612391B (en) Message processing method and device and electronic equipment
CN113220563B (en) Test case generation method, system, storage medium and computer equipment
CN112486444A (en) Screen projection method, device, equipment and readable storage medium
CN101281430A (en) Apparatus with expression symbol associating input function and associating input method
CN111078986A (en) Data retrieval method, device and computer readable storage medium
CN110647827A (en) Comment information processing method and device, electronic equipment and storage medium
CN112925520A (en) Method and device for building visual page and computer equipment
CN105095253A (en) Webpage display method and webpage display device
CN113836089A (en) Application program display method and device, electronic equipment and readable storage medium
CN105512260A (en) E-book multi-segment excerpt sharing method and device
CN113590008A (en) Chat message display method and device and electronic equipment
CN113114845A (en) Notification message display method and device
CN112100463A (en) Information processing method and device, electronic equipment and readable storage medium
CN111695008A (en) Message integration method and device
CN103488745A (en) Information obtaining method and terminal
CN106375862A (en) GIF picture acquisition method and apparatus, and terminal
CN110166815A (en) A kind of display methods of video content, device, equipment and medium
CN111625737B (en) Label display method, device, equipment and storage medium
CN114125139A (en) Information processing method and electronic device
CN112732326B (en) Information display method and device

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Applicant after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Applicant before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant