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

By determining the priority and relevance of the information field display of the target object and annotating keywords, the problem of inaccurate marking results in the existing technology is solved, efficient information display is achieved, and user experience is improved.

CN119917657BActive Publication Date: 2025-08-15SUZHOU LANGDONG NET TEC CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the prior art, the method of highlighting keywords through a character string matching algorithm has poor accuracy and poor display effect.

Method used

According to the information field of the target object, display priority and relevance to the search terms, determine the label field, and mark it, display the information field with high priority and the marked fields.

Benefits of technology

It improves the accuracy and 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 CN119917657B_ABST
    Figure CN119917657B_ABST
Patent Text Reader

Abstract

The present application relates to an information display method, apparatus, computer device, computer-readable storage medium, and computer program product. The method comprises: in response to receiving a search term, determining a target object that matches the search term, wherein the 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 greater than that of the second field; determining a target field that matches the search term from the information field; determining a marked field based on the relevance between the target field and the search term and the display priority of the target field; marking the marked field to obtain the marked field, and displaying the first field and the marked field. The use of this method can improve accuracy and display effect.
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 for queries, highlighting keywords on the search results page can help users quickly locate keywords and improve retrieval efficiency.

[0003] In related technologies, keyword highlighting can be performed using a string matching algorithm. However, this method results in poor accuracy and poor display quality. 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 the 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 that matches the search term, wherein information fields of the target object correspond to display priorities, the information fields include 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, from the target field, a candidate field whose relevance to the search term is greater than or equal to a preset threshold;

[0012] The marked fields are determined according to the display priorities of the candidate fields.

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

[0014] In a 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] In a case where 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, from the target field, a candidate field having a relevance with the search term greater than or equal to a preset threshold, includes:

[0019] A candidate field containing 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 fields are 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 further provides an information display device, comprising:

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

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

[0027] A second determining module is configured to determine a marked field based on 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, from the target field, a candidate field whose relevance to the search term is greater than or equal to a preset threshold;

[0031] The marked fields are determined according to the display priorities of the candidate fields.

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

[0033] In a 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 configured to:

[0036] In a case where 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 multiple initial terms, and the second determination module is further configured to:

[0038] A candidate field containing 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 fields are 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, embodiments of the present disclosure further provide a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the methods described in the embodiments of the present disclosure when executing the computer program.

[0044] In a fourth aspect, embodiments of the present disclosure further provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any one of the methods of the embodiments of the present disclosure.

[0045] In a fifth aspect, embodiments of the present disclosure further provide a computer program product, comprising a computer program that, when executed by a processor, implements the steps of any one of the methods of the embodiments of the present disclosure.

[0046] The above-mentioned information display method, apparatus, computer equipment, computer-readable storage medium and computer program product, upon receiving a search term, determine a target object that matches the search term, the target object corresponds to an information field, and has a different display priority, determine the matching target field from the information field, determine the annotated field that needs to be annotated based on 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 achieving 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 display priority of the search term and 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 and 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 following briefly introduces the drawings required for use in the embodiments of the present application or related technical descriptions. 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 any creative work.

[0048] Figure 11 is a flow chart of an information display method according to an embodiment;

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

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

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

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

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

[0054] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0055] In one embodiment, Figure 1 As shown, a method for displaying information is provided. This embodiment uses the method applied to a terminal as an example for illustration. It is understandable that the method can also be applied to a server, or to a system including a terminal and a server, and implemented through 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 that matches the search term, wherein information fields of the target object correspond to display priorities, the information fields including 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 an enterprise query, the target object is the enterprise.

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

[0059] Optionally, information fields of the target object may have corresponding display priorities. The information fields may include a first field and a second field, with the first field having a higher display priority than the second field. In one example, the first field is the field that is displayed first on the next page after a user enters a search term. The first field typically contains information that the user is most concerned about. For example, a more important information field of the target object may be set as the first field. The first field may be different for different terminals and different entities.

[0060] For example, the second field is an information field with a lower display priority and is less important, 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 based on the actual application scenario, display terminal, and display subject.

[0061] For example, in a business query scenario, the query target is a business. For domestic businesses on the web, the corresponding first field may include, but is not limited to, the entity name, legal representative, registered capital, establishment date, unified social credit code, telephone number, email address, official website, and address. For apps, the corresponding first field may include, but is not limited to, the entity name, legal representative, registered capital, and establishment date. The first field is always displayed and is generally the information that users are most concerned about. The second field may include, but is not limited to, shareholders, brand product names, etc., and has a lower display priority than the first field.

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

[0063] Exemplarily, target fields that match the search term are selected from the information fields corresponding to the target object. In some examples, the selection can be based on whether the information field matches the search term, or based on the relevance between the information field and the search term. For example, information fields whose relevance to the search term is greater than a preset relevance can be selected as target fields. The preset relevance can be determined based on actual application scenarios.

[0064] Step S130, determining a marked field based on 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 based on the calculated relevance and the display priority of the target field, the annotated field is determined from the target field. In one example, the display priority of a 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 marked 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 marked field.

[0067] Step S140: mark the marked field, obtain the marked field, and display the first field and the marked 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 one possible implementation, the first field is the priority display field, that is, in the absence of an annotation, the field is directly displayed on the display page after the user enters the search term and matches the target object, while the second field is the field that is not directly displayed on the display page.

[0070] In the embodiment of the present disclosure, upon receiving a search term, a target object that matches the search term is determined. The target object corresponds to an information field with a different display priority. The matching target field is determined from the information field. 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 achieving 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 display priority of the search term and 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 and effectively improving the retrieval efficiency, making it suitable for more application scenarios.

[0071] In one embodiment, Figure 2 As shown, the process of determining the marked field based on 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, from the target field, a candidate field whose relevance to the search term is greater than or equal to a preset threshold;

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

[0074] For example, if the target field includes a first field and a second field, it means that there are fields matching the search term in both the first field and the second field, and the marked fields are further filtered.

[0075] Optionally, candidate fields are obtained based on relevance screening, and fields whose relevance to the search term is greater than or equal to a preset threshold are screened from the target field as candidate fields. In one example, the preset threshold can be determined based on an actual application scenario. For example, a target field that accurately matches the search term can be determined as a candidate field, where an accurate match to 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 based on 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 based on the display priority to obtain the labeled fields.

[0077] In an embodiment of the present disclosure, when the target field includes a first field and a 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 quickly and accurately determined based on the candidate field with a higher relevance in combination with the display priority, thereby improving the accuracy of the marking.

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

[0079] In a 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] For example, when the candidate fields include the first field, that is, there is a field in the first field that is highly relevant 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] For example, 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 in the fields that are preferentially displayed in the next display page that is highly relevant to the search term. 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, candidate fields can be screened and judged based on their business priorities. The business priorities of candidate fields can be determined based on the information categories corresponding to the candidate fields, and can be specifically set based on the actual application scenario. In one example, the candidate fields with the highest business priority can be selected as the annotation fields to ensure high-priority display in high-priority business scenarios.

[0084] In the embodiment of the present disclosure, processing is performed separately according to whether the candidate fields include the first field. If the candidate fields include the first field, that is, if there is a first field that accurately hits the search term, the first field is directly determined to be 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 information on the display page and ensuring the display effect.

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

[0086] In a case where 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] For example, 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 is a field with 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 to be the 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 is no field that accurately hits the search term, the first field that hits the search term is directly marked, so that the user can quickly and accurately locate the field with a high degree of correlation 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 having a relevance with the search term greater than or equal to a preset threshold, includes:

[0091] A candidate field containing 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, a search term may include multiple initial words, meaning a user can perform a multi-word search. In one example, if a search term includes multiple initial words, the word order of the multiple initial words needs to be considered when determining a candidate field. Optionally, a field containing multiple initial words and having the same word order as in the search term is determined from the initial fields as a candidate field, meaning that the word order of the multiple initial words in the candidate field remains unchanged, and the search term is a proper subset of the field.

[0093] In the embodiment of the present disclosure, 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 accurately hit the search term in a multi-word search scenario, ensuring the accuracy and reliability of subsequent annotations.

[0094] In one embodiment, Figure 3 As shown, the process of determining the marked field based on 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] For example, when determining the marked field, if the target field is the first field, 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 with a correlation greater than a preset value can be directly determined as the annotation field. The preset value can be a correlation set according to the actual application scenario, which is used to filter fields with higher correlation for annotation.

[0098] In the embodiment of the present disclosure, 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 applicable to 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 fields are determined according to the relevance between the target field and the search term and the business priority of the target field.

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

[0102] Optionally, the annotation field is determined based on 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 their relevance, and the target field with the highest relevance can be selected as the annotation 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 annotation field based on the business priority of the target field. In one possible implementation, if the business priorities are also the same, one or more fields with the highest relevance and the highest business priority can be directly determined as the annotation field.

[0103] In the embodiment of the present disclosure, if no first field hits the search term, the marked field is screened out based on the relevance between the target field and 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 A flowchart of an information display method according to an exemplary embodiment is shown. Figure 4 As shown, the user inputs a search term, the search engine performs word segmentation processing based on the user's search term, 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 (i.e., 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 to be 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 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 can be highlighted. If there is no candidate field, determine the target field as the marked field.

[0107] Optionally, if the search term is multi-word, that is, the search term includes multiple initial words, the annotated fields can be determined and displayed in the same manner 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 different word hit fields are displayed. When the same word hits multiple fields, one hit reason can be displayed based on the business priority. In one example, if there is no candidate field for precise hit in the first field, and there is a candidate field for precise hit in the second field, the field with higher business priority is filtered out 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 the display page, 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 various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed 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 portion of steps or stages in other steps.

[0110] Based on the same inventive concept, the present application also provides an information display device for implementing the aforementioned information display method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more information display device embodiments provided below can be found in the above-mentioned limitations of the information display method 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 configured to, in response to receiving a search term, determine a target object matching the search term, wherein information fields of the target object correspond to display priorities, the information fields including a first field and a second field, the display priority of the first field being greater than the display priority of the second field;

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

[0114] A second determining module 530 is configured to determine a marked field based on 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, from the target field, a candidate field whose relevance to the search term is greater than or equal to a preset threshold;

[0118] The marked fields are determined according to the display priorities of the candidate fields.

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

[0120] In a 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 configured to:

[0123] In a case where 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 multiple initial terms, and the second determination module is further configured to:

[0125] A candidate field containing 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 fields are 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-mentioned information display device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of 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, abbreviated as I / O) and a communication interface. The processor, memory and 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 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 shown in the figure, or combine certain components, or have a different component arrangement.

[0133] In one embodiment, a computer device is further provided, including a memory and a processor. The memory stores a computer program, 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] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. 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. In particular, any reference to memory, database, or other media used in the embodiments provided in this 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. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), quantum computing-based data processing logic devices, artificial intelligence (AI) processors, and the like.

[0138] The technical features of the above embodiments can be combined arbitrarily. In order 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 merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. An information display method, characterized in that: The method comprises: In response to receiving a search term, determining a target object that matches the search term, wherein information fields of the target object correspond to display priorities, the information fields including a first field and a second field, the display priority of the first field being greater than the display priority of the second field; wherein the display priority is determined based on the importance of the information fields; 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 step of determining the marked field based on the relevance between the target field and the search term and the display priority of the target field includes: 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; and determining the marked field based on the display priority of the candidate field; Determining the marked field according to the display priority of the candidate fields includes: if the candidate fields include the first field, determining the first field in the candidate fields as the marked field; and / or if the candidate fields do not include the first field, determining the marked field from the candidate fields according to the business priority corresponding to the candidate fields; 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 method further comprises: In a case where 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.

3. The method according to claim 1, characterized in that The search term includes a plurality of initial terms, and determining, from the target field, a candidate field having a relevance with the search term greater than or equal to a preset threshold, includes: A candidate field containing 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.

4. The method according to claim 1, wherein 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.

5. 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 fields are determined according to the relevance between the target field and the search term and the business priority of the target field.

6. An information display device, characterized in that: The device comprises: a receiving module configured to, in response to receiving a search term, determine a target object matching the search term, wherein an information field of the target object corresponds to a display priority, the information field including a first field and a second field, the display priority of the first field being greater than that of the second field; A first determining module is configured to determine a target field matching the search term from the information field; a second determination module, configured to determine a marked field based on a relevance between the target field and the search term and a display priority of the target field; the second determination module further configured to: when the target field includes the first field and the second field, determine, from the target field, a candidate field whose relevance to the search term is greater than or equal to a preset threshold; and determine the marked field based on the display priority of the candidate field; The second determining module is further configured to: determine, when the candidate fields include the first field, the first field in the candidate fields as a marked field; and / or, when the candidate fields do not include the first field, determine, from the candidate fields, a marked field according to the service priority corresponding to the candidate fields; The marking module is used to mark the marked field, obtain the marked field, and display the first field and the marked field.

7. The device according to claim 6, characterized in that The device is also used for: In a case where 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.

8. The device according to claim 6, characterized in that The search words include a plurality of initial words, and the second determining module is further configured to: A candidate field containing 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.

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 5 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 5 are implemented.

Citation Information

Patent Citations

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

    CN113190649A

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

    CN115730158A

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

    CN116561454A