Data processing method and device, equipment and storage medium

By constructing a demand map and responding to query requests based on the degree of attention of the search intent, the problem of low accuracy of feedback based on keyword matching in the existing technology is solved, and more accurate content feedback is achieved.

CN118779506APending Publication Date: 2024-10-15BEIJING SOGOU TECHNOLOGY DEVELOPMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310376502.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-10
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

When existing search engines match query requests, their keyword-based approach results in low accuracy of feedback content.

Method used

By obtaining the query data associated with the target query category, the search intent tag is determined, and a demand graph is constructed based on the intent tag and its search frequency, which is used to indicate the degree of attention of the search intent, thereby responding to the query request.

Benefits of technology

Improved the accuracy of feedback on query requests and provided content more in line with user needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779506A_ABST
    Figure CN118779506A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing method and device, equipment and a storage medium. The method comprises the following steps: acquiring one or more pieces of query data associated with a target query category, and determining a search intention of each piece of query data under the target query category to obtain an intention label of the corresponding query data; obtaining the search frequency of each intention label, and constructing a demand map of the target query category by adopting each intention label and the corresponding search frequency; the demand map is used for indicating the attention degree of each search intention under the target query category; responding to the query request under the target query category, and obtaining and displaying response contents of different search intentions under the target query category according to the demand map; the accuracy of feeding back the query request 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 computer technology, and in particular to a data processing method, device, equipment and storage medium. Background Art

[0002] In a search scenario, an object can initiate a query request to a search engine (search platform) to request the search engine to return relevant content. In existing methods, after receiving a query request initiated by an object, the search engine usually matches the corresponding feedback content from the database based on the query data (query, i.e., the query term entered by the object) carried in the query request and sends it to the object; when matching the corresponding feedback content from the database, it is usually matched based on the keywords in the query data. However, research has shown that the method of providing content feedback based on keywords in the query data has the problem of low accuracy of the feedback content. Summary of the invention

[0003] The embodiments of the present application provide a data processing method, apparatus, device and storage medium, which can improve the accuracy of feedback on query requests.

[0004] On the one hand, an embodiment of the present application provides a data processing method, including:

[0005] Acquire one or more query data associated with the target query category, and determine the search intent of each query data under the target query category to obtain an intent label of the corresponding query data;

[0006] Obtaining the search frequency of each intent tag, and using each intent tag and the corresponding search frequency to construct a demand graph of the target query category; the demand graph is used to indicate: the degree of attention paid to each search intent under the target query category;

[0007] In response to a query request under the target query category, response content of different search intents under the target query category is acquired and displayed according to the demand graph.

[0008] On the one hand, an embodiment of the present application provides a data processing device, including:

[0009] A processing unit, configured to obtain one or more query data associated with a target query category, and determine the search intent of each query data under the target query category to obtain an intent label of the corresponding query data;

[0010] The processing unit is further used to obtain the search frequency of each intent tag, and use the each intent tag and the corresponding search frequency to construct a demand map of the target query category; the demand map is used to indicate: the degree of attention to each search intent under the target query category;

[0011] A response unit is used to respond to query requests under the target query category, and to obtain and display response content of different search intentions under the target query category according to the demand graph.

[0012] On the one hand, an embodiment of the present application provides a data processing device, characterized in that the data processing device includes an input interface and an output interface, and further includes:

[0013] a processor adapted to implement one or more instructions; and,

[0014] A computer storage medium storing one or more instructions, wherein the one or more instructions are suitable for being loaded by the processor and executing the above-mentioned data processing method.

[0015] On the one hand, an embodiment of the present application provides a computer storage medium, characterized in that computer program instructions are stored in the computer storage medium, and when the computer program instructions are executed by a processor, they are used to execute the above-mentioned data processing method.

[0016] On the one hand, an embodiment of the present application provides a computer program product, which includes a computer program stored in a computer storage medium; a processor of a data processing device reads the computer program from the computer storage medium, and the processor executes the computer program, so that the data processing device executes the above-mentioned data processing method.

[0017] In an embodiment of the present application, one or more query data associated with a target query category can be obtained, and the search intent of each query data under the target query category can be determined to obtain the intent label of the corresponding query data; then the search frequency of each intent label can be obtained, and each intent label and the corresponding search frequency can be used to construct a demand graph of the target query category; wherein the constructed demand graph can be used to indicate the demand for query requests under the target query category, that is, the query requests under the target query category have feedback requirements for the content corresponding to the search intent of each intent label in the demand graph. Based on this, after receiving the query request under the target query category, the corresponding query request can be responded to, and the response content of different search intents under the target query category can be obtained and displayed according to the demand graph. In summary, the construction of a demand graph for query requests under the target query category can be realized. By constructing a demand graph and responding based on the demand graph, the accuracy of feedback on query requests can be improved, that is, content that better meets the needs of the object can be fed back. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art 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 drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 is a structural diagram of a content search system provided in an embodiment of the present application;

[0020] Figure 2 It is a flowchart of a data processing method provided in an embodiment of the present application;

[0021] Figure 3 It is a flowchart of another data processing method provided in an embodiment of the present application;

[0022] Figure 4 This is a schematic diagram of a response content provided by an embodiment of the present application when it is fully displayed;

[0023] Figure 5 This is a schematic diagram of another embodiment of the present application when the response content is fully displayed;

[0024] Figure 6a This is a schematic diagram of another embodiment of the present application when the response content is fully displayed;

[0025] Figure 6b This is a schematic diagram of another embodiment of the present application when the response content is fully displayed;

[0026] Figure 6c This is a schematic diagram of another embodiment of the present application when the response content is fully displayed;

[0027] Figure 6d This is a schematic diagram of another embodiment of the present application when the response content is fully displayed;

[0028] Figure 7 This is a schematic diagram of another embodiment of the present application when the response content is fully displayed;

[0029] Figure 8a This is a schematic diagram of another embodiment of the present application when the response content is fully displayed;

[0030] Figure 8b This is a schematic diagram of another embodiment of the present application when the response content is fully displayed;

[0031] Fig. 9 is a schematic diagram of a training intent classification model provided in an embodiment of the present application;

[0032] Fig.10 is a structural schematic diagram of a data processing device provided in an embodiment of the present application;

[0033] Fig.11 It is a structural diagram of a data processing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0034] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0035] An embodiment of the present application provides a data processing solution, which can determine the search intent of each query data under the target query category after obtaining one or more query data associated with the target query category, and obtain the intent label of the corresponding query data; then, the search frequency of each intent label can be obtained, and each intent label and the corresponding search frequency can be used to construct a demand map for the target query category, wherein the demand map is used to indicate: the degree of attention paid to each search intent under the target query category; after receiving a query request under the target query category, the corresponding query request can be responded to, and the response content of different search intents under the target query category can be obtained and displayed according to the demand map.

[0036] In one embodiment, the above data processing scheme can be applied to a variety of search scenarios, for example, it can be applied to search scenarios related to medical content, search scenarios related to literary content, search scenarios related to film and television content, and so on. When the above data processing scheme is applied to different search scenarios, the target query category is adapted to the corresponding search scenario; further, the target query category can be used to indicate the target entity word in the corresponding search scenario. For example, in a search scenario related to medical content, the entity word can be a type of key noun that describes medical needs, for example, the disease entity word refers to a specific disease name, such as diabetes, myocarditis, etc., and the drug entity word refers to a specific drug name, such as amoxicillin, ibuprofen, etc.; the query category in this search scenario is maintained by entity words, that is, one entity word corresponds to one query category, and the target entity word can be any one of the entity words in the search scenario, for example, it can be diabetes, and the corresponding target query category can be a query category corresponding to the target entity word in the query categories of the search scenario, that is, a query category corresponding to diabetes. For example, in a search scenario related to literary content, an entity word may be a type of key noun that describes literary needs, such as the name of a literary work, such as a novel name, an essay name, etc.; the query category in this search scenario is maintained with entity words, that is, one entity word corresponds to one query category, and the target entity word may be any one of the entity words in the search scenario, such as novel 1, and the corresponding target query category may be a query category corresponding to the target entity word among the query categories of the search scenario, that is, a query category corresponding to novel 1.

[0037] In one embodiment, query data may refer to query words (i.e., query) input by an object in a search engine (i.e., a search platform), query data associated with a target query category, i.e., query words associated with a target entity word; for example, in a search scenario related to medical content, if the target entity word is diabetes, query words associated with the target entity word (i.e., query data associated with the target query category) may be how to determine whether you have diabetes, what are the symptoms of diabetes, what should be paid attention to by diabetes, what fruits can diabetes eat, etc.; in a search scenario related to literary content, if the target entity word is novel 1, query words associated with the target entity word (i.e., query data associated with the target query category) may be what novel 1 talks about, what ideas novel 1 expresses, what is the creative background of novel 1, etc. Further, one or more query data associated with a target query category obtained in the above data processing scheme may be query data (query) received by the search platform in a historical time period, i.e., query data (query) input by an object in the search platform in a historical time period, and the historical time period may be set according to specific needs, and the embodiment of the present application does not limit it.

[0038] In one embodiment, the search intent of the query data is determined under the target query category, and the obtained intent label is determined from multiple preset intent labels, and the preset intent label can be used to indicate the search intent; when the above-mentioned data processing scheme is applied to different search scenarios, the preset intent label is adapted to the corresponding search scenarios; further, the preset intent label can be set according to the specific business needs under different search scenarios, and the embodiments of the present application are not limited. For example, in search scenarios related to medical content, 60 preset intent tags can be set according to specific business needs, namely: no intent, definition, distinction, type, infectiousness, symptoms, complications, curability, self-healing, patient population, heredity, prevalence, prognosis, disease development, evolution of disease nature, disease worsening, survival time, prevention, cause, causal relationship of symptoms, population impact, daily impact, dietary impact, drug impact, surgical impact, duration, diagnosis, conditional diagnosis, hazards, treatment, serious treatment methods, non-serious treatment methods, drug treatment, surgical treatment, practical guide, Chinese medicine treatment, diet therapy, folk remedies, treatment duration, treatment judgment, dietary guidance, food guidance, suitable food, taboo food, recipes, hospital, which department to go to, nursing, precautions, examination items, normal values, usage and dosage, compatibility and incompatibility, suitable population, instructions, cost, efficacy and effect, side effects, treatment effect, and others. For example, in a search scenario related to literary content, 12 preset intent tags can be set according to specific business needs, namely: no intent, content introduction, creative background, character introduction, theme, artistic characteristics, honors, derivative works, domestic evaluation, foreign evaluation, no intent, and other. For the sake of ease of explanation, the following embodiments of this application are described using a search scenario related to medical content as an example.

[0039] The above data processing scheme can be executed by a data processing device, in which a search engine (i.e., a search platform) runs. The data processing device can be a terminal device or a server; wherein the terminal device can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart car-mounted device, and a smart wearable device, etc.; the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.

[0040] Furthermore, the above data processing scheme can also be executed collaboratively by multiple devices with computing power; based on this, the embodiment of the present application provides a content search system, see Figure 1, is a structural diagram of a content search system provided in an embodiment of the present application, Figure 1 The content search system shown may include a search server 101 and one or more terminal devices 102. The terminal device 102 may include any one or more of a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart car-mounted device, and a smart wearable device. The search server 101 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms. The search server 101 and the terminal device 102 can be directly or indirectly connected in communication via wired or wireless communication, which is not limited in this application.

[0041] In one embodiment, a search platform is running in the terminal device 102, which can realize interaction with the object, and the search server 101 can provide service support for the search platform. Figure 1 When the content search system shown is executed, the search server 101 can obtain one or more query data associated with the target query category, and determine the search intent of each query data under the target query category to obtain the intent label of the corresponding query data; obtain the search frequency of each intent label, and use each intent label and the corresponding search frequency to build a demand map of the target query category; after receiving the query request under the target query category initiated by the terminal device 102, it can respond to the corresponding query request, obtain the response content of different search intents under the target query category according to the demand map, and send the obtained response content to the terminal device 102 that initiated the query request; the terminal device 102 displays the response content after receiving it. Among them, the one or more query data associated with the target query category obtained by the search server 101 can be the query data (query) received by the search platform in the historical time period, that is, the query data (query) input by the object in the search platform in the historical time period, that is, the query data (query) carried in the query request received by the search server 101 in the historical time period, that is, the query data (query) carried in the query request initiated by the object in the search platform in the historical time period.

[0042] It is particularly important to note that in the specific implementation of the present application, when it involves object-related data, such as query data input by the object, when the embodiment of the present application is applied to a specific product or technology, it is necessary to obtain the permission or consent of the object, and the collection, use and processing of the relevant data must comply with local laws, regulations and standards. In addition, during the collection, use and processing of data, the relevant objects can be notified through an interactive interface, and subsequent processing will only be carried out after receiving an operation confirming that it can be collected, used or processed on the interactive interface.

[0043] Based on the above data processing solution, the present application embodiment provides a data processing method. Figure 2 , which is a flow chart of a data processing method provided in an embodiment of the present application. Figure 2 The data processing method shown can be executed by a data processing device, and can also be executed by the above-mentioned content search system. The subsequent embodiments of this application are described using a data processing device as an example. Figure 2 The data processing method shown may include the following steps:

[0044] S201, obtaining one or more query data associated with a target query category, and determining the search intent of each query data under the target query category to obtain an intent label of the corresponding query data.

[0045] In one embodiment, query data may refer to a query term (i.e., query) input by an object in a search engine (i.e., a search platform), query data associated with a target query category, i.e., a query term query associated with a target entity word, wherein the target entity word may be any entity word among the entity words in the corresponding search scenario, such as diabetes, and the corresponding target query category may be a query category corresponding to the target entity word among the query categories in the corresponding search scenario. Furthermore, the acquired one or more query data associated with the target query category may be query data (query) received by the search platform in a historical time period, i.e., query data (query) input by an object in the search platform in a historical time period, and the historical time period may be set according to specific needs, and the embodiments of the present application are not limited thereto.

[0046] Furthermore, one or more query data associated with the target query category can be acquired periodically; wherein the cycle duration can be set according to specific needs, for example, if the query data acquisition is set to be performed with a cycle duration of one week, then at the time point when the query data needs to be acquired, the one or more query data associated with the target query category acquired is the query data received by the search platform in the previous cycle at the time point, and the historical time period at this time is the time period corresponding to the previous cycle at the time point. For example, if the query data acquisition is set to be performed with a cycle duration of one week, then at the end of the first cycle, the data processing device can acquire one or more query data associated with the target query category generated in the first cycle, the time point at the end of the first cycle is a time point at which the query data needs to be acquired, and the historical time period at this time is the time period corresponding to the first cycle; at the end of the second cycle, the one or more query data associated with the target query category generated in the second cycle is acquired, the time point at the end of the second cycle is a time point at which the query data needs to be acquired, and the historical time period at this time is the time period corresponding to the second cycle; and so on.

[0047] In one embodiment, the data processing device determines the search intent of each query data under the target query category, and obtains the intent label of the corresponding query data, which can be obtained by classifying and predicting the query data into multiple preset intent labels; the process of predicting the intent label can be implemented by calling the intent classification model. Optionally, the intent classification model can be any neural network model that can classify the query data, for example, it can be a classification model based on BERT (Bidirectional Encoder Representations from Transformers, a bidirectional encoder representation technology based on transformers), a classification model based on LSTM (Long Short-Term Memory, a long short-term memory network), etc. The embodiment of the present application does not limit the model structure of the intent classification model. As long as it can classify and predict the query data into multiple preset intent labels, the model that obtains the corresponding intent label is within the protection scope of the embodiment of the present application. Furthermore, the relevant process of training the intent classification model will be explained in subsequent embodiments and will not be repeated here.

[0048] S202, obtaining the search frequency of each intent tag, and using each intent tag and the corresponding search frequency to construct a demand graph of the target query category.

[0049] Among them, the demand graph can be used to indicate: the degree of attention paid to each search intent under the target query category.

[0050] In one embodiment, the search frequency of an intent tag can be obtained by statistically obtaining the number of searches of query data with the intent tag predicted from one or more query data associated with the target query category; wherein, the number of searches for a query data associated with the target query category can be the number of searches for the query data in a historical time period, that is, the number of searches received by the search platform in the historical time period; the number of searches for a query data associated with the target query category can be used to indicate: the degree of attention paid to the query data under the target query category in the historical time period, and therefore, the search frequency of an intent tag obtained by statistics can be used to indicate: the degree of attention paid to the search intent corresponding to the intent tag under the target query category in the historical time period, that is, the degree of attention paid to the search intent corresponding to the intent tag under the target query category in the historical time period.

[0051] In one embodiment, a data processing device uses each intent tag and the corresponding search frequency to construct a demand graph of a target query category, which may include: sorting each intent tag based on the search frequency of each intent tag, and selecting a target number of intent tags from the sorted intent tags; obtaining the category identifier of the target query category, and constructing a demand graph of the target query category based on the category identifier and the selected intent tags; wherein the demand graph includes a central node and multiple child nodes, the central node is used to store the category identifier, a child node is used to store a selected intent tag and the corresponding search frequency, and the search frequency of an intent tag in the demand graph is used to indicate: the degree of attention to the search intent corresponding to the corresponding intent tag. wherein, the category identifier of the target query category is used to uniquely identify the target query category, optionally, since the target query category corresponds to the target entity word, the target entity word can be used as the category identifier of the target query category; the target number can be set according to specific needs, for example, it can be set to 50, 100, etc., and the embodiment of the present application is not limited. Furthermore, the purpose of selecting the target number of intent tags from the sorted intent tags is to select the intent tags with greater attention. At this time, the target number of intent tags selected from the sorted intent tags should be the intent tags with the highest search frequency, such as the top 50 intent tags with a target number of 50. Furthermore, if one or more query data associated with the target query category is periodically obtained, the demand graph of the target query category is also periodically updated based on the periodically obtained one or more query data associated with the target query category.

[0052] S203, responding to the query request under the target query category, acquiring and displaying the response content of different search intents under the target query category according to the demand graph.

[0053] In one embodiment, after receiving a query request under a target query category, the data processing device can respond to the query request; and then the response content of different search intents under the target query category can be obtained and displayed according to the demand graph. Among them, the query request under the target query category can be a general demand query request under the target query category, wherein the general demand query request is used to indicate that the query data carried is a query request when the general demand word, for example, the query request whose query data only includes the target entity word can be identified as a general demand query request; for example, if the target query category is the query category corresponding to the target entity word "diabetes", when the object searches for the target entity word "diabetes", the corresponding query request can be considered as a general demand query request, at this time, the response content of different search intents under the target query category can be obtained and displayed according to the demand graph; that is, the response content corresponding to the search intent with a greater degree of attention indicated by the demand graph among the search intents corresponding to multiple preset intent tags can be realized as the response content of this query request, that is, the response content corresponding to the search intent with a greater degree of attention in the historical time period can be pushed and displayed. Furthermore, when the demand graph of the target query category is periodically updated based on one or more query data associated with the target query category that are periodically obtained, when the data processing device responds to a query request under the target query category and obtains and displays the response content of different search intentions under the target query category according to the demand graph, the demand graph used as the basis is the latest demand graph obtained.

[0054] In an embodiment of the present application, one or more query data associated with a target query category can be obtained, and the search intent of each query data under the target query category can be determined to obtain the intent label of the corresponding query data; then the search frequency of each intent label can be obtained, and each intent label and the corresponding search frequency can be used to construct a demand graph of the target query category; wherein the constructed demand graph can be used to indicate the demand for query requests under the target query category, that is, the query requests under the target query category have feedback requirements for the content corresponding to the search intent of each intent label in the demand graph. Based on this, after receiving the query request under the target query category, the corresponding query request can be responded to, and the response content of different search intents under the target query category can be obtained and displayed according to the demand graph. In summary, the construction of a demand graph for query requests under the target query category can be realized. By constructing a demand graph and responding based on the demand graph, the accuracy of feedback on query requests can be improved, that is, content that better meets the needs of the object can be fed back.

[0055] Based on the above data processing method, another data processing method is provided in the present application. Figure 3, which is a flow chart of another data processing method provided in an embodiment of the present application. Figure 3 The data processing method shown can be executed by a data processing device, and can also be executed by the above-mentioned content search system. The subsequent embodiments of this application are described using a data processing device as an example. Figure 3 The data processing method shown may include the following steps:

[0056] S301, obtaining one or more query data associated with a target query category, and determining the search intent of each query data under the target query category to obtain an intent label of the corresponding query data.

[0057] In one embodiment, the one or more query data associated with the target query category acquired by the data processing device may be query data (query) received by the search platform in the historical time period, that is, query data (query) input by the object in the search platform in the historical time period. Further optionally, the one or more query data associated with the target query category acquired by the data processing device may be query data after deduplication, and the embodiment of the present application does not limit the method used for deduplication; for example, if the target entity word is "Influenza A (H1N1)", the target query category is the query category corresponding to the target entity word, if the query data associated with the target query category received by the search platform in the historical time period include: Will Influenza A (H1N1) cause fever, Will Influenza A (H1N1) cause fever, and Will Influenza A (H1N1) cause fever, and the three query data are semantically similar, then the query data after deduplication may be: Will Influenza A (H1N1) cause fever.

[0058] In one embodiment, a data processing device obtains one or more query data associated with a target query category, which may include: obtaining multiple original query data generated in a historical time period; filtering each original query data based on the target query category so that the original query data obtained by filtering according to the target query category matches the target query category; performing semantic normalization processing on the filtered original query data to obtain reference query data; and selecting a preset number of reference query data from each reference query data as query data associated with the target query category.

[0059] In one embodiment, the multiple original query data generated in the historical time period and obtained by the data processing device may be the original query data received by the search platform in the historical time period, that is, the query term query received by the search platform in the historical time period; the original query data may be extracted from the search log of the search platform in the historical time period, and specifically may be extracted from the session data extracted from the search log, wherein a session refers to a series of interactions occurring on a website within a specified time period, and a session in a search scenario refers to a series of actions from clicking on the search input box / icon of the search platform to leaving the search platform, that is, a series of actions from starting a search to leaving the search platform.

[0060] Furthermore, the data processing device can filter each original query data based on the target query category, so that the original query data obtained by filtering according to the target query category matches the target query category; since the target query category is used to indicate the target entity word, the data processing device can filter each original query data based on the target entity word, so that the original query data obtained by filtering according to the target entity word matches the target entity word; wherein, when the original query data contains the target entity word, it can be considered that the original query data matches the target entity word, or, when the entity indicated by the entity word contained in the original query data is the same as the entity indicated by the target entity word, it can be considered that the original query data matches the target entity word. For example, if the target entity word is influenza A (H1N1), the target query category is the query category corresponding to the target entity word. If the original query data obtained includes: What are the symptoms of influenza A, What are the symptoms of influenza A (H1N1) and What are the symptoms of influenza A, since influenza A and influenza A both refer to influenza A (H1N1), then the three original query data can be considered to match the target entity word; if the original query data obtained also includes What are the symptoms of diabetes, since the entity indicated by the entity word contained in the original query data is diabetes, not influenza A (H1N1), then the original query data will be filtered out, that is, not retained. Optionally, the original query data obtained by filtering can be stored in a KV library based on a key-value storage method, wherein the KV library is a key-value storage system. Specifically, the category identifier of the target query category (i.e., the target entity word) can be used as the key, and the original query data obtained by filtering can be used as the value and stored in the KV library.

[0061] Further, the data processing device may perform semantic normalization processing on the original query data obtained by filtering to obtain reference query data. The semantic normalization processing on the original query data obtained by filtering is to remove semantically repeated query data. For example, if the original query data obtained by filtering includes: What are the symptoms of influenza A, What are the symptoms of influenza A (H1N1) and What are the symptoms of influenza A, and the three original query data are semantically similar, then the reference query data may be obtained based on the three original query data, for example, the reference query data may be What are the symptoms of influenza A (H1N1)? For another example, if the original query data obtained by filtering includes: Does influenza A (H1N1) cause fever and Does influenza A (H1N1) cause fever, and the two original query data are semantically similar, then the reference query data may be obtained based on the two original query data, for example, the reference query data may be Does influenza A (H1N1) cause fever. Optionally, when the semantic normalization processing on the original query data obtained by filtering is performed, it may be implemented based on synonym mining technology and semantic entity alignment technology. Furthermore, the data processing device may count the number of searches for the original query data corresponding to any reference query data to obtain the number of searches for the any reference query data; for example, if the filtered original query data include: what are the symptoms of influenza A, what are the symptoms of influenza A (H1N1), and what are the symptoms of influenza A, and the search times for the three original query data are 1000, 500, and 1500, respectively, then the search times for the reference query data obtained by normalization based on the three original query data may be 3000.

[0062] Furthermore, the data processing device may select a preset number of reference query data from each reference query data as query data associated with the target query category; wherein the preset number may be set according to specific needs, for example, the preset number may be set to 50, 100, etc.; selecting a preset number of reference query data from each reference query data is to select reference query data with a large number of searches as query data associated with the target query category, that is, to select reference query data with a high degree of attention as query data associated with the target query category, and further generate a demand map based on query data with a high degree of attention. In a specific implementation, the data processing device may sort the corresponding reference query data based on the number of searches of each reference query data; select a preset number of reference query data from the sorted reference query data as query data associated with the target query category; the number of searches of the selected reference query data is greater than or equal to the number of searches of other reference query data. When the data processing device sorts the corresponding reference query data in descending order based on the number of searches of each reference query data, the data processing device may select a preset number of reference query data as query data associated with the target query category, such as a preset number of 50, i.e., top50 reference query data. Further optionally, a triple may be constructed based on the category identifier of the target query category, the selected reference query data, and the search frequency of the corresponding reference query data.

[0063] In another feasible implementation, a reference query data may be stored in a triple, and the triple to which any reference query data belongs further includes: a category identifier of a target query category and a search count of the any reference query data; wherein the search count of any reference query data is obtained by counting the search count of original query data corresponding to the any reference query data; in this case, the data processing device selects a preset number of reference query data from each reference query data as query data associated with the target query category, which may include: sorting corresponding triples based on the search count of each reference query data; selecting a preset number of triplets from the sorted triplets, and using the reference query data in the selected triples as query data associated with the target query category; the search count in the selected triple is greater than or equal to the search count in other triples.

[0064] Furthermore, the data processing device determines the search intent of each query data under the target query category and obtains the intent label of the corresponding query data. This can be obtained by classifying and predicting the query data into multiple preset intent labels through an intent classification model.

[0065] S302, obtaining the search frequency of each intent tag.

[0066] In one embodiment, the method of obtaining the search frequency of any intent tag may include: determining each query data corresponding to the any intent tag, and obtaining the search times of each query data corresponding to the any intent tag; counting the search times, and using the corresponding statistical results as the search frequency of the any intent tag. For example, if the query data associated with the target query category obtained, and the search times of the query data include: query data 1, 500 times, query data 2, 1000 times, query data 3, 500 times, if the intent tag predicted based on query data 1, query data 2 and query data 3 is the same intent tag, then the search frequency of the intent tag is 2000 times.

[0067] S303: sort the intent tags based on the search frequency of each intent tag, and select a target number of intent tags from the sorted intent tags.

[0068] In one embodiment, the purpose of selecting a target number of intent tags from the sorted intent tags is to select intent tags with a larger search frequency, that is, to select intent tags with a larger degree of attention. At this time, the search frequency of the selected intent tags should be greater than or equal to the search frequency of other intent tags; if the intent tags are sorted in descending order based on the search frequency of each intent tag, the target number of intent tags selected should be the first target number of intent tags, such as the target number of 50, that is, the top50 intent tags. Optionally, if the target number is set to 10 and the preset number is set to 50, since the data processing device selects a preset number of reference query data from each reference query data as the query data associated with the target query category, that is, the number of query data associated with the target query category obtained is 50. If the intent tags are predicted based on the 50 query data and 10 intent tags cannot be obtained, the preset number can be increased until the target number of intent tags can be selected from the sorted intent tags. For example, the preset number can be increased to 100.

[0069] S304, obtaining a category identifier of the target query category, and constructing a demand graph of the target query category based on the category identifier and the selected intent tag.

[0070] Among them, the demand graph can be used to indicate: the degree of attention paid to each search intent under the target query category; the demand graph can include a central node and multiple child nodes, the central node can be used to store the category identifier, and a child node can be used to store a selected intent label and the corresponding search frequency; the search frequency of an intent label in the demand graph is used to indicate: the degree of attention paid to the search intent corresponding to the corresponding intent label.

[0071] S305, responding to the query request under the target query category, acquiring and displaying the response content of different search intents under the target query category according to the demand graph.

[0072] In one embodiment, the data processing device acquires and displays the response content of different search intents under the target query category according to the demand graph, which may include: acquiring the response content of different search intents under the target query category according to the degree of attention indicated by the demand graph, and determining the display order of the corresponding response content; displaying the corresponding response content in the display order. In a specific implementation, the data processing device may determine a specified number of intent tags from each intent tag in the demand graph according to the search frequency of each intent tag in the demand graph, and acquire the response content corresponding to the search intent of the determined intent tags; determine the display order of the corresponding response content according to the search frequency of each determined intent tag; and display the corresponding display content in the display order.

[0073] Among them, the data processing device determines a specified number of intent tags from each intent tag in the demand graph according to the search frequency of each intent tag in the demand graph, in order to determine the intent tag with a larger search frequency from the demand graph, and then obtain the response content of the search intent corresponding to the intent tag with a larger search frequency. Based on this, it can be known that the specified number of intent tags determined from each intent tag in the demand graph should be the intent tags that are arranged in the front specified number when each intent tag in the demand graph is arranged in descending order based on the search frequency, wherein the specified number can be set according to specific needs, for example, it can be set to 3, 4, etc., for example, it can also be set to the number of intent tags in the demand graph, at which time all intent tags in the demand graph will be selected. Further, the data processing device can obtain the response content of the search intent corresponding to the determined intent tag, wherein the response content of the search intent corresponding to a determined intent tag can be predetermined, and the determination rule of the response content can be set according to specific business needs, and the embodiment of the present application is not limited. For example, the response content corresponding to the search intent of an intent tag under the target query category can be manually determined; for another example, the query data associated with the target query category can be screened and obtained, and the response content corresponding to the query data with a large number of searches in the query data predicted to be the intent tag can be used as the response content corresponding to the search intent of the intent tag under the target query category, that is, the response content of the issues that the objects in the search platform pay more attention to under the intent tag under the target query category within the historical time period can be pushed and displayed; for another example, according to the click feedback of the objects in the search platform on the historical response content under the intent tag under the target query category pushed historically within the historical time period, the historical response content with better click feedback can be selected as the response content for this push and display, that is, the content that is popular with the objects in the search platform can be selected as the response content for this time; for another example, according to the content release time, the latest content released under the intent tag under the target query category can be used as the response content for this time; the response content of the query request is determined based on the click feedback, content release time, etc., and the dynamic update of the response content can be realized.

[0074] For example, see Figure 4, which is a schematic diagram of a response content provided in an embodiment of the present application when it is fully displayed; if the demand graph includes intent tag a, intent tag b, intent tag c, intent tag d, intent tag e and intent tag f, if the search frequencies of each intent tag are: 150, 500, 400, 50, 300, 200 respectively, each intent tag is arranged in descending order according to the search frequency as: intent tag b, intent tag c, intent tag e, intent tag f, intent tag a and intent tag d, if the specified number is set to the number of intent tags in the demand graph, then when responding to a query request under the target query category, the corresponding response content can be based on Figure 4 The order shown is displayed in sequence.

[0075] In one embodiment, the demand graph includes multiple intent tags, and the search frequency of an intent tag in the demand graph is used to indicate: the degree of attention to the search intent corresponding to the corresponding intent tag; the data processing device obtains and displays the response content of different search intents under the target query category according to the demand graph, which may include: obtaining the parent tag to which each intent tag in the demand graph belongs; an intent tag corresponds to a parent tag, and the search intent range indicated by any intent tag is less than or equal to the search intent range indicated by the parent tag; according to any intent tag in the demand graph, obtain the response content corresponding to the search intent of the corresponding intent tag; display the response content obtained based on the intent tag corresponding to the same parent tag in the same display area. Among them, the correspondence between the intent tag and the parent tag can be pre-set according to specific business needs. Specifically, multiple parent tags can be pre-set according to the business needs in the corresponding search scenario, and one parent tag corresponds to one or more preset intent tags. Based on the correspondence between the pre-set parent tag and the preset intent tag, since each intent tag in the demand graph is selected from the preset intent tags, the parent tag to which each intent tag in the demand graph belongs can be obtained. For example, if in a search scenario related to medical content, the preset intent tags are the above 60 preset intent tags, and the dietary guidance, food guidance, recommended foods, unsuitable foods, and recipes in the preset intent tags all indicate a search intent related to diet, then the corresponding parent tag can be set to dietary guidance; if there is an intent tag of recipes in the demand graph, then the parent tag to which the intent tag belongs can be obtained as dietary guidance. The data processing device obtains the relevant process of the response content corresponding to the search intent of the corresponding intent tag according to any intent tag in the demand graph, which is similar to the relevant process of obtaining the response content corresponding to the search intent of the determined intent tag mentioned above, and will not be repeated here. Furthermore, when displaying the response content, the data processing device can display the response content obtained based on the intent tag corresponding to the same parent tag in the same display area. Furthermore, when displaying the response content corresponding to the search intent of the intent tags included in the same parent tag, they can be displayed in sequence based on the search frequency of each intent tag. The greater the corresponding search frequency, the higher the priority of the display order; optionally, they can be displayed from top to bottom on the display screen in order from large to small according to the search frequency of each intent tag.

[0076] Further optionally, if the number of parent tags obtained is at least two; the data processing device can also obtain the search frequency of each parent tag according to the search frequency of the intent tag corresponding to each parent tag; based on the search frequency of each parent tag, determine the display order of the response content corresponding to the corresponding parent tag; the display order of the response content corresponding to the parent tag is positively correlated with the search frequency of the corresponding parent tag. Among them, the search frequency of any parent tag can be obtained by counting the search frequency of the intent tag corresponding to any parent tag; the display order of the response content corresponding to the parent tag is positively correlated with the search frequency of the corresponding parent tag, which means that the greater the search frequency of the parent tag, the higher the priority of the display order of the corresponding response content. Optionally, it can be displayed from top to bottom on the display screen according to the order of the search frequency of each parent tag from large to small.

[0077] For example, see Figure 5 , which is a schematic diagram of another response content provided in an embodiment of the present application when it is fully displayed; if the demand graph includes intent tag a, intent tag b, intent tag c, intent tag d, intent tag e and intent tag f, if the search frequencies of each intent tag are: 150, 500, 400, 50, 300, 200 respectively, intent tag a and intent tag b correspond to the same parent tag 1, intent tag c and intent tag d correspond to the same parent tag 2, and intent tag e and intent tag f correspond to the same parent tag 3; then the search frequency of parent tag 1 is 650, the search frequency of parent tag 2 is 450, and the search frequency corresponding to parent tag 3 is 500, then when displaying the response content, in sequence Display the response content corresponding to the upper-level tag 1, the response content corresponding to the upper-level tag 3, and the response content corresponding to the upper-level tag 2. In the content module corresponding to the upper-level tag 1, the response content of the intention tag b and the response content of the intention tag a are displayed in sequence; in the content module corresponding to the upper-level tag 3, the response content of the intention tag e and the response content of the intention tag f are displayed in sequence; in the content module corresponding to the upper-level tag 2, the response content of the intention tag c and the response content of the intention tag d are displayed in sequence; among which, the content module corresponding to the upper-level tag 1 can be shown as marked by 501, the content module corresponding to the upper-level tag 3 can be shown as marked by 502, and the content module corresponding to the upper-level tag 2 can be shown as marked by 503.

[0078] Further optionally, when displaying the response content corresponding to each upper-level tag determined based on the demand graph, you can choose to push and display all or part of the content modules corresponding to the upper-level tags. Similarly, for the content modules corresponding to any upper-level tag, when displaying the response content corresponding to the search intent of the corresponding intent tag, you can also choose to push and display all or part of the response content corresponding to the intent tag, and the embodiments of the present application are not limited thereto. For example, if 10 upper-level tags are determined based on the demand graph, you can choose to push and display all the content modules corresponding to the 10 upper-level tags, or you can select the content modules corresponding to the 5 upper-level tags with the highest search frequency for display. If an upper-level tag that needs to be pushed and displayed corresponds to 4 intent tags, you can push and display the response content corresponding to the 4 intent tags, or you can select the response content corresponding to the 2 intent tags with the highest search frequency for push and display. Further optionally, when determining the display order of content modules corresponding to each upper-level label determined based on the demand map, it is also possible to refer to the consumption data such as clicks of each content module in the historical time period, so that content modules with a high degree of attention and good consumption such as clicks generated after push can be displayed first, so that the order of content modules is more in line with the consumption of the object.

[0079] In one embodiment, the target query category can be any one of the multiple query categories under the corresponding search scenario, that is, for different query categories under the same search scenario, the demand graphs corresponding to the different query categories can be obtained based on the above data processing method, and then after receiving query requests under different query categories, the response content of different search intents under the corresponding query category can be obtained and displayed according to the demand graph corresponding to the corresponding query category, that is, personalized responses to query requests for different query categories can be achieved. When the response content of different search intents under the corresponding query category is obtained and displayed according to the demand graph corresponding to the corresponding query category, the display order of the content modules corresponding to the corresponding parent tag can be determined according to the search frequency of the parent tag to which each intent tag in the demand graph belongs. The content module corresponding to a parent tag is used to carry the response content of the search intent corresponding to each intent tag included in the parent tag; displaying based on the content module corresponding to the parent tag can classify similar search intents upward, and the search frequency of the parent tag can be used to indicate the degree of attention paid to the classified search intent. For example, in a search scenario related to medical content, if the upper-level tags are set to include: overview, symptoms, examination and diagnosis, treatment, cause, curability, infectiousness, dietary guidance, daily precautions, and medicines, when the query categories are the query categories corresponding to diseases A, B, C, and D, respectively, among the upper-level tags determined based on the demand map, the upper-level tags ranked in the top 4 in search frequency can be as shown in Table 1, which can indicate: for disease A, the subject's attention levels are symptoms, dietary guidance, examination and diagnosis, and cause, that is, for disease A, the subject is most concerned about the symptom content, followed by the dietary guidance content, then the examination and diagnosis content, and then the cause content; for disease B, the subject's attention levels are treatment, curability, examination and diagnosis, and daily precautions, respectively; for disease C, the subject's attention levels are examination and diagnosis, treatment, symptoms, and cause, respectively; for disease D, the subject's attention levels are infectiousness, cause, curability, and examination and diagnosis, respectively.

[0080] Table 1

[0081]

[0082] In one embodiment, when the above data processing method is applied to different search scenarios, the display format of the response content displayed by the query request under the corresponding target query category can be designed according to the specific business scenario, and the embodiment of the present application is not limited. When acquiring and displaying the response content of different search intents under the target query category according to the demand map corresponding to the target query category, the display order of the content modules corresponding to the corresponding parent tags can be determined according to the search frequency of the parent tags to which each intent tag in the demand map belongs. A content module corresponding to a parent tag is used to carry the response content corresponding to the search intent of each intent tag included in the parent tag; the response content corresponding to the search intent of the intent tag carried in the content module corresponding to an upper-level tag can be text format content, video format content, graphic format content, audio format content, etc., which can be set according to business needs, and the embodiment of the present application is not limited; using content in different formats to respond to query requests can enrich the form of content and improve the interactive experience.

[0083] Take the search scenario related to medical content as an example, see Figure 6a , which is a schematic diagram of another response content provided in an embodiment of the present application when it is fully displayed; at this time, the target query category is the query category corresponding to eczema, and the query data carried by the query request under the target query category is "eczema", that is, the object in the search platform directly searches for "eczema", and the content module corresponding to the first parent label can be as shown in the 601 mark, which is used to carry the response content of the search intent corresponding to the intent label contained in the parent label "examination and diagnosis", and the content module corresponding to the second parent label can be as shown in the 602 mark, which is used to carry the response content of the search intent corresponding to the intent label contained in the parent label "treatment", and the content module corresponding to the third parent label can be as shown in the 603 mark, which is used to carry the response content of the search intent corresponding to the intent label contained in the parent label "cause", and the content module corresponding to the fourth parent label can be as shown in the 603 mark. The content module can be used to carry the response content corresponding to the search intent of the intent label contained in the parent label "dietary guidance" as shown in the 604 mark; among them, as shown in the 605 mark, it is a basic introduction to "eczema", and you can choose whether to display this part of the content above the content module corresponding to each parent label according to the specific settings, or you can also choose whether to display this part of the content and the specific display order according to the specific settings; further optionally, when responding to the query request, you can also display the related content as shown in the 606 mark; further optionally, when there is a content module that needs to be displayed but cannot be fully displayed, a trigger control can be built into the content module, so that when the content module is triggered, it enters the corresponding details page to fully display the content that needs to be displayed by the content module; it is worth noting that Figure 6aThe page shown should be the page when the response content is fully displayed in response to a query request. It can be fully displayed through operations such as sliding. It is not two pages. This drawing method is only due to the size limitation of the example image.

[0084] See also Figure 6b , which is a schematic diagram of another response content provided by an embodiment of the present application when it is fully displayed; at this time, the target query category is the query category corresponding to the cold, and the query data carried by the query request under the target query category is "cold", that is, the object in the search platform directly searches for "cold", and the content module corresponding to the first parent label can be as shown by the 611 mark, corresponding to the relevant content of the parent label "treatment", the content module corresponding to the second parent label can be as shown by the 612 mark, corresponding to the relevant content of the parent label "dietary guidance", and the content module corresponding to the third parent label can be as shown by the 613 mark, corresponding to the relevant content of the parent label "daily precautions"; it is worth noting that Figure 6b The page shown should be the page when the response content is fully displayed when responding to a query request. It can be fully displayed by sliding and other operations. It is not two pages. This drawing method is only due to the size limit of the example image. Optionally, when the query data carried by the query request under the target query category is the entity word of the disease category, the organization and presentation of the relevant response content can refer to Figure 6a as well as Figure 6b Of course, it can also be presented in other ways, and the embodiments of the present application are not limited thereto.

[0085] See also Figure 6c , which is a schematic diagram of another response content provided by an embodiment of the present application when it is fully displayed; at this time, the target query category is the query category corresponding to AIDS, and the query data carried by the query request under the target query category is "AIDS", that is, the object in the search platform directly searches for "AIDS", and the content module corresponding to the first parent label can be as shown in the 621 mark, corresponding to the relevant content of the parent label "symptoms", the content module corresponding to the second parent label can be as shown in the 622 mark, corresponding to the relevant content of the parent label "examination and diagnosis", the content module corresponding to the third parent label can be as shown in the 623 mark, corresponding to the relevant content of the parent label "expert recommendation"; the content module corresponding to the fourth parent label can be as shown in the 624 mark, corresponding to the relevant content of the parent label "treatment (latest research)"; it is worth noting that Figure 6c The page shown should be the page when the response content is fully displayed when responding to a query request. It can be fully displayed by sliding and other operations. It is not two pages. This drawing method is only due to the size limit of the example image. Figure 6d, which is a schematic diagram of another response content provided by an embodiment of the present application when it is fully displayed; at this time, the target query category is the query category corresponding to diabetes, and the query data carried by the query request under the target query category is "diabetes", that is, the objects in the search platform directly search for "diabetes", the content module corresponding to the first parent tag can be as shown in the 631 mark, the content module corresponding to the second parent tag can be as shown in the 632 mark, the content module corresponding to the third parent tag can be as shown in the 633 mark, and the content module corresponding to the fourth parent tag can be as shown in the 634 mark; it is worth noting that Figure 6d The page shown should be the page when the response content is fully displayed in response to a query request. It can be fully displayed through operations such as sliding. It is not two pages. This drawing method is only due to the size limitation of the example image.

[0086] See also Figure 7 , a schematic diagram of another response content provided in an embodiment of the present application when it is fully displayed; at this time, the target query category is the query category corresponding to the drug ibuprofen, and the query data carried by the query request under the target query category is "ibuprofen", that is, the object in the search platform directly searches for "ibuprofen", including a content module corresponding to an upper-level label as shown in the 701 mark, which is used to carry the response content corresponding to the search intent of the intent label contained in the upper-level label "drug"; wherein, as shown in the 702 mark, it is a basic introduction to "ibuprofen", and you can choose whether to display this part of the content above the content modules corresponding to each upper-level label according to the specific settings, or you can also choose whether to display this part of the content according to the specific settings, as well as the specific display order. Optionally, when the query data carried by the query request under the target query category is an entity word of the drug category, the organization and presentation of the relevant response content can refer to Figure 7 Of course, it can also be presented based on other methods, and the embodiments of the present application are not limited. When an object initiates a query request for general needs, if the object directly searches for "cold", based on the response method of this solution, the content modules corresponding to "treatment", "dietary guidance" and "daily precautions" will be pushed, so that when the object only searches for "cold", the content under certain specific search intents with a high degree of concern can be pushed and displayed, which can reduce the user's consumption cost and shorten the time to obtain information, so that more information and rich and comprehensive special content can be obtained at the same time, and the path for the object to obtain the content under the corresponding search intent can be shortened, that is, the object can directly view the content modules corresponding to "treatment", "dietary guidance" and "daily precautions", and can also view the content details by clicking on the corresponding content module.

[0087] In one embodiment, if the query data carried by the query request under the target query category can hit a content module corresponding to a superior tag, or can hit a sub-content module corresponding to an intent tag, the hit content module or the hit sub-content module can be displayed preferentially so that the corresponding query request can be accurately answered. Furthermore, while displaying the hit content module or the hit content sub-module (collectively referred to as the hit module), the content of the content module associated with the hit module can also be pushed at the same time to display the associated content. A feasible way to determine the content modules associated with the hit module and the display order of each associated module may include: determining the degree of association between the hit module and the content modules corresponding to each parent tag, and screening the content modules with a degree of association greater than a threshold value of the degree of association as the content modules associated with the hit module; wherein the display order of each content module associated with the hit module is proportional to the degree of association; further, a feasible way to determine the degree of association between the hit module and the content modules corresponding to any parent tag includes counting the number of times the content in the content module corresponding to the parent tag is clicked after the hit module is displayed within a period of time, and mapping the number of times to obtain the degree of association, wherein the degree of association is proportional to the number of times; of course, the degree of association between the hit module and the content modules corresponding to each parent tag may also be determined based on other feasible ways of determining the degree of association, for example, the corresponding degree of association may be determined based on the semantic similarity between the content in the hit module and the content in each content module, which is not limited in the embodiments of the present application. See. Figure 8a , which is a schematic diagram of another response content provided by an embodiment of the present application when it is fully displayed; at this time, the target query category is the query category corresponding to eczema, and the query data carried by the query request under the target query category is "treatment of eczema" (that is, the target entity word + the main demand scenario (treatment)), that is, the object in the search platform directly searches for "treatment of eczema", then the hit module can be as shown in the 801 mark, which is the content module corresponding to the parent label "treatment"; the various content modules associated with the hit module may include: the content module corresponding to the parent label "dietary guidance", which can be as shown in the 802 mark, the content module corresponding to the parent label "examination and diagnosis", which can be as shown in the 803 mark, and the content module corresponding to the parent label "cause of disease", which can be as shown in the 804 mark; see Figure 8b , which is a schematic diagram of another response content provided by the embodiment of the present application when it is fully displayed; at this time, the target query category is the query category corresponding to eczema, and the query data carried by the query request under the target query category is "curability of eczema", that is, the object in the search platform directly searches for "curability of eczema", and its hit module is still the content module corresponding to the parent label "treatment", which can be shown as 811 mark. It is worth noting that Figure 8a , Figure 8bThe pages shown should all be pages when the response content is fully displayed in response to a query request. They can be fully displayed through operations such as sliding, and are not two pages. This drawing method is only due to the size limitation of the example image.

[0088] The following is an exemplary description of a method for training an intent classification model. It should be noted that the method for training an intent classification model should include but is not limited to the following methods; the process of training an intent classification model can be performed by a data processing device or other electronic devices with computing power. The present application embodiment takes a data processing device as an example for explanation. Fig. 9 , which is a schematic diagram of a training intent classification model provided in an embodiment of the present application; a data processing device can obtain a first sample set and a second sample set, the first sample set can include one or more sample query data and annotated intent labels for each sample query data, and the second sample set can include one or more sample query data; the sample query data in the first sample set is used as the input of the initial reference intent classification model, and the corresponding annotated intent labels are used as the expected output, and the initial reference intent classification model is trained to obtain a reference intent classification model; the intent labels of each sample query data in the second sample set are predicted through the reference intent classification model, and the predicted intent labels are used as the corresponding sample query data The sample query data in the first sample set and the second sample set are used as the input of the initial intent classification model, and the corresponding annotated intent labels or pseudo labels are used as the expected output to train the initial intent classification model to obtain the intent classification model; wherein the annotated intent labels are determined from multiple preset intent labels, and the intent labels predicted by the reference intent classification model are also determined from the multiple preset intent labels. When the intent classification model needs to be applied to a specific search scenario, the preset intent labels used in the training should also be the preset intent labels in the corresponding search scenario, and the sample query data should also be the query data (i.e., query) in the corresponding search scenario. The initial reference intent classification model can use a BERT-based classification model, and the initial intent classification model can use an LSTM-based classification model. The above process is a semi-supervised training process. The LSTM-based classification model is selected as the intent classification model because LSTM, as a special RNN (Recurrent Neural Network), can remember information for a long period of time to solve the problem of long-term dependence.

[0089] In one embodiment, both the first sample set and the second sample set can be constructed based on the original sample set. Taking the search scenario related to medical content as an example, the data processing device can obtain the original query data in the corresponding search scenario (i.e., the query in the medical scenario) from the search log of the search platform, and use the obtained original query data as sample query data to construct the original sample set. Optionally, the search log contains the original query data in various search scenarios (i.e., the query in various search scenarios). When obtaining the original query data in the corresponding search scenario from the search log of the search platform, weighted sampling can be used to extract it. Optionally, the original sample set can include millions of sample query data.

[0090] Furthermore, some sample query data in the original sample set may be labeled to obtain labeling intention labels of the corresponding sample query data. The labeled sample query data and the labeling intention labels constitute the first sample set. Optionally, the first sample set may include sample query data of the order of 100,000. When the sample query data is labeled, it can be based on manual labeling or on a labeling program based on entities and rules. When labeling is based on entities and rules, it can be based on rule-label mapping and labeling rules such as medical entity data, which is not limited in the embodiments of the present application. When labeling rules are selected, the corresponding labeling rules may include but are not limited to the following parts: 1. Sentence labeling in self-built content (i.e., medical entity data), mainly including high-frequency sentences of diseases, symptoms, drugs, surgeries, and examinations. In other words, the sample query data can be compared with the pre-constructed query data. When the sample query data matches the pre-constructed query data, the labeling intent label of the pre-constructed query data is used as the labeling intent label of the sample query data. 2. Regular matching, such as hospital intent. 3. For sample query data with intents other than diseases, symptoms, drugs, examinations, and surgeries, the high-frequency sentences are manually sorted and a certain amount of sample query data is supplemented.

[0091] Optionally, in a search scenario related to medical content, the sample query data in the original sample set obtained may be unbalanced in categories. For example, there are many sample query data corresponding to a certain category (i.e., labeled with a certain preset intent label), but there are few sample query data corresponding to another category (i.e., labeled with another preset intent label). Therefore, it is necessary to perform data balancing, data enhancement and other processing on the obtained first sample set to balance the sample query data under each category in the first sample set, that is, to balance the number of sample query data corresponding to various labeled intent labels in the first sample set; then, at this time, a reference intent classification model can be obtained based on the training of the first sample set after data balancing. Optionally, upsampling, downsampling and other methods can be used when performing data balancing.

[0092] Furthermore, the second sample set may be composed of other sample query data in the original sample set except the sample query data in the first sample set. That is to say, when training to obtain the intent classification model, part of the sample query data in the original sample set may be labeled to obtain labeled intent labels, and the remaining part of the sample query data in the original sample set may be predicted to obtain pseudo labels, and the intent classification model may be obtained by training based on the sample query data in the original sample set, and the corresponding labeled intent labels and pseudo labels. Optionally, when training to obtain the intent classification model, it may also refer to training based on the second sample set and the corresponding pseudo labels, which is not limited in the embodiments of the present application. Further optionally, after obtaining the original sample set with pseudo labels, the original sample set with pseudo labels may also be subjected to data balancing, data enhancement and other processing. At this time, the intent classification model may be obtained by training based on the original sample set after data balancing.

[0093] In an embodiment of the present application, one or more query data associated with a target query category can be obtained, and the search intent of each query data under the target query category can be determined to obtain the intent label of the corresponding query data; then the search frequency of each intent label can be obtained, and each intent label and the corresponding search frequency can be used to construct a demand graph of the target query category; wherein the constructed demand graph can be used to indicate the demand for query requests under the target query category, that is, the query requests under the target query category have feedback requirements for the content corresponding to the search intent of each intent label in the demand graph. Based on this, after receiving the query request under the target query category, the corresponding query request can be responded to, and the response content of different search intents under the target query category can be obtained and displayed according to the demand graph. In summary, the construction of a demand graph for query requests under the target query category can be realized. By constructing a demand graph and responding based on the demand graph, the accuracy of feedback on query requests can be improved, that is, content that better meets the needs of the object can be fed back. Moreover, when the response content of different search intents under the target query category is acquired and displayed according to the demand graph, when the demand graph includes multiple intent tags, the response content of the search intents corresponding to the multiple intent tags can be acquired at the same time, and feedback can be provided based on the content, which can improve the efficiency of information acquisition when the object searches and reduce the cost of information acquisition. That is, the object can receive content under multiple search intents through one query.

[0094] Furthermore, the demand graph constructed based on the search frequency of each intent tag can also be used to indicate: under the target query category, the attention level of each search intent. When the demand graph is constructed based on the intent tag with a large search frequency, the content with a large attention level can be fed back to the object, and when the content feedback of the query request is performed based on the demand graph, the attention level of each search intent can be referred to, and the content with a large attention level can be displayed first; when the demand graph is periodically updated, the feedback content can also be dynamically adjusted according to the change of the demand graph, that is, the feedback content can be dynamically adjusted according to the change of the attention level. Furthermore, for different query categories, the demand graph corresponding to the corresponding query category can be determined based on one or more query data associated with the corresponding query category and the predicted search frequency of the intent tag. Then, after receiving query requests under different query categories, the response content of different search intents under the corresponding query category can be obtained and displayed according to the demand graph corresponding to the corresponding query category, that is, personalized responses to query requests for different query categories can be achieved.

[0095] Based on the above data processing method related embodiments, the present application embodiment provides a data processing device. Fig.10 , is a structural diagram of a data processing device provided in an embodiment of the present application, and the data processing device may include a processing unit 1001 and a response unit 1002. Fig.10 The data processing apparatus shown can be used to perform the following operations:

[0096] The processing unit 1001 is used to obtain one or more query data associated with the target query category, and determine the search intent of each query data under the target query category to obtain an intent label of the corresponding query data;

[0097] The processing unit 1001 is further used to obtain the search frequency of each intent tag, and use the each intent tag and the corresponding search frequency to construct a demand map of the target query category; the demand map is used to indicate: the degree of attention to each search intent under the target query category;

[0098] The response unit 1002 is used to respond to the query request under the target query category, and obtain and display the response content of different search intents under the target query category according to the demand map.

[0099] In one embodiment, when the processing unit 1001 constructs the demand graph of the target query category using the various intent tags and the corresponding search frequencies, the processing unit 1001 specifically performs the following operations:

[0100] Based on the search frequency of each of the intent tags, the intent tags are sorted, and a target number of intent tags are selected from the sorted intent tags;

[0101] Obtaining a category identifier of the target query category, and constructing a demand graph of the target query category based on the category identifier and the selected intent tag;

[0102] Among them, the demand graph includes a central node and multiple child nodes, the central node is used to store the category identifier, a child node is used to store a selected intent label and the corresponding search frequency, and the search frequency of an intent label in the demand graph is used to indicate: the degree of attention to the search intent corresponding to the corresponding intent label.

[0103] In one embodiment, when the response unit 1002 acquires and displays the response content of different search intents under the target query category according to the demand graph, the following operations are specifically performed:

[0104] According to the attention level indicated by the demand graph, obtaining response content of different search intents under the target query category, and determining the display order of the corresponding response content;

[0105] Display the corresponding response content in the display order.

[0106] In one embodiment, the demand graph includes a plurality of intent tags, and the search frequency of an intent tag in the demand graph is used to indicate: the degree of attention paid to the search intent corresponding to the corresponding intent tag;

[0107] When the response unit 1002 acquires and displays the response content of different search intents under the target query category according to the demand graph, the following operations are specifically performed:

[0108] Obtain the parent tag to which each intent tag in the demand graph belongs; one intent tag corresponds to one parent tag, and the search intent range indicated by any intent tag is less than or equal to the search intent range indicated by the parent tag;

[0109] According to any intent tag in the demand graph, obtain the response content corresponding to the search intent of the corresponding intent tag;

[0110] The response content obtained based on the intent tag corresponding to the same parent tag is displayed in the same display area.

[0111] In one embodiment, if the number of acquired upper-level tags is at least two, the response unit 1002 is further configured to:

[0112] According to the search frequency of the intent tag corresponding to each parent tag, the search frequency of each parent tag is obtained;

[0113] Based on the search frequency of each upper-level tag, the display order of the response content corresponding to the corresponding upper-level tag is determined; the display order of the response content corresponding to the upper-level tag is positively correlated with the search frequency of the corresponding upper-level tag.

[0114] In one embodiment, the processing unit 1001 obtains the search frequency of any intent tag in the following manner:

[0115] Determine each query data corresponding to any one of the intent tags, and obtain the search count of each query data corresponding to any one of the intent tags;

[0116] The number of searches is counted, and the corresponding statistical results are used as the search frequency of any of the intent tags.

[0117] In one embodiment, when the processing unit 1001 obtains one or more query data associated with the target query category, it specifically performs the following operations:

[0118] Obtain multiple original query data generated in the historical time period;

[0119] Based on the target query category, filtering is performed on each original query data so that the original query data obtained by filtering according to the target query category matches the target query category;

[0120] Performing semantic normalization processing on the original query data obtained through filtering to obtain reference query data;

[0121] A preset number of reference query data are selected from each reference query data as query data associated with the target query category.

[0122] In one embodiment, a reference query data is stored in a triple, and the triple to which any reference query data belongs further includes: a category identifier of the target query category and a search count of the reference query data; the search count of the reference query data is obtained by counting the search count of the original query data corresponding to the reference query data; when the processing unit 1001 selects a preset number of reference query data from each reference query data as query data associated with the target query category, the following operations are specifically performed:

[0123] Based on the search times of each reference query data, the corresponding triples are ranked;

[0124] The preset number of triples are selected from the sorted triples, and the reference query data in the selected triples are used as query data associated with the target query category; the number of searches in the selected triples is greater than or equal to the number of searches in other triples.

[0125] According to one embodiment of the present application, Figure 2 as well as Figure 3 The various steps involved in the data processing method shown can be performed by Fig.10 The data processing device shown in FIG. 1 is executed by each unit in the data processing device shown in FIG. Figure 2 Steps S201 to S202 shown in FIG. Fig.10 The processing unit 1001 in the data processing device shown is used to execute, Figure 2 Step S203 shown can be performed by Fig.10 The response unit 1002 in the data processing device shown in the figure is executed. Figure 3 Steps S301 to S304 shown in FIG. Fig.10 The processing unit 1001 in the data processing device shown is used to execute, Figure 3 Step S305 shown can be performed by Fig.10 The response unit 1002 in the data processing device shown is executed.

[0126] According to another embodiment of the present application, Fig.10 The various units in the data processing device shown can be separately or completely combined into one or several other units to constitute, or one (some) of the units can also be split into multiple smaller units in function to constitute, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the functions of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. For example, the functions implemented by the above-mentioned various units can be implemented by one processing unit. In other embodiments of the present application, the data processing device based on logical function division may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units.

[0127] According to another embodiment of the present application, the program can be executed by running on a general computing device such as a computer including a central processing unit (CPU), a random access memory medium (RAM), a read-only memory medium (ROM), and other processing elements and storage elements. Figure 2 as well as Figure 3 A computer program (including program code) for each step involved in the corresponding method shown in FIG. Fig.10The data processing device shown in and the data processing method of the embodiment of the present application are implemented. The computer program can be recorded on, for example, a computer-readable storage medium, and loaded into the above-mentioned computing device through the computer-readable storage medium, and run therein.

[0128] In an embodiment of the present application, one or more query data associated with a target query category can be obtained, and the search intent of each query data under the target query category can be determined to obtain the intent label of the corresponding query data; then the search frequency of each intent label can be obtained, and each intent label and the corresponding search frequency can be used to construct a demand graph of the target query category; wherein the constructed demand graph can be used to indicate the demand for query requests under the target query category, that is, the query requests under the target query category have feedback requirements for the content corresponding to the search intent of each intent label in the demand graph. Based on this, after receiving the query request under the target query category, the corresponding query request can be responded to, and the response content of different search intents under the target query category can be obtained and displayed according to the demand graph. In summary, the construction of a demand graph for query requests under the target query category can be realized. By constructing a demand graph and responding based on the demand graph, the accuracy of feedback on query requests can be improved, that is, content that better meets the needs of the object can be fed back.

[0129] Based on the above-mentioned data processing method and data processing device embodiments, the present application also provides a data processing device, which can be used to execute the above-mentioned data processing method. Fig.11 , is a structural diagram of a data processing device provided in an embodiment of the present application. Fig.11 The data processing device shown may include at least a processor 1101, an input interface 1102, an output interface 1103, and a computer storage medium 1104. The processor 1101, the input interface 1102, the output interface 1103, and the computer storage medium 1104 may be connected via a bus or other means.

[0130] The computer storage medium 1104 may be stored in the memory of the data processing device. The computer storage medium 1104 is used to store a computer program. The computer program includes program instructions. The processor 1101 is used to execute the program instructions stored in the computer storage medium 1104. The processor 1101 (or CPU (Central Processing Unit)) is the computing core and control core of the data processing device, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions to implement the above-mentioned data processing method flow or corresponding functions.

[0131] The embodiment of the present application also provides a computer storage medium (Memory), which is a memory device in a data processing device for storing programs and data. It is understandable that the computer storage medium here can include both the built-in storage medium in the terminal and the extended storage medium supported by the terminal. The computer storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor 1101 are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer storage medium here can be a high-speed random access memory (RAM) memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage; optionally, it can also be at least one computer storage medium located away from the aforementioned processor.

[0132] In one embodiment, the processor 1101 may load and execute one or more instructions stored in a computer storage medium to implement the above-mentioned Figure 2 as well as Figure 3 In the corresponding steps of the method in the data processing method embodiment, in a specific implementation, one or more instructions in the computer storage medium are loaded by the processor 1101 and execute the following steps:

[0133] Acquire one or more query data associated with the target query category, and determine the search intent of each query data under the target query category to obtain an intent label of the corresponding query data;

[0134] Obtaining the search frequency of each intent tag, and using each intent tag and the corresponding search frequency to construct a demand graph of the target query category; the demand graph is used to indicate: the degree of attention paid to each search intent under the target query category;

[0135] In response to a query request under the target query category, response content of different search intents under the target query category is acquired and displayed according to the demand graph.

[0136] In one embodiment, when the processor 1101 uses the various intent tags and the corresponding search frequencies to construct the demand graph of the target query category, the processor 1101 specifically performs the following operations:

[0137] Based on the search frequency of each of the intent tags, the intent tags are sorted, and a target number of intent tags are selected from the sorted intent tags;

[0138] Obtaining a category identifier of the target query category, and constructing a demand graph of the target query category based on the category identifier and the selected intent tag;

[0139] Among them, the demand graph includes a central node and multiple child nodes, the central node is used to store the category identifier, a child node is used to store a selected intent label and the corresponding search frequency, and the search frequency of an intent label in the demand graph is used to indicate: the degree of attention to the search intent corresponding to the corresponding intent label.

[0140] In one embodiment, when the processor 1101 acquires and displays the response content of different search intents under the target query category according to the demand graph, the processor 1101 specifically performs the following operations:

[0141] According to the attention level indicated by the demand graph, obtaining response content of different search intents under the target query category, and determining the display order of the corresponding response content;

[0142] Display the corresponding response content in the display order.

[0143] In one embodiment, the demand graph includes a plurality of intent tags, and the search frequency of an intent tag in the demand graph is used to indicate: the degree of attention paid to the search intent corresponding to the corresponding intent tag;

[0144] When the processor 1101 acquires and displays the response content of different search intents under the target query category according to the demand graph, the processor 1101 specifically performs the following operations:

[0145] Obtain the parent tag to which each intent tag in the demand graph belongs; one intent tag corresponds to one parent tag, and the search intent range indicated by any intent tag is less than or equal to the search intent range indicated by the parent tag;

[0146] According to any intent tag in the demand graph, obtain the response content corresponding to the search intent of the corresponding intent tag;

[0147] The response content obtained based on the intent tag corresponding to the same parent tag is displayed in the same display area.

[0148] In one embodiment, if the number of acquired upper-level tags is at least two, the processor 1101 is further configured to:

[0149] According to the search frequency of the intent tag corresponding to each parent tag, the search frequency of each parent tag is obtained;

[0150] Based on the search frequency of each upper-level tag, the display order of the response content corresponding to the corresponding upper-level tag is determined; the display order of the response content corresponding to the upper-level tag is positively correlated with the search frequency of the corresponding upper-level tag.

[0151] In one embodiment, the processor 1101 acquires the search frequency of any intent tag in the following manner:

[0152] Determine each query data corresponding to any one of the intent tags, and obtain the search count of each query data corresponding to any one of the intent tags;

[0153] The number of searches is counted, and the corresponding statistical results are used as the search frequency of any of the intent tags.

[0154] In one embodiment, when the processor 1101 obtains one or more query data associated with the target query category, the processor 1101 specifically performs the following operations:

[0155] Obtain multiple original query data generated in the historical time period;

[0156] Based on the target query category, filtering is performed on each original query data so that the original query data obtained by filtering according to the target query category matches the target query category;

[0157] Performing semantic normalization processing on the original query data obtained through filtering to obtain reference query data;

[0158] A preset number of reference query data are selected from each reference query data as query data associated with the target query category.

[0159] In one embodiment, a reference query data is stored in a triple, and the triple to which any reference query data belongs further includes: a category identifier of the target query category and a search count of any reference query data; the search count of any reference query data is obtained by counting the search count of original query data corresponding to any reference query data; when the processor 1101 selects a preset number of reference query data from each reference query data as query data associated with the target query category, the processor 1101 specifically performs the following operations:

[0160] Based on the search times of each reference query data, the corresponding triples are ranked;

[0161] The preset number of triples are selected from the sorted triples, and the reference query data in the selected triples are used as query data associated with the target query category; the number of searches in the selected triples is greater than or equal to the number of searches in other triples.

[0162] The present application provides a computer program product, which includes a computer program stored in a computer storage medium; a processor of a data processing device reads the computer program from the computer storage medium, and the processor executes the computer program, so that the data processing device performs the above-mentioned Figure 2 as well as Figure 3 The method embodiment shown in the figure. The computer-readable storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).

[0163] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A data processing method, characterized in that: include: Acquire one or more query data associated with the target query category, and determine the search intent of each query data under the target query category to obtain an intent label of the corresponding query data; Obtaining the search frequency of each intent tag, and using each intent tag and the corresponding search frequency to construct a demand graph of the target query category; The demand graph is used to indicate: the degree of attention paid to each search intent under the target query category; In response to a query request under the target query category, response content of different search intents under the target query category is acquired and displayed according to the demand graph.

2. The method according to claim 1, characterized in that The step of using the various intent tags and corresponding search frequencies to construct a demand graph for the target query category includes: Based on the search frequency of each of the intent tags, the intent tags are sorted, and a target number of intent tags are selected from the sorted intent tags; Obtaining a category identifier of the target query category, and constructing a demand graph of the target query category based on the category identifier and the selected intent tag; Among them, the demand graph includes a central node and multiple child nodes, the central node is used to store the category identifier, a child node is used to store a selected intent label and the corresponding search frequency, and the search frequency of an intent label in the demand graph is used to indicate: the degree of attention to the search intent corresponding to the corresponding intent label.

3. The method according to claim 1, characterized in that The acquiring and displaying the response content of different search intents under the target query category according to the demand graph includes: According to the attention level indicated by the demand graph, obtaining response content of different search intents under the target query category, and determining the display order of the corresponding response content; Display the corresponding response content in the display order.

4. The method according to claim 1, characterized in that The demand graph includes a plurality of intent tags, and the search frequency of an intent tag in the demand graph is used to indicate: the degree of attention paid to the search intent corresponding to the corresponding intent tag; The acquiring and displaying the response content of different search intents under the target query category according to the demand graph includes: Obtain the parent tag to which each intent tag in the demand graph belongs; one intent tag corresponds to one parent tag, and the search intent range indicated by any intent tag is less than or equal to the search intent range indicated by the parent tag; According to any intent tag in the demand graph, obtain the response content corresponding to the search intent of the corresponding intent tag; The response content obtained based on the intent tag corresponding to the same parent tag is displayed in the same display area.

5. The method according to claim 4, characterized in that If the number of the acquired upper-level tags is at least two, the method further includes: According to the search frequency of the intent tag corresponding to each parent tag, the search frequency of each parent tag is obtained; Based on the search frequency of each parent tag, the display order of the response content corresponding to the corresponding parent tag is determined; the display order of the response content corresponding to the parent tag is positively correlated with the search frequency of the corresponding parent tag.

6. The method according to claim 1, characterized in that Ways to obtain the search frequency of any intent tag include: Determine each query data corresponding to any one of the intent tags, and obtain the search count of each query data corresponding to any one of the intent tags; The number of searches is counted, and the corresponding statistical results are used as the search frequency of any of the intent tags.

7. The method according to claim 1, characterized in that The obtaining of one or more query data associated with the target query category includes: Obtain multiple original query data generated in the historical time period; Based on the target query category, filtering is performed on each original query data so that the original query data obtained by filtering according to the target query category matches the target query category; Performing semantic normalization processing on the original query data obtained through filtering to obtain reference query data; A preset number of reference query data are selected from each reference query data as query data associated with the target query category.

8. The method according to claim 7, characterized in that A reference query data is stored in a triplet, and the triplet to which any reference query data belongs also includes: a category identifier of the target query category and a search count of the reference query data; the search count of the reference query data is obtained by counting the search counts of original query data corresponding to the reference query data; the selecting a preset number of reference query data from each reference query data as query data associated with the target query category includes: Based on the search times of each reference query data, the corresponding triples are ranked; The preset number of triples are selected from the sorted triples, and the reference query data in the selected triples are used as query data associated with the target query category; the number of searches in the selected triples is greater than or equal to the number of searches in other triples.

9. A data processing device, characterized in that: include: A processing unit, configured to obtain one or more query data associated with a target query category, and determine the search intent of each query data under the target query category to obtain an intent label of the corresponding query data; The processing unit is further used to obtain the search frequency of each intent tag, and use the each intent tag and the corresponding search frequency to construct a demand map of the target query category; the demand map is used to indicate: the degree of attention to each search intent under the target query category; A response unit is used to respond to query requests under the target query category, and to obtain and display response content of different search intentions under the target query category according to the demand graph.

10. A data processing device, characterized in that: The data processing device includes an input interface and an output interface, and further includes: a processor adapted to implement one or more instructions; and, A computer storage medium storing one or more instructions, wherein the one or more instructions are suitable for being loaded by the processor and executing the data processing method according to any one of claims 1 to 8.

11. A computer storage medium, characterized in that: The computer storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, they are used to execute the data processing method according to any one of claims 1 to 8.