Query data processing method, device, electronic device and storage medium

By analyzing user query behavior characteristics and condition combinations, we optimize the data query interface, solve the problem of reduced efficiency caused by too many query conditions, and achieve intelligent display and efficient query.

CN114090615BActive Publication Date: 2024-09-20PING AN TECH (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111438615.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-29
Publication Date
2024-09-20
Estimated Expiration
2041-11-29

AI Technical Summary

Technical Problem

When there are too many query conditions displayed on the data query interface, it will reduce the efficiency of users in selecting the required conditions and affect the efficiency of data query.

Method used

By obtaining the query behavior characteristics of multiple users, determine the combination of query conditions and the number of uses for each user, establish a target relationship matrix, classify query conditions, optimize the display order of the data query interface and hide uncommon conditions, reducing user selection time.

Benefits of technology

It realizes the intelligent display of query conditions, reduces the time for users to select the required conditions, and improves the efficiency of data query.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114090615B
    Figure CN114090615B
Patent Text Reader

Abstract

The embodiment of the present application discloses a query data processing method, device, electronic device and storage medium, which are applied to the field of data analysis technology. The method includes: obtaining query behavior characteristics of multiple users, determining multiple query condition combinations corresponding to each user and the number of times each query condition in N query conditions is used according to the query conditions used by each user in multiple data query processes, determining the target relationship matrix according to the multiple query condition combinations corresponding to each user, classifying the N query conditions according to the relationship value between any two query conditions in the N query conditions, obtaining M query condition categories, determining the data query interface according to the number of times each query condition is used and the M query condition categories, and outputting the data query interface through the target terminal. The use of this application can improve the efficiency of data query. The present application relates to blockchain technology, such as obtaining the query behavior characteristics of users from the blockchain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data analysis technology, and in particular to a query data processing method, device, electronic device and storage medium. Background Art

[0002] In the query scenario, the query conditions for filtering data can be displayed on the data query interface to achieve fast data query. However, when there are too many query conditions displayed on the data query interface, the user will be disturbed by multiple options when selecting the required query conditions, which affects the efficiency of data query to a certain extent. Therefore, how to optimize the display of the data query interface to improve the efficiency of data query has become an urgent problem to be solved. Summary of the invention

[0003] The embodiments of the present application provide a query data processing method, device, electronic device and storage medium, which can optimize the display of a data query interface, thereby improving the efficiency of data query.

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

[0005] Acquire query behavior characteristics of multiple users; the query behavior characteristics include multiple query behavior information of users, and one query behavior information includes a query condition used by a user from N query conditions for filtering data during a data query process; N is a positive integer;

[0006] Determine, according to the query conditions used by each of the multiple users in the multiple data query processes, a plurality of query condition combinations corresponding to each user and the number of times each of the N query conditions is used; the query condition combination includes at least one query condition;

[0007] Determine a target relationship matrix for the multiple users according to the multiple query condition combinations corresponding to each user; the target relationship matrix is ​​used to indicate the relationship value between any two query conditions in the N query conditions under the query behavior dimension of the multiple users, and the relationship value represents the possibility of the two query conditions appearing in a query behavior information;

[0008] Classify the N query conditions according to the relationship value between any two query conditions in the N query conditions to obtain M query condition categories; M is a positive integer, and one query condition category includes at least one query condition;

[0009] A data query interface is determined according to the number of times each query condition is used and the M query condition categories, and the data query interface is output through a target terminal.

[0010] On the one hand, an embodiment of the present application provides a query data processing device, the device comprising:

[0011] An acquisition module, used to acquire query behavior characteristics of multiple users; the query behavior characteristics include multiple query behavior information of users, and one query behavior information includes a query condition used by a user in a data query process from N query conditions for filtering data; N is a positive integer;

[0012] a determination module, configured to determine, according to the query conditions used by each of the multiple users in the multiple data query processes, a plurality of query condition combinations corresponding to each user and a usage count of each of the N query conditions; the query condition combination includes at least one query condition;

[0013] The determination module is further used to determine a target relationship matrix for the multiple users according to the multiple query condition combinations corresponding to each user; the target relationship matrix is ​​used to indicate a relationship value between any two query conditions in the N query conditions under the query behavior dimension of the multiple users, and the relationship value represents the possibility that the any two query conditions appear in a query behavior information;

[0014] a classification module, configured to classify the N query conditions according to the relationship value between any two query conditions in the N query conditions to obtain M query condition categories; M is a positive integer, and one query condition category includes at least one query condition;

[0015] The determination module is further used to determine the data query interface according to the number of times each query condition is used and the M query condition categories;

[0016] The output module is used to output the data query interface through the target terminal.

[0017] On the one hand, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute some or all of the steps in the above method.

[0018] On the one hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program includes program instructions, which, when executed by a processor, are used to execute some or all of the steps in the above method.

[0019] In an embodiment of the present application, multiple query condition combinations corresponding to each user and the number of times each query condition is used can be determined based on the query conditions used by each user in multiple query behavior information; the query condition combinations represent query conditions that will be used together for one user dimension; a target relationship matrix for multiple users is determined based on the multiple query condition combinations corresponding to each user; the target relationship matrix can represent the relationship value between the query conditions, and the relationship value represents the possibility of two query conditions appearing in one query behavior information; the N query conditions are classified according to the relationship value between any two query conditions in the N query conditions to obtain M query condition categories; the query condition category can represent the query conditions that will be used together for multiple user dimensions; a data query interface is determined based on the number of times each query condition is used and the M query condition categories, and the data query interface is output through a target terminal; the data query interface obtained in this way can realize the intelligent display of query conditions, and can reduce the time for users to select required query conditions, thereby improving the efficiency of data query. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0021] Figure 1 A schematic diagram of an application architecture provided for an embodiment of the present application;

[0022] Figure 2 A flowchart of a query data processing method provided in an embodiment of the present application;

[0023] Figure 3a A schematic diagram of a scene displaying a data query interface provided in an embodiment of the present application;

[0024] Figure 3b A schematic diagram of a scene displaying a data query interface provided in an embodiment of the present application;

[0025] Figure 3c A schematic diagram of a scene displaying a data query interface provided in an embodiment of the present application;

[0026] Figure 4 A flowchart of a query data processing method provided in an embodiment of the present application;

[0027] Figure 5 A schematic diagram of a relationship matrix provided in an embodiment of the present application;

[0028] Figure 6a A schematic diagram of a scenario for determining a query condition category provided in an embodiment of the present application;

[0029] Figure 6b A schematic diagram of a scenario for determining a query condition category provided in an embodiment of the present application;

[0030] Figure 7 A schematic diagram of a scene displaying a data query interface provided in an embodiment of the present application;

[0031] Figure 8 A schematic diagram of the structure of a query data processing device provided in an embodiment of the present application;

[0032] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0033] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0034] The query data processing method proposed in the embodiment of the present application is implemented in an electronic device, which can be a terminal device or a server. Among them, the terminal device can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc. The server can be an independent server, or a server cluster or a 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 distribution networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms, but is not limited to this. The present application relates to blockchain technology, and electronic devices can write the data involved, such as query behavior characteristics of multiple users, into the blockchain, so that the electronic device can obtain the required information on the blockchain, such as determining the number of times each query condition is used based on the query behavior characteristics of multiple users on the blockchain.

[0035] See also Figure 1 , Figure 1 A schematic diagram of an application architecture provided in an embodiment of the present application is provided, and the query data processing method proposed in the present application can be executed through the application architecture. Specifically, Figure 1It may include an electronic device and a target terminal. The electronic device may obtain query behavior characteristics of multiple users by executing the technical solution of the present application, and determine multiple query condition combinations corresponding to each user and the number of times each query condition is used, determine a target relationship matrix that can represent the relationship between the query conditions based on the multiple query condition combinations, and obtain M query condition categories based on the target relationship matrix, the query condition category may represent the query conditions predicted to be used together for any user, and the electronic device may determine a data query interface based on the M query condition categories and the number of times each query condition is used, and display and output it in the target terminal. The target terminal may perform data query based on the displayed data query interface, for example, select the required query condition on the data query interface to configure the data query request, and send the generated data query request to the electronic device for data query, and the electronic device may return the target data obtained by the query to the target terminal.

[0036] Understandably, Figure 1 The application architecture proposed by the technical solution of the present application is merely exemplified and does not limit the specific architecture of the technical solution of the present application. That is, the technical solution of the present application can also provide other forms of application architecture.

[0037] In some embodiments, the electronic device can execute the query data processing method according to actual business needs to improve data query efficiency. The technical solution of the present application can be applied to any data query scenario where query conditions exist. For example, in an insurance order data query scenario, the query conditions can be the person recording the order, the type of insurance, etc. For another example, in a medical data query scenario, the query conditions can be the registration time, the consultation department, etc. The electronic device can determine the number of times the set query conditions are used and the query condition category in the applied scenario, thereby determining the data query interface to realize the intelligent display of the query conditions.

[0038] It is understandable that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, it is known to those skilled in the art that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0039] Based on the above description, the embodiment of the present application proposes a query data processing method, which can be executed by the electronic device mentioned above. Figure 2 As shown, the process of the query data processing method of the embodiment of the present application may include the following:

[0040] S201. Obtain query behavior characteristics of multiple users.

[0041] The query behavior characteristics of a user may include multiple query behavior information of the user, and one query behavior information may include a query condition used by the user from N query conditions for filtering data during a data query process; N is a positive integer. The N query conditions may be set by relevant business personnel according to actual scenarios. For example, the query conditions used by user A during a data query process are condition A and condition B, so for user A, one query behavior information includes condition A and condition B.

[0042] In some embodiments, the electronic device can collect the query behavior information generated by the user within the target time period as the query behavior characteristics of the user. Specifically, it can be through the data query interface to collect the query conditions used by the user in each data query process. For example, since each time the user performs a data query, he will click the control displayed on the data query interface to indicate the confirmation of the query (such as the "submit" control, etc.), so through the point, after detecting that the user has triggered the aforementioned control, it can be said that a query behavior has been generated, and the query condition selected by the query behavior is used as a query behavior information. It can be understood that in the specific implementation of the present application, it involves user information (such as query behavior information collected by burying points on the data query interface displayed in the target terminal) and other related data. When the above embodiments of the present application are applied to specific products or technologies, it is necessary to obtain user permission or consent, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0043] S202: Determine, based on query conditions used by each of the multiple users in multiple data query processes, multiple query condition combinations corresponding to each user and the number of times each query condition in the N query conditions is used.

[0044] Among them, a query condition combination includes at least one query condition, and when a query condition combination includes two or more query conditions, it means that the two or more query conditions are query conditions that are often used together. For example, a query condition combination corresponding to user A includes condition A and condition B, which means that based on the query behavior characteristics of user A, condition A and condition B are query conditions that are often used together under the dimension of user A.

[0045] In one possible implementation, the process and principle of determining the multiple query condition combinations corresponding to each user are the same. Here, one user is taken as an example (target user). The electronic device determines the multiple query condition combinations corresponding to each user according to the query conditions used by each user in multiple data query processes. Specifically, according to the query conditions used by the target user in each data query process, an initial query condition set corresponding to each data query process is generated. The initial query condition set can be empty (that is, data query is performed directly without using query conditions) or at least one query condition combination. According to the query conditions included in each initial query condition set, the repeated initial query condition sets are merged, and the number of repetitions of the merged initial query condition sets is recorded to obtain multiple transition query condition sets, each of which corresponds to a repetition number (0 or greater than 0), the multiple transition query condition sets are sorted according to the repetition number, and the multiple query condition combinations corresponding to the target user are determined from the sorted multiple transition query condition sets.

[0046] In some embodiments, the electronic device determines multiple query condition combinations corresponding to the target user from the sorted multiple transition query condition sets by sequentially taking out a target number of transition query condition sets from the sorted multiple transition query condition sets as query condition combinations corresponding to the target user. At this time, if the target number of transition query condition sets do not include all query conditions, each query condition in at least one query condition remaining not included in the N query conditions is used as a query condition combination corresponding to a target user. The target number can be set by relevant personnel based on experience.

[0047] For example, multiple initial query condition sets of the target user are obtained, and the initial query condition set 1 is assumed to be [query condition 1, query condition 2], the initial query condition set 2 is assumed to be [query condition 1, query condition 2], the initial query condition set 3 is assumed to be [query condition 2, query condition 3], and the initial query condition set 4 is assumed to be [query condition 3, query condition 4, query condition 5]; the query conditions included in each initial query condition set are merged to obtain multiple transition query condition sets (initial query condition set 1 (number of repetitions is 1), initial query condition set 3 (number of repetitions is 0), initial query condition set 4 (number of repetitions is 0) )); sorting the multiple query condition sets to obtain multiple sorted transition query condition sets, namely initial query condition set 1, initial query condition set 3 and initial query condition set 4; assuming the target number is 2, the initial query condition set 1 and the initial query condition set 3 are used as query condition combinations corresponding to the target user; at this time, the selected transition query condition set does not include all query conditions (i.e., query condition 4 and query condition 5), so query condition 4 is used as a query condition combination, and query condition 5 is used as a query condition combination, thereby obtaining 4 query condition combinations corresponding to the target user.

[0048] Alternatively, the prediction model can be implemented according to the query conditions used by the target user in multiple data query processes, that is, the query conditions used by the target user in multiple data query processes can be input into the prediction model to obtain corresponding multiple query condition combinations. The prediction model can be obtained by training the prediction model to be trained with a sample set (query conditions used by sample users in multiple data query processes and corresponding multiple sample query condition combinations).

[0049] In a possible implementation, the electronic device may determine the number of times each of the N query conditions is used based on the query conditions used by each of the multiple users in multiple data query processes. The more times the query condition is used, the more frequently the query condition is used, and the greater the probability that the query condition is selected when the user performs a data query.

[0050] S203: Determine a target relationship matrix for multiple users according to multiple query condition combinations corresponding to each user.

[0051] The target relationship matrix is ​​used to indicate the relationship value between any two query conditions in N query conditions under the query behavior dimension of multiple users, and the relationship value represents the possibility of any two query conditions appearing in one query behavior information. The two query conditions appearing in one query behavior information here means that the user uses the two query conditions together in one data query process.

[0052] In a possible implementation, the electronic device can determine the relationship matrix corresponding to each user according to the combination of multiple query conditions corresponding to each user, and determine the target relationship matrix for multiple users according to the relationship matrix corresponding to each user. The relationship matrix corresponding to each user can be used to characterize the relationship between the N query conditions under the query behavior dimension of a user. Therefore, the target relationship matrix can be used to characterize the relationship between the N query conditions under the query behavior dimension of multiple users. The specific implementation process of this part can be referred to the detailed description in the following embodiment.

[0053] It can be understood that the target relationship matrix can represent the query behavior habits of users. Based on the target relationship matrix, when the target relationship value between two query conditions is larger, it means that the relationship between the two query conditions is more distant, and it is less likely for users to use them together during data query, that is, the possibility of appearing in a query behavior information is smaller; conversely, when the target relationship value between two query conditions is smaller, it means that the relationship between the two query conditions is closer, and it is easier for users to use them together during data query, that is, the possibility of appearing in a query behavior information is greater.

[0054] S204 , classify the N query conditions according to the relationship value between any two query conditions among the N query conditions to obtain M query condition categories.

[0055] Wherein, M is a positive integer, and a query condition category includes at least one query condition. When a query condition category includes two or more query conditions, it means that the two or more query conditions are often combined for data query.

[0056] In a possible implementation, the electronic device classifies the N query conditions according to the relationship value between any two query conditions in the N query conditions to obtain M query condition categories, which may be that, according to the relationship value between any two query conditions in the N query conditions, multiple target query conditions that meet the preset extraction condition are extracted from the N query conditions, and the multiple target query conditions are used as the first query condition category, and the first query condition category is regarded as a query condition as a whole (assuming condition [1]), so the target relationship matrix can be updated based on the query conditions at this time (the query conditions other than the target query conditions in the N query conditions and condition [1]) to obtain an updated target relationship matrix; the updated target relationship matrix is ​​used to indicate the query rows of multiple users. The updated relationship values ​​between the query conditions to be divided (i.e., the query conditions and condition [1] other than the target query conditions) under the dimension; based on the updated target relationship matrix, multiple target query conditions that meet the preset extraction conditions are extracted from the N query conditions (i.e., the query conditions and condition [1] other than the target query conditions), and the multiple target query conditions are used as the second query condition category, and M query condition categories can be obtained according to the first query condition category and the second query condition category; optionally, the updated target relationship matrix can be further updated to obtain a second updated target relationship matrix, and a third query condition category can be obtained according to the second updated target relationship matrix, so as to determine M query condition categories according to the aforementioned query condition categories. The method for determining the second query condition category based on the updated target relationship matrix can be the same as the method for determining the first query condition category based on the target relationship matrix. Among them, the preset extraction condition can refer to two or more query conditions with the smallest relationship value between the extractions.

[0057] In some embodiments, M query condition categories are obtained according to the first query condition category and the second query condition category. If the first query condition category and the second query condition category include all the query conditions, then the first query condition category and the second query condition category are determined as M query condition categories; if the first query condition category and the second query condition category do not include all the query conditions, then each query condition not included is respectively regarded as an independent query condition category (which only includes one query condition), and the first query condition category, the second query condition category and the aforementioned independent query condition categories are determined as M query condition categories.

[0058] S205: Determine a data query interface according to the number of times each query condition is used and the M query condition categories, and output the data query interface through a target terminal.

[0059] In one possible implementation, the electronic device may display the display controls corresponding to each query condition in the data query interface in order from largest to smallest according to the number of times each query condition is used, and may display M query condition categories in the display area where the display controls corresponding to each query condition are located, thereby obtaining a data query interface, and outputting the data query interface through the target terminal. A user of the target terminal may configure a data query request based on the displayed query conditions in the data query interface.

[0060] For example, Figure 3a-3c As shown, Figure 3a-3c A schematic diagram of a scene displaying a data query interface provided in an embodiment of the present application; wherein:

[0061] (1) Figure 3a As shown, the electronic device may determine the display order of the query conditions on the data query interface according to the number of times each query condition is used, that is, the page layout of the query conditions may be sorted from high to low based on the number of times used, and the order of the query conditions from high to low is query condition 1, query condition 2, ..., query condition 10;

[0062] (2) Figure 3b As shown, the electronic device can also set the number of query conditions that can be displayed on the data query interface. The query conditions that exceed the display number can be hidden. Suppose the display number is 3, that is, Figure 3b (1) The user chooses whether to display. If the user triggers the "Expand Conditions" control, the remaining query conditions are displayed. Figure 3b (2) This reduces the number of elements displayed on the interface and reduces the information interference caused by displaying all query conditions;

[0063] (2) Figure 3c In the data query interface, if the user triggers the display control corresponding to a query condition, that is, Figure 3c (1) The remaining query conditions in the query condition category to which the triggered query condition belongs can be displayed in the display area of ​​the triggered query condition, that is, Figure 3c (2) The user can use the remaining query conditions displayed to quickly find the required query conditions, thereby reducing the user's workload in data query.

[0064] In an embodiment of the present application, an electronic device can obtain query behavior characteristics of multiple users, and determine multiple query condition combinations corresponding to each user and the number of times each query condition is used based on the query conditions used by each user in multiple query behavior information; the query condition combination represents the query conditions that will be used together for a user dimension; a target relationship matrix for multiple users is determined based on the multiple query condition combinations corresponding to each user; the target relationship matrix can represent the relationship value between the query conditions, and the relationship value represents the possibility of two query conditions appearing in a query behavior information; the N query conditions are classified according to the relationship value between any two query conditions among the N query conditions to obtain M query condition categories; the query condition category can represent the query conditions that will be used together for multiple user dimensions; a data query interface is determined based on the number of times each query condition is used and the M query condition categories, and the data query interface is output through a target terminal; the data query interface obtained in this way can realize the intelligent display of query conditions, and can reduce the time for users to select required query conditions, thereby improving the efficiency of data query.

[0065] See also Figure 4 , Figure 4 The following is a flow chart of a query data processing method provided in an embodiment of the present application, which can be executed by the electronic device mentioned above. Figure 4 As shown, the process of the query data processing method in the embodiment of the present application may include the following:

[0066] S401: Obtain query behavior characteristics of multiple users.

[0067] S402: Determine, based on the query conditions used by each of the multiple users in multiple data query processes, multiple query condition combinations corresponding to each user and the number of times each query condition in the N query conditions is used. The specific implementation of steps S401-S402 can refer to the relevant description of steps S201-S202 above, which will not be repeated here.

[0068] S403: Determine a relationship matrix corresponding to each user according to a plurality of query condition combinations corresponding to each user.

[0069] In one possible implementation, the electronic device determines the relationship matrix corresponding to each user according to the multiple query condition combinations corresponding to each user, which can be specifically as follows: S1. Determine the association relationship between any two query conditions among N query conditions under the query behavior dimension of each user according to the multiple query condition combinations corresponding to each user; the association relationship between any two query conditions includes being in a query condition combination or not being in a query condition combination. It can be understood that for different users, the association relationship between the same two query conditions may be the same or different; S2. Determine the relationship value of any two query conditions under the query behavior dimension of each user according to the association relationship between any two query conditions under the query behavior dimension of each user; S3. Generate a relationship matrix of N query conditions for each user according to the relationship value of any two query conditions under the query behavior dimension of each user. At this time, the relationship matrix is ​​obtained based on the query behavior habits of each user; that is, the target relationship matrix corresponding to the N query conditions can be determined according to the relationship value of any two query conditions under the query behavior dimension of each user.

[0070] In a possible implementation, the process of determining the relationship value of any two query conditions under the query behavior dimension of each user by the electronic device is the same. Here, one user is taken as an example for explanation, and any user among each user is represented as the target user; the electronic device determines the relationship value of any two query conditions under the query behavior dimension of each user according to the association relationship of any two query conditions under the query behavior dimension of each user, which can be specifically: suppose any two query conditions among N query conditions are the first query condition and the second query condition, if the association relationship between the first query condition and the second query condition under the query behavior dimension of the target user is in a query condition combination, then the relationship value of the first query condition and the second query condition under the query behavior dimension of the target user is determined to be a first preset value; if the usage relationship between the first query condition and the second query condition under the query behavior dimension of the target user is not in a query condition combination, then the relationship value of the first query condition and the second query condition under the query behavior dimension of the target user is determined to be a second preset value. Wherein, the first preset value and the second preset value can be set by relevant business personnel according to experience values, for example, the first preset value is 0 and the second preset value is 1.

[0071] For example, N query conditions include query condition 1, query condition 2, query condition 3 and query condition 4, and the multiple query condition combinations corresponding to the target user are: query condition combination 1 (including query condition 1 and query condition 2), query condition combination 2 (including query condition 3 and query condition 4), so the relationship value between query condition 1 and query condition 2 is 0, the relationship value between query condition 1 and query condition 3 is 1, the relationship value between query condition 1 and query condition 4 is 1, the relationship value between query condition 2 and query condition 3 is 1, the relationship value between query condition 2 and query condition 4 is 1, and the relationship value between query condition 3 and query condition 4 is 0. Therefore, the relationship matrix of the N query conditions for the target user determined according to the relationship values ​​of any two query conditions among the N query conditions under the query behavior dimension of the target user can be as follows: Figure 5 As shown, Figure 5 A schematic diagram of a relationship matrix provided in an embodiment of the present application.

[0072] S404: sum the relationship matrices corresponding to the multiple users, and use the sum result as the target relationship matrix.

[0073] In some embodiments, the electronic device can sum the N query conditions for each user's relationship matrix, and use the summed result as the target relationship matrix. The target relationship matrix at this time is obtained based on the query behavior habits of multiple users, that is, it can be used to characterize the query behavior habits of most users who perform data queries.

[0074] Alternatively, in some embodiments, the electronic device may also determine weight coefficients of multiple users, perform weighted summation on the relationship matrices corresponding to the multiple users based on the weight coefficients of the multiple users, and use the result of the weighted summation as the target relationship matrix. The weight coefficients used for weighting may be set by relevant business personnel based on experience.

[0075] S405 , classify the N query conditions according to the relationship value between any two query conditions among the N query conditions to obtain M query condition categories.

[0076] In one possible implementation, the electronic device classifies N query conditions according to the relationship value between any two of the N query conditions to obtain M query condition categories, which may be specifically: ① determining a target query condition set from the N query conditions according to the relationship value between any two of the N query conditions; the target query condition set may be one or more, a target query condition set includes at least two target query conditions, and the relationship values ​​between any two target query conditions in a target query condition set are the same and meet a preset relationship value condition; ② determining a first query condition category according to the target query condition set; ③ updating the target relationship matrix using the first query condition category to obtain an updated target relationship matrix; ④ classifying the N query conditions according to the updated target relationship matrix to obtain a second query condition category; ⑤ obtaining M query condition categories according to the first query condition category and the second query condition category.

[0077] Based on the above ①, the preset relationship value condition may refer to determining at least one set of target query conditions with the smallest relationship value according to the relationship value between any two query conditions in the N query conditions, and obtaining a target query condition set according to the at least one set of target query conditions. A set of target query conditions includes at least two query conditions. And obtaining a target query condition set according to at least one set of target query conditions may specifically be to take each set of target query conditions as a target query condition set.

[0078] For example, according to the target relationship matrix (including the relationship values ​​among query condition 1, query condition 2, query condition 3, query condition 4, and query condition 5), it is determined that the relationship value between query condition 1 and query condition 2 is the smallest, and the relationship value between query condition 3 and query condition 4 is the smallest. Therefore, a set of target query conditions determined is query condition 1 and query condition 2, and a set of target query conditions determined is query condition 3 and query condition 4. Accordingly, two sets of target query conditions are obtained ([query condition 1, query condition 2], [query condition 3, query condition 4]).

[0079] Based on the above ②, determining the first query condition category according to the target query condition set may be to use a target query condition set as a first query condition category, that is, the number of first query condition categories is equal to the number of target query condition sets. As in the above example, it means that the determined first query condition categories are two ([query condition 1, query condition 2], [query condition 3, query condition 4]).

[0080] In some embodiments, based on the above ③, it is assumed that the first query condition category includes Z target query conditions, and Z is a positive integer less than or equal to N (such as the above example, indicating that the target query conditions are 4); the electronic device uses the first query condition category to update the target relationship matrix, and the updated target relationship matrix can be specifically: based on the relationship value between any two query conditions in the N query conditions, determine the relationship value between the Z target query conditions and each remaining query condition, the remaining query condition belongs to the query condition set other than the Z target query conditions in the N query conditions, according to the relationship value between the Z target query conditions and each remaining query condition, determine the relationship value between the first query condition category and each remaining query condition, and generate the updated target relationship matrix according to the relationship value between the first query condition category and each remaining query condition. It can be understood that the rows and columns of the target relationship matrix represent the N query conditions, and the rows and columns of the updated target relationship matrix represent the first query condition category and the remaining query conditions, that is, the first query condition category can be regarded as a query condition as a whole, and the rows and columns of the updated target relationship matrix represent the query condition and the remaining query conditions.

[0081] Among them, the first query condition category can be one or more, taking the first query condition category as an example, and the process and principle of determining the relationship value between the first query condition category and each remaining query condition are the same, taking one remaining query condition as an example (target remaining query condition), the electronic device determines the relationship value between the first query condition category and the target remaining query conditions by averaging the relationship value between each target query condition and the target remaining query conditions in the Z target query conditions included in the first query condition category, and taking the average processing result as the relationship value between the first query condition category and the target remaining query conditions. For example, assuming that the first query condition category includes query condition 1 and query condition 2, and the target remaining query condition is query condition 3, assuming that the relationship value between query condition 1 and query condition 3 is a, and the relationship value between query condition 1 and query condition 3 is b, therefore, the relationship value between the first query condition category and the target remaining query conditions is (a+b) / 2.

[0082] In some embodiments, based on the above ④, the specific implementation process of the electronic device classifying N query conditions (i.e., the target query conditions and the remaining query conditions included in the first query condition category) according to the updated target relationship matrix to obtain the second query condition category can be the same as the method of obtaining the first query condition category according to the target relationship matrix for N query conditions, that is, executing steps ①-② on the updated target relationship matrix. Similarly, the second query condition category can be one or more. It can be understood that the process of obtaining M query condition categories is a process of multiple rounds of cyclic division. The process of classifying N query conditions according to the updated target relationship matrix is ​​the same as the process of classifying N query conditions according to the target relationship matrix (i.e., the relationship value between any two query conditions in the N query conditions).

[0083] Therefore, the process of determining the M query condition categories can be as follows: after obtaining the first query condition category according to the target relationship matrix, each query condition in the N query conditions except the target query condition included in the first query condition category can be regarded as a query condition category (assuming an independent query condition category), and determine whether the number of categories of the aforementioned independent query condition category and the first query condition category meets the data condition; if so, the independent query condition category and the first query condition category are regarded as M query condition categories; if not, the first updated target relationship matrix is ​​obtained based on the first query condition category, and the second query condition category is obtained according to the first updated target relationship matrix; and according to the first query condition category and the second query condition category M query condition categories are obtained; that is, each query condition except the first query condition category and the second query condition category in the N query conditions is regarded as a query condition category (assuming independent query condition categories), and it is determined whether the number of the aforementioned independent query condition categories, the first query condition category and the second query condition category meets the data condition; if so, the independent query condition category, the first query condition category and the second query condition category are regarded as M query condition categories; if not, the second updated target relationship matrix can be further obtained based on the first query condition category and the second query condition category, and the third query condition category is obtained according to the second updated target relationship matrix, until M query condition categories that meet the quantity condition are obtained. The quantity condition can be a specific value, a value range, etc.

[0084] For example, see Figure 6a-Figure 6b , Figure 6a-Figure 6b A schematic diagram of a scenario for determining a query condition category provided in an embodiment of the present application; wherein, assuming that N query conditions include A0-A4, and assuming that the target relationship matrix is ​​as follows Figure 6aAs shown, the default relationship value between the same query conditions is 0, and M is set to a value that satisfies the quantity condition (between 2 and 3); therefore:

[0085] (1) determining a target query condition set from the N query conditions according to the relationship value (target relationship matrix) between any two query conditions among the N query conditions, the target query condition set including A1 and A3, and the relationship value between A1 and A3 is the minimum value in the target relationship matrix;

[0086] (2) The target query condition set is taken as the first query condition category (category A); at this time, the remaining independent query conditions A0, A2, and A4 can be regarded as an independent query condition category respectively, thereby obtaining four query condition categories. Since the number of categories does not meet the quantity condition at this time, continue to perform the following steps;

[0087] (3) Determine the relationship value between the first query condition category and each of the remaining query conditions according to the relationship value between A1 and each of the remaining query conditions (A0, A2, A4) and the relationship value between A3 and each of the remaining query conditions (A0, A2, A4), that is:

[0088] Taking A0 as an example, the relationship value calculation method between category A and A0 can be expressed as:

[0089]

[0090] Among them, D(A1,A0) represents the relationship value between A1 and A0;

[0091] (4) The target relationship matrix is ​​updated using the relationship value between the first query condition category and each of the remaining query conditions to obtain an updated target relationship matrix, such as Figure 6b As shown;

[0092] (5) When category A is regarded as a query condition, a target query condition set is determined from the query conditions at this time according to the updated target relationship matrix, and the target query condition set includes A0 and A4, and the relationship value between A1 and A3 is the minimum value in the target relationship matrix;

[0093] (6) The target query condition set is taken as the second query condition category (category B); at this time, the remaining individual query condition A2 can be regarded as an independent query condition category, thereby obtaining three query condition categories. Since the number of categories at this time meets the quantity condition, the first query condition category (A1 and A3), the second query condition category (A1 and A3) and the independent query condition category (A2) are taken as the M query condition categories corresponding to the target relationship matrix.

[0094] In some embodiments, if the relationship value D(U, V) between two query condition categories (category 1 and category 1) needs to be determined in the above process of calculating the relationship value, it can be determined by the following calculation formula:

[0095]

[0096] Among them, U represents category 1, V represents category 2, category 1 includes conditions 1 and 2, category 2 includes conditions 3 and 4, and D(U1,V3) represents the relationship value between condition 1 in category 1 and condition 3 in category 2.

[0097] In a possible implementation, the N query conditions include a first query condition to be divided; the electronic device classifies the N query conditions according to the relationship value between any two query conditions in the N query conditions to obtain M query condition categories. Alternatively, according to the relationship value between any two query conditions in the N query conditions, a first query condition set whose relationship value with the first query condition to be divided satisfies a preset condition is determined from the N query conditions, the query condition set corresponding to the first query condition may be empty or may be at least one query condition, the first query condition to be divided and the first query condition set are used as the first query condition category, and the second query condition category is determined according to the relationship value between the query conditions other than the first query condition to be divided and the first query condition set in the N query conditions, and M query condition categories are obtained according to the first query condition category and the second query condition category. The preset condition may be that the relationship value is less than or equal to a relationship threshold, and the relationship threshold may be set by relevant business personnel.

[0098] Among them, the method of determining the second query condition category according to the relationship value between the query conditions other than the first query condition to be divided and the first query condition set among the N query conditions can be the same as the method of determining the first query condition category according to the relationship value between any two query conditions among the N query conditions, that is, the query conditions other than the first query condition to be divided and the first query condition set among the N query conditions include the second query condition to be divided, and the second query condition set whose relationship value with the second query condition to be divided meets the preset condition is determined from the N query conditions, and the second query condition set can be empty or at least one query condition, and the second query condition to be divided and the second query condition set are taken as the second query condition category. If there is a relationship value between the query condition to be divided and the undivided query condition among the N query conditions that does not meet the preset condition, then the query condition is taken as a query condition category alone.

[0099] For example, the relationship value between condition 1 and condition 2 is 1, the relationship value between condition 1 and condition 3 is 4, the relationship value between condition 1 and condition 4 is 5, the relationship value between condition 1 and condition 5 is 4, the relationship value between condition 1 and condition 6 is 6, the relationship value between condition 2 and condition 3 is 2, the relationship value between condition 2 and condition 4 is 3, the relationship value between condition 2 and condition 5 is 5, the relationship value between condition 2 and condition 6 is 4, the relationship value between condition 3 and condition 4 is 2, the relationship value between condition 3 and condition 5 is 5, the relationship value between condition 3 and condition 6 is 6, the relationship value between condition 4 and condition 5 is 7, the relationship value between condition 4 and condition 6 is 6, and the relationship value between condition 5 and condition 6 is 6. Suppose the preset condition is that the relationship value is less than or equal to the relationship threshold (set to 2). If the first query condition to be divided is condition 1, the first query condition set is condition 2, and the first query condition category obtained is condition 1 and condition 2; if the second query condition to be divided is condition 3, the second query condition set is condition 4, and the second query condition category obtained is condition 3 and condition 4; if the third query condition to be divided is condition 5, the relationship value between the third query condition to be divided and the undivided query condition (condition 6) does not meet the preset conditions, so the third query condition to be divided and the undivided query condition are both taken as a query condition category separately, thereby obtaining 4 query condition categories, namely: [condition 1, condition 2], [condition 3, condition 4], [condition 5], [condition 6].

[0100] S406: Determine a data query interface according to the number of times each query condition is used and the M query condition categories, and output the data query interface through the target terminal.

[0101] In some embodiments, the electronic device can determine a data query interface based on the number of times each query condition is used and M query condition categories. The data query interface can be understood to be obtained based on the query behavior habits of multiple users. It is therefore convenient for users who need to perform data queries. This can reduce the time it takes for users to search for query conditions during queries, thereby improving the overall efficiency of data queries.

[0102] Optionally, in a possible implementation, when performing a data query, the user can select the data type of the queried data. Taking the query of insurance order data as an example, the data type can be the policy type, the application form type, etc. Therefore, when performing a data query, the user can select a specified data type in addition to selecting a query condition, that is, a data query behavior information can also characterize the data type of the data queried by the user in a data query process. Therefore, the electronic device can also determine the probability distribution of each query condition for the data type according to the query conditions used by the target user in multiple data query behaviors and the data type of the queried data, and determine the target data type corresponding to each query condition category in the M query condition categories according to the probability distribution of each query condition for the data type. Among them, the probability distribution of any query condition (query condition A) in each query condition for the data type can be determined by the ratio of the number of times the target user selects the corresponding data type when using query condition A to the number of times query condition A is used. For example, for the target user, query condition A is used 100 times, and when query condition A is used, data type 1 is selected 30 times, data type 2 is selected 20 times, and no data type is selected 50 times (let it be represented as data type 0). Therefore, for the target user, the probability distribution of query condition A for data types is: for data type 0, the probability is 1 / 2; for data type 1, the probability is 3 / 10; for data type 3, the probability is 1 / 5.

[0103] In some embodiments, any one of the M query condition categories is represented as query condition category A. Specifically, the electronic device determines the target data type corresponding to query condition category A according to the probability distribution of each query condition for the data type, which can be: mean processing the probability distribution of the query conditions included in query condition category A for the data type, to obtain the average probability distribution of the query condition category A for the data type, and determine the data type with the largest average probability in the average probability distribution as the target data type corresponding to query condition category A. For example, query condition category A includes query condition 1 and query condition 2, and the probability distribution of query condition 1 for the data type is: for data type 1, the probability is 1 / 2; for data type 2, the probability is 1 / 2; the probability distribution of query condition 2 for the data type is: for data type 1, the probability is 1 / 3; for data type 2, the probability is 2 / 3; therefore, the average probability distribution of query condition category A for the data type is: for data type 1, the average probability is (1 / 2+1 / 3) / 2=5 / 12; for data type 2, the average probability is (1 / 2+2 / 3) / 2=7 / 12; therefore, the target data type corresponding to query condition category A is data type 2.

[0104] In one possible implementation, when determining the data query interface, the electronic device can also determine it according to the number of times each query condition is used, the M query condition categories, and the target data type corresponding to each query condition category. Specifically, when the electronic device determines and outputs the data query interface according to the number of times each query condition is used and the M query condition categories, the electronic device can periodically detect the user's triggering of the query condition. If it is detected that the user triggers the display control corresponding to the specified query condition, the query condition category where the specified query condition is located is determined, and the data of the target data type is obtained from the database storing the data according to the target data type corresponding to the query condition category, and the data of the target data type is displayed through the target terminal, which means that the user's query intention can be judged based on the user's behavior on the data query interface, and the data that meets the predicted query intention is dynamically displayed on the data query interface. The user can determine whether the required data exists from the dynamically displayed data, thereby improving the intelligence and efficiency of data query.

[0105] For example, Figure 7 As shown, Figure 7 A scenario schematic diagram of a data query interface provided for an embodiment of the present application; wherein, after detecting a query condition triggered by a user, the electronic device determines a target data type corresponding to a query condition category to which the query condition belongs, determines data of the target data type, and displays the data of the target data type in a designated display area of ​​the data query interface in a dynamically refreshed manner.

[0106] In an embodiment of the present application, an electronic device can obtain query behavior characteristics of multiple users, and determine multiple query condition combinations corresponding to each user and the number of times each query condition is used based on the query conditions used by each user in multiple query behavior information; the query condition combination represents the query conditions that will be used together for a user dimension; based on the multiple query condition combinations corresponding to each user, a relationship matrix corresponding to each user is determined, the relationship matrices corresponding to the multiple users are summed, and the summed result is used as a target relationship matrix; the target relationship matrix can represent the relationship values ​​between the query conditions; N query conditions are classified according to the target relationship matrix to obtain M query condition categories; the query condition category can represent the query conditions that will be used together for multiple user dimensions; a data query interface is determined based on the number of times each query condition is used and the M query condition categories, and the data query interface is output through a target terminal; the data query interface obtained in this way can realize the intelligent display of query conditions, and can reduce the time for users to select required query conditions, thereby improving the efficiency of data query.

[0107] See also Figure 8, Figure 8 This is a schematic diagram of the structure of a query data processing device provided by this application. It should be noted that: Figure 8 The query data processing device shown is used to execute the application Figure 2 and Figure 4 For the convenience of explanation, only the part related to the embodiment of the present application is shown, and the specific technical details are not disclosed. Please refer to the present application for details. Figure 2 and Figure 4 The query data processing device 800 may include: an acquisition module 801, a determination module 802, a classification module 803, and an output module 804. Among them:

[0108] The acquisition module 801 is used to acquire query behavior characteristics of multiple users; the query behavior characteristics include multiple query behavior information of the user, and one query behavior information includes a query condition used by the user in a data query process from N query conditions for filtering data; N is a positive integer;

[0109] A determination module 802 is configured to determine, according to the query conditions used by each of the multiple users in the multiple data query processes, a plurality of query condition combinations corresponding to each user and a usage count of each of the N query conditions; the query condition combination includes at least one query condition;

[0110] The determination module 802 is further configured to determine a target relationship matrix for the multiple users according to the multiple query condition combinations corresponding to each user; the target relationship matrix is ​​configured to indicate a relationship value between any two query conditions in the N query conditions under the query behavior dimension of the multiple users, and the relationship value represents the possibility that the any two query conditions appear in one query behavior information;

[0111] A classification module 803 is used to classify the N query conditions according to the relationship value between any two query conditions in the N query conditions to obtain M query condition categories; M is a positive integer, and one query condition category includes at least one query condition;

[0112] The determination module 802 is further configured to determine a data query interface according to the number of times each query condition is used and the M query condition categories;

[0113] The output module 804 is used to output the data query interface through the target terminal.

[0114] In a possible implementation, when the determination module 802 is used to determine the target relationship matrix for the multiple users according to the multiple query condition combinations corresponding to each user, it is specifically used to:

[0115] According to the multiple query condition combinations corresponding to each user, determining the association relationship between any two query conditions in the N query conditions under the query behavior dimension of each user; the association relationship between any two query conditions includes being in one query condition combination or not being in one query condition combination;

[0116] Determine, according to the association relationship between any two query conditions in the query behavior dimension of each user, a relationship value between any two query conditions in the query behavior dimension of each user;

[0117] According to the relationship values ​​of any two query conditions under the query behavior dimension of each user, a target relationship matrix corresponding to the N query conditions is determined.

[0118] In a possible implementation, any two query conditions among the N query conditions are the first query condition and the second query condition; when the determination module 802 is used to determine the relationship value of any two query conditions under the query behavior dimension of each user according to the association relationship between the any two query conditions under the query behavior dimension of each user, it is specifically used to:

[0119] If the association relationship between the first query condition and the second query condition under the query behavior dimension of the target user is in a query condition combination, determining that the relationship value between the first query condition and the second query condition under the query behavior dimension of the target user is a first preset value; the target user is any one of the users;

[0120] If the usage relationship between the first query condition and the second query condition in the query behavior dimension of the target user is not in the same query condition combination, determining the relationship value between the first query condition and the second query condition in the query behavior dimension of the target user to be a second preset value.

[0121] In a possible implementation, when the determination module 802 is used to determine the target relationship matrix corresponding to the N query conditions according to the relationship values ​​of any two query conditions under the query behavior dimension of each user, it is specifically used to:

[0122] Generate a relationship matrix of the N query conditions for each user according to the relationship values ​​of any two query conditions under the query behavior dimension of each user;

[0123] The N query conditions are summed up for the relationship matrix of each user respectively, and the summation result is used as the target relationship matrix.

[0124] In a possible implementation manner, when the classification module 803 is used to classify the N query conditions according to the relationship value between any two query conditions in the N query conditions to obtain M query condition categories, it is specifically used to:

[0125] Determine a target query condition set from the N query conditions according to a relationship value between any two query conditions in the N query conditions; the relationship values ​​between any two target query conditions in the target query condition set are the same and meet a preset relationship value condition;

[0126] Determine a first query condition category according to the target query condition set;

[0127] Using the first query condition category to update the target relationship matrix to obtain an updated target relationship matrix;

[0128] Classify the N query conditions according to the updated target relationship matrix to obtain a second query condition category;

[0129] The M query condition categories are obtained according to the first query condition category and the second query condition category.

[0130] In a possible implementation, the first query condition category includes Z target query conditions, where Z is a positive integer less than or equal to N; when the classification module 803 is used to update the target relationship matrix using the first query condition category to obtain an updated target relationship matrix, it is specifically used to:

[0131] Based on the relationship value between any two query conditions in the N query conditions, determining the relationship value between the Z target query conditions and each remaining query condition respectively; the remaining query conditions belong to the query condition set other than the Z target query conditions in the N query conditions;

[0132] Determine a relationship value between the first query condition category and each of the remaining query conditions according to the relationship values ​​between the Z target query conditions and each of the remaining query conditions respectively;

[0133] An updated target relationship matrix is ​​generated according to the relationship value between the first query condition category and each of the remaining query conditions.

[0134] In a possible implementation, any one of the multiple users includes a target user; the data query behavior information further represents the data type of the data queried by the user during the data query process; the determination module 802 is further used to:

[0135] Determine the probability distribution of each query condition for the data type according to the query conditions used by the target user in the multiple data query behaviors and the data type of the queried data;

[0136] Determine a target data type corresponding to each query condition category in the M query condition categories according to the probability distribution of each query condition for the data type;

[0137] When the determining module 802 is used to determine the data query interface according to the number of times each query condition is used and the M query condition categories, it is specifically used to:

[0138] The data query interface is determined according to the number of times each query condition is used, the M query condition categories, and the target data type corresponding to each query condition category.

[0139] In an embodiment of the present application, an acquisition module acquires query behavior characteristics of multiple users; a determination module determines multiple query condition combinations corresponding to each user and the number of times each query condition in N query conditions is used, based on the query conditions used by each of the multiple users in multiple data query processes; the query condition combination represents the query conditions that will be used together for a user dimension; the determination module determines a target relationship matrix for multiple users based on the multiple query condition combinations corresponding to each user; the target relationship matrix can represent the relationship value between the query conditions, and the relationship value represents the possibility of two query conditions appearing in a query behavior information; the classification module classifies the N query conditions according to the relationship value between any two query conditions in the N query conditions to obtain M query condition categories; the query condition category can represent the query conditions that will be used together for multiple user dimensions; the determination module determines a data query interface based on the number of times each query condition is used and the M query condition categories; the output module outputs the data query interface through the target terminal; the data query interface obtained in this way can realize the intelligent display of the query conditions, and can reduce the time for users to select the required query conditions, thereby improving the efficiency of data query.

[0140] Each functional module in each embodiment of the present application can be integrated into one module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules, which is not limited in the present application.

[0141] See also Fig. 9 , Fig. 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig. 9As shown, the electronic device 900 includes: at least one processor 901 and a memory 902. Optionally, the electronic device may further include a network interface. The processor 901, the memory 902 and the network interface may exchange data, the network interface is controlled by the processor 901 to send and receive messages, the memory 902 is used to store a computer program, the computer program includes program instructions, and the processor 901 is used to execute the program instructions stored in the memory 902. The processor 901 is configured to call the program instructions to execute the above method.

[0142] The memory 902 may include a volatile memory, such as a random-access memory (RAM); the memory 902 may also include a non-volatile memory, such as a flash memory, a solid-state drive (SSD), etc.; the memory 902 may also include a combination of the above-mentioned types of memory.

[0143] The processor 901 may be a central processing unit (CPU). In one embodiment, the processor 901 may also be a graphics processing unit (GPU). The processor 901 may also be a combination of a CPU and a GPU.

[0144] In a possible implementation, the memory 902 is used to store program instructions, and the processor 901 may call the program instructions to perform the following steps:

[0145] Acquire query behavior characteristics of multiple users; the query behavior characteristics include multiple query behavior information of users, and one query behavior information includes a query condition used by a user from N query conditions for filtering data during a data query process; N is a positive integer;

[0146] Determine, according to the query conditions used by each of the multiple users in the multiple data query processes, a plurality of query condition combinations corresponding to each user and the number of times each of the N query conditions is used; the query condition combination includes at least one query condition;

[0147] Determine a target relationship matrix for the multiple users according to the multiple query condition combinations corresponding to each user; the target relationship matrix is ​​used to indicate the relationship value between any two query conditions in the N query conditions under the query behavior dimension of the multiple users, and the relationship value represents the possibility of the two query conditions appearing in a query behavior information;

[0148] Classify the N query conditions according to the relationship value between any two query conditions in the N query conditions to obtain M query condition categories; M is a positive integer, and one query condition category includes at least one query condition;

[0149] A data query interface is determined according to the number of times each query condition is used and the M query condition categories, and the data query interface is output through a target terminal.

[0150] In a possible implementation manner, when the processor 901 is used to determine the target relationship matrix for the multiple users according to the multiple query condition combinations corresponding to each user, it is specifically used to:

[0151] According to the multiple query condition combinations corresponding to each user, determining the association relationship between any two query conditions in the N query conditions under the query behavior dimension of each user; the association relationship between any two query conditions includes being in one query condition combination or not being in one query condition combination;

[0152] Determine, according to the association relationship between any two query conditions in the query behavior dimension of each user, a relationship value between any two query conditions in the query behavior dimension of each user;

[0153] According to the relationship values ​​of any two query conditions under the query behavior dimension of each user, a target relationship matrix corresponding to the N query conditions is determined.

[0154] In a possible implementation, any two query conditions among the N query conditions are the first query condition and the second query condition; when the processor 901 is used to determine the relationship value of any two query conditions under the query behavior dimension of each user according to the association relationship between the any two query conditions under the query behavior dimension of each user, it is specifically used to:

[0155] If the association relationship between the first query condition and the second query condition under the query behavior dimension of the target user is in a query condition combination, determining that the relationship value between the first query condition and the second query condition under the query behavior dimension of the target user is a first preset value; the target user is any one of the users;

[0156] If the usage relationship between the first query condition and the second query condition in the query behavior dimension of the target user is not in the same query condition combination, determining the relationship value between the first query condition and the second query condition in the query behavior dimension of the target user to be a second preset value.

[0157] In a possible implementation, when the processor 901 is used to determine the target relationship matrix corresponding to the N query conditions according to the relationship values ​​of any two query conditions under the query behavior dimension of each user, it is specifically used to:

[0158] Generate a relationship matrix of the N query conditions for each user according to the relationship values ​​of any two query conditions under the query behavior dimension of each user;

[0159] The N query conditions are summed up for the relationship matrix of each user respectively, and the summation result is used as the target relationship matrix.

[0160] In a possible implementation manner, when the processor 901 is used to classify the N query conditions according to the relationship value between any two query conditions in the N query conditions to obtain M query condition categories, it is specifically used to:

[0161] Determine a target query condition set from the N query conditions according to a relationship value between any two query conditions in the N query conditions; the relationship values ​​between any two target query conditions in the target query condition set are the same and meet a preset relationship value condition;

[0162] Determine a first query condition category according to the target query condition set;

[0163] Using the first query condition category to update the target relationship matrix to obtain an updated target relationship matrix;

[0164] Classify the N query conditions according to the updated target relationship matrix to obtain a second query condition category;

[0165] The M query condition categories are obtained according to the first query condition category and the second query condition category.

[0166] In a possible implementation, the first query condition category includes Z target query conditions, where Z is a positive integer less than or equal to N; when the processor 901 is used to update the target relationship matrix using the first query condition category to obtain an updated target relationship matrix, it is specifically used to:

[0167] Based on the relationship value between any two query conditions in the N query conditions, determining the relationship value between the Z target query conditions and each remaining query condition respectively; the remaining query conditions belong to the query condition set other than the Z target query conditions in the N query conditions;

[0168] Determine a relationship value between the first query condition category and each of the remaining query conditions according to the relationship values ​​between the Z target query conditions and each of the remaining query conditions respectively;

[0169] An updated target relationship matrix is ​​generated according to the relationship value between the first query condition category and each of the remaining query conditions.

[0170] In a possible implementation, any one of the multiple users includes a target user; the data query behavior information further represents the data type of the data queried by the user during the data query process; the processor 901 is further configured to:

[0171] Determine the probability distribution of each query condition for the data type according to the query conditions used by the target user in the multiple data query behaviors and the data type of the queried data;

[0172] Determine a target data type corresponding to each query condition category in the M query condition categories according to the probability distribution of each query condition for the data type;

[0173] When the processor 901 is used to determine the data query interface according to the number of times each query condition is used and the M query condition categories, it is specifically used to:

[0174] The data query interface is determined according to the number of times each query condition is used, the M query condition categories, and the target data type corresponding to each query condition category.

[0175] In a specific implementation, the device, processor 901, memory 902, etc. described in the embodiments of the present application can execute the implementation described in the above method embodiments, and can also execute the implementation described in the embodiments of the present application, which will not be repeated here.

[0176] A computer (readable) storage medium is also provided in an embodiment of the present application, wherein the computer storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor can execute some or all of the steps performed in the above method embodiment. Optionally, the computer storage medium may be volatile or non-volatile. The computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of blockchain nodes, etc.

[0177] Among them, the blockchain referred to in this application is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0178] An embodiment of the present application provides a computer program product, which may include a computer program. When the computer program is executed by a processor, it can implement some or all of the steps in the above method, which are not described in detail here.

[0179] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.

[0180] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer storage medium, which can be a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0181] The above disclosure is only part of the embodiments of the present application, which certainly cannot be used to limit the scope of rights of the present application. Ordinary technicians in this field can understand that all or part of the processes of implementing the above embodiments and equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A query data processing method, It is characterized in that The method comprises: Acquire query behavior characteristics of multiple users; the query behavior characteristics include multiple query behavior information of users, and one query behavior information includes a query condition used by a user from N query conditions for filtering data during a data query process; N is a positive integer; Determine, according to the query conditions used by each of the multiple users in multiple data query processes, a plurality of query condition combinations corresponding to each user and the number of times each query condition in the N query conditions is used; the query condition combination includes at least one query condition; According to the multiple query condition combinations corresponding to each user, determining the association relationship between any two query conditions in the N query conditions under the query behavior dimension of each user; the association relationship between any two query conditions includes being in one query condition combination or not being in one query condition combination; According to the association relationship between any two query conditions in the query behavior dimension of each user, the relationship value of any two query conditions in the query behavior dimension of each user is determined, and according to the relationship value of any two query conditions in the query behavior dimension of each user, the target relationship matrix corresponding to the N query conditions is determined; the relationship value represents the possibility that any two query conditions appear in a query behavior information; Determine a target query condition set from the N query conditions according to a relationship value between any two query conditions; the relationship values ​​between any two target query conditions in the target query condition set are the same and meet a preset relationship value condition; Determine a first query condition category according to the target query condition set, update the target relationship matrix using the first query condition category to obtain an updated target relationship matrix, classify the N query conditions according to the updated target relationship matrix to obtain a second query condition category, and obtain M query condition categories according to the first query condition category and the second query condition category; M is a positive integer, and one query condition category includes at least one query condition; A data query interface is determined according to the number of times each query condition is used and the M query condition categories, and the data query interface is output through a target terminal.

2. The method according to claim 1, It is characterized in that Any two query conditions among the N query conditions are the first query condition and the second query condition; and determining the relationship value of any two query conditions under the query behavior dimension of each user according to the association relationship between any two query conditions under the query behavior dimension of each user, includes: If the association relationship between the first query condition and the second query condition under the query behavior dimension of the target user is in a query condition combination, determining that the relationship value between the first query condition and the second query condition under the query behavior dimension of the target user is a first preset value; the target user is any one of the users; If the usage relationship between the first query condition and the second query condition in the query behavior dimension of the target user is not in the same query condition combination, determining the relationship value between the first query condition and the second query condition in the query behavior dimension of the target user to be a second preset value.

3. The method according to claim 1, It is characterized in that Determining the target relationship matrix corresponding to the N query conditions according to the relationship values ​​of any two query conditions under the query behavior dimension of each user, comprises: Generate a relationship matrix of the N query conditions for each user according to the relationship values ​​of any two query conditions under the query behavior dimension of each user; The N query conditions are summed up for the relationship matrix of each user respectively, and the summation result is used as the target relationship matrix.

4. The method according to claim 1, It is characterized in that The first query condition category includes Z target query conditions, where Z is a positive integer less than or equal to N; and the target relationship matrix is ​​updated by using the first query condition category to obtain an updated target relationship matrix, including: Based on the relationship value between any two query conditions in the N query conditions, determining the relationship value between the Z target query conditions and each remaining query condition respectively; the remaining query conditions belong to the query condition set other than the Z target query conditions in the N query conditions; Determine a relationship value between the first query condition category and each of the remaining query conditions according to the relationship values ​​between the Z target query conditions and each of the remaining query conditions respectively; An updated target relationship matrix is ​​generated according to the relationship value between the first query condition category and each of the remaining query conditions.

5. The method according to any one of claims 1 to 3, It is characterized in that Any one of the multiple users includes a target user; A query behavior information also represents the data type of the data queried by the user during a data query process; the method further includes: Determine the probability distribution of each query condition for the data type according to the query conditions used by the target user in multiple data query processes and the data type of the queried data; Determine a target data type corresponding to each query condition category in the M query condition categories according to the probability distribution of each query condition for the data type; The determining of the data query interface according to the number of times each query condition is used and the M query condition categories includes: The data query interface is determined according to the number of times each query condition is used, the M query condition categories, and the target data type corresponding to each query condition category.

6. A query data processing device, It is characterized in that The device comprises: An acquisition module, used to acquire query behavior characteristics of multiple users; the query behavior characteristics include multiple query behavior information of users, and one query behavior information includes a query condition used by a user from N query conditions for filtering data during a data query process; N is a positive integer; a determination module, configured to determine, based on the query conditions used by each of the multiple users in multiple data query processes, a plurality of query condition combinations corresponding to each user and a usage count of each of the N query conditions; the query condition combination includes at least one query condition; The determination module is further configured to determine, based on the multiple query condition combinations corresponding to each user, an association relationship between any two query conditions in the N query conditions under the query behavior dimension of each user; the association relationship between any two query conditions includes being in one query condition combination or not being in one query condition combination; The determination module is further used to determine the relationship value of any two query conditions in the query behavior dimension of each user according to the association relationship between any two query conditions in the query behavior dimension of each user, and determine the target relationship matrix corresponding to the N query conditions according to the relationship value of any two query conditions in the query behavior dimension of each user; the relationship value represents the possibility of any two query conditions appearing in a query behavior information; A classification module, used to determine a target query condition set from the N query conditions according to a relationship value between any two query conditions; the relationship values ​​between any two target query conditions in the target query condition set are the same and meet a preset relationship value condition; The classification module is further used to determine a first query condition category according to the target query condition set, update the target relationship matrix using the first query condition category to obtain an updated target relationship matrix, classify the N query conditions according to the updated target relationship matrix to obtain a second query condition category, and obtain M query condition categories according to the first query condition category and the second query condition category; M is a positive integer, and one query condition category includes at least one query condition; The determination module is further used to determine the data query interface according to the number of times each query condition is used and the M query condition categories; The output module is used to output the data query interface through the target terminal.

7. An electronic device, It is characterized in that The method comprises a processor and a memory, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is enabled to execute the method according to any one of claims 1 to 5.