A method and apparatus for searching for an object, an electronic device, and a storage medium

By receiving search requests carrying search instructions and utilizing target search rules and related information, the system determines search results for various types of unstructured data from a pre-set database. This solves the problem of single-scenario search in existing technologies, enables accurate search for various types of unstructured data, and improves the user experience.

CN115357685BActive Publication Date: 2026-03-24CHINA CONSTRUCTION BANK +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-23
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

In existing technologies, search platforms can only provide search services for a single scenario and cannot satisfy the simultaneous search of multiple types of unstructured data, resulting in a poor user experience.

Method used

A method for searching for an object is provided. This method involves receiving a search request that carries search instruction information and identification information of the object to be searched. Then, using target search rules and related information, it determines various unstructured data associated with the object to be searched from a preset database, including text, images, videos, and news. Finally, it filters the target search results using content and content group similarity scoring and timeliness scoring.

Benefits of technology

It enables accurate searching of various unstructured data in multiple search scenarios, improving the user's search experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115357685B_ABST
    Figure CN115357685B_ABST
Patent Text Reader

Abstract

The application discloses a method and device for searching an object, electronic equipment and a storage medium, and is applied to the technical field of data mining. The method comprises the following steps: receiving a search request for an object to be searched, wherein the search request carries search indication information, identification information of the object to be searched and a request triggering moment; the search indication information is any one of content search information, content group search information and content and content group search information; the search indication information is used for indicating single search and / or combined search of multiple unstructured data; a target search result is determined based on target search rules corresponding to the search indication information and associated information of the object to be searched; and the target search result comprises at least two kinds of unstructured data associated with the object to be searched and determined from a preset database. It can be seen that the application can obtain at least two kinds of unstructured data, such as graphic text, video and information, associated with the object to be searched.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of data mining, and particularly relate to a method and apparatus for searching objects, an electronic device, and a storage medium. BACKGROUND

[0002] At present, with the continuous development of science and technology, more and more users use terminal devices to search for information. For example, searching for unstructured data such as videos, texts, and information related to "autumn" in a terminal device.

[0003] However, in the prior art, various search platforms can only provide search requirements in a single scenario at a time. For example, when a user searches for the word "summer" in a search platform, the user can only select a search in a single scenario, where the single scenario can be any one of webpage search, picture search, information search, or video search.

[0004] Therefore, there is an urgent need in the prior art for a technical solution for searching multiple unstructured data at a time. SUMMARY

[0005] Embodiments of the present application provide a method and apparatus for searching objects, an electronic device, and a storage medium, for obtaining at least two types of unstructured data associated with a to-be-searched object, such as various unstructured data such as texts, videos, and information.

[0006] In a first aspect, a method for searching objects is provided, the method comprising:

[0007] receiving a search request for a to-be-searched object, the search request carrying search indication information, identification information of the to-be-searched object, and a request triggering time; the search indication information being any one of content search information, content group search information, and content and content group search information; the search indication information being used to indicate single search and / or combined search of multiple unstructured data;

[0008] determining a target search result based on a target search rule corresponding to the search indication information and associated information of the to-be-searched object; the target search result including at least two types of unstructured data associated with the to-be-searched object determined from a preset database.

[0009] In a possible implementation, the search indication information is content search information, and determining a target search result based on the target search rule and the associated information of the to-be-searched object comprises:

[0010] determine a first candidate search result dataset from the preset database according to the identification information and the content search information; each candidate search result in the first candidate search result dataset at least includes a content title, a content body, a content abstract, a publishing time, a content type, and a creating time;

[0011] determine a matching value of each candidate search result with the object to be searched respectively, and filter a candidate search result meeting a first filtering condition as a target search result based on the determined matching value; the matching value is used to indicate a degree of effective correlation between the candidate search result and the object to be searched.

[0012] In a possible implementation, the determining of the matching value of each candidate search result with the object to be searched respectively includes:

[0013] For each candidate search result, the following operations are performed respectively:

[0014] determine a content initial similarity of one candidate search result according to a title similarity between a content title in the one candidate search result and a title of the object to be searched, a body similarity between a content body in the one candidate search result and a body of the object to be searched, and an abstract similarity between a content abstract in the one candidate search result and an abstract of the object to be searched;

[0015] determine a first timeliness score value according to a first creating score value and a first updating score value; the first creating score value is determined based on a content creating time in the one candidate search result, a request triggering time, and a scoring rule; the first updating score value is determined based on a content updating time in the one candidate search result, the request triggering time, and the scoring rule;

[0016] determine a matching value of the one candidate search result with the object to be searched based on the content initial similarity and the first timeliness score value.

[0017] In a possible implementation, the search indication information is content group search information, and the determining of the target search result based on the target search rule and the associated information of the object to be searched includes:

[0018] determine a second candidate search result dataset from the preset database according to the identification information and the content group search information; each candidate search result in the second candidate search result dataset at least includes a content group title, a content group body, a content group abstract, a content group publishing time, a content group type, a content group creating time, and content titles, content bodies, and content abstracts corresponding to respective nested contents included in the content group;

[0019] Each candidate search result is determined to have a matching value with the object to be searched. Based on the determined matching value, candidate search results that meet the second filtering condition are filtered as target search results. The matching value is used to indicate the degree to which the candidate search results are effectively related to the object to be searched.

[0020] In one possible implementation, determining the matching value between each candidate search result and the object to be searched includes:

[0021] For each of the candidate search results, perform the following operations:

[0022] Content group similarity is determined based on the initial similarity of a candidate search result and the timeliness score of the content group.

[0023] The similarity of nested content is determined based on the similarity between the title of each nested content in a candidate search result and the title of the object to be searched, the similarity between the body text of each nested content in a candidate search result and the body text of the object to be searched, and the similarity between the description of each nested content in a candidate search result and the description of the object to be searched.

[0024] Based on the content group similarity and the nested content similarity, a matching value is determined between the candidate search result and the object to be searched.

[0025] In one possible implementation, determining the content group similarity based on the initial similarity of the content group and the timeliness score of the content group includes:

[0026] The initial similarity of the content group is determined based on the similarity between the title of the content group in one of the candidate search results and the title of the object to be searched, and the similarity between the description of the content group in one of the candidate search results and the description of the object to be searched.

[0027] A second timeliness score is determined based on a second creation score and a second update score; the second creation score is determined based on the creation time of the content group in the candidate search result, the request triggering time, and the scoring rules; the second update score is determined based on the update time of the content group in the candidate search result, the request triggering time, and the scoring rules.

[0028] The content group similarity is determined by multiplying the initial similarity of the content group by its corresponding weight, and by multiplying the timeliness score of the content group by its corresponding weight.

[0029] In one possible implementation, the search indication information is content and content group search information, and the step of determining the target search result based on the target search rule and the association information of the object to be searched includes:

[0030] determining, from the preset database, a first candidate search result dataset and a second candidate search result dataset according to the identification information and the content and content group search information;

[0031] respectively determining a matching value of each candidate search result in the first candidate search result dataset with the object to be searched, and screening a candidate search result meeting a first screening condition as a first search result based on the determined matching value; the matching value is used to indicate a correlation degree of the candidate search result with the object to be searched; and

[0032] respectively determining a matching value of each candidate search result in the second candidate search result dataset with the object to be searched, and screening a candidate search result meeting a second screening condition as a second search result based on the determined matching value;

[0033] determining a target search result according to the first search result and the second search result.

[0034] In a second aspect, a device for searching an object is provided, and the device comprises:

[0035] a receiving unit, configured to receive a search request for an object to be searched, the search request carrying search indication information and identification information of the object to be searched and a request triggering moment; the search indication information is any one of content search information, content group search information, and content and content group search information; the search indication information is used to indicate single search and / or combined search of multiple unstructured data;

[0036] a processing unit, configured to determine a target search result based on a target search rule corresponding to the search indication information and associated information of the object to be searched; the target search result comprises at least two kinds of unstructured data associated with the object to be searched and determined from a preset database.

[0037] In a possible implementation, the search indication information is content search information, and the processing unit is specifically configured to:

[0038] determine a first candidate search result dataset from the preset database according to the identification information and the content search information; each candidate search result in the first candidate search result dataset comprises at least a content title, a content body, a content abstract, a publishing moment, a content type, and a creation moment;

[0039] respectively determine a matching value of each candidate search result with the object to be searched, and screen a candidate search result meeting a first screening condition as a target search result based on the determined matching value; the matching value is used to indicate a correlation degree of the candidate search result with the object to be searched.

[0040] In a possible implementation, the processing unit is specifically configured to:

[0041] For each of the candidate search results, the following operations are respectively performed:

[0042] According to a similarity between a title of content in one of the candidate search results and a title of the object to be searched, a similarity between a main text of the content in the one of the candidate search results and a main text of the object to be searched, and a similarity between a brief introduction of the content in the one of the candidate search results and a brief introduction of the object to be searched, an initial similarity of the content in the one of the candidate search results is determined;

[0043] According to a first creation score value and a first update score value, a first timeliness score value is determined; the first creation score value is determined based on a content creation time in the one of the candidate search results, a request triggering time, and a score rule; the first update score value is determined based on a content update time in the one of the candidate search results, the request triggering time, and the score rule;

[0044] Based on the initial similarity of the content and the first timeliness score value, a matching value of the one of the candidate search results and the object to be searched is determined.

[0045] In a possible implementation, the search indication information is content group search information, and the processing unit is specifically configured to:

[0046] According to the identification information and the content group search information, a second candidate search result data set is determined from the preset database; each of the candidate search results in the second candidate search result data set at least includes a content group title, a content group main text, a content group brief introduction, a content group publishing time, a content group type, a content group creation time, and respective content titles, content main texts, and content brief introductions of respective nested contents included in the content group;

[0047] A matching value of each of the candidate search results and the object to be searched is respectively determined, and based on the determined matching value, a candidate search result that meets a second screening condition is screened as a target search result; the matching value is used to indicate a degree of effective correlation between the candidate search result and the object to be searched.

[0048] In a possible implementation, the processing unit is specifically configured to:

[0049] For each of the candidate search results, the following operations are respectively performed:

[0050] According to an initial similarity of a content group in one of the candidate search results and a timeliness score value of the content group in the one of the candidate search results, a content group similarity is determined;

[0051] determine a nested content similarity degree according to a similarity degree between each nested content title in the one candidate search result and a title of the object to be searched, a similarity degree between each nested content body in the one candidate search result and a body of the object to be searched, and a similarity degree between each nested content introduction in the one candidate search result and an introduction of the object to be searched;

[0052] determine a matching value of the one candidate search result and the object to be searched based on the content group similarity degree and the nested content similarity degree.

[0053] In a possible implementation, the processing unit is specifically configured to:

[0054] determine a content group initial similarity degree according to a similarity degree between a content group title in the one candidate search result and a title of the object to be searched, and a similarity degree between a content group introduction in the one candidate search result and an introduction of the object to be searched;

[0055] determine a second timeliness score value according to a second creation score value and a second update score value; the second creation score value is determined based on a content group creation time in the one candidate search result, a request triggering time and a score rule; the second update score value is determined based on a content group update time in the one candidate search result, the request triggering time and the score rule;

[0056] determine a content group similarity degree according to a product of the content group initial similarity degree and a corresponding weight value, and a product of the content group timeliness score value and a corresponding weight value.

[0057] In a possible implementation, the search indication information is content and content group search information, and the processing unit is configured to:

[0058] determine a first candidate search result data set and a second candidate search result data set from the preset database according to the identification information and the content and content group search information;

[0059] determine a matching value of each candidate search result in the first candidate search result data set and the object to be searched respectively, and filter a candidate search result meeting a first filtering condition as a first search result based on the determined matching value; the matching value is used to indicate a correlation degree between the candidate search result and the object to be searched; and

[0060] determine a matching value of each candidate search result in the second candidate search result data set and the object to be searched respectively, and filter a candidate search result meeting a second filtering condition as a second search result based on the determined matching value.

[0061] According to the first search result and the second search result, a target search result is determined.

[0062] In a third aspect, an electronic device is provided, comprising: a processor, and a memory connected with the processor in communication;

[0063] The memory stores computer-executable instructions.

[0064] The processor executes the computer-executable instructions stored in the memory to implement the method for searching an object as described above.

[0065] In a fourth aspect, a computer-readable storage medium is provided, the computer-readable storage medium stores computer-executable instructions, the computer-executable instructions are executed by a processor to implement the method for searching an object as described above.

[0066] In a fifth aspect, a computer program product is provided, comprising a computer program, the computer program is executed by a processor to implement the method for searching an object as described above.

[0067] The present application has the following advantages:

[0068] The method for searching an object, the device, the electronic device and the storage medium provided in the embodiments of the present application have the following advantages: the search request for the object to be searched carries the search indication information, the identification information of the object to be searched and the request triggering time; the search indication information is any one of the content search information, the content group search information and the content and content group search information; the search indication information is used to indicate the single search and / or the combined search of the multiple unstructured data; thus, the electronic device can determine the target search result based on the target search rule corresponding to the search indication information and the associated information of the object to be searched. It can be seen that the multiple unstructured data can be determined in the three search scenarios in the embodiments of the present application, and the search use experience of the user is improved.

[0069] Other features and advantages of the present application will be described in the following description, and some will become apparent from the description, or will be learned through practice of the present application. The objects and other advantages of the present application will be achieved and obtained by the structure particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF DRAWINGS

[0070] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings needed to be used in the embodiments or the related art description. Obviously, the drawings in the following description only illustrate the embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor based on the provided drawings.

[0071] Figure 1 A relationship diagram of a content and a content group in an embodiment of the present application;

[0072] Figure 2 An optional diagram of an application scenario in an embodiment of the present application;

[0073] Figure 3 A flow diagram of a method for searching an object in an embodiment of the present application;

[0074] Figure 4 A flow diagram of a method for determining a matching value of a content in an embodiment of the present application;

[0075] Figure 5 A flow diagram of a method for determining a matching value of a content group in an embodiment of the present application;

[0076] Figure 6 A flow diagram of a method for determining a similarity of a content group in an embodiment of the present application;

[0077] Figure 7 A flow diagram of a method for determining a matching value of a content and a content group in an embodiment of the present application;

[0078] Figure 8 A structural diagram of a device for searching an object in an embodiment of the present application;

[0079] Figure 9 A hardware structural diagram of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0080] In order to make the objectives, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application. In the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other at will. Moreover, although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that herein.

[0081] The terms "comprise", "comprising", "include", "including" and "includes" as used in the specification and the claims are intended to be construed as inclusive or open ended and not exclusive or limiting. For example, processes, methods, articles, or apparatuses that "comprise", "comprising", "include", "including" or "includes" an item are not limited to processes, methods, articles, or apparatuses that consist only of the item. In other words, an item is a component of a process, method, article, or apparatus that "comprises", "comprising", "include", "including" or "includes" the item is not limited to processes, methods, articles, or apparatuses that consist only of the item.

[0082] Currently, in this era of information explosion, short videos, news information and text and other unstructured data are everywhere in our lives. In the prior art, various search platforms can only provide search requirements in a single scene at a time. For example, when a user searches for the word "summer" in a search platform, only a search in a single scene can be selected, which can be any one of web search, picture search, information search or video search.

[0083] Therefore, there is an urgent need in the prior art for a technical solution for searching multiple unstructured data at a time.

[0084] Based on the problems in the prior art described above, the present application provides a method for searching objects, in which the present application divides the search of all unstructured data into three categories, namely single content matching, single content group matching and content and content group mixed matching. For these three search scenarios, the present application provides target search rules corresponding to the search scenarios, so that the search requests in each scenario can be determined and processed, thereby improving the accuracy of the search.

[0085] Optionally, content is a general term for single unstructured data such as video, text and information. A content group is a combination of one or more contents that can be customized for a user, such as a set of course videos, a movie or TV series, etc. For example, searching for a single news information according to the title is a typical single content retrieval; searching for a popular TV series belongs to single content group search; and searching for a single set of TV series or an entire TV series belongs to mixed search of content and content group.

[0086] Please refer to Figure 1 , Figure 1 for a schematic diagram of the relationship between content and content group provided in the present application.

[0087] Optionally, content and content group are associated through a content identity document (ID). A content group can include multiple content IDs, and a content can also belong to multiple different content groups at the same time. That is, the relationship between content and content group is a many-to-many case.

[0088] Optionally, as Figure 1As shown, the content can include a content ID, a content name, a content introduction, a content type, a creation time, etc.; and the content group can include a content group ID, a content group list, a content group name, a content group introduction, a content group type, and a creation time, etc.

[0089] After introducing the design idea of the embodiments of the present application, the application scenarios to which the technical solutions of the embodiments of the present application can be applied will be briefly introduced, and it should be noted that the following application scenarios are only used to illustrate the embodiments of the present application but not to limit. In the specific implementation process, the technical solutions provided by the embodiments of the present application can be flexibly applied according to actual needs.

[0090] The scheme provided by the embodiments of the present application can be applied to all search scenarios, such as a single content search scenario related to “Tiger Year”, a content group search scenario related to “Star A”, or a content and content group mixed search scenario related to “Autumn”, etc.

[0091] Referring to Figure 2 As shown, it is a scenario diagram provided by the embodiments of the present application, which can include a plurality of terminal devices 201 and electronic devices 202, wherein the terminal devices 201-1, 201-2, …, 201-n can be used by different users. In the specific implementation process, the user using the terminal device can be understood as a user who needs to search, and the user can log in to a search application or a search platform with search function through the terminal device.

[0092] In the embodiments of the present application, optionally, the display page of the search application or the search platform with search function can include an input function area for inputting information, a function key with content search function, and a function key with content group search function; or the display page of the search application or the search platform with search function can include an input function area for inputting information, a function key with content search function, a function key with content group search function, and a function key with content and content group mixed search, which is not limited in the embodiments of the present application. Optionally, the foregoing function keys can be below the input function area for inputting information, or the foregoing function keys can be on the right side or the left side of the input function area for inputting information, which is not limited in the embodiments of the present application.

[0093] In a possible implementation, the user can log in a search application or a search platform having a search function through the terminal device 201, input information of an object to be searched in an input function area (for example, an input box) for inputting information, and select any one of the foregoing function keys. For example, the user inputs "overcast" in the input box and clicks the function key having a content search function. In this way, the terminal device 201 can determine a search request of the object to be searched, and send the search request to the electronic device 202. The electronic device 202 can receive the search request, process the search request, obtain a target search result, and feed back the target search result to the terminal device 201, so that the user obtains the target search result. In this way, the user can obtain at least two kinds of unstructured data associated with the object to be searched, for example, unstructured data such as images, videos, and information.

[0094] In the embodiment of the present application, the terminal device 201 can be a mobile phone, a tablet computer (PAD), a personal computer (PC), a smart television, a smart vehicle device, a wearable device, and the like, and the embodiment of the present application does not limit this.

[0095] In the embodiment of the present application, the electronic device 202 can be a cloud server cluster providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms, and can also be a physical server cluster, but is not limited to this.

[0096] The terminal device 201 and the electronic device 202, and each terminal device 201 can be directly or indirectly connected through one or more networks 203. The network 203 can be a wired network or a wireless network. For example, the wireless network can be a mobile cellular network or a wireless fidelity (WIFI) network, and can also be other possible networks, and the embodiment of the present application does not limit this.

[0097] Of course, the method provided by the embodiment of the present application is not limited to the application scenarios shown in the foregoing description, but can also be used in other possible application scenarios, and the embodiment of the present application does not limit this. Figure 2 The functions that can be implemented by the devices in the application scenarios shown in the foregoing description will be described together in subsequent method embodiments, and will not be described too much here. Figure 2 The functions that can be implemented by the devices in the application scenarios shown in the foregoing description will be described together in subsequent method embodiments, and will not be described too much here.

[0098] To further illustrate the technical solutions provided by the embodiments of the present application, the following will be combined with the accompanying drawings to describe the technical solutions provided by the embodiments of the present application. Figures 3-6and the specific embodiments are described in detail. Although the embodiments of the present application provide the method operation steps as shown in the following embodiments or accompanying drawings, more or fewer operation steps can be included in the method based on routine or non-inventive labor. The execution order of these steps is not limited to the execution order provided by the embodiments of the present application in logically unnecessary causal relationship. The method can be executed in sequence or in parallel during actual processing or device execution according to the method order shown in the embodiments or accompanying drawings. Figures 3-6

[0099] Please refer to Figure 3 , the embodiments of the present application provide a flowchart of a method for searching an object. As shown in Figure 3 , the flow of the method can be executed by an electronic device, which can be the electronic device 202 in Figure 2 .

[0100] Step 301: receiving a search request for an object to be searched, the search request carrying search indication information, identification information of the object to be searched and a request triggering time; the search indication information is any one of content search information, content group search information and content and content group search information; the search indication information is used to indicate single search and / or combined search of multiple unstructured data.

[0101] In the embodiments of the present application, when a user logs in a search application or a search platform with a search function through a terminal device, inputs information of an object to be searched in an input function area (such as an input box) for inputting information, and selects any one of a function key with a content search function, a function key with a content group search function and a function key with a content and content group mixed search function, the terminal device can determine a search request for the object to be searched and send the search request to the electronic device.

[0102] The electronic device receives a search request for an object to be searched, wherein the search request carries search indication information, identification information of the object to be searched and a request triggering time. Optionally, the request triggering time can be understood as the time when the function key is clicked. The search indication information is any one of content search information, content group search information and content and content group search information; the search indication information is used to indicate single search and / or combined search of multiple unstructured data.

[0103] Step 302: determining a target search result based on a target search rule corresponding to the search indication information and associated information of the object to be searched; the target search result includes at least two kinds of unstructured data associated with the object to be searched determined from a preset database.

[0104] ​In the embodiment of the present application, the target search result can be determined based on the target search rule corresponding to the search instruction information and the association information of the object to be searched according to three different search instruction information.

[0105] In order to facilitate the understanding of those skilled in the art, the following several possible ways are listed to illustrate how to determine the target search result, and it should be understood that the following examples are only illustrative and do not limit the embodiments of the present application. In addition to the following listed ways, other determination methods can also be used in the specific implementation process, and this paper does not exhaust.

[0106] Way one.

[0107] In the embodiment of the present application, if the search instruction information is content search information, the electronic device determines the target search result based on the target search rule and the association information of the object to be searched, which can use but not limited to the following steps:

[0108] Step A: determining a first candidate search result data set from a preset database according to the identification information and the content search information; each candidate search result in the first candidate search result data set at least includes content title, content text, content abstract, publishing time, content type and creation time.

[0109] In the embodiment of the present application, the preset database can be a database corresponding to the electronic device, and the electronic device is corresponding to a search application or a search platform with search function.

[0110] Optionally, the preset database includes a plurality of contents stored according to the information contained in the following index table, i.e. table 1.

[0111]

[0112]

[0113] Table 1

[0114] In the embodiment of the present application, the electronic device can determine a first candidate search result data set from a preset database according to the identification information and the content search information, wherein each candidate search result in the first candidate search result data set can be understood as a content, and the content is stored in the preset database in the above table 1.

[0115] Step B: determining the matching value of each candidate search result and the object to be searched respectively, and screening the candidate search results meeting the first screening condition as the target search result based on the determined matching value; the matching value is used to indicate the degree of effective correlation between the candidate search result and the object to be searched.

[0116] In the embodiment of the present application, for each candidate search result, the matching value of the candidate search result with the object to be searched is determined respectively, for example, refer to Figure 4 Fig. 4 shows a flow diagram of determining the matching value of the content according to an embodiment of the present application.

[0117] Step 401: determining the initial similarity of the content of a candidate search result according to the similarity of the title of the content of the candidate search result with the title of the object to be searched, the similarity of the main text of the content of the candidate search result with the main text of the object to be searched, and the similarity of the introduction of the content of the candidate search result with the introduction of the object to be searched.

[0118] Optionally, the electronic device can select the highest similarity from the similarity of the title of the content of a candidate search result with the title of the object to be searched, the similarity of the main text of the content of the candidate search result with the main text of the object to be searched, and the similarity of the introduction of the content of the candidate search result with the introduction of the object to be searched as the initial similarity of the content of the candidate search result.

[0119] Optionally, the electronic device can determine the average similarity based on the similarity of the title of the content of a candidate search result with the title of the object to be searched, the similarity of the main text of the content of the candidate search result with the main text of the object to be searched, and the similarity of the introduction of the content of the candidate search result with the introduction of the object to be searched as the initial similarity of the content of the candidate search result.

[0120] Step 402: determining the first time-effectiveness score value according to the first creation score value and the first update score value; the first creation score value is determined based on the creation time of the content of a candidate search result, the request triggering time and the scoring rule; the first update score value is determined based on the update time of the content of a candidate search result, the request triggering time and the scoring rule.

[0121] In the embodiment of the present application, the electronic device can determine the first creation score value according to the creation time of the content of a candidate search result, the request triggering time and the scoring rule. And the electronic device can determine the first update score value according to the update time of the content of a candidate search result, the request triggering time and the scoring rule. Wherein, the scoring rule can be based on the normal distribution, corresponding to different time difference and its corresponding score value, that is, different time difference, the matching has different score value. For example, in the normal distribution graph determined based on the score value, the time difference value is larger, that is, the position in the graph is higher, and the score value is set to be lower, that is, the farther the candidate search result is from the triggering request time, the smaller the first creation score value of the candidate search result is, so as to ensure that the user is fed back the newest search result as much as possible.

[0122] Optionally, the scoring rule can be understood as including a plurality of different time differences and corresponding scoring values. For example, the set includes: a time difference of 0-10 minutes, corresponding to a scoring value of 90 points; a time difference of 11-30 minutes, corresponding to a scoring value of 80 points; a time difference of 31-60 minutes, corresponding to a scoring value of 70 points; a time difference of 1-3 hours, corresponding to a scoring value of 60 points, and the like.

[0123] Step 403: determining a matching value of a candidate search result and the object to be searched based on the content initial similarity and the first time decay scoring value.

[0124] In the embodiment of the present application, the electronic device can determine a matching value of a candidate search result and the object to be searched based on the content initial similarity and the first time decay scoring value, wherein the matching value is used to indicate the degree of effective correlation between the candidate search result and the object to be searched. In this way, the target search object determined based on the matching value not only has a high correlation with the object to be searched, but also has strong timeliness, thereby meeting the search needs of the user.

[0125] In a possible implementation, the following formula can be used, but is not limited to, to determine the matching value of a candidate search result in the first candidate search result data set and the object to be searched:

[0126] Score(content)=W query max(Score query1 ,Score query2 ,Score query3 …)+W decay MultiNorm(Decay1,Decay2,…)

[0127] Wherein, Score(content) is used to represent the matching value of a candidate search result, i.e., a single content, and the object to be searched, W query is used to represent the weight of the content initial similarity, Score queryi is used to represent each sub-similarity, such as content title similarity. W decay is used to represent the weight of the time decay scoring value, and MultiNorm is used to represent a multivariate normal distribution composed of all scoring values, Decay1 is used to represent a sub-scoring value, such as a first creation scoring value or a first update scoring value, and the like.

[0128] In the embodiment of the present application, when the electronic device determines the matching value of each candidate search result, i.e., content, in the first candidate search result data set and the object to be searched based on the aforementioned manner as shown in Figure 4 , the electronic device can filter the candidate search results meeting the first filtering condition as the target search result based on the determined matching value.

[0129] Optionally, the first screening condition can be: screening the content with a matching value not less than a first preset value as the target search result, or screening the content with the top N matching values from large to small as the target search result. Wherein, N is a positive integer, for example, can be 5, or 10, etc.; the first preset value can be determined based on actual implementation, which is not limited in the embodiment of the present application.

[0130] Method two.

[0131] In the embodiment of the present application, if the search indication information is the content group search information, the electronic device determines the target search result based on the target search rule and the association information of the to-be-searched object, which can adopt but is not limited to the following steps:

[0132] Step a: determining a second candidate search result data set from a preset database according to the identification information and the content group search information; each candidate search result in the second candidate search result data set at least includes a content group title, a content group text, a content group abstract, a content group publishing time, a content group type, a content group creation time, and content titles, content texts and content abstracts corresponding to each nested content included in the content group.

[0133] Optionally, the preset database includes: a plurality of content groups stored according to the information contained in the following index table, i.e., Table 2.

[0134]

[0135] Table 2

[0136] In the embodiment of the present application, the electronic device can determine a second candidate search result data set from a preset database according to the identification information and the content group search information, wherein each candidate search result in the second candidate search result data set can be understood as a content group, and the content group is stored in the preset database in the manner of Table 2 above. It should be noted that the content group can include at least two contents.

[0137] Step b: determining the matching value of each candidate search result with the to-be-searched object respectively, and screening the candidate search result meeting the second screening condition as the target search result based on the determined matching value, the matching value being used to indicate the effective correlation degree of the candidate search result with the to-be-searched object.

[0138] In the embodiment of the present application, the matching value of each candidate search result in each second candidate search result data set with the to-be-searched object is determined respectively, for example, please refer to Fig. 2, which is a flow diagram of determining the matching value of a content group in the embodiment of the present application. Figure 5

[0139] ​Step 501: determining the content group similarity according to the content group initial similarity of one candidate search result and the content group time-effectiveness score value.

[0140] In the embodiment of the present application, referring to Figure 6 , Figure 6 For the flowchart of determining the content group similarity in the embodiment of the present application, the electronic device can adopt but is not limited to the following steps to determine the content group similarity, comprising:

[0141] Step 601: determining the content group initial similarity according to the similarity between the content group title of one candidate search result and the title of the object to be searched and the similarity between the content group introduction of one candidate search result and the introduction of the object to be searched.

[0142] Optionally, the electronic device can select the highest similarity from the similarity between the content group title of one candidate search result and the title of the object to be searched and the similarity between the content group introduction of one candidate search result and the introduction of the object to be searched as the content group initial similarity of one candidate search result.

[0143] Optionally, the electronic device can determine the average similarity based on the similarity between the content group title of one candidate search result and the title of the object to be searched and the similarity between the content group introduction of one candidate search result and the introduction of the object to be searched as the content group initial similarity of one candidate search result.

[0144] Step 602: determining the second time-effectiveness score value according to the second creation score value and the second update score value; the second creation score value is determined based on the content group creation time, the request trigger time and the score rule of one candidate search result; the second update score value is determined based on the content group update time, the request trigger time and the score rule of one candidate search result.

[0145] In the embodiment of the present application, the electronic device can determine the second creation score value according to the content group creation time, the request trigger time and the score rule of one candidate search result. And the electronic device can determine the second update score value according to the content group update time, the request trigger time and the score rule of one candidate search result.

[0146] Among them, the score rule can be based on the normal distribution mode, corresponding to the division of different time difference and its corresponding score value, that is, different time difference, matching different score value. For example, in the normal distribution graph determined based on the score value, the time difference value is larger, that is, the position in the graph is higher, and the score value is set to be lower, that is, the farther the candidate search result is from the trigger request time, the smaller the first creation score value is, so as to ensure that the user is fed back the newest search result.

[0147] Step 603: determining the content group similarity according to the product of the content group initial similarity and the corresponding weight value, and the product of the content group timeliness score value and the corresponding weight value.

[0148] In the embodiment of the present application, after the electronic device determines the content group similarity, the electronic device can also determine the nested content similarity between each nested content in the content group and the object to be searched, i.e., the electronic device can perform step 502: determining the nested content similarity according to the title similarity between each nested content title in a candidate search result and the title of the object to be searched, the text similarity between each nested content text in a candidate search result and the text of the object to be searched, and the introduction similarity between each nested content introduction in a candidate search result and the introduction of the object to be searched.

[0149] Optionally, the electronic device can select the highest similarity value from the title similarity between each nested content title in a candidate search result and the title of the object to be searched, the text similarity between each nested content text in a candidate search result and the text of the object to be searched, and the introduction similarity between each nested content introduction in a candidate search result and the introduction of the object to be searched, as the nested content similarity.

[0150] Optionally, the electronic device can determine the average similarity based on the title similarity between each nested content title in a candidate search result and the title of the object to be searched, the text similarity between each nested content text in a candidate search result and the text of the object to be searched, and the introduction similarity between each nested content introduction in a candidate search result and the introduction of the object to be searched, as the nested content similarity.

[0151] Step 503: determining the matching value of a candidate search result and the object to be searched based on the content group similarity and the nested content similarity.

[0152] In a possible implementation, the matching value of a candidate search result and the object to be searched in the second candidate search result data set can be determined by using, but not limited to, the following formula:

[0153] Score(content_group)=max(Score content_group_self ,Score content_nested );

[0154] Score content_group_self =W query max(Score query1 ,Score query2 ,Score query3 …)+W decay MultiNorm(Decay1,Decay2,…);

[0155]

[0156]

[0157] Here, Score(content_group) represents the matching value between a candidate search result (content group) and the object to be searched. content_group_self Score is used to characterize content group similarity. content_nested W is used to characterize the similarity of nested content. query The weights used to characterize the initial similarity of content groups, Score queryi Used to characterize each sub-similarity, such as content group title similarity. W decay The weights used to characterize the timeliness rating values ​​are MultiNorm used to characterize the multivariate normal distribution, which is a multivariate normal distribution composed of all the rating values. Decay1 is used to characterize the sub-rating values, such as the second created rating value or the second updated rating value. Score is used to characterize the similarity of the i-th nested content. nested_queryi Used to characterize the sub-similarity of the i-th pair of nested content, such as content title similarity.

[0158] In embodiments of the present invention, when the electronic device is based on the foregoing... Figures 5-6 As shown, after determining the matching value between each candidate search result (i.e., content group) and the object to be searched in the second candidate search result dataset, the electronic device can filter the candidate search results that meet the second filtering conditions based on the determined matching value, and use them as the target search results.

[0159] Optionally, the second filtering condition can be: filtering content with a matching value not less than a second preset value as the target search result, or filtering the top M content with matching values ​​sorted from largest to smallest as the target search result. Here, M is a positive integer, such as 3 or 7; the second preset value can be updated and determined based on actual implementation, and this is not limited in this embodiment of the invention. It should be noted that the second preset value can be different from or the same as the first preset value, and this is not limited in this embodiment of the invention.

[0160] Method 3.

[0161] In the implementation of the present application, considering that the user can retrieve the content and the content group simultaneously according to the user's own needs, the target search result can be determined as the multiple unstructured data containing the content and the content group, for example, the user A can search for "happy", and after the user A inputs "happy" in the input box of the terminal device, the target search result includes the relevant single video, information and picture-text, the relevant video series or picture-text sequence, etc. Alternatively, the electronic device can query the two indexes respectively and individually, and finally the returned results are summarized and then displayed to the user through the terminal device; the electronic device can retrieve the two indexes simultaneously, without the need of summarizing the results, and directly feeds back the query results to the user through the terminal device.

[0162] In the embodiment of the present application, the user can send a search request to the electronic device through the terminal device, and then the electronic device can serve as a coordination node and simultaneously send a search request to the first server and the second server corresponding to the content index and the content group index respectively. The first server and the second server belong to the server cluster corresponding to the electronic device, and after processing the search request, the first server and the second server send the first search result and the second search result determined by themselves to the electronic device, and the electronic device determines the target search result based on the first search result and the second search result and then feeds back the target search result to the user through the terminal device.

[0163] In the embodiment of the present application, if the search indication information is the content and content group search information, please refer to Figure 7 , the electronic device determines the target search result based on the target search rule and the association information of the object to be searched.

[0164] Step 701: determining the first candidate search result data set and the second candidate search result data set from the preset database according to the identification information and the content and content group search information.

[0165] In the embodiment of the present application, the electronic device can determine the first candidate search result data set from the preset database according to the identification information and the content search information, and determine the second candidate search result data set from the preset database according to the identification information and the content group search information.

[0166] Step 702: determining the matching value of each candidate search result in the first candidate search result data set and the object to be searched respectively, and screening the candidate search result meeting the first screening condition as the first search result based on the determined matching value; the matching value is used to indicate the degree of effective correlation between the candidate search result and the object to be searched.

[0167] In the embodiment of the present application, the process of determining the first search result can refer to the aforementioned mode one and Figure 4 the corresponding embodiments, which will not be described here.

[0168] Step 703: respectively determining a matching value of each candidate search result in the second candidate search result dataset and the object to be searched, and screening the candidate search result meeting the second screening condition as the second search result based on the determined matching value.

[0169] In the embodiment of the application, the process of determining the second search result can refer to the aforementioned mode two and Figures 5-6 Corresponding embodiments will not be described here.

[0170] Step 704: determining the target search result according to the first search result and the second search result.

[0171] In the embodiment of the application, the electronic device can set the feedback weight of the first search result and the second search result, for example, can feedback more of the first search result, or feedback more of the second search result, and the feedback weight can be adjusted based on actual implementation.

[0172] In a possible implementation, the following formula can be used, but is not limited to, to determine the matching value of a candidate search result and the object to be searched:

[0173] Score (total) = max (W content Score (content), W content_group Score (content_group) ;

[0174] Wherein, Score (total) is used to represent the matching value of a candidate search result in the first candidate result dataset and the object to be searched; W content is used to represent the feedback weight of the first search result, Score (content) is used to represent the matching value of the content, W content_group is used to represent the feedback weight of the second search result, and Score (content_group) is used to represent the matching value of a candidate search result in the second candidate result dataset and the object to be searched.

[0175] Based on the same inventive concept, the embodiment of the application also provides a device for searching an object. As Figure 8 shown, it is a structural schematic diagram of the device 800 for searching an object, which can include:

[0176] The receiving unit 801 is configured to receive a search request for an object to be searched, wherein the search request carries search indication information, identification information of the object to be searched, and a request triggering moment; the search indication information is any one of content search information, content group search information, and content and content group search information; and the search indication information is used to indicate single search and / or combined search of multiple unstructured data.

[0177] determine a target search result based on a target search rule corresponding to the search instruction information and the association information of the object to be searched; the target search result comprises at least two kinds of unstructured data associated with the object to be searched and determined from a preset database.

[0178] In a possible implementation, the search instruction information is content search information, and the processing unit 802 is specifically configured to:

[0179] determine a first candidate search result data set from the preset database according to the identification information and the content search information; each candidate search result in the first candidate search result data set comprises at least a content title, a content body, a content abstract, a publishing time, a content type, and a creation time;

[0180] determine a matching value of each candidate search result with the object to be searched respectively, and filter a candidate search result meeting a first filtering condition as the target search result based on the determined matching value; the matching value is used to indicate a degree of effective correlation between the candidate search result and the object to be searched.

[0181] In a possible implementation, the processing unit 802 is specifically configured to:

[0182] For each candidate search result, the following operations are performed respectively:

[0183] determine a content initial similarity of one candidate search result based on a similarity of a content title in the one candidate search result with a title of the object to be searched, a similarity of a content body in the one candidate search result with a body of the object to be searched, and a similarity of a content abstract in the one candidate search result with an abstract of the object to be searched;

[0184] determine a first timeliness score value based on a first creation score value and a first update score value; the first creation score value is determined based on a content creation time in the one candidate search result, a request triggering time, and a score rule; the first update score value is determined based on a content update time in the one candidate search result, the request triggering time, and the score rule;

[0185] determine a matching value of the one candidate search result with the object to be searched based on the content initial similarity and the first timeliness score value.

[0186] In a possible implementation, the search instruction information is content group search information, and the processing unit 802 is specifically configured to:

[0187] determine, from the preset database according to the identification information and the content group search information, a second candidate search result data set; each candidate search result in the second candidate search result data set at least includes a content group title, a content group body, a content group abstract, a content group publishing time, a content group type, a content group creation time, and content titles, content bodies and content abstracts corresponding to respective nested contents included in the content group;

[0188] determine a matching value of each candidate search result with the object to be searched respectively, and filter, based on the determined matching value, a candidate search result meeting a second filtering condition as a target search result; the matching value is used to indicate a degree of effective correlation between the candidate search result and the object to be searched.

[0189] In a possible implementation, the processing unit 802 is specifically configured to:

[0190] For each candidate search result, the following operations are respectively performed:

[0191] determine a content group similarity according to a content group initial similarity and a content group timeliness score value of one candidate search result;

[0192] determine a nested content similarity according to a title similarity between each nested content title in the one candidate search result and the object to be searched, a body similarity between each nested content body in the one candidate search result and the object to be searched, and an abstract similarity between each nested content abstract in the one candidate search result and the object to be searched;

[0193] determine a matching value of the one candidate search result with the object to be searched based on the content group similarity and the nested content similarity.

[0194] In a possible implementation, the processing unit 802 is specifically configured to:

[0195] determine a content group initial similarity according to a title similarity between a content group title in the one candidate search result and the object to be searched, and an abstract similarity between a content group abstract in the one candidate search result and the object to be searched;

[0196] determine a second timeliness score value according to a second creation score value and a second update score value; the second creation score value is determined based on a content group creation time in the one candidate search result, a request triggering time and a score rule; the second update score value is determined based on a content group update time in the one candidate search result, the request triggering time and the score rule;

[0197] According to the product of the content group initial similarity and the corresponding weight value, and the product of the content group time effectiveness score value and the corresponding weight value, a content group similarity is determined.

[0198] In a possible implementation, the search indication information is content and content group search information, and the processing unit 802 is configured to:

[0199] According to the identification information and the content and content group search information, a first candidate search result data set and a second candidate search result data set are determined from the preset database.

[0200] A matching value of each candidate search result in the first candidate search result data set with the object to be searched is determined respectively, and based on the determined matching value, a candidate search result meeting a first screening condition is screened as a first search result; the matching value is used to indicate a correlation degree of the candidate search result with the object to be searched; and

[0201] A matching value of each candidate search result in the second candidate search result data set with the object to be searched is determined respectively, and based on the determined matching value, a candidate search result meeting a second screening condition is screened as a second search result.

[0202] According to the first search result and the second search result, a target search result is determined.

[0203] For the convenience of description, each part is described as a module (or unit) according to the function. Of course, the functions of the modules (or units) can be implemented in the same or multiple software or hardware in the implementation of the present application.

[0204] After introducing the method and device for searching object of the exemplary embodiment of the present application, next, an electronic device according to another exemplary embodiment of the present application is introduced.

[0205] Those skilled in the art can understand that each aspect of the present application can be implemented as a system, a method or a program product. Therefore, each aspect of the present application can be specifically implemented as follows: a complete hardware embodiment, a complete software embodiment (including firmware, microcode, etc.), or an embodiment combining hardware and software, which can be collectively referred to as "circuitry", "module" or "system".

[0206] Based on the same inventive concept as the above method embodiment, an electronic device is also provided in the embodiment of the present application. In this embodiment, the structure of the electronic device can be as shown in Figure 9 The embodiment of the present application also provides an electronic device, as shown in Figure 9As shown, the electronic device in the embodiment of the present application includes at least one processor 901, and a memory 902 and a communication interface 903 connected with the at least one processor 901, and the embodiment of the present application does not limit the specific connection medium between the processor 901 and the memory 902, Figure 9 In the embodiment, the connection between the processor 901 and the memory 902 is taken as an example of being connected through a bus 900, and the bus 900 is connected between the processor 901 and the memory 902, Figure 9 In the embodiment, the connection between the processor 901 and the memory 902 is taken as an example of being connected through a bus 900, and the bus 900 is connected between the processor 901 and the memory 902, Figure 9 In the embodiment, the connection between the processor 901 and the memory 902 is taken as an example of being connected through a bus 900, and the bus 900 is connected between the processor 901 and the memory 902,

[0207] In the embodiment of the present application, the memory 902 stores instructions executable by the at least one processor 901, and the at least one processor 901 can execute the steps included in the foregoing method for searching the object by executing the instructions stored in the memory 902.

[0208] The processor 901 is the control center of the electronic device, and can connect various parts of the entire fault detection device through various interfaces and lines, and can realize various functions of the electronic device by running or executing instructions stored in the memory 902 and calling data stored in the memory 902. Optionally, the processor 901 can include one or more processing units, and the processor 901 can integrate an application processor and a modem processor, wherein the processor 901 mainly processes operating systems, user interfaces and application programs, and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also be not integrated into the processor 901. In some embodiments, the processor 901 and the memory 902 can be realized on the same chip, and in some embodiments, they can also be realized on independent chips respectively.

[0209] The processor 901 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can realize or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as execution completed by a hardware processor, or executed by a combination of hardware and software modules in the processor.

[0210] The memory 902, as a non-volatile computer readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 902 can include at least one type of storage medium, for example, can include flash memory, hard disk, multimedia card, card type memory, random access memory (RAM), static random access memory (SRAM), programmable read only memory (PROM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), magnetic storage, magnetic disk, optical disk, etc. The memory 902 is any other medium capable of carrying or storing desired program codes in the form of instructions or data structures and capable of being accessed by a computer, but is not limited thereto. The memory 902 in the embodiments of the present application can also be a circuit or any other device capable of realizing a storage function, used to store program instructions and / or data.

[0211] The communication interface 903 is a transmission interface capable of communication, and data can be received or transmitted through the communication interface 903.

[0212] In addition, the electronic device also includes a basic input / output system (I / O system) 904 that helps transmit information between various devices in the electronic device, a mass storage device 908 for storing an operating system 905, application programs 906 and other program modules 907.

[0213] The basic input / output system 904 includes a display 909 for displaying information and an input device 910 such as a mouse, keyboard, etc. for user input information. The display 909 and the input device 910 are both connected to the processor 901 through the basic input / output system 904 connected to the system bus 900. The basic input / output system 904 can also include an input / output controller for receiving and processing input from a keyboard, mouse, or electronic stylus, and other devices. Similarly, the input / output controller also provides output to a display screen, printer, or other types of output devices.

[0214] In particular, mass storage devices 908 are connected to processor 901 through a mass storage controller (not shown) connected to system bus 900. Among the mass storage devices 908 and its associated computer-readable media, is provided a non-transitory storage for the server package. That is, mass storage devices 908 can include computer-readable media (not shown) such as a hard disk or a CD-ROM.

[0215] According to various embodiments of the present application, the electronic device can also operate in connection with a remote computer through a network such as the Internet. That is, the electronic device can connect to the network 911 through the communication interface 903 connected to the system bus 900, or can connect to other types of networks or remote computer systems (not shown) using the communication interface 903.

[0216] The embodiment of the present application further provides a computer readable storage medium, which stores computer instructions, and when the computer instructions are executed on a computer, the computer executes the technical solution of the method for searching an object in the above embodiment.

[0217] The embodiment of the present application further provides a computer program product, which includes a computer program stored in a computer readable storage medium, and at least one processor can read the computer program from the computer readable storage medium, and when the at least one processor executes the computer program, the technical solution of the method for searching an object in the above embodiment can be implemented.

[0218] Those skilled in the art can understand that all or part of the steps of the above method embodiments can be completed by program instruction related hardware, and the foregoing program instruction belongs to a computer program, and the computer program can be stored in a computer readable storage medium, and when the computer program is executed, the steps of the above method embodiments are executed; the readable storage medium may, for example, but is not limited to, an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples (non-exhaustive list) of the readable storage medium include an electric connection with one or more conductive wires, a portable disc, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0219] The program product of the embodiments of the present application can take a portable compact disc read only memory (CD-ROM) and include a program code, and can be run on a computing means. However, the program product of the present application is not limited thereto, and in the present document, the readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.

[0220] The program code included on the readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wired, optical fiber cable, RF, and the like, or any suitable combination thereof.

[0221] The program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++, and the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device or entirely on the remote computing device or server. In the latter scenario, the remote computing device can be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computing device, such as through the Internet using an Internet Service Provider.

[0222] While the preferred embodiments of the application have been described, additional variations and modifications can be made to the embodiments without departing from the spirit and scope of the application. Therefore, it is intended that the appended claims cover all such variations and modifications that come within the scope of the application. It is further intended that any and all patents, patent applications, and other publications mentioned herein are incorporated by reference.

[0223] Obviously, numerous modifications and variations of the present application are possible in light of the above teachings. It is therefore to be understood that within the scope of the appended claims and their equivalents, the application can be practiced otherwise than as specifically described.

Claims

1. A method for searching for objects, characterized in that, The method includes: The system receives a search request for a target object, the search request carrying search instruction information, identifier information of the target object, and the request trigger time; the search instruction information is any one of content search information, content group search information, and content and content group search information; the content search information is used to: instruct a single search on the content of multiple unstructured data in a preset database; the content group search information is used to: instruct a single search on the content groups of multiple unstructured data in the preset database; the content and content group search information is used to: instruct a single search on the content of multiple unstructured data in the preset database, and a single search on the content groups of multiple unstructured data in the preset database. Based on the target search rules corresponding to the search indication information and the association information of the object to be searched, the target search results are determined; the target search results include at least two types of unstructured data associated with the object to be searched. The step of determining the target search result based on the target search rule corresponding to the search indication information and the association information of the object to be searched includes: When the search instruction information is content search information, a first candidate search result dataset is determined from the preset database based on the identification information and the content search information. Each candidate search result in the first candidate search result dataset includes at least a content title, content text, content summary, publication time, content type, and creation time. A matching value between each candidate search result and the object to be searched is determined, and based on the determined matching value, candidate search results that meet the first filtering condition are filtered as target search results. The matching value is used to indicate the degree of effective relevance between the candidate search result and the object to be searched. When the search indication information is content group search information, a second candidate search result dataset is determined from the preset database based on the identification information and the content group search information. Each candidate search result in the second candidate search result dataset includes at least the content group title, content group body text, content group summary, content group publication time, content group type, content group creation time, and the content title, content body text, and content description corresponding to each nested content included in the content group. The matching value between each candidate search result and the object to be searched is determined, and based on the determined matching value, candidate search results that meet the second filtering conditions are filtered as target search results. The matching value is used to indicate the degree of effective relevance between the candidate search results and the object to be searched.

2. The method as described in claim 1, characterized in that, When the search indication information includes content search information, the matching value between each candidate search result and the object to be searched is determined, including: For each of the candidate search results, perform the following operations: The initial content similarity of a candidate search result is determined based on the similarity between the title of a content in a candidate search result and the title of the object to be searched, the similarity between the body text of a content in a candidate search result and the body text of the object to be searched, and the similarity between the summary of a content in a candidate search result and the summary of the object to be searched. A first timeliness score is determined based on the first creation score and the first update score; the first creation score is determined based on the content creation time in the candidate search result, the request triggering time, and the scoring rules; the first update score is determined based on the content update time in the candidate search result, the request triggering time, and the scoring rules. Based on the initial content similarity and the first timeliness score, a matching value is determined between the candidate search result and the object to be searched.

3. The method as described in claim 1, characterized in that, When the search indication information includes content group search information, the matching value between each candidate search result and the object to be searched is determined, including: For each of the candidate search results, perform the following operations: Content group similarity is determined based on the initial similarity of a candidate search result and the timeliness score of the content group. The similarity of nested content is determined based on the similarity between the title of each nested content in a candidate search result and the title of the object to be searched, the similarity between the body text of each nested content in a candidate search result and the body text of the object to be searched, and the similarity between the description of each nested content in a candidate search result and the description of the object to be searched. Based on the content group similarity and the nested content similarity, a matching value is determined between the candidate search result and the object to be searched.

4. The method as described in claim 3, characterized in that, The content group similarity is determined based on the initial similarity score and the timeliness score of the content group, including: The initial similarity of the content group is determined based on the similarity between the title of the content group in one of the candidate search results and the title of the object to be searched, and the similarity between the description of the content group in one of the candidate search results and the description of the object to be searched. A second timeliness score is determined based on a second creation score and a second update score; the second creation score is determined based on the creation time of the content group in the candidate search result, the request triggering time, and the scoring rules; the second update score is determined based on the update time of the content group in the candidate search result, the request triggering time, and the scoring rules. The content group similarity is determined by multiplying the initial similarity of the content group by its corresponding weight, and by multiplying the timeliness score of the content group by its corresponding weight.

5. The method as described in claim 1, characterized in that, When the search indication information is content and content group search information, determining the target search result based on the target search rule and the association information of the object to be searched includes: Based on the identification information and the content and content group search information, a first candidate search result dataset and a second candidate search result dataset are determined from the preset database; The matching value between each candidate search result in the first candidate search result dataset and the object to be searched is determined, and based on the determined matching value, candidate search results that meet the first filtering condition are filtered as the first search result; the matching value is used to indicate the relevance between the candidate search result and the object to be searched; and; The matching value between each candidate search result in the second candidate search result dataset and the object to be searched is determined, and based on the determined matching value, the candidate search results that meet the second filtering conditions are filtered as the second search results; The target search result is determined based on the first search result and the second search result.

6. A device for searching for an object, characterized in that, The device includes: A receiving unit is configured to receive a search request for a target object, the search request carrying search instruction information, identification information of the target object, and a request trigger time; the search instruction information is any one of content search information, content group search information, and both content and content group search information; the content search information is used to: instruct a single search of the content of multiple unstructured data in a preset database; the content group search information is used to: instruct a single search of the content groups of multiple unstructured data in the preset database; the content and content group search information is used to: instruct a single search of the content of multiple unstructured data in the preset database, and a single search of the content groups of multiple unstructured data in the preset database. The processing unit is configured to determine the target search result based on the target search rule corresponding to the search indication information and the association information of the object to be searched; the target search result includes at least two types of unstructured data determined from a preset database and associated with the object to be searched; The processing unit is specifically used for: When the search instruction information is content search information, a first candidate search result dataset is determined from the preset database based on the identification information and the content search information. Each candidate search result in the first candidate search result dataset includes at least a content title, content text, content summary, publication time, content type, and creation time. A matching value between each candidate search result and the object to be searched is determined, and based on the determined matching value, candidate search results that meet the first filtering condition are filtered as target search results. The matching value is used to indicate the degree of effective relevance between the candidate search result and the object to be searched. When the search indication information is content group search information, a second candidate search result dataset is determined from the preset database based on the identification information and the content group search information. Each candidate search result in the second candidate search result dataset includes at least the content group title, content group body text, content group summary, content group publication time, content group type, content group creation time, and the content title, content body text, and content description corresponding to each nested content included in the content group. The matching value between each candidate search result and the object to be searched is determined, and based on the determined matching value, candidate search results that meet the second filtering conditions are filtered as target search results. The matching value is used to indicate the degree of effective relevance between the candidate search results and the object to be searched.

7. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-5.

9. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method of any one of claims 1-5.

Citation Information

Patent Citations

  • Search result display method and device, equipment and medium

    CN114741626A

  • Custom search

    US8082242B1