CN112100454A - Searching method, searching device, electronic equipment and readable storage medium - Google Patents

Searching method, searching device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112100454A
CN112100454A CN202010824846.2A CN202010824846A CN112100454A CN 112100454 A CN112100454 A CN 112100454A CN 202010824846 A CN202010824846 A CN 202010824846A CN 112100454 A CN112100454 A CN 112100454A
Authority
CN
China
Prior art keywords
search result
search
hierarchical
label
labeling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010824846.2A
Other languages
Chinese (zh)
Inventor
侯柏岑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Shanghai Xiaodu Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202010824846.2A priority Critical patent/CN112100454A/en
Publication of CN112100454A publication Critical patent/CN112100454A/en
Pending legal-status Critical Current

Links

Images

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/903Querying
    • G06F16/90335Query processing
    • 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/903Querying
    • G06F16/9038Presentation of query results
    • 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/907Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/908Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content

Abstract

The application discloses a searching method, a searching device, electronic equipment and a readable storage medium, and relates to the technical field of internet. The implementation scheme adopted in the search is as follows: responding to a received search request sent by a user through a terminal, and searching to obtain a plurality of search results matched with the search request; labeling the hierarchical label corresponding to each search result; and generating a search result page according to each search result and the corresponding hierarchical label thereof, and sending the generated search result page to the terminal for displaying to the user. The method and the device can improve the searching efficiency of the user.

Description

Searching method, searching device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a search method, an apparatus, an electronic device, and a readable storage medium in the field of internet technologies.
Background
In the prior art, after a corresponding search result is obtained by searching according to a search request of a user, a search result page is generally generated directly according to the search result so as to be displayed to the user. Because different search results have different difficulty levels, level levels, professional levels or price levels, when the obtained search results are directly displayed to a user, the user needs to spend time for screening the search results meeting the self requirements, and the search efficiency of the user is low.
Disclosure of Invention
The technical solution adopted by the present application to solve the technical problem is to provide a search method, including: responding to a received search request sent by a user through a terminal, and searching to obtain a plurality of search results matched with the search request; labeling the hierarchical label corresponding to each search result; and generating a search result page according to each search result and the corresponding hierarchical label thereof, and sending the generated search result page to the terminal for displaying to the user.
The technical solution adopted by the present application to solve the technical problem is to provide a search apparatus, including: the searching unit is used for responding to a received searching request sent by a user through a terminal and searching a plurality of searching results matched with the searching request; the labeling unit is used for labeling the hierarchical labels corresponding to the search results; and the processing unit is used for generating a search result page according to each search result and the corresponding hierarchical label thereof and sending the generated search result page to the terminal for displaying to the user.
An electronic device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the above method.
A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the above method.
One embodiment in the above application has the following advantages or benefits: the method and the device can improve the searching efficiency of the user. Because the technical means of labeling the hierarchical labels corresponding to the search results after the search results are obtained through searching is adopted, the technical problem that in the prior art, the time is needed for the user to screen due to the fact that the search results are only displayed to the user is solved, and the technical effect of improving the search efficiency of the user is achieved.
Other effects of the above-described alternative will be described below with reference to specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is a schematic diagram according to a first embodiment of the present application;
FIG. 2 is a schematic diagram according to a second embodiment of the present application;
FIG. 3 is a schematic illustration according to a third embodiment of the present application;
FIG. 4 is a schematic illustration according to a fourth embodiment of the present application;
FIG. 5 is a schematic illustration according to a fifth embodiment of the present application;
fig. 6 is a block diagram of an electronic device for implementing the search method according to the embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram according to a first embodiment of the present application. As shown in fig. 1, the searching method of this embodiment may specifically include the following steps:
s101, in response to receiving a search request sent by a user through a terminal, searching to obtain a plurality of search results matched with the search request;
s102, labeling the hierarchical labels corresponding to the search results;
s103, generating a search result page according to each search result and the corresponding hierarchical label, and sending the generated search result page to the terminal to be displayed to the user.
The execution main body of the search method of the embodiment is the search server, and the search server labels the hierarchical tags corresponding to the search results after obtaining a plurality of search results according to the search request of the user, so that the generated search result page simultaneously contains the search results and the hierarchical tags corresponding to the search results, thereby realizing the hierarchy of the search results, enabling the user to quickly select the search results through the hierarchical tags in the search result page, and improving the search efficiency of the user.
The search request received by the embodiment executing S101 and sent by the user through the terminal may include one or more search contents, where the search contents include but are not limited to keywords, images, voices, and the like, that is, the embodiment may perform a search according to the keywords, images, or voices input by the user.
When the search is performed in S101 to obtain a plurality of search results matching the search request, the present embodiment may perform the search only according to the search request sent by the user through the terminal, and may also search in combination with the search history of the user to obtain the search results matching the search request.
For example, if the search request sent by the user through the terminal at this time is a "starlet piano music tutor", and if the user searches for the "advanced piano tutor" multiple times in the search history, the present embodiment may search for a search result matching the "starlet piano music advanced tutor".
After a plurality of search results matching the search request are obtained by performing S101, S102 is performed to label the rating labels corresponding to the search results, where each search result corresponds to a unique rating label.
The hierarchical label labeled in the embodiment is related to the characteristics of the field to which the search result belongs, and is used for indicating the difficulty level (simple edition/advanced edition), the level (primary/medium grade/advanced edition), the professional level (entry/professional), the price level (ordinary/light luxury/high-end medals) and the like of the search result.
For example, if the search result belongs to the music field (e.g., musical performance), the rating label corresponding to the search result is a simple edition or an advanced edition; if the search result belongs to the sports field (for example, sports goods), the hierarchical label corresponding to the search result is entry or professional, and the like.
In this embodiment, when the step S102 is executed to label the hierarchical label corresponding to each search result, the hierarchical label corresponding to each search result may be labeled according to a preset corresponding relationship between the search result and the hierarchical label. That is to say, in this embodiment, after the hierarchical tag sets are respectively established for different fields, each search result is corresponding to a certain hierarchical tag in the hierarchical tag set of the field to which the search result belongs in advance, that is, the hierarchical tag corresponding to each search result can be labeled according to the preset corresponding relationship.
In addition, when S102 is executed to label the hierarchical tags corresponding to the search results, the present embodiment may adopt an optional implementation manner as follows: determining a domain to which the search result belongs, such as a music domain, a sports domain, a shopping domain, and the like; determining candidate hierarchical tags corresponding to the determined domains, the candidate hierarchical tags corresponding to the domains may be preset; and selecting one of the determined candidate hierarchical labels as a hierarchical label corresponding to the search result. That is to say, in this embodiment, based on the manner in which each search result belongs to the field, the search result is identified in real time to label the corresponding hierarchical tag, so that the accuracy of the labeled hierarchical tag can be improved.
In this embodiment, different domains may correspond to different candidate rating labels, for example, the candidate rating label corresponding to the music domain may be a simple edition and a advanced edition, the candidate rating label corresponding to the sports domain may be a goal and a specialty, and the candidate rating label corresponding to the shopping domain may be a normal, light luxury, high-end large brand, etc.
In this embodiment, when S102 is executed to select one of the determined candidate hierarchical tags as the hierarchical tag corresponding to the search result, the selectable implementation manner that may be adopted is as follows: obtaining attribute information of the search result according to at least one of the title and the content of the search result, wherein the obtained attribute information is used for reflecting the difficulty degree, the grade degree, the professional degree or the price degree of the search result; calculating the matching degree between the obtained attribute information and the candidate grading label; and selecting the candidate grading label with the highest matching degree as the grading label corresponding to the search result.
In this embodiment, the keywords extracted from the search result may be used as the attribute information of the search result, for example, extracting keywords such as "simple", "advanced", "professional", and the like included in the title; the attribute information of the search result may be obtained by recognizing a text or an image of the search result, and recognizing the number of steps, the number of images, the complexity of the image, and the like included in the content of the search result, for example, recognizing a staff or a numbered musical notation included in the content of the search result, and using the complexity of the recognized staff as the attribute information of the search result.
In this embodiment, after the step S102 of labeling the hierarchical tags corresponding to the search results is executed, the step S103 of generating a search result page according to the search results and the hierarchical tags corresponding to the search results is executed, and then the generated search result page is sent to the terminal to be displayed to the user.
It is understood that, when S103 is executed to generate a search result page according to each search result and its corresponding rating label, the determined rating label may be displayed at the forefront of each search result title. In addition, when the rating label is displayed at the top, the present embodiment may also perform special processing on the displayed rating label, for example, thickening the rating label or using a specific color.
In order to avoid clutter of search results in the search result page, search results corresponding to different hierarchical tags are displayed to the user more normatively and prominently, in this embodiment, when S103 is executed to generate the search result page according to each search result and the hierarchical tag corresponding to the search result page, the search results may also be displayed in a cluster according to the hierarchical tag, that is, the search results corresponding to different hierarchical tags are displayed respectively.
For example, the present embodiment may set the presentation order and the number of presentation pieces under each hierarchical label according to the hierarchical label, and other search results are folded under the corresponding hierarchical label, and more search results can be loaded by clicking; in this embodiment, Tab classification navigation may also be set according to the rating labels, that is, each rating label is used as each Tab, and the search result corresponding to each rating label can be viewed by clicking the Tab.
According to the method, after the plurality of search results matched with the search request are obtained through searching, the hierarchical tags corresponding to the search results are labeled firstly, and then the search result page is generated according to the search results and the corresponding hierarchical tags, so that the search results are classified, a user can quickly select the search results through the hierarchical tags in the search result page, and the search efficiency of the user is improved.
Fig. 2 is a schematic diagram according to a second embodiment of the present application. As shown in fig. 2, the searching method of this embodiment may specifically include the following steps:
s201, in response to receiving a search request sent by a user through a terminal, searching to obtain a plurality of search results matched with the search request;
s202, selecting a plurality of search results meeting preset conditions from the plurality of search results, and labeling the hierarchical labels corresponding to the selected search results;
s203, generating a search result page according to each search result and the corresponding hierarchical label thereof, and sending the generated search result page to the terminal to be displayed to the user.
By the searching method, only the hierarchical tags corresponding to part of the searched results in the searched results are labeled, so that the problem of resource waste caused by labeling the searched results which are not basically checked by the user and are ranked backwards, low in popularity and low in click quantity is avoided, a searching result page containing the hierarchical tags can be returned to the user more quickly, and the searching efficiency of the user is further improved.
In this embodiment, when S202 is executed to select a plurality of search results satisfying a preset condition from the plurality of search results, the search result with the top N bits in the plurality of search results may be selected, the search result with the top M bits in the plurality of search results may also be selected, and the search result with the top L bits in the plurality of search results may also be selected, where N, M and L are positive integers greater than or equal to 1.
In this embodiment, hierarchical labels are labeled on part of the search results in the plurality of search results, and the number of the search results to be labeled with the hierarchical labels is relatively small, so when S202 is executed to label the hierarchical labels corresponding to the selected search results, the method may be implemented by using a manual labeling method in addition to the method described in S102.
It can be understood that, since the hierarchical tags of part of the search results obtained by the search are labeled in the embodiment, when the search result page is generated according to each search result and the corresponding hierarchical tag thereof, the search result which is not labeled with the hierarchical tag is normally displayed.
Fig. 3 is a diagram of a first pattern of a search result page generated according to a search request "asteroid piano music tutorial", according to a third embodiment of the present application; FIG. 4 is a diagram of a second style of search results page generated from the search request "Starfish Piano Song tutor", according to a fourth embodiment of the present application; the user can quickly select the required search result according to the hierarchical tags 'simple edition' and 'advanced edition' in the search result page.
Fig. 5 is a schematic diagram according to a fifth embodiment of the present application. As shown in fig. 5, the search apparatus of the present embodiment includes:
the search unit 501 is configured to search for a plurality of search results matching a search request sent by a user through a terminal in response to receiving the search request;
the labeling unit 502 is used for labeling the hierarchical label corresponding to each search result;
the processing unit 503 generates a search result page according to each search result and the corresponding hierarchical tag thereof, and sends the generated search result page to the terminal for displaying to the user.
The search request received by the search unit 501 and sent by the user through the terminal may contain one or more search contents, including but not limited to keywords, images, voices, etc., i.e., the search unit 501 may search according to the keywords, images or voices input by the user.
The search unit 501 may perform a search only according to a search request transmitted by a user through a terminal when searching for a plurality of search results matching the search request, and may also search for a search result matching the search request in conjunction with a search history of the user.
After the search unit 501 searches for a plurality of search results matching the search request, the labeling unit 502 performs labeling of the rating label corresponding to each search result, where each search result corresponds to a unique rating label.
The rating labels marked by the marking unit 502 are related to characteristics of the field to which the search result belongs, and are used for indicating the difficulty level (simple edition/advanced edition), the rating level (junior/middle edition/senior), the professional level (entry/professional), or the price level (ordinary/light luxury/high medal) of the search result, and the like.
When the labeling unit 502 labels the hierarchical tags corresponding to the search results, the selectable implementation manner that can be adopted is as follows: selecting a plurality of search results meeting preset conditions from the plurality of search results; and marking the grading label corresponding to each selected search result. That is, the labeling unit 502 may label all search results obtained by the search, or label only a part of the search results.
Because the labeling unit 502 can label the hierarchical labels corresponding to part of the search results in the search results, the problem of resource waste caused by labeling the search results which are not basically checked by the user, such as the search results which are ranked backwards, low in popularity and low in click rate, is avoided, the search result page containing the hierarchical labels can be returned to the user more quickly, and the search efficiency of the user is improved.
When the labeling unit 502 selects a plurality of search results that satisfy a preset condition from the plurality of search results, the search result that is top N bits of the plurality of search results may be selected, the search result that is top M bits of the plurality of search results may also be selected, and the search result that is top L bits of the plurality of search results in terms of click quantity may also be selected, where N, M and L are positive integers greater than or equal to 1.
When labeling the hierarchical tags corresponding to the search results, the labeling unit 502 may label the hierarchical tags corresponding to the search results according to a preset corresponding relationship between the search results and the hierarchical tags. That is to say, after the hierarchical tag sets are respectively established for different fields, each search result is corresponding to a hierarchical tag in the hierarchical tag set of the field to which the search result belongs in advance, and the labeling unit 502 can label the hierarchical tag corresponding to each search result according to a preset corresponding relationship.
In addition, when the labeling unit 502 labels the hierarchical tags corresponding to the search results, the selectable implementation manner that can be adopted is as follows: determining a domain to which the search result belongs; determining candidate rating labels corresponding to the determined domains; and selecting one of the determined candidate hierarchical labels as a hierarchical label corresponding to the search result. That is to say, the labeling unit 502 identifies the search results in real time to label the corresponding hierarchical tags based on the manner of the search results in the field, and can improve the accuracy of the labeled hierarchical tags.
Different fields in the labeling unit 502 may correspond to different candidate rating labels, for example, the candidate rating labels corresponding to the music field may be simple and advanced versions, the candidate rating labels corresponding to the sports field may be entrance and professional, and the candidate rating labels corresponding to the shopping field may be ordinary, light and luxury, high and large brands.
When the labeling unit 502 selects one of the determined candidate hierarchical tags as the hierarchical tag corresponding to the search result, the selectable implementation manner that can be adopted is as follows: obtaining attribute information of the search result according to at least one of the title and the content of the search result; calculating the matching degree between the obtained attribute information and the candidate grading label; and selecting the candidate grading label with the highest matching degree as the grading label corresponding to the search result.
The labeling unit 502 may use the keywords extracted from the search result as the attribute information of the search result, for example, extracting keywords such as "simple", "advanced", "professional", and the like included in the title; the attribute information of the search result may be obtained by recognizing a text or an image of the search result, and recognizing the number of steps, the number of images, the complexity of the image, and the like included in the content of the search result, for example, recognizing a staff or a numbered musical notation included in the content of the search result, and using the complexity of the recognized staff as the attribute information of the search result.
Because the labeling unit 502 labels the partial search results, the number of the partial search results is relatively small, and therefore, the labeling can be implemented in a manual labeling manner.
After the labeling unit 502 labels the hierarchical tags corresponding to the search results, the processing unit 503 generates a search result page according to the search results and the hierarchical tags corresponding to the search results, and then sends the generated search result page to the terminal for displaying to the user.
It is understood that the processing unit 503 may display the determined rating label at the forefront of each search result title when generating a search result page according to each search result and its corresponding rating label. In addition, when the rating label is displayed at the top, the processing unit 503 may perform special processing on the displayed rating label, for example, thickening the rating label or using a specific color.
In order to avoid clutter of search results in the search result page and more clearly and more standardly display the search results corresponding to different hierarchical tags to the user, the processing unit 503 may also perform cluster display on the search results according to the hierarchical tags when generating the search result page according to each search result and the hierarchical tag corresponding to the search result page, that is, perform respective display on the search results corresponding to different hierarchical tags.
In addition, since the labeling unit 502 can label the hierarchical label of the partial search result, the processing unit 503 displays the search result which is not labeled with the hierarchical label normally when generating the search result page according to each search result and the corresponding hierarchical label.
According to an embodiment of the present application, an electronic device and a computer-readable storage medium are also provided.
As shown in fig. 6, the embodiment of the present application is a block diagram of an electronic device according to the searching method. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 6, the electronic apparatus includes: one or more processors 601, memory 602, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 6, one processor 601 is taken as an example.
The memory 602 is a non-transitory computer readable storage medium as provided herein. Wherein the memory stores instructions executable by at least one processor to cause the at least one processor to perform the search methods provided herein. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to perform the search method provided by the present application.
The memory 602, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the method for searching for emoticons in the embodiment of the present application (for example, the search unit 501, the labeling unit 502, and the processing unit 503 shown in fig. 5). The processor 601 executes various functional applications of the server and data processing, i.e., implements the search method in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in the memory 602.
The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the electronic device, and the like. Further, the memory 602 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 602 optionally includes memory located remotely from the processor 601, and these remote memories may be connected to the electronic device of the search method through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the search method may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected by a bus or other means, and fig. 6 illustrates the connection by a bus as an example.
The input device 603 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus of the search method, such as an input device of a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, or the like. The output devices 604 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, after a plurality of search results are obtained according to the search request of the user, the hierarchical tags corresponding to the search results are labeled, so that the generated search result page simultaneously comprises the search results and the hierarchical tags corresponding to the search results, the search results are graded, the user can quickly select the search results through the hierarchical tags in the search result page, and the search efficiency of the user is improved.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present invention is not limited herein.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. A search method, comprising:
responding to a received search request sent by a user through a terminal, and searching to obtain a plurality of search results matched with the search request;
labeling the hierarchical label corresponding to each search result;
and generating a search result page according to each search result and the corresponding hierarchical label thereof, and sending the generated search result page to the terminal for displaying to the user.
2. The method of claim 1, wherein the labeling of the rating label corresponding to each search result comprises:
selecting a plurality of search results meeting preset conditions from the plurality of search results;
and marking the grading label corresponding to each selected search result.
3. The method of claim 1, wherein the labeling of the rating label corresponding to each search result comprises:
determining a domain to which the search result belongs;
determining a candidate rating label corresponding to the domain;
and selecting one of the candidate hierarchical tags as a hierarchical tag corresponding to the search result.
4. The method of claim 3, wherein said selecting one of the candidate ranked tags as the ranked tag corresponding to the search result comprises:
obtaining attribute information of the search result according to at least one of the title and the content of the search result;
calculating the matching degree between the attribute information and the candidate grading label;
and selecting the candidate grading label with the highest matching degree as the grading label corresponding to the search result.
5. The method of claim 1, wherein generating a search results page according to each search result and its corresponding hierarchical tag comprises:
and performing clustering display on each search result according to the hierarchical label.
6. A search apparatus, comprising:
the searching unit is used for responding to a received searching request sent by a user through a terminal and searching a plurality of searching results matched with the searching request;
the labeling unit is used for labeling the hierarchical labels corresponding to the search results;
and the processing unit is used for generating a search result page according to each search result and the corresponding hierarchical label thereof and sending the generated search result page to the terminal for displaying to the user.
7. The apparatus according to claim 6, wherein the labeling unit, when labeling the hierarchical label corresponding to each search result, specifically performs:
selecting a plurality of search results meeting preset conditions from the plurality of search results;
and marking the grading label corresponding to each selected search result.
8. The apparatus according to claim 6, wherein the labeling unit, when labeling the hierarchical label corresponding to each search result, specifically performs:
determining a domain to which the search result belongs;
determining a candidate rating label corresponding to the domain;
and selecting one of the candidate hierarchical tags as a hierarchical tag corresponding to the search result.
9. The apparatus according to claim 8, wherein the labeling unit, when selecting one of the candidate hierarchical tags as the hierarchical tag corresponding to the search result, specifically performs:
obtaining attribute information of the search result according to at least one of the title and the content of the search result;
calculating the matching degree between the attribute information and the candidate grading label;
and selecting the candidate grading label with the highest matching degree as the grading label corresponding to the search result.
10. The apparatus according to claim 6, wherein the processing unit, when generating the search result page according to each search result and its corresponding hierarchical tag, specifically performs:
and performing clustering display on each search result according to the hierarchical label.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-5.
CN202010824846.2A 2020-08-17 2020-08-17 Searching method, searching device, electronic equipment and readable storage medium Pending CN112100454A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010824846.2A CN112100454A (en) 2020-08-17 2020-08-17 Searching method, searching device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010824846.2A CN112100454A (en) 2020-08-17 2020-08-17 Searching method, searching device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN112100454A true CN112100454A (en) 2020-12-18

Family

ID=73752716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010824846.2A Pending CN112100454A (en) 2020-08-17 2020-08-17 Searching method, searching device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112100454A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821716A (en) * 2021-01-12 2021-12-21 北京沃东天骏信息技术有限公司 Information searching method and device
CN114461889A (en) * 2022-02-09 2022-05-10 北京百度网讯科技有限公司 Data searching method and device, electronic equipment and program product

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070299874A1 (en) * 2006-06-21 2007-12-27 David Lawrence Neumann Browsing and searching of podcasts
CN103699619A (en) * 2013-12-18 2014-04-02 北京百度网讯科技有限公司 Method and device for providing search results
CN104915449A (en) * 2015-06-30 2015-09-16 河海大学 Faceted search system and method based on water conservancy object classification labels
KR101611388B1 (en) * 2015-02-04 2016-04-11 네이버 주식회사 System and method to providing search service using tags
CN105528356A (en) * 2014-09-29 2016-04-27 阿里巴巴集团控股有限公司 Structured label generating and using methods, and structured label generating and using devices
CN106156244A (en) * 2015-04-28 2016-11-23 阿里巴巴集团控股有限公司 A kind of information search air navigation aid and device
WO2018071726A1 (en) * 2016-10-13 2018-04-19 Alibaba Group Holding Limited Data label distribution
CN108399174A (en) * 2017-02-07 2018-08-14 阿里巴巴集团控股有限公司 object search method and device
CN111223537A (en) * 2020-01-14 2020-06-02 北京唐颐惠康生物医学技术有限公司 Distributed cloud sample management method and system
CN111488453A (en) * 2019-01-25 2020-08-04 北京猎户星空科技有限公司 Resource grading method, device, equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070299874A1 (en) * 2006-06-21 2007-12-27 David Lawrence Neumann Browsing and searching of podcasts
CN103699619A (en) * 2013-12-18 2014-04-02 北京百度网讯科技有限公司 Method and device for providing search results
CN105528356A (en) * 2014-09-29 2016-04-27 阿里巴巴集团控股有限公司 Structured label generating and using methods, and structured label generating and using devices
KR101611388B1 (en) * 2015-02-04 2016-04-11 네이버 주식회사 System and method to providing search service using tags
CN106156244A (en) * 2015-04-28 2016-11-23 阿里巴巴集团控股有限公司 A kind of information search air navigation aid and device
CN104915449A (en) * 2015-06-30 2015-09-16 河海大学 Faceted search system and method based on water conservancy object classification labels
WO2018071726A1 (en) * 2016-10-13 2018-04-19 Alibaba Group Holding Limited Data label distribution
CN108399174A (en) * 2017-02-07 2018-08-14 阿里巴巴集团控股有限公司 object search method and device
CN111488453A (en) * 2019-01-25 2020-08-04 北京猎户星空科技有限公司 Resource grading method, device, equipment and storage medium
CN111223537A (en) * 2020-01-14 2020-06-02 北京唐颐惠康生物医学技术有限公司 Distributed cloud sample management method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821716A (en) * 2021-01-12 2021-12-21 北京沃东天骏信息技术有限公司 Information searching method and device
CN114461889A (en) * 2022-02-09 2022-05-10 北京百度网讯科技有限公司 Data searching method and device, electronic equipment and program product

Similar Documents

Publication Publication Date Title
US11714816B2 (en) Information search method and apparatus, device and storage medium
CN111507104B (en) Method and device for establishing label labeling model, electronic equipment and readable storage medium
CN111522994A (en) Method and apparatus for generating information
CN112650907A (en) Search word recommendation method, target model training method, device and equipment
US20210357469A1 (en) Method for evaluating knowledge content, electronic device and storage medium
CN111506803B (en) Content recommendation method and device, electronic equipment and storage medium
CN111104514A (en) Method and device for training document label model
CN111125435A (en) Video tag determination method and device and computer equipment
CN111800493A (en) Information content pushing method and device, electronic equipment and storage medium
CN110795593A (en) Voice packet recommendation method and device, electronic equipment and storage medium
CN112100454A (en) Searching method, searching device, electronic equipment and readable storage medium
CN111090991A (en) Scene error correction method and device, electronic equipment and storage medium
CN111563198B (en) Material recall method, device, equipment and storage medium
CN110543558A (en) question matching method, device, equipment and medium
CN111813828A (en) Entity relationship mining method and device, electronic equipment and storage medium
CN111858905A (en) Model training method, information identification method, device, electronic equipment and storage medium
CN112380847A (en) Interest point processing method and device, electronic equipment and storage medium
CN111984775A (en) Question and answer quality determination method, device, equipment and storage medium
CN111309872A (en) Search processing method, device and equipment
CN115168711A (en) Interest point selection method and device, electronic equipment and storage medium
CN111753195B (en) Label system construction method, device, equipment and storage medium
CN111125445A (en) Community theme generation method and device, electronic equipment and storage medium
CN111177479A (en) Method and device for acquiring feature vectors of nodes in relational network graph
CN111325006B (en) Information interaction method and device, electronic equipment and storage medium
CN113516491A (en) Promotion information display method and device, electronic equipment and storage medium

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210511

Address after: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant after: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

Applicant after: Shanghai Xiaodu Technology Co.,Ltd.

Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.