Content search method and apparatus, device, computer readable storage medium, and product

By constructing a target data table of multi-category information in content search, the problem of cumbersome content search operations in the existing technology is solved, fast and efficient multi-category data search and intuitive search result display are achieved, and the user experience is improved.

WO2024174907A1PCT designated stage expired Publication Date: 2024-08-29BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/076587
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-20
Filing Date
2024-02-07
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Existing content search operations are cumbersome and inefficient. Users need to perform multiple searches in multiple databases or data partitions to obtain the full amount of category data, resulting in poor user experience.

Method used

By pre-building the target data table, including fields used to characterize the category of the data, fields describing the specific content of the data, and fields used for unique identification, the user-generated search fields are searched in the data table, improving search efficiency, and based on Category information displays search results differently.

Benefits of technology

It enables fast search of multi-category data, improves search efficiency and user experience, and enables users to intuitively view content matching the search field.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024076587_29082024_PF_FP_ABST
    Figure CN2024076587_29082024_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a content search method and apparatus, a device, a computer readable storage medium, and a product. The method comprises: in response to a search operation triggered by a user on the basis of a preset search control, acquiring a search field generated by the user; according to the search field, searching a target data table for at least one search result matched with the search field, wherein the target data table comprises special effect associated contents corresponding to a plurality of pieces of category information; and respectively determining category information of the at least one search result, and displaying the at least one search result according to the category information. According to the embodiments of the present disclosure, the search efficiency of special effect associated contents is improved. In addition, by displaying the at least one search result according to the category information, a user can more intuitively view the search results corresponding to different category information, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Content search method, device, equipment, computer-readable storage medium, and product

[0001] This application claims priority to Chinese patent application No. 202310158737.5 filed on February 20, 2023, and the contents of the above-mentioned Chinese patent application disclosure are hereby incorporated by reference in their entirety as a part of this application. Technical Field

[0002] Embodiments of the present disclosure relate to a content search method, apparatus, device, computer-readable storage medium, and product. Background Art

[0003] Currently, many software programs provide different special effects for users to use. Since there are many contents associated with special effects, the contents associated with special effects of different categories are generally stored in databases corresponding to the categories.

[0004] Based on the current storage method, searches for special effects-related content generally only find content within a specific database based on the keywords entered by the user. However, if the user needs to search for multiple categories of special effects-related content simultaneously, multiple searches are required. This results in a cumbersome search process, low search efficiency, and a poor user experience.

[0005] Summary of the Invention

[0006] The embodiments of the present disclosure provide a content search method, apparatus, device, computer-readable storage medium, and product, which are used to solve the technical problems of the existing content search operation being relatively cumbersome and the search efficiency being low.

[0007] In a first aspect, an embodiment of the present disclosure provides a content search method, including:

[0008] In response to a search operation triggered by a user based on a preset search control, obtaining a search field generated by the user;

[0009] Searching a target data table for at least one search result that matches the search field according to the search field, wherein the target data table includes special effect-related content corresponding to a plurality of category information;

[0010] Category information to which the at least one search result belongs is determined respectively, and the at least one search result is displayed according to the category information.

[0011] In a second aspect, an embodiment of the present disclosure provides an information display device, including:

[0012] An acquisition module, configured to acquire a search field generated by the user in response to a search operation triggered by the user based on a preset search control;

[0013] A search module, configured to search a target data table for at least one search result matching the search field according to the search field, wherein the target data table includes special effect-related content corresponding to a plurality of category information;

[0014] The display module is configured to respectively determine the category information to which the at least one search result belongs, and display the at least one search result according to the category information.

[0015] In a third aspect, an embodiment of the present disclosure provides an electronic device, including: a processor and a memory;

[0016] The memory stores computer-executable instructions;

[0017] The processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the content search method described in the first aspect and various possible designs of the first aspect.

[0018] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the content search method described in the first aspect and various possible designs of the first aspect is implemented.

[0019] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the content search method described in the first aspect and various possible designs of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, a brief introduction will be given below to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0021] FIG1 is a flow chart of a content search method provided by an embodiment of the present disclosure;

[0022] FIG2 is a schematic diagram of a display interface provided by an embodiment of the present disclosure;

[0023] FIG3 is a schematic diagram of a display interface provided by an embodiment of the present disclosure;

[0024] FIG4 is a flow chart of a content search method provided by yet another embodiment of the present disclosure;

[0025] FIG5 is a schematic diagram of another display interface provided by an embodiment of the present disclosure;

[0026] FIG6 is a flowchart of a content search method provided by yet another embodiment of the present disclosure;

[0027] FIG7 is a schematic structural diagram of a content search device provided by an embodiment of the present disclosure; and

[0028] FIG8 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0029] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0030] In order to solve the technical problems of cumbersome existing content search operations and low search efficiency, the present disclosure provides a content search method, apparatus, device, computer-readable storage medium and product.

[0031] It should be noted that the content search method, apparatus, device, computer-readable storage medium, and product provided by the present disclosure can be applied in any content search scenario.

[0032] Currently, data is typically stored in different databases or partitions based on data category. Therefore, when searching for data based on user-entered keywords, multiple searches must be performed across different databases or partitions to accurately search the entire data set. This often results in a cumbersome search process and low search efficiency.

[0033] In the process of solving the above technical problems, the inventors discovered through research that a data table for content search can be pre-built based on multiple data tables storing data of different categories. This data table can include a field (TYPE) for representing the category to which the data belongs, a field (CONTENT) for describing the specific content of the data, and a field (ITEM) for uniquely identifying each piece of data. Therefore, when a user-generated search field is obtained, a search operation can be performed on data of all categories in the data table, obtaining search results and improving the efficiency of data search.

[0034] In addition, in order to allow users to more intuitively view the content that matches the search field in the search results, the search field in the search results can also be displayed separately. For example, the part of the search results that includes the search field can be displayed in the display interface, and the search field in the search results can be highlighted.

[0035] The system architecture underlying the present disclosure includes at least a terminal device and a server. The server may be provided with a content search device. This allows for content search operations based on a search field generated by a user on the terminal device, and for the search results to be sent to the terminal device for display.

[0036] Alternatively, the system architecture underlying the present disclosure may include a terminal device, wherein the terminal device may be provided with a content search device, thereby enabling a content search operation based on a search field generated by a user on the terminal device and displaying the search results.

[0037] FIG1 is a flow chart of a content search method provided by an embodiment of the present disclosure. As shown in FIG1 , the method includes:

[0038] Step 101: In response to a search operation triggered by a user based on a preset search control, a search field generated by the user is obtained.

[0039] The execution subject of this embodiment is a content search device, which can be written in C / C++, Java, Shell, or Python. The content search device can be coupled to a terminal device, or it can be coupled to a server that is in communication with the terminal device, which is not limited in this disclosure.

[0040] In this embodiment, a preset search control may be displayed in the front-end display interface. A user may generate a search field based on a trigger operation of the search control. For example, the search control may include a content input box and a trigger control. The user may enter the search field for content to be searched in the input box and perform the content search by triggering the trigger control.

[0041] Optionally, the content search device may obtain a search field generated by the user in response to a search operation triggered by the user based on the search control.

[0042] Step 102: Search a target data table for at least one search result that matches the search field according to the search field, wherein the target data table includes special effect-related content corresponding to a plurality of category information.

[0043] In this embodiment, the category information of special effect-related information can be multiple, for example, it can include special effect capability category, problem category, document category, case category, etc. Currently, special effect-related information of different categories is generally stored in tables corresponding to the categories. Therefore, in order to quickly search for special effect-related content corresponding to all categories of information, a target data table can be pre-established based on the table corresponding to the category, where the target data table includes special effect-related content corresponding to multiple categories of information.

[0044] The target data table may include a field (TYPE) for representing the category to which the data belongs, a field (CONTENT) for describing the specific content of the data, and a field (ITEM) for uniquely identifying each piece of data.

[0045] Therefore, after obtaining the search field generated by the user, a search operation can be performed in the target data table based on the search field to obtain at least one search result in the target data table that matches the search field.

[0046] Step 103: Determine the category information to which the at least one search result belongs, and display the at least one search result according to the category information.

[0047] In this embodiment, since the target data table may include a field for representing the category to which the data belongs, after obtaining at least one search result, for each search result, the category information to which the search result belongs may be determined based on the TYPE field corresponding to the search result.

[0048] Furthermore, in order to enable the user to view search results corresponding to different category information more intuitively, after respectively determining the category information corresponding to each search result, the at least one search result may be displayed according to the category information.

[0049] FIG2 is a schematic diagram of a display interface provided by an embodiment of the present disclosure. As shown in FIG2 , a user can generate a search field 22 based on a preset search control 21, perform a search operation based on the search field 22, and obtain search results 23. At least one search result is displayed in the display interface according to category information 24 to which the search result 23 belongs.

[0050] The content search method provided in this embodiment pre-establishes a target data table containing special effect-related content corresponding to multiple categories. After obtaining a user-generated search field, the target data table can be searched for at least one search result corresponding to multiple categories matching the search field. This improves search efficiency for special effect-related content. Furthermore, by displaying at least one search result by category, users can more intuitively view search results corresponding to different categories, enhancing the user experience.

[0051] Optionally, based on any of the above embodiments, step 102 includes:

[0052] Detect whether there is at least one special effect-related content containing the search field in the target data table.

[0053] If so, at least one special effect-related content containing the search field is determined as the at least one search result.

[0054] In this embodiment, after obtaining the user-generated search field, the target data table can be checked for at least one special effect-related content containing the search field. For each special effect-related content containing the search field, the special effect-related content can be determined as the search result of the current search.

[0055] For example, the search field may be the "fireworks" field. After obtaining the "fireworks" field, the target data table may be searched for special effect-related content that includes the "fireworks" field. At least one special effect-related content that includes the special effect-related content in the "fireworks" field is determined as the search result for this search.

[0056] The content search method provided in this embodiment can improve the matching degree between the search results and the search field by performing a content search operation in the target data table according to the search field.

[0057] Optionally, based on any of the above embodiments, step 102 includes:

[0058] The search field is segmented according to a preset segmentation condition to obtain at least one target segmented word.

[0059] For each target word segment, it is detected whether there is at least one special effect-related content in the target data table that includes the target word segment. If so, the at least one special effect-related content that includes the target word segment is determined as the at least one search result.

[0060] In this embodiment, the search field generated by the user may include multiple fields. Therefore, after obtaining the search field generated by the user, the search field may be segmented according to the preset segmentation conditions to obtain at least one target segmentation word. When performing content search based on the target segmentation word, the keywords of the special effect-related content recorded in the target data table may be segmented according to spaces and spliced ​​into a regular expression. As long as any segmentation word matches the target segmentation word, the special effect-related content may be determined as the search result. Optionally, for each target segmentation word, it is detected whether there is at least one special effect-related content in the target data table that includes the target segmentation word. If included, at least one special effect-related content including the target segmentation word is determined as at least one search result.

[0061] The content search method provided in this embodiment obtains at least one target word segmentation by segmenting the search field according to preset segmentation conditions, and performs content search operations based on the target word segmentation, thereby improving the accuracy of content search and improving the matching degree between search results and search fields.

[0062] Furthermore, based on any of the above embodiments, step 103 includes:

[0063] At least one category information is displayed in a first display area preset in the display interface, and the category information at least includes a preset target category.

[0064] At least one search result corresponding to a preset target category is displayed in a second display area preset in the display interface.

[0065] In this embodiment, the category information of the special effect-related information may be multiple, for example, it may include special effect capability category, question category, document category, case category, etc. In order to enable the user to more intuitively understand the category information to which the search result belongs, the at least one search result may be displayed according to the category information.

[0066] Optionally, the display interface may include a preset first display area and a second display area, wherein the first display area is used to display at least one category information and the second display area is used to display search results corresponding to the category information.

[0067] Optionally, a target category may be preset and displayed differently in the first display area, for example, in bold, enlarged, etc. At least one search result corresponding to the target category is displayed in the second display area.

[0068] FIG3 is a schematic diagram of a display interface provided by an embodiment of the present disclosure. As shown in FIG3 , a display interface 31 may include a first display area 32 and a second display area 33. At least one category information 34 may be displayed in the first display area 32, and at least one search result 36 corresponding to a preset target category 35 may be displayed in the second display area 33.

[0069] The content search method provided in this embodiment displays at least one category information in a first display area preset within a display interface, the category information including at least a preset target category. At least one search result corresponding to the preset target category is displayed in a second display area preset within the display interface, thereby enriching the displayed content within the display page and displaying more search results within the display page.

[0070] Further, based on any of the above embodiments, after displaying at least one search result corresponding to a preset target category in a preset second display area in the display interface, the method further includes:

[0071] In response to the switching operation triggered by the user, at least one search result corresponding to other category information is switched to be displayed.

[0072] In this embodiment, when browsing search results, the user can switch the search results currently displayed on the display page according to actual needs.

[0073] Optionally, in response to a user-triggered switch operation, at least one search result corresponding to another category of information may be switched to display. This switching operation includes, but is not limited to, a swipe in a preset direction, a trigger operation on any category of information, and the like. For example, the target category may be the capability category, and in response to a user-triggered left swipe operation, at least one search result corresponding to the question category may be switched to display.

[0074] The content search method provided in this embodiment switches to display at least one search result corresponding to other categories of information according to a switching operation triggered by the user, thereby making the display of search results more in line with the user's personalized needs and improving the user experience.

[0075] FIG4 is a flowchart of a content search method provided by another embodiment of the present disclosure. Based on any of the above embodiments, as shown in FIG4 , step 103 includes:

[0076] Step 401: For each search result, determine a target field in the search result that matches the search field.

[0077] Step 402: Display the target field in each search result in a differentiated manner, so that the target field is distinguished from other fields in the search result.

[0078] In this embodiment, the user can generate a search field according to actual needs, and perform a content search operation based on the search field to view the search results associated with the search field.

[0079] Optionally, to allow the user to more intuitively view the content associated with the search field in the search results, after obtaining at least one search result, a target field in the search result that matches the search field may be determined for each search result. The target field in each search result may be displayed separately to distinguish it from other fields in the search results.

[0080] For example, differentiated display includes but is not limited to highlighted display, magnified display, bold display, etc. The present disclosure does not limit the method of differentiated display.

[0081] Furthermore, based on any of the above embodiments, before step 103, the method further includes:

[0082] The search results are segmented according to a preset segmentation condition to identify at least one target field in the search results that matches the search field.

[0083] A preset identification character is added to a position associated with at least one target field in the search result to obtain an identified search result.

[0084] The identified search results are traversed, and a distinguished display list is established according to at least one target field associated with at least one identification character corresponding to the identified search results.

[0085] Step 103 includes:

[0086] At least one target field in the distinguishing display list is displayed distinguishably.

[0087] In this embodiment, to achieve the distinct display of target fields matching the search field in the search results, the search results can be segmented according to a preset segmentation condition to identify at least one target field matching the search field in the search results. The segmentation condition includes, but is not limited to, segmenting by keywords, segmenting by spaces, segmenting by a preset number of fields, etc. This disclosure does not limit the segmentation method.

[0088] After obtaining at least one target field that matches the search field, a preset identifier character can be added to the position associated with the at least one target field in the search results to obtain an identified search result. The preset identifier character can be, for example, a double quote. The identified search results are traversed, and a distinct display list is created based on the at least one target field associated with the at least one identifier character corresponding to the identified search result. Subsequently, during display, the at least one target field in the distinct display list can be displayed distinctly.

[0089] FIG5 is another display interface diagram provided by an embodiment of the present disclosure. As shown in FIG5 , at least one search result 52 may be displayed in a display interface 51 according to category information 53 to which the search result 52 belongs. In each search result 52, a target field 54 matching the search field may be displayed.

[0090] The content search method provided in this embodiment enables users to more intuitively view content matching the search fields in the search results by displaying the search fields in a differentiated manner, thereby improving user experience.

[0091] FIG6 is a flowchart of a content search method provided by another embodiment of the present disclosure. Based on any of the above embodiments, as shown in FIG6 , before step 102, the method further includes:

[0092] Step 601: Acquire a plurality of content tables corresponding to category information, each of the content tables including special effect-related content corresponding to the category information.

[0093] Step 602: Integrate the content tables corresponding to the multiple category information to generate the target data table, wherein each special effect-related content in the target data table includes category information, special effect information, and identification information.

[0094] In this embodiment, since there are generally multiple categories of special effect related information in actual applications, in order to quickly search for special effect related content corresponding to all category information, a target data table can be pre-established based on the content table corresponding to the category.

[0095] Optionally, multiple content tables corresponding to the category information may be obtained, each of which includes special effect-related content corresponding to the category information. The content tables corresponding to the multiple category information are integrated to generate a target data table, wherein each special effect-related content in the target data table includes category information (TYPE), special effect information (CONTENT), and identification information (ITEM).

[0096] The content search method provided in this embodiment constructs a data table for content search based on multiple data tables storing data of different categories before performing content search based on the search field. Therefore, when the user-generated search field is obtained, a search operation for data of all categories can be implemented in the data table to obtain search results, thereby improving the efficiency of data search.

[0097] Furthermore, based on any of the above embodiments, after step 602, the following steps may be further included:

[0098] For each content table, it is detected whether a change operation occurs to the special effect-related content recorded in the content table, wherein the change operation includes any one or more of an adding operation, a deleting operation, and an updating operation.

[0099] If so, the target special effect content that has been changed is determined.

[0100] An update operation is performed on the associated content corresponding to the target special effect content in the target data table according to the target special effect content.

[0101] In this embodiment, since the special effect-related content may be updated, in order to improve the accuracy of content search, the content in the target data table may be updated based on the change operation of the content table corresponding to the multiple category information.

[0102] Optionally, for each content table, a detection is performed to determine whether a change operation has occurred in the special effect-related content recorded in the content table, wherein the change operation includes any one or more of an addition operation, a deletion operation, and an update operation. If so, the target special effect content that has changed in the content table can be determined. Based on the target special effect content, an update operation is performed on the associated content corresponding to the target special effect content in the target data table.

[0103] For example, after obtaining the target special effect content, the target data table can be checked based on the category information (TYPE) and identification information (ITEM) corresponding to the target special effect content to determine whether the target special effect content is included. If so, the associated content in the target data table can be updated based on the target special effect content. Otherwise, the target special effect content can be added to the target special effect table.

[0104] As an implementable method, during the update process, the target special effect content can be spliced ​​into a character string according to the fields, and the character string can be stored in the special effect information (CONTENT).

[0105] The content search method provided in this embodiment synchronously updates the target data table when a change operation is detected in each content table, thereby enabling more comprehensive and accurate search results based on the target data table to be subsequently searched, thereby improving the accuracy of content search.

[0106] FIG7 is a schematic diagram of the structure of the content search device provided by an embodiment of the present disclosure. As shown in FIG7 , the device includes: an acquisition module 71, a search module 72, and a display module 73. The acquisition module 71 is used to obtain the search field generated by the user in response to a search operation triggered by the user based on a preset search control. The search module 72 is used to search for at least one search result matching the search field in the target data table according to the search field, wherein the target data table includes special effect-related content corresponding to a plurality of category information. The display module 73 is used to respectively determine the category information to which the at least one search result belongs, and display the at least one search result according to the category information.

[0107] Furthermore, based on any of the above embodiments, the search module is configured to detect whether there is at least one special effect-related content in the target data table that includes the search field, and if so, determine the at least one special effect-related content that includes the search field as the at least one search result.

[0108] Furthermore, based on any of the above embodiments, the search module is configured to segment the search field according to a preset segmentation condition to obtain at least one target segmentation word. For each target segmentation word, the target data table is detected to determine whether at least one special effect-related content includes the target segmentation word. If so, the at least one special effect-related content including the target segmentation word is determined as the at least one search result.

[0109] Furthermore, based on any of the above embodiments, the display module is configured to display at least one category information in a first display area preset in the display interface, wherein the category information includes at least a preset target category, and display at least one search result corresponding to the preset target category in a second display area preset in the display interface.

[0110] Furthermore, based on any of the above embodiments, the display module is further configured to switch to displaying at least one search result corresponding to other categories of information in response to a switching operation triggered by the user.

[0111] Furthermore, based on any of the above embodiments, the display module is configured to determine, for each search result, a target field in the search result that matches the search field, and display the target field in each search result distinctly so that the target field is distinguishable from other fields in the search result.

[0112] Furthermore, based on any of the above embodiments, the display module is further configured to segment the search results according to preset segmentation conditions, identifying at least one target field in the search results that matches the search field. A preset identification character is added to a position associated with at least one target field in the search results to obtain an identified search result. The identified search results are traversed, and a differentiated display list is established based on at least one target field associated with at least one identification character corresponding to the identified search result. The display module is configured to differentiate the at least one target field in the differentiated display list.

[0113] Furthermore, based on any of the above embodiments, the apparatus further includes an acquisition module, the acquisition module being further configured to acquire content tables corresponding to a plurality of category information, each of the content tables including special effect-related content corresponding to the category information. An integration module is configured to integrate the content tables corresponding to the plurality of category information to generate the target data table, wherein each special effect-related content in the target data table includes category information, special effect information, and identification information.

[0114] Furthermore, based on any of the above embodiments, the device further includes a detection module configured to detect, for each content table, whether a change operation has occurred in the special effect-related content recorded in the content table, wherein the change operation includes any one or more of an addition operation, a deletion operation, and an update operation. If a change operation has occurred, the determination module is configured to determine the target special effect content that has changed. The update module is configured to update the associated content corresponding to the target special effect content in the target data table based on the target special effect content.

[0115] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effects are similar and will not be described in detail in this embodiment.

[0116] In order to implement the above embodiment, an embodiment of the present disclosure further provides an electronic device, including: a processor and a memory.

[0117] The memory stores computer-executable instructions.

[0118] The processor executes the computer-executable instructions stored in the memory, so that the processor performs the content search method as described in any of the above embodiments.

[0119] FIG8 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. The electronic device 800 may be a terminal device or a server. The terminal device may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (PMPs), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in FIG8 is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.

[0120] As shown in Figure 8, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. Various programs and data required for the operation of the electronic device 800 are also stored in the RAM 803. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0121] Typically, the following devices may be connected to the I / O interface 805: an input device 806 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although FIG8 shows an electronic device 800 having various devices, it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.

[0122] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication device 909, or installed from the storage device 908, or installed from the ROM 902. When the computer program is executed by the processing device 901, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.

[0123] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but 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 may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0124] In order to implement the above embodiments, the embodiments of the present disclosure further provide a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When a processor executes the computer-executable instructions, the content search method described in any of the above embodiments is implemented.

[0125] In order to implement the above embodiments, the embodiments of the present disclosure further provide a computer program product, including a computer program. When the computer program is executed by a processor, the content search method as described in any of the above embodiments is implemented.

[0126] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0127] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method shown in the above embodiment.

[0128] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet Service Provider).

[0129] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0130] The units involved in the embodiments described in this disclosure may be implemented in software or hardware. In some cases, the name of a unit does not limit the unit itself. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses."

[0131] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0132] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, 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 foregoing.

[0133] In a first aspect, according to one or more embodiments of the present disclosure, a content search method is provided, comprising:

[0134] In response to a search operation triggered by a user based on a preset search control, obtaining a search field generated by the user;

[0135] Searching a target data table for at least one search result that matches the search field according to the search field, wherein the target data table includes special effect-related content corresponding to a plurality of category information;

[0136] Category information to which the at least one search result belongs is determined respectively, and the at least one search result is displayed according to the category information.

[0137] According to one or more embodiments of the present disclosure, searching the target data table for at least one search result matching the search field according to the search field includes:

[0138] Detect whether there is at least one special effect-related content containing the search field in the target data table;

[0139] If so, at least one special effect-related content containing the search field is determined as the at least one search result.

[0140] According to one or more embodiments of the present disclosure, searching the target data table for at least one search result matching the search field according to the search field includes:

[0141] Performing a segmentation operation on the search field according to a preset segmentation condition to obtain at least one target segmented word;

[0142] For each target word segment, it is detected whether there is at least one special effect-related content in the target data table that includes the target word segment; if so, the at least one special effect-related content that includes the target word segment is determined as the at least one search result.

[0143] According to one or more embodiments of the present disclosure, displaying the at least one search result according to the category information includes:

[0144] Displaying at least one category information in a first display area preset in the display interface, wherein the category information includes at least a preset target category;

[0145] At least one search result corresponding to a preset target category is displayed in a second display area preset in the display interface.

[0146] According to one or more embodiments of the present disclosure, after displaying at least one search result corresponding to a preset target category in a second display area preset in the display interface, the method further includes:

[0147] In response to the switching operation triggered by the user, at least one search result corresponding to other category information is switched to be displayed.

[0148] According to one or more embodiments of the present disclosure, displaying the at least one search result according to the category information includes:

[0149] For each search result, determining a target field in the search result that matches the search field;

[0150] The target field in each search result is displayed distinctively, so that the target field is distinguished from other fields in the search result.

[0151] According to one or more embodiments of the present disclosure, before the target field in each search result is displayed distinctively, the method further includes:

[0152] Performing a segmentation operation on the search results according to a preset segmentation condition, and identifying at least one target field in the search results that matches the search field;

[0153] Adding a preset identification character to a position associated with at least one target field in the search results to obtain an identified search result;

[0154] Traversing the identified search results, and establishing a distinguished display list according to at least one target field associated with at least one identification character corresponding to the identified search results;

[0155] The distinguishing display of the target field in each search result includes:

[0156] At least one target field in the distinguishing display list is displayed distinguishably.

[0157] According to one or more embodiments of the present disclosure, before searching the target data table for at least one search result matching the search field according to the search field, the method further includes:

[0158] Acquire a plurality of content tables corresponding to category information, each of the content tables including special effect-related content corresponding to the category information;

[0159] An integration operation is performed on the content tables corresponding to the plurality of category information to generate the target data table, wherein each special effect-related content in the target data table includes category information, special effect information, and identification information.

[0160] According to one or more embodiments of the present disclosure, after integrating the content tables corresponding to the plurality of category information to generate the target data table, the method further includes:

[0161] For each content table, detecting whether a change operation occurs in the special effect-related content recorded in the content table, wherein the change operation includes any one or more of an add operation, a delete operation, and an update operation;

[0162] If so, determine the target special effect content that has been changed;

[0163] An update operation is performed on the associated content corresponding to the target special effect content in the target data table according to the target special effect content.

[0164] In a second aspect, according to one or more embodiments of the present disclosure, there is provided an information display device, comprising:

[0165] An acquisition module, configured to acquire a search field generated by the user in response to a search operation triggered by the user based on a preset search control;

[0166] A search module, configured to search a target data table for at least one search result matching the search field according to the search field, wherein the target data table includes special effect-related content corresponding to a plurality of category information;

[0167] The display module is configured to respectively determine the category information to which the at least one search result belongs, and display the at least one search result according to the category information.

[0168] According to one or more embodiments of the present disclosure, the search module is configured to:

[0169] Detect whether there is at least one special effect-related content containing the search field in the target data table;

[0170] If so, at least one special effect-related content containing the search field is determined as the at least one search result.

[0171] According to one or more embodiments of the present disclosure, the search module is configured to:

[0172] Performing a segmentation operation on the search field according to a preset segmentation condition to obtain at least one target segmented word;

[0173] For each target word segment, it is detected whether there is at least one special effect-related content in the target data table that includes the target word segment; if so, the at least one special effect-related content that includes the target word segment is determined as the at least one search result.

[0174] According to one or more embodiments of the present disclosure, the display module is configured to:

[0175] Displaying at least one category information in a first display area preset in the display interface, wherein the category information includes at least a preset target category;

[0176] At least one search result corresponding to a preset target category is displayed in a second display area preset in the display interface.

[0177] According to one or more embodiments of the present disclosure, the display module is further configured to:

[0178] In response to the switching operation triggered by the user, at least one search result corresponding to other category information is switched to be displayed.

[0179] According to one or more embodiments of the present disclosure, the display module is configured to:

[0180] For each search result, determining a target field in the search result that matches the search field;

[0181] The target field in each search result is displayed distinctively, so that the target field is distinguished from other fields in the search result.

[0182] According to one or more embodiments of the present disclosure, the display module is further configured to:

[0183] Performing a segmentation operation on the search results according to a preset segmentation condition, and identifying at least one target field in the search results that matches the search field;

[0184] Adding a preset identification character to a position associated with at least one target field in the search results to obtain an identified search result;

[0185] Traversing the identified search results, and establishing a distinguished display list according to at least one target field associated with at least one identification character corresponding to the identified search results;

[0186] The display module is used for:

[0187] At least one target field in the distinguishing display list is displayed distinguishably.

[0188] According to one or more embodiments of the present disclosure, the apparatus further includes:

[0189] The acquisition module is further configured to acquire content tables corresponding to a plurality of category information, each of the content tables including special effect-related content corresponding to the category information;

[0190] The integration module is used to integrate the content tables corresponding to the multiple category information to generate the target data table, wherein each special effect-related content in the target data table includes category information, special effect information and identification information.

[0191] According to one or more embodiments of the present disclosure, the apparatus further includes:

[0192] a detection module, configured to detect, for each content table, whether a change operation has occurred in the special effect-related content recorded in the content table, wherein the change operation includes any one or more of an add operation, a delete operation, and an update operation;

[0193] A determination module, configured to determine the target special effect content to be changed if yes;

[0194] An updating module is used to update the associated content corresponding to the target special effect content in the target data table according to the target special effect content.

[0195] In a third aspect, according to one or more embodiments of the present disclosure, there is provided an electronic device, comprising: at least one processor and a memory;

[0196] The memory stores computer-executable instructions;

[0197] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the content search method described in the first aspect and various possible designs of the first aspect.

[0198] In a fourth aspect, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the content search method described in the first aspect and various possible designs of the first aspect is implemented.

[0199] In a fifth aspect, according to one or more embodiments of the present disclosure, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the content search method as described in the first aspect and various possible designs of the first aspect.

[0200] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.

[0201] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0202] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims

1. A content search method, comprising: In response to a search operation triggered by a user based on a preset search control, obtaining a search field generated by the user; Searching for at least one search result matching the search field in a target data table according to the search field, wherein the target data table includes special effect-related content corresponding to a plurality of category information; The category information to which the at least one search result belongs is determined respectively, and the at least one search result is displayed according to the category information.

2. The method according to claim 1, wherein: The step of searching the target data table for at least one search result matching the search field according to the search field comprises: Detect whether there is at least one special effect-related content in the target data table that includes the search field; If so, the at least one special effect-related content containing the search field is determined as the at least one search result.

3. The method according to claim 2, wherein: The step of searching the target data table for at least one search result matching the search field according to the search field further includes: Performing a segmentation operation on the search field according to a preset segmentation condition to obtain at least one target segmented word; For each target participle, it is detected whether there is at least one special effect-related content in the target data table that includes the target participle; if so, the at least one special effect-related content that includes the target participle is determined as the at least one search result.

4. The method according to claim 1, wherein: The displaying of the at least one search result according to the category information includes: Displaying at least one category information in a first display area preset in the display interface, wherein the category information at least includes a preset target category; At least one search result corresponding to the preset target category is displayed in a second display area preset in the display interface.

5. The method according to claim 4, wherein: After displaying at least one search result corresponding to the preset target category in a second display area preset in the display interface, the method further includes: In response to the switching operation triggered by the user, at least one search result corresponding to other category information is switched to be displayed.

6. The method according to claim 1, wherein: The displaying of the at least one search result according to the category information includes: For each search result, determining a target field in the search result that matches the search field; The target field in each search result is displayed distinctively, so that the target field is distinguished from other fields in the search result.

7. The method according to claim 6, wherein: Before the target field in each search result is displayed distinctively, the method further includes: Performing a segmentation operation on the search results according to a preset segmentation condition, and identifying at least one target field in the search results that matches the search field; Adding a preset identification character at a position associated with the at least one target field in the search result to obtain an identified search result; Traversing the identified search results, and establishing a distinguished display list according to at least one target field associated with at least one identification character corresponding to the identified search results; The distinguishing and displaying the target field in each search result includes: The differential display is performed on at least one target field in the differential display list.

8. The method according to any one of claims 1 to 7, wherein: Before searching the target data table for at least one search result matching the search field according to the search field, the method further includes: Acquire content tables corresponding to the plurality of category information, each of the content tables including special effect-related content corresponding to the category information; An integration operation is performed on the content tables corresponding to the plurality of category information to generate the target data table, wherein each special effect-related content in the target data table includes the category information, special effect information and identification information.

9. The method according to claim 8, wherein: After integrating the content tables corresponding to the plurality of category information to generate the target data table, the method further includes: For each content table, detecting whether a change operation occurs to the special effect-related content recorded in the content table, wherein the change operation includes any one or more of an adding operation, a deleting operation, and an updating operation; If so, determine the target special effect content that has been changed; The updating operation is performed on the associated content corresponding to the target special effect content in the target data table according to the target special effect content.

10. A content search device, comprising: An acquisition module, configured to acquire a search field generated by the user in response to a search operation triggered by the user based on a preset search control; A search module is configured to search, according to the search field, in a target data table for at least one search result that matches the search field, wherein the target data table includes special effect-related content corresponding to a plurality of category information; as well as The display module is configured to respectively determine the category information to which the at least one search result belongs, and display the at least one search result according to the category information.

11. An electronic device comprising a processor and a memory, wherein: The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the content search method according to any one of claims 1 to 9.

12. A computer-readable storage medium, wherein: The computer-readable storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, the content search method according to any one of claims 1 to 9 is implemented.

13. A computer program product comprising a computer program, wherein: When the computer program is executed by a processor, the content search method according to any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Content search method, device and equipment, computer readable storage medium and product

    CN118520006A

  • Searching method and device of aggregation result for providing question and answer information

    CN107992554A

  • Information search method and device, electronic equipment and computer readable medium

    CN112948539A

  • Searching method and device, electronic equipment and storage medium

    CN113190741A

  • System and method for providing search service using tags

    US20160224617A1