Information search method and apparatus
By obtaining page routes and searching under multiple tags, the problem of limited functionality in existing search methods is solved, enabling targeted vertical search, providing personalized search services, and improving search efficiency and accuracy.
Patent Information
- Application Number
- CN202110034524.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-12
- Publication Date
- 2026-01-20
- Estimated Expiration
- 2041-01-12
AI Technical Summary
Existing search methods are limited in functionality and cannot meet the needs of targeted vertical searches, resulting in unsatisfactory search results.
By obtaining the page route, identifying multiple tags, and searching under those tags, the system obtains search results corresponding to each tag, thus providing a personalized search service.
It enables targeted vertical search, improving search efficiency and accuracy, and meeting different search needs.
Smart Images

Figure CN113821716B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer, and in particular to an information search method and device. BACKGROUND
[0002] At present, the commonly used search method is to collect the search keyword input by a user, and jump to a search result page after the user clicks a search button or triggers a search event function, and then output and display a corresponding search result list in the search result page. In the process of implementing the present application, the inventors have found that the prior art at least has the following problems: the search method has relatively single function, is suitable for global search use scenario, and is difficult to search for ideal results in the face of directional vertical search demand. SUMMARY
[0003] Therefore, the embodiments of the present application provide an information search method and device, which can realize directional vertical search, provide personalized search service, meet different search demands, and improve search efficiency and accuracy.
[0004] To achieve the above object, according to one aspect of the embodiments of the present application, an information search method is provided, comprising:
[0005] In response to a search triggering operation of a user, acquiring a page route of a current page;
[0006] According to the page route, determining a plurality of labels corresponding to the page route and a search keyword input by the user;
[0007] Searching the search keyword under the plurality of labels to obtain a search result corresponding to each label.
[0008] Optionally, the method further comprises displaying the plurality of labels and displaying the search result corresponding to each label under the label.
[0009] Optionally, according to the page route, determining the label corresponding to the route comprises:
[0010] According to the page route, determining a route position of the current page;
[0011] According to the route position, determining the label corresponding to the page route.
[0012] Optionally, before searching the search keyword under the label, the method further comprises:
[0013] Determining that the search keyword is a valid keyword.
[0014] Optionally, the label comprises one or more of the following: all, user and community.
[0015] To achieve the above object, according to another aspect of embodiments of the present application, there is provided an information search device, comprising:
[0016] an acquisition module, configured to acquire a page route of a current page in response to a search triggering operation of a user;
[0017] a determination module, configured to determine a plurality of tags corresponding to the page route and a search keyword input by the user according to the page route;
[0018] a search module, configured to search the search keyword under the plurality of tags to obtain a search result corresponding to each tag.
[0019] Optionally, the device further comprises a display module, configured to display the plurality of tags and display the search result corresponding to each tag under the tag.
[0020] Optionally, the determination module is further configured to:
[0021] determine a route position of the current page according to the page route;
[0022] determine the tag corresponding to the page route according to the route position.
[0023] Optionally, the device further comprises a verification module, configured to determine that the search keyword is a valid keyword.
[0024] Optionally, the tag comprises one or more of the following: all, user and community.
[0025] To achieve the above object, according to still another aspect of embodiments of the present application, there is provided an electronic device, comprising: one or more processors; a storage device, configured to store one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the information search method of embodiments of the present application.
[0026] To achieve the above object, according to still another aspect of embodiments of the present application, there is provided a computer readable medium, having a computer program stored thereon, characterized by, when the program is executed by a processor, the information search method of embodiments of the present application is implemented.
[0027] An embodiment of the above application has the advantages or beneficial effects as follows: because the page route of the current page is acquired in response to the search triggering operation of the user; according to the page route, the plurality of labels corresponding to the page route and the keyword to be searched input by the user are determined; and the keyword to be searched is searched under the plurality of labels to obtain the search result corresponding to each label, so that the directional vertical search can be realized, the personalized search service can be provided, the different search requirements can be met, and the search efficiency and accuracy can be improved.
[0028] Further effects of the above non-conventional optional mode will be described in the following in combination with the specific embodiments. BRIEF DESCRIPTION OF DRAWINGS
[0029] The accompanying drawings are used to better understand the present application, and do not constitute undue limitations on the present application. Among them:
[0030] Figure 1 is a schematic diagram of the main process of the information search method of an embodiment of the present application;
[0031] Figure 2 is a schematic diagram of the main process of the information search method of another embodiment of the present application;
[0032] Figure 3 is a schematic diagram of the main process of the information search method of still another embodiment of the present application;
[0033] Figures 4-7 is a schematic diagram of the search result display page of the information search method of an embodiment of the present application;
[0034] Figure 8 is a schematic diagram of the main modules of the information search device according to an embodiment of the present application;
[0035] Figure 9 is an exemplary system architecture diagram to which an embodiment of the present application can be applied;
[0036] Figure 10 is a structural schematic diagram of a computer system of a terminal device or a server suitable for implementing an embodiment of the present application. DETAILED DESCRIPTION
[0037] The exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to help understanding, and should be considered as merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Also, for the sake of clarity and conciseness, the description below omits the description of well-known functions and structures.
[0038] Figure 1 is a flowchart of main steps of the information search method of an embodiment of the present application, as shown in Figure 1 The method comprises the following steps.
[0039] Step S101: In response to a search trigger operation of a user, a page router of a current page is acquired.
[0040] Step S102: According to the page router, a plurality of labels corresponding to the page router and a search keyword input by the user are determined.
[0041] Step S103: The search keyword is searched under the plurality of labels, and a search result corresponding to each label is obtained.
[0042] For step S101, the search trigger operation of the user can be an operation of the user clicking a search button. The page router refers to a front-end router in a Web development process. The page router can be acquired from a browser address bar, that is, the page router is a URL address. As a specific example, the page router is https: / / www.xxx.com / search?keyword=phone. The URL (Uniform Resource Locator) is a representation method for specifying the location of information on a Web service program of the Internet. The Web (World Wide Web) is a network service built on the Internet, which provides a graphical, easy-to-access intuitive interface for browsers to find and browse information on the Internet.
[0043] For step S102, the label refers to a clickable tab. A complete tab label structure is divided into two parts, a tab label navigation (tab-title) and a tab label content (tab-content), and the number of tab label navigation list items and tab label content list items is equal. Each time, only the tab-content at the corresponding position is displayed, and the rest of the tab-content is hidden. Through two nested traversal loops, the operation synchronization between the two parts of tab-title and tab-content is realized. The tab label navigation (tab-title) is triggered by events triggered by user mouse, such as mouseover events, click events or other events. When the user clicks a certain label, the corresponding tab-title is added with a preset style, and the corresponding content content is displayed. Among them, when the mouse pointer is above the element, the mouseover event will occur; when the mouse pointer stays above the element, and then the left mouse button is pressed and released, a click event will occur.
[0044] In an optional embodiment, the process of determining the label corresponding to the page route according to the page route can include the following steps:
[0045] According to the page route, the route position of the current page is determined.
[0046] According to the route position, the label corresponding to the page route is determined.
[0047] Among them, the route position can be determined according to the field after the domain name and before the question mark. As in the above example, the route position of this page route can be determined according to "search". In actual application, the specific content of the field after the domain name and before the question mark can correspond to the search scene. For example, after entering the key word to be searched and clicking the search button in the live channel, the special sale channel and the second kill channel of the e-commerce platform, the route positions obtained can be different, and the labels corresponding to the route positions can also be different.
[0048] After determining the route position of the current page, the label corresponding to the route position can be determined according to the pre-set mapping relationship. Among them, the mapping relationship can be pre-set. As an example, assuming that after the user enters the key word to be searched and clicks the search button on the e-commerce website, the page route obtained is https: / / www.xxx.com / search?keyword=phone, the route position of the current page is determined according to "search", and the label corresponding to the route position is determined according to the pre-set mapping relationship. The label corresponding to the page route is all, special price, user and community.
[0049] In the embodiments of the present application, the labels corresponding to the page routes can be flexibly set according to application scenarios, and the present application does not limit this.
[0050] The keyword input by the user can be determined according to the parameter value after keyword in the page route. For example, the parameter value "phone" after keyword in the above example is the keyword input by the user.
[0051] For step S103, after obtaining the page route of the current page, different preset labels can be displayed according to the page route. When the user clicks one of the labels, the search can be performed under the label, and the search result list corresponding to the label is returned. In optional embodiments, different databases can be set for different labels, and the search is performed in the database corresponding to the label to obtain the search result corresponding to the label. If there is no data in the database matching the keyword and the label, a user-friendly pre-set script can be obtained. In other optional embodiments, the databases corresponding to different labels can be the same, and then the search is performed in the database to obtain the search result. The obtained search result is classified and filtered according to the label to obtain the search result corresponding to the label.
[0052] The information retrieval method of the embodiments of the present application obtains the page route of the current page in response to the search trigger operation of the user, determines the multiple labels corresponding to the page route and the keyword input by the user according to the page route, and performs the search under the multiple labels to obtain the search result corresponding to each label, thereby realizing directional vertical search, providing personalized search service, meeting different search requirements, and improving search efficiency and accuracy.
[0053] Figure 2 is the flowchart of the main steps of the information search method of another embodiment of the present application, as shown in Figure 2 The method comprises the following steps.
[0054] Step S201: obtaining the page route of the current page in response to the search trigger operation of the user.
[0055] Step S202: determining the multiple labels corresponding to the page route and the keyword input by the user according to the page route.
[0056] Step S203: determining that the keyword is a valid keyword.
[0057] Step S204: performing the search under the multiple labels to obtain the search result corresponding to each label.
[0058] Step S205: display the plurality of tags, and display the search results corresponding to the tags under each tag.
[0059] Wherein, steps S201-S202 can refer to the embodiments shown in Figure 1 The present application does not make a retroactive here.
[0060] For step S203, it is determined that the to-be-searched keyword is a valid keyword, i.e. it is determined that the to-be-searched keyword is a legal keyword. In the present embodiment, a verification rule can be set in advance, according to which it is judged whether the to-be-searched keyword is a valid keyword. Wherein, the verification rule can be flexibly set according to the application scenario. As an example, the text format of the to-be-searched keyword can be determined, and when the text format of the to-be-searched keyword is one of Chinese format, number format, character format and Chinese number and character mixed format, it is determined that the to-be-searched keyword is a valid keyword. When the to-be-searched keyword is an illegal character, it is determined that the to-be-searched keyword is an invalid keyword. Wherein, the illegal character does not mean that a certain character is illegal, but that a certain character cannot appear in a certain defined rule. The illegal character can be flexibly set according to the application scenario, and the present embodiment of the present application does not limit it.
[0061] For step S205, as a specific example, the tags can include but are not limited to one or more of the following: all, user and community. Wherein, the search results under the tag "all" are all search results related to the to-be-searched keyword. The search results under the tag "user" are the search results of the user related to the to-be-searched keyword. The search results under the tag "community" are the search results related to the to-be-searched keyword searched in the preset community database. When displaying various tags and corresponding search results, the tag "all" can be displayed in the first place. In an optional embodiment, the search results displayed under the tag "user" can include one or more of the following information: user name, user avatar, user picture, user link, user level, user category, number of followings, number of fans and number of articles. The search results displayed under the tag "community" can include one or more of the following information: article name, article picture, article link, article identification, article publication date, number of likes, number of comments, author name, author link and article keyword.
[0062] The information search method of the embodiment of the present application, in response to the search triggering operation of the user, acquires the page route of the current page; according to the page route, determines a plurality of labels corresponding to the page route and the search keyword input by the user; searches the search keyword under the plurality of labels, and obtains the search result corresponding to each label, so that directional vertical search can be realized, personalized search service can be provided, different search requirements can be met, and search efficiency and accuracy can be improved.
[0063] Figure 3 is the flowchart of the main steps of the information search method of another embodiment of the present application, Figures 4-7 is the search result display schematic diagram of the embodiment.
[0064] In Figure 3 In the embodiment shown, the user inputs the search keyword "mobile phone" on the page of the e-commerce platform and clicks the search button to trigger the search event. In response to the search triggering operation of the user, the page route of the current page is acquired. The page route is: https: / / www.xxx.com / search?keyword=mobile phone. According to the field "search" after the domain name and before the question mark, the route position corresponding to the page route is determined. According to the mapping relationship between the route position and the preset mapping relationship, the label corresponding to the page route is determined: all, special price, user and community. The search keyword is searched under each label to obtain the search result corresponding to each label. Among them, the search result under the label "all" is all search results related to the search keyword. The search result under the label "special price" is a special price product related to the search keyword. The search result under the label "user" is the search result of the user related to the search keyword. The search result under the label "community" is the search result related to the search keyword searched in the preset community database. In this embodiment, the search result displayed under the label "special price" can include one or more of the following information: product picture, product name, product quantity, product price, product size, product specification, product description, product link, product type, product evaluation, comment quantity, product identification, advertisement identification, related brand, merchant name, product feature keyword, marketing mode, supported payment method, activity date, and activity type. The search result displayed under the label "user" can include one or more of the following information: user name, user avatar, user picture, user link, user level, user category, number of followings, number of fans and number of articles. The search result displayed under the label "community" can include one or more of the following information: article name, article picture, article link, article identification, article publishing date, number of likes, number of comments, author name, author link and article keyword. As Figure 4As shown, when displaying each label and corresponding search result, the label "all" can be displayed in the first position, the label "special offer" in the second position, the label "community" in the third position, and the label "user" in the fourth position. Figures 4-7 As shown, by clicking different labels, different search results are displayed.
[0065] The information retrieval method of the embodiment of the present application, by responding to the search trigger operation of the user, acquires the page route of the current page; according to the page route, determines a plurality of labels corresponding to the page route and the search keyword input by the user; searches the search keyword under the plurality of labels, and obtains the search result corresponding to each label, realizes directional vertical search, provides personalized search service, meets different search requirements, and improves search efficiency and accuracy. Wherein, the direction refers to the information extraction technology based on template, which can provide more accurate information. For example, product name, price, time, etc. The search efficiency and accuracy are improved compared with global search. Vertical search is a concept opposite to comprehensive (or general) search. Vertical search is a professional search for a certain industry or field, is a subdivision and extension of search engine, is a specific search request of a specific user, is more professional than general search engine. After deep mining and integration of some special information in a webpage, the result is returned to the user in a certain form. Vertical search is a new search service mode proposed in view of the large amount of information, inaccurate query and insufficient depth of general search engine, and provides information and related services with specific purpose for a certain specific field, a certain specific group of people or a certain specific demand.
[0066] Figure 8 is a schematic diagram of main modules of an information search device 800 of the embodiment of the present application, as shown in the figure, Figure 8 The device 800 includes:
[0067] The acquisition module 801 is configured to acquire the page route of the current page in response to the search trigger operation of the user.
[0068] The determination module 802 is configured to determine a plurality of labels corresponding to the page route and the search keyword input by the user according to the page route.
[0069] The search module 803 is configured to search the search keyword under the plurality of labels, and obtain the search result corresponding to each label.
[0070] In the embodiment, the search triggering operation of the user can be an operation of the user clicking a search button. The page router refers to a front-end router in a web development process. The page router can be obtained from a browser address bar, that is, the page router is a URL address. After obtaining the page router of the current page, it can be determined according to the page router to display different preset labels, and when the user clicks one of the labels, the search can be performed under the label and the search result list corresponding to the label is returned. The label refers to a clickable tab. A complete tab label structure is divided into two parts of a tab label navigation (tab-title) and a tab label content (tab-content), and the number of tab label navigation list items and tab label content list items is equal. Each time, the tab-content only displays the corresponding position of the tab-content, and the rest of the tab-content is hidden. Through two nested traversal loops, the operation synchronization between the two parts of the tab-title and the tab-content is realized. The tab label navigation (tab-title) is triggered by an event triggered by the user's mouse, such as a mouseover event, a click event or other events. When the user clicks a label, a preset style is added to the corresponding tab-title, and the corresponding content content is displayed. When the mouse pointer is above the element, the mouseover event occurs; when the mouse pointer stays above the element, and then the left mouse button is pressed and released, a click event occurs.
[0071] Optionally, the apparatus further includes a display module configured to display the plurality of labels and display the search results corresponding to the labels under each label.
[0072] Optionally, the determination module 802 is further configured to determine a route position of the current page according to the page router, and determine the label corresponding to the page router according to the route position.
[0073] Optionally, the apparatus further includes a verification module configured to determine that the keyword to be searched is a valid keyword.
[0074] Optionally, the label includes one or more of the following: all, user and community.
[0075] The information retrieval device provided in the embodiment of the present application obtains the page route of the current page in response to the search triggering operation of the user, determines the plurality of labels corresponding to the page route and the search keyword input by the user according to the page route, and searches the search keyword under the plurality of labels to obtain the search result corresponding to each label, thereby realizing directional vertical search, providing personalized search service, meeting different search requirements, and improving search efficiency and accuracy.
[0076] The device described above can execute the method provided in the embodiment of the present application, and has the corresponding function modules and beneficial effects of executing the method. Technical details not described in detail in the embodiment can be referred to the method provided in the embodiment of the present application.
[0077] Figure 9 An exemplary system architecture 900 to which the information search method or the information search device provided in the embodiment of the present application can be applied is shown.
[0078] As shown in Figure 9 The system architecture 900 can include terminal devices 901, 902, 903, a network 904 and a server 905. The network 904 is a medium for providing a communication link between the terminal devices 901, 902, 903 and the server 905. The network 904 can include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0079] The user can use the terminal devices 901, 902, 903 to interact with the server 905 through the network 904 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 901, 902, 903, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0080] The terminal devices 901, 902, 903 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers and desktop computers, etc.
[0081] The server 905 can be a server providing various services, such as a background management server providing support for the shopping website browsed by the user using the terminal devices 901, 902, 903. The background management server can analyze and process the received product information query request and other data, and feed back the processing result (such as target push information, product information) to the terminal device.
[0082] It should be noted that the information search method provided in the embodiment of the present application is generally executed by the server 905, and correspondingly, the information search device is generally arranged in the server 905.
[0083] It should be appreciated that Figure 9 the number of terminal devices, networks and servers in
[0084] Reference will now be made to Figure 10 which shows a schematic configuration of a computer system 1000 that is suitable for use in implementing the terminal device of an embodiment of the present application. Figure 10 The terminal device shown is merely an example and should not impose any limitation on the functions and the range of use of the embodiments of the present application.
[0085] As shown in Figure 10 the computer system 1000 includes a central processing unit (CPU) 1001 that can perform various appropriate actions and processes according to programs stored in a read only memory (ROM) 1002 or programs loaded from a storage section 1008 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the system 1000 are also stored. The CPU 1001, the ROM 1002 and the RAM 1003 are connected to each other through a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0086] The following components are connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, a modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as necessary. A removable media 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 1010 as necessary, so that a computer program read therefrom is installed into the storage section 1008 as necessary.
[0087] In particular, the processes described above with reference to the flow charts can be implemented as a computer software program according to the embodiments disclosed herein. For example, the embodiments disclosed herein include a computer program product comprising a computer program carried on a computer readable medium, the computer program containing program code for performing the methods illustrated in the flow charts. In such embodiments, the computer program can be downloaded and installed from a network via the communication section 1009 and / or installed from the removable media 1011. When the computer program is executed by the central processing unit (CPU) 1001, the above-described functions defined in the system of the present application are performed.
[0088] It should be noted that the computer-readable medium shown in the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or component. In the present application, the computer-readable signal medium can include a data signal carried in a baseband or as a part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take various forms, including but not limited to an electromagnetic signal, an optical signal or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, which can send, propagate or transmit a program for use by or in conjunction with an instruction execution system, device or component. The program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0089] The flowcharts and block diagrams in the drawings illustrate the possible implementation architectures, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowcharts or block diagrams can represent a module, a program segment or a part of code containing one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in different order than that shown in the drawings. For example, two blocks that are shown in succession can actually be executed substantially in parallel, and sometimes in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams or flowcharts, and the combination of blocks in the block diagrams or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0090] The modules described in the embodiments of the present application can be implemented in the form of software or in the form of hardware. The described modules can also be arranged in a processor, for example, a processor can be described as including a sending module, an obtaining module, a determining module and a first processing module. In some cases, the names of these modules do not constitute a limitation on the units themselves, for example, the sending module can also be described as "a module that sends a picture obtaining request to a connected server".
[0091] As another aspect, the present application also provides a computer readable medium, which can be included in the device described in the above embodiments, or can exist independently without being assembled into the device. The computer readable medium carries one or more programs, which, when executed by the device, cause the device to include:
[0092] In response to a search trigger operation of a user, obtaining a page route of a current page;
[0093] According to the page route, determining a plurality of labels corresponding to the page route and a to-be-searched keyword input by the user;
[0094] Searching the to-be-searched keyword under the plurality of labels to obtain a search result corresponding to each label.
[0095] The technical solution of the embodiments of the present application, by responding to a search trigger operation of a user, obtaining a page route of a current page; according to the page route, determining a plurality of labels corresponding to the page route and a to-be-searched keyword input by the user; searching the to-be-searched keyword under the plurality of labels to obtain a search result corresponding to each label, realizes directional vertical search, provides personalized search service, meets different search requirements, and improves search efficiency and accuracy.
[0096] The above specific embodiments do not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can occur depending on design requirements and other factors. Any modification, equivalent replacement and improvement made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. An information search method characterized by comprising: The method comprises: in response to a search triggering operation of a user, obtaining a page route of a current page; determining a plurality of labels corresponding to the page route and a to-be-searched keyword input by the user according to the page route; wherein determining the labels corresponding to the page route according to the page route comprises: determining a route position of the current page according to the page route; and determining the labels corresponding to the page route according to the route position; searching the to-be-searched keyword under the plurality of labels to obtain a search result corresponding to each label; and displaying the plurality of labels and the search result corresponding to each label under each label.
2. The method of claim 1, wherein, Before searching the to-be-searched keyword under the labels, the method further comprises: determining that the to-be-searched keyword is a valid keyword.
3. The method of claim 1, wherein, The labels comprise one or more of the following: all, user and community.
4. An information search apparatus characterized by comprising: The method comprises: an obtaining module configured to obtain a page route of a current page in response to a search triggering operation of a user; a determining module configured to determine a plurality of labels corresponding to the page route and a to-be-searched keyword input by the user according to the page route; wherein determining the labels corresponding to the page route according to the page route comprises: determining a route position of the current page according to the page route; and determining the labels corresponding to the page route according to the route position; a searching module configured to search the to-be-searched keyword under the plurality of labels to obtain a search result corresponding to each label; and display the plurality of labels and the search result corresponding to each label under each label.
5. An electronic device, comprising: The method comprises: one or more processors; a storage device configured to store one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1-3.
6. A computer readable medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the method according to any one of claims 1-3.
Citation Information
Patent Citations
Method and device for carrying out page display on search result and electronic equipment
CN111831942A