Information display method and device, computer equipment, readable storage medium and program product

By determining the labeling field based on the correlation and display priority of the information fields of the target object and the search terms, the problem of poor keyword highlighting accuracy in the prior art is solved, and more efficient information display and retrieval efficiency is achieved.

CN119917657AActive Publication Date: 2025-05-02SUZHOU LANGDONG NET TEC CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510400853.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-01
Publication Date
2025-05-02
Estimated Expiration
2045-04-01

AI Technical Summary

Technical Problem

In the prior art, when keyword highlighting is performed through a string matching algorithm, the labeling results are poorly accurate and the display effect is poor.

Method used

By determining the target object and its information fields that match the search terms, the label field is determined based on the correlation between the target field and the search terms and display priority, and the label display is performed.

Benefits of technology

It improves the accuracy and display effect of information display, ensures that the display page is concise and clear, and users can quickly locate keywords, improving retrieval efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119917657A_ABST
    Figure CN119917657A_ABST
Patent Text Reader

Abstract

The invention relates to an information display method and device, computer equipment, a computer readable storage medium and a computer program product. The method comprises the steps that a received search term is responded, a target object matched with the search term is determined, an information field of the target object corresponds to a display priority, the information field comprises a first field and a second field, and the display priority of the first field is larger than that of the second field; determining a target field matched with the search term from the information field; determining an annotation field according to the relevancy between the target field and the search word and the display priority of the target field; and labeling the labeling field to obtain a labeled field, and displaying the first field and the labeled field. By adopting the method, the accuracy and the display effect can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to an information display method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art

[0002] With the continuous development of information retrieval technology, search engines and other information retrieval systems have become important tools for obtaining information. When users search, highlighting keywords on the search results page can help users quickly locate keywords and improve retrieval efficiency.

[0003] In the related art, keyword highlighting can be performed through a string matching algorithm. However, the highlighting result of this method is poor in accuracy and display effect. Summary of the invention

[0004] Based on this, it is necessary to provide an information display method, device, computer equipment, computer-readable storage medium and computer program product to improve accuracy and display effect in response to the above technical problems.

[0005] In a first aspect, the present application provides an information display method, comprising:

[0006] In response to receiving a search term, determining a target object matching the search term, wherein an information field of the target object corresponds to a display priority, the information field includes a first field and a second field, and the display priority of the first field is greater than that of the second field;

[0007] Determining a target field matching the search term from the information fields;

[0008] Determining a marked field according to the relevance between the target field and the search term and the display priority of the target field;

[0009] The marked field is marked to obtain the marked field, and the first field and the marked field are displayed.

[0010] In one embodiment, determining the marked field according to the relevance between the target field and the search term and the display priority of the target field includes:

[0011] In a case where the target field includes the first field and the second field, determining a candidate field from the target field whose relevance to the search term is greater than or equal to a preset threshold;

[0012] The marked field is determined according to the display priority of the candidate fields.

[0013] In one embodiment, determining the marked field according to the display priority of the candidate field includes:

[0014] In the case where the candidate fields include a first field, determining the first field in the candidate fields as a marked field; and / or,

[0015] In a case where the first field is not included in the candidate fields, a marked field is determined from the candidate fields according to the service priority corresponding to the candidate fields.

[0016] In one embodiment, the method further comprises:

[0017] When the relevance between the target field and the search term is less than the preset threshold, the first field in the target field is determined to be a marked field.

[0018] In one embodiment, the search term includes a plurality of initial terms, and determining a candidate field from the target field whose relevance to the search term is greater than or equal to a preset threshold comprises:

[0019] A candidate field including the multiple initial words is determined from the target field, wherein the word order of the multiple initial words in the candidate field is the same as the word order in the search word.

[0020] In one embodiment, determining the marked field according to the relevance between the target field and the search term and the display priority of the target field includes:

[0021] In the case that the target fields are all first fields, the target fields are determined to be marked fields.

[0022] In one embodiment, determining the marked field according to the relevance between the target field and the search term and the display priority of the target field includes:

[0023] In the case that the target fields are all second fields, the marked field is determined according to the relevance between the target field and the search term and the business priority of the target field.

[0024] In a second aspect, the present application also provides an information display device, including:

[0025] a receiving module, configured to determine, in response to receiving a search term, a target object matching the search term, wherein an information field of the target object corresponds to a display priority, the information field includes a first field and a second field, and the display priority of the first field is greater than that of the second field;

[0026] A first determination module, configured to determine a target field matching the search term from the information field;

[0027] A second determination module is used to determine the marked field according to the relevance between the target field and the search term and the display priority of the target field;

[0028] The marking module is used to mark the marked field, obtain the marked field, and display the first field and the marked field.

[0029] In one embodiment, the second determining module is further configured to:

[0030] In a case where the target field includes the first field and the second field, determining a candidate field from the target field whose relevance to the search term is greater than or equal to a preset threshold;

[0031] The marked field is determined according to the display priority of the candidate fields.

[0032] In one embodiment, the second determining module is further configured to:

[0033] In the case where the candidate fields include a first field, determining the first field in the candidate fields as a marked field; and / or,

[0034] In a case where the first field is not included in the candidate fields, a marked field is determined from the candidate fields according to the service priority corresponding to the candidate fields.

[0035] In one embodiment, the device is further used for:

[0036] When the relevance between the target field and the search term is less than the preset threshold, the first field in the target field is determined to be a marked field.

[0037] In one embodiment, the search term includes a plurality of initial terms, and the second determination module is further configured to:

[0038] A candidate field including the multiple initial words is determined from the target field, wherein the word order of the multiple initial words in the candidate field is the same as the word order in the search word.

[0039] In one embodiment, the second determining module is further configured to:

[0040] In the case that the target fields are all first fields, the target fields are determined to be marked fields.

[0041] In one embodiment, the second determining module is further configured to:

[0042] In the case that the target fields are all second fields, the marked field is determined according to the relevance between the target field and the search term and the business priority of the target field.

[0043] In a third aspect, an embodiment of the present disclosure further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any one of the methods in the embodiments of the present disclosure are implemented.

[0044] In a fourth aspect, the embodiments of the present disclosure further provide a computer-readable storage medium, wherein a computer program is stored thereon, and when the computer program is executed by a processor, the steps of any one of the methods in the embodiments of the present disclosure are implemented.

[0045] In a fifth aspect, the embodiments of the present disclosure further provide a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by a processor, the steps of any one of the methods in the embodiments of the present disclosure are implemented.

[0046] The above-mentioned information display method, device, computer equipment, computer-readable storage medium and computer program product, when receiving a search term, determine the target object that matches the search term, the target object corresponds to an information field, and the display priority is different, determine the matching target field from the information field, determine the annotated field that needs to be annotated according to the relevance between the target field and the search term and the display priority of the target field, annotate the annotated field, and display the first field and the annotated field, thereby realizing fast and accurate information display. According to the relevance between the target field and the search term and the display priority of the target field, the annotated field can be combined with the search term and the display priority of the field to quickly and accurately determine the annotated field, so that the first field and the annotated field can be displayed on the display page; avoid the problem of confusing annotations and poor display effects caused by directly annotating the target field, ensure that the display page is concise and clear, and enable users to quickly locate keywords according to the annotated field, thereby improving the display effect, effectively improving the retrieval efficiency, and being suitable for more application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0048] Figure 1is a flow chart of an information display method in one embodiment;

[0049] Figure 2 is a flow chart of an information display method in another embodiment;

[0050] Figure 3 is a flow chart of an information display method in another embodiment;

[0051] Figure 4 is a flow chart of an information display method in another embodiment;

[0052] Figure 5 is a structural block diagram of an information display device in an embodiment;

[0053] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0055] In one embodiment, Figure 1 As shown, an information display method is provided. This embodiment uses the method applied to a terminal as an example for illustration. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:

[0056] Step S110, in response to receiving a search term, determining a target object matching the search term, wherein an information field of the target object corresponds to a display priority, the information field includes a first field and a second field, and the display priority of the first field is greater than that of the second field;

[0057] Exemplarily, in response to receiving a search term, a target object matching the search term is determined, wherein the target object may be determined based on a search scenario, for example, if the search scenario is a business query, the target object is a business.

[0058] In one example, the database includes information fields corresponding to multiple objects, and the target object matching the search term can be determined based on the association relationship between the search term and the information field.

[0059] Optionally, the information field of the target object has a display priority, and the information field includes a first field and a second field, wherein the display priority of the first field is greater than that of the second field. In one example, the first field is the field that is displayed first on the next page after the user enters the search term. The first field is usually information that the user is more concerned about. For example, the information field of the target object with a higher degree of importance can be set as the first field. The first fields corresponding to different terminals and different subjects may be different.

[0060] For example, the second field is an information field with a lower display priority and is usually not displayed on the next page after the search term. In one example, for each object's information field, the corresponding first field and second field are defined in advance according to the actual application scenario, display terminal, and display subject.

[0061] For example, taking the enterprise query scenario as an example, the query object is the enterprise. For domestic enterprises on the WEB side, the corresponding first field may include but is not limited to the name of the entity, legal representative, registered capital, establishment date, unified social credit code, telephone, email, official website, address, etc.; for the APP segment, the corresponding first field may include the name of the entity, legal representative, registered capital, establishment date, etc. The first field is always displayed, usually for the information that users are more concerned about. The second field may include but is not limited to shareholders, brand product names, etc., and the display priority is lower than the first field.

[0062] Step S120, determining a target field matching the search term from the information field;

[0063] Exemplarily, target fields matching the search terms are screened from information fields corresponding to the target objects. In some examples, the information fields can be screened based on whether they match the search terms, or based on the relevance between the information fields and the search terms. For example, information fields whose relevance to the search terms is greater than a preset relevance can be screened as target fields, and the preset relevance can be determined based on actual application scenarios.

[0064] Step S130, determining a marked field according to the relevance between the target field and the search term and the display priority of the target field;

[0065] Exemplarily, the relevance between the target field and the search term is determined, and the annotated field is determined from the target field according to the calculated relevance and the display priority of the target field. In one example, the display priority of the field determines whether the field is displayed on the next page. In this embodiment, the relevance between the target field and the search term is combined to screen out the fields that need to be displayed and annotated on the next page, i.e., the annotated fields.

[0066] In one example, the annotated field is a field that has a high relevance to the search term and a high display priority. When the relevance or display priority is the same, factors such as business priority can be introduced for further judgment to determine the annotated field.

[0067] Step S140: annotate the annotated field to obtain the annotated field, and display the first field and the annotated field.

[0068] Exemplarily, after determining the marked field, the marked field is marked to obtain the marked field. In one example, the marking can be performed in a highlighting manner. Optionally, when marking, only the part of the marked field that hits the search term is marked.

[0069] Optionally, the first field and the annotated field are displayed. In one example, if the annotated field is the first field, the unannotated first field and the annotated first field are displayed; if the annotated field is the second field, the first field and the annotated second field are displayed. In a possible implementation, the first field is the priority display field, that is, in the absence of an annotation, after the user enters the search term and matches the target object, the field is directly displayed on the display page, and the second field is a field that is not directly displayed on the display page.

[0070] In the disclosed embodiment, when a search term is received, a target object matching the search term is determined, the target object corresponds to an information field, and the display priority is different, a matching target field is determined from the information field, and based on the relevance between the target field and the search term and the display priority of the target field, the annotated field that needs to be annotated is determined, the annotated field is annotated, and the first field and the annotated field are displayed, thereby realizing fast and accurate information display. Based on the relevance between the target field and the search term and the display priority of the target field, the annotated field can be quickly and accurately determined in combination with the search term and the display priority of the field, so that the first field and the annotated field can be displayed on the display page; the problem of confusing annotations and poor display effects caused by directly annotating the target field is avoided, and while ensuring that the display page is concise and clear, the user can quickly locate keywords based on the annotated field, thereby improving the display effect, effectively improving the retrieval efficiency, and being applicable to more application scenarios.

[0071] In one embodiment, Figure 2 As shown, the step of determining the marked field according to the relevance between the target field and the search term and the display priority of the target field includes:

[0072] Step S131, when the target field includes the first field and the second field, determining a candidate field from the target field whose relevance to the search term is greater than or equal to a preset threshold;

[0073] Step S132: determining the marked field according to the display priority of the candidate fields.

[0074] Exemplarily, if the target field includes a first field and a second field, it means that at this time, both the first field and the second field have fields that match the search term, and at this time, the marked fields are further screened.

[0075] Optionally, candidate fields are obtained by screening according to the relevance, and fields whose relevance to the search term is greater than or equal to a preset threshold are screened out from the target field as candidate fields. In one example, the preset threshold can be determined according to an actual application scenario, for example, a target field that accurately hits the search term can be determined as a candidate field, wherein the accurate hit of the search term means that the field completely includes the search term itself.

[0076] Exemplarily, after the candidate fields are screened out, the labeled fields are determined according to the display priority of the candidate fields. For example, the candidate fields can be sorted according to the display priority, and some or all of the candidate fields with higher display priority can be determined as labeled fields; the candidate fields can also be further screened according to the display priority to obtain the labeled fields.

[0077] In the embodiment of the present disclosure, when the target field includes the first field and the second field, a candidate field with a higher relevance is determined, and a marked field is determined. Therefore, when fields with different display priorities all hit the search term, the marked field can be determined quickly and accurately based on the candidate field with a higher relevance and the display priority, thereby improving the accuracy of marking.

[0078] In one embodiment, determining the marked field according to the display priority of the candidate field includes:

[0079] In the case where the candidate fields include a first field, determining the first field in the candidate fields as a marked field; and / or,

[0080] In a case where the first field is not included in the candidate fields, a marked field is determined from the candidate fields according to the service priority corresponding to the candidate fields.

[0081] Exemplarily, when the candidate fields include the first field, that is, there is a field in the first field that has a high relevance to the search term, since the display priority of the first field is higher, it can be determined that the first field in the candidate fields is the marked field, and the marked field can be directly marked.

[0082] Exemplarily, when the first field is not included in the candidate fields, that is, there is no field in the first field that is highly relevant to the search term, it can be considered that there is no field with a high relevance to the search term among the fields that are preferentially displayed in the next display page. Therefore, the annotated fields can be further screened from the candidate fields for annotation and displayed together with the first field on the display page.

[0083] In some possible implementations, the candidate fields may be screened and judged based on their business priorities. The business priorities of the candidate fields may be determined based on the information categories corresponding to the candidate fields, and may be specifically set based on actual application scenarios. In one example, the candidate fields with the highest business priorities may be screened as annotation fields to ensure high-priority display of high-priority business scenarios.

[0084] In the disclosed embodiment, processing is performed separately according to whether the first field is included in the candidate fields. If the first field is included in the candidate fields, that is, there is a first field that accurately hits the search term, the first field is directly determined as the marked field. If there is no first field that accurately hits the search term, the marked field is further filtered according to the business priority, thereby avoiding the confusion of marking caused by direct marking, and taking into account the relevance of the field to the search term, the display priority of the field, and the business priority of the field, thereby achieving accurate display of the information on the display page and ensuring the display effect.

[0085] In one embodiment, the method further comprises:

[0086] When the relevance between the target field and the search term is less than the preset threshold, the first field in the target field is determined to be a marked field.

[0087] Exemplarily, if the correlation between the target field and the search term is less than a preset threshold, it means that there is no field in the target field that accurately matches the search term. In this case, it is necessary to select a marked field in the target field.

[0088] Optionally, since the first field has a higher display priority, if the target field does not have a field that accurately hits the search term, the first field in the target field is determined as a marked field, and the field with a higher display priority is marked to ensure that users can quickly locate important information.

[0089] In the embodiment of the present disclosure, if there are no fields that accurately match the search term, the first field that matches the search term is directly marked, so that the user can quickly and accurately locate the fields that are highly associated with the search term through marking, thereby improving the display effect and being suitable for more application scenarios.

[0090] In one embodiment, the search term includes a plurality of initial terms, and determining, from the target field, a candidate field whose relevance to the search term is greater than or equal to a preset threshold, comprises:

[0091] A candidate field including the multiple initial words is determined from the target field, wherein the word order of the multiple initial words in the candidate field is the same as the word order in the search word.

[0092] Exemplarily, the search term may include multiple initial words, that is, the user can perform a multi-word search. In one example, if the search term includes multiple initial words, the word order of the multiple initial words needs to be considered when determining the candidate field. Optionally, a field containing multiple initial words and having the same word order as the search term is determined from the initial field as a candidate field, that is, the word order of the multiple initial words in the candidate field remains unchanged, and the search term is a true subset relationship of the field.

[0093] In the disclosed embodiment, a search term may include multiple initial words. When determining candidate fields, fields containing multiple initial words with the same word order are determined as candidate fields, thereby quickly and accurately determining candidate fields that precisely hit the search term in a multi-word search scenario, thereby ensuring the accuracy and reliability of subsequent annotations.

[0094] In one embodiment, Figure 3 As shown, the step of determining the marked field according to the relevance between the target field and the search term and the display priority of the target field includes:

[0095] Step S133: when the target fields are all first fields, determine that the target fields are marked fields.

[0096] Exemplarily, when determining the marked field, if the target fields are all the first fields, it means that only the first field hits the search term. Since the display priority of the first field is higher, at this time, the marked field is determined to be the target field, that is, the target field is marked.

[0097] In one example, based on the correlation between the target field and the search term, the target field whose correlation is greater than a preset value can be directly determined as the marked field. The preset value can be a correlation set according to the actual application scenario, which is used to screen fields with higher correlation for marking.

[0098] In the disclosed embodiment, if only the first field hits the search term, the marked field is determined as the target field, and all first fields that hit the search term are marked, which helps users quickly locate the search term, effectively improves retrieval efficiency, and is suitable for more application scenarios.

[0099] In one embodiment, determining the marked field according to the relevance between the target field and the search term and the display priority of the target field includes:

[0100] In the case that the target fields are all second fields, the marked field is determined according to the relevance between the target field and the search term and the business priority of the target field.

[0101] Exemplarily, when all target fields are second fields, it means that none of the fields with higher display priorities hit the search term at this time, and at this time, some fields with lower display priorities need to be screened out for marking and display.

[0102] Optionally, the marked field is determined according to the relevance between the target field and the search term, combined with the business priority of the target field. In one example, the target field and the search term can be sorted according to the relevance, and the target field with the highest relevance can be selected as the marked field. In one example, if there are multiple target fields with the highest relevance, the fields with higher business priority can be further selected as the marked field according to the business priority of the target field. In a possible implementation, if the business priorities are also the same, one or more fields with the highest relevance and the highest business priority are directly determined as the marked fields.

[0103] In the disclosed embodiment, if no first field hits the search term, the marked field is screened based on the relevance of the target field to the search term and the business priority of the target field, taking into account the user's search term positioning needs and the simplicity of the display page, thereby improving the display effect and enabling the user to quickly obtain the required information.

[0104] Figure 4 is a flowchart of an information display method according to an exemplary embodiment, referring to Figure 4 As shown, the user inputs a search word, the search engine performs word segmentation processing according to the user's search word, and transmits the word segmentation result and the matching result to the interface. In one example, the matching result includes a matched target object and a matched target field.

[0105] The interface determines whether the search term (query) is a single word based on the word segmentation results. If it is a single word, the annotation field is determined based on the relevance of the search term to the target field, the display priority of the target field, and the business priority of the target field.

[0106] Exemplarily, if the target field only includes the first field, the target field is determined to be a marked field and marked. If the first field does not exist in the target field, the field with the highest correlation is determined as the marked field based on the correlation between the target field and the search term. In the case where multiple fields have the highest correlation, the field with a higher business priority can be sorted according to the business priority rule as the marked field to ensure high-priority display in high-priority business scenarios. If the target field includes the first field and the second field, first determine whether there is a candidate field in the first field with a correlation greater than a preset threshold. If so, determine the candidate field as the marked field; if not, determine whether there is a candidate field in the second field with a correlation greater than the preset threshold. If there is a candidate field, determine the marked field based on the correlation size and business priority. In one example, some of the reasons for the search term hit can be highlighted, for example, the reasons for the marked field hit are highlighted. If there is no candidate field, determine the target field as the marked field.

[0107] Optionally, if the search term is multiple words, that is, the search term includes multiple initial words, the determination and display of the annotated fields can also be performed according to the above logic. In some possible implementations, multiple initial words must have corresponding annotated fields in the display page. In one example, if the first field does not exist in the target field, after determining the annotated field, the hit reasons for the fields hit by different words are displayed. When the same word hits multiple fields, one hit reason can be displayed according to the business priority. In one example, if there is no candidate field for precise hits in the first field, and there is a candidate field for precise hits in the second field, the field with a higher business priority is selected from the candidate fields as the annotated field, and the hit reason is displayed.

[0108] The disclosed embodiments effectively improve the accuracy of standards in complex query scenarios, avoid redundant information, reduce the impact of annotation processing on system performance, provide a flexible and scalable annotation configuration mechanism, adapt to more business scenarios, ensure the simplicity of display pages, and enable users to quickly and accurately locate search terms and information related to the search terms, effectively improving the user experience.

[0109] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0110] Based on the same inventive concept, the embodiment of the present application also provides an information display device for implementing the above-mentioned information display method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in one or more information display device embodiments provided below can refer to the limitations on the information display method above, and will not be repeated here.

[0111] In an exemplary embodiment, Figure 5 As shown, an information display device 500 is provided, comprising:

[0112] A receiving module 510 is configured to determine, in response to receiving a search term, a target object matching the search term, wherein an information field of the target object corresponds to a display priority, the information field includes a first field and a second field, and the display priority of the first field is greater than that of the second field;

[0113] A first determination module 520, configured to determine a target field matching the search term from the information field;

[0114] A second determination module 530 is used to determine a marked field according to the relevance between the target field and the search term and the display priority of the target field;

[0115] The marking module 540 is used to mark the marked field, obtain the marked field, and display the first field and the marked field.

[0116] In one embodiment, the second determining module is further configured to:

[0117] In a case where the target field includes the first field and the second field, determining a candidate field from the target field whose relevance to the search term is greater than or equal to a preset threshold;

[0118] The marked field is determined according to the display priority of the candidate fields.

[0119] In one embodiment, the second determining module is further configured to:

[0120] In the case where the candidate fields include a first field, determining the first field in the candidate fields as a marked field; and / or,

[0121] In a case where the first field is not included in the candidate fields, a marked field is determined from the candidate fields according to the service priority corresponding to the candidate fields.

[0122] In one embodiment, the device is further used for:

[0123] When the relevance between the target field and the search term is less than the preset threshold, the first field in the target field is determined to be a marked field.

[0124] In one embodiment, the search term includes a plurality of initial terms, and the second determination module is further configured to:

[0125] A candidate field including the multiple initial words is determined from the target field, wherein the word order of the multiple initial words in the candidate field is the same as the word order in the search word.

[0126] In one embodiment, the second determining module is further configured to:

[0127] In the case that the target fields are all first fields, the target fields are determined to be marked fields.

[0128] In one embodiment, the second determining module is further configured to:

[0129] In the case that the target fields are all second fields, the marked field is determined according to the relevance between the target field and the search term and the business priority of the target field.

[0130] Each module in the above information display device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0131] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 6As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store search terms and other data involved in the embodiments of the present disclosure. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an information display method is implemented.

[0132] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0133] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0134] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0135] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0136] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0137] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0138] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0139] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. An information display method, characterized in that: The method comprises: In response to receiving a search term, determining a target object matching the search term, wherein an information field of the target object corresponds to a display priority, the information field includes a first field and a second field, and the display priority of the first field is greater than that of the second field; Determining a target field matching the search term from the information fields; Determining a marked field according to the relevance between the target field and the search term and the display priority of the target field; The marked field is marked to obtain the marked field, and the first field and the marked field are displayed.

2. The method according to claim 1, characterized in that The step of determining the marked field according to the relevance between the target field and the search term and the display priority of the target field includes: In a case where the target field includes the first field and the second field, determining a candidate field from the target field whose relevance to the search term is greater than or equal to a preset threshold; The marked field is determined according to the display priority of the candidate fields.

3. The method according to claim 2, characterized in that The step of determining the marked field according to the display priority of the candidate field includes: In the case where the candidate fields include a first field, determining the first field in the candidate fields as a marked field; and / or, In a case where the first field is not included in the candidate fields, a marked field is determined from the candidate fields according to the service priority corresponding to the candidate fields.

4. The method according to claim 2, characterized in that: The method further comprises: When the relevance between the target field and the search term is less than the preset threshold, the first field in the target field is determined to be a marked field.

5. The method according to claim 2, characterized in that: The search term includes a plurality of initial terms, and determining, from the target field, a candidate field whose relevance to the search term is greater than or equal to a preset threshold, comprises: A candidate field including the multiple initial words is determined from the target field, wherein the word order of the multiple initial words in the candidate field is the same as the word order in the search word.

6. The method according to claim 1, characterized in that The step of determining the marked field according to the relevance between the target field and the search term and the display priority of the target field includes: In the case that the target fields are all first fields, the target fields are determined to be marked fields.

7. The method according to claim 1, characterized in that The step of determining the marked field according to the relevance between the target field and the search term and the display priority of the target field includes: In the case that the target fields are all second fields, the marked field is determined according to the relevance between the target field and the search term and the business priority of the target field.

8. An information display device, characterized in that: The device comprises: a receiving module, configured to determine, in response to receiving a search term, a target object matching the search term, wherein an information field of the target object corresponds to a display priority, the information field includes a first field and a second field, and the display priority of the first field is greater than that of the second field; A first determination module, configured to determine a target field matching the search term from the information field; A second determination module, configured to determine a marked field according to the relevance between the target field and the search term and the display priority of the target field; The marking module is used to mark the marked field, obtain the marked field, and display the first field and the marked field.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Enterprise name searching and matching method and device based on ElasticSearch

    CN113190649A

  • Document association method and device, electronic equipment and storage medium

    CN113971207A

  • Key field labeling method and device

    CN115391690A

  • Search result display method and device, computer equipment and storage medium

    CN115730158A

  • Search result display method and device, computer equipment and storage medium

    CN116561454A