Method, device, computer equipment and storage medium for pushing response data

By matching the client's business function data with the pre-configured function data, obtaining the associated account list customer group, and judging whether it has response data, it solves the problem of high resource consumption in response data push in traditional technology, and achieves Resource saving and cost reduction effects.

CN115865857BActive Publication Date: 2025-01-21INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211092934.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-08
Publication Date
2025-01-21
Estimated Expiration
2042-09-08

AI Technical Summary

Technical Problem

In traditional technology, the push method of responding to data has the problem of more resource consumption due to the complexity and resource consumption of deep neural network models.

Method used

By receiving the interaction request sent by the client, the first business function data is matched with the preconfigured second business function data. If the matching is successful, the first account list associated with the successfully matched second business function data is obtained. group, and determine whether the account list customer group has response data associated with it, and if so, push the response data.

Benefits of technology

This method realizes the push of response data through data matching and correlation search. Compared with the deep neural network model method, it significantly saves resource consumption and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115865857B_ABST
    Figure CN115865857B_ABST
Patent Text Reader

Abstract

The present application relates to a method, device, computer equipment, storage medium and computer program product for pushing response data, and relates to the field of cloud computing technology. The method comprises: receiving an interaction request sent by a client; wherein the interaction request carries first business function data, and the first business function data is used to characterize the function of the business triggered by the user account in the client; matching the first business function data with the pre-configured second business function data; if the first business function data successfully matches the pre-configured second business function data, obtaining the first account list customer group associated with the successfully matched second business function data; determining whether the first account list customer group is associated with response data; if the first account list customer group is associated with response data, pushing the response data to the client. The use of this method can save the resources required for pushing response data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of cloud computing technology, and in particular to a method, apparatus, computer device, storage medium and computer program product for pushing response data. Background Art

[0002] With the development of Internet technology, various clients have emerged to meet the different needs of users. Different clients can provide different business processing services for users. When using the client, the user can select the business to be processed and enter the corresponding page. By operating on the page, the corresponding business function can be triggered. After detecting the user's operation, the client will request the server to return the response data to be pushed so that the user can know the business processing status. The response data can be notification messages, virtual resources, etc.

[0003] In traditional technology, the method for pushing response data is that the server receives the user's operation data uploaded by the client, inputs the operation data into a pre-trained interaction model, which is a deep neural network model, and then outputs the response data through the interaction model and pushes it to the client.

[0004] However, using traditional technology, on the one hand, the deep neural network model needs to consume a lot of sample data to complete the model training work during the training phase, and on the other hand, the structure of the deep neural network model is relatively complex, resulting in a relatively complex calculation process for obtaining response data. It can be seen that using traditional technology has the problem of high resource consumption. Summary of the invention

[0005] Based on this, it is necessary to provide a method, apparatus, computer device, computer-readable storage medium and computer program product for pushing response data that can save resource loss in response to the above technical problems.

[0006] In a first aspect, the present application provides a method for pushing response data. The method comprises:

[0007] Receiving an interaction request sent by a client; wherein the interaction request carries first service function data, and the first service function data is used to characterize the function of the service triggered by the user account in the client;

[0008] Matching the first service function data with pre-configured second service function data;

[0009] If the first business function data successfully matches the pre-configured second business function data, obtaining a first account list customer group associated with the successfully matched second business function data;

[0010] Determining whether the first account list customer group is associated with response data;

[0011] If the first account list customer group is associated with response data, the response data is pushed to the client.

[0012] In one of the embodiments, the interaction request also carries first account information of the user account;

[0013] Before matching the first service function data with the pre-configured second service function data, the method further includes:

[0014] Matching the first account information with the second account information in the second account list customer group; wherein the second account list customer group is stored in the cache of the server, and the second account list customer group is a historical account list customer group determined by successfully matching the first business function data with the pre-configured second business function data;

[0015] The matching the first service function data with pre-configured second service function data includes:

[0016] If the first account information fails to match the second account information in the second account list customer group, matching the first business function data with the pre-configured second business function data;

[0017] The method further comprises:

[0018] If the first account information successfully matches the second account information in the second account list customer group, determining whether the second account list customer group is associated with response data;

[0019] If the second account list customer group is associated with response data, the response data is pushed to the client.

[0020] In one embodiment, if the first business function data successfully matches the pre-configured second business function data, after obtaining the first account list customer group associated with the successfully matched second business function data, the method further includes:

[0021] Matching the first account list customer group with the second account list customer group;

[0022] If the first account list customer group matches the second account list customer group successfully, adding the first account information to the second account list customer group;

[0023] If the first account list customer group fails to match the second account list customer group, the first account list customer group and the first account information are stored in the cache; wherein the first account information is included in the first account list customer group.

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

[0025] In the case where the first account information is added to the second account list customer group, the first account information is added to a third account list customer group; wherein the third account list customer group is stored in the memory of the server;

[0026] Monitoring the size of the data volume corresponding to the second account list customer group and the data volume corresponding to the third account list customer group;

[0027] If the amount of data corresponding to the second account list customer group is less than the amount of data corresponding to the third account list customer group, the account information in the third account list customer group is read from the memory, and the account information in the third account list customer group is used to replace the account information in the second account list customer group in the cache.

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

[0029] Determining whether the storage time of the second account list customer group in the cache exceeds the valid cache period;

[0030] If the storage time of the second account list customer group in the cache exceeds the valid cache period, the second account list customer group is deleted from the cache.

[0031] In one of the embodiments, the interaction request also carries first account information of the user account;

[0032] The first business function data includes a business identifier, or the first business function data includes a business identifier and a page identifier, or the first business function data includes a business identifier, a page identifier and a control identifier; wherein the business is a business selected when the user account performs a trigger operation, the page is a page displayed by the client when the user account performs a trigger operation, and the control is a control triggered by the user account in the page;

[0033] The second service function data includes first identification data, second identification data and third identification data; the first identification data includes a service identification, a page identification and a control identification, the second identification data includes a service identification and a page identification, and the third identification data includes a service identification;

[0034] The matching the first service function data with pre-configured second service function data includes:

[0035] Matching the first service function data with pre-configured first identification data;

[0036] If the first business function data successfully matches the pre-configured first identification data, a fourth account list customer group associated with the successfully matched first identification data is obtained, and it is determined whether the fourth account list customer group is included in the pre-stored push record data; wherein the push record data includes the account list customer group associated with the pushed response data;

[0037] If the fourth account list customer group is included in the pre-stored push record data, matching the first business function data with the pre-configured second identification data;

[0038] If the first business function data successfully matches the pre-configured second identification data, a fifth account list customer group associated with the successfully matched second identification data is obtained, and it is determined whether the fifth account list customer group is included in the pre-stored push record data;

[0039] If the fifth account list customer group is included in the pre-stored push record data, matching the first business function data with the pre-configured third identification data;

[0040] If the first business function data successfully matches the pre-configured third identification data, a sixth account list customer group associated with the successfully matched third identification data is obtained, and it is determined whether the sixth account list customer group is included in the pre-stored push record data;

[0041] If the sixth account list customer group is not included in the pre-stored push record data, the sixth account list customer group is determined as the first account list customer group.

[0042] In a second aspect, the present application also provides a device for pushing response data. The device includes:

[0043] A request receiving module, configured to receive an interaction request sent by a client; wherein the interaction request carries first service function data, and the first service function data is used to characterize the function of the service triggered by the user account in the client;

[0044] A data matching module, used to match the first service function data with pre-configured second service function data;

[0045] A customer group acquisition module, configured to acquire a first account list customer group associated with the successfully matched second business function data if the first business function data successfully matches the pre-configured second business function data;

[0046] A data determination module, used to determine whether the first account list customer group is associated with response data;

[0047] A data push module is used to push the response data to the client if the first account list customer group is associated with the response data.

[0048] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0049] Receiving an interaction request sent by a client; wherein the interaction request carries first service function data, and the first service function data is used to characterize the function of the service triggered by the user account in the client;

[0050] Matching the first service function data with pre-configured second service function data;

[0051] If the first business function data successfully matches the pre-configured second business function data, obtaining a first account list customer group associated with the successfully matched second business function data;

[0052] Determining whether the first account list customer group is associated with response data;

[0053] If the first account list customer group is associated with response data, the response data is pushed to the client.

[0054] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0055] Receiving an interaction request sent by a client; wherein the interaction request carries first service function data, and the first service function data is used to characterize the function of the service triggered by the user account in the client;

[0056] Matching the first service function data with pre-configured second service function data;

[0057] If the first business function data successfully matches the pre-configured second business function data, obtaining a first account list customer group associated with the successfully matched second business function data;

[0058] Determining whether the first account list customer group is associated with response data;

[0059] If the first account list customer group is associated with response data, the response data is pushed to the client.

[0060] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0061] Receiving an interaction request sent by a client; wherein the interaction request carries first service function data, and the first service function data is used to characterize the function of the service triggered by the user account in the client;

[0062] Matching the first service function data with pre-configured second service function data;

[0063] If the first business function data successfully matches the pre-configured second business function data, obtaining a first account list customer group associated with the successfully matched second business function data;

[0064] Determining whether the first account list customer group is associated with response data;

[0065] If the first account list customer group is associated with response data, the response data is pushed to the client.

[0066] The above-mentioned method, device, computer equipment, storage medium and computer program product for pushing response data are based on the pre-configured second business function data, the pre-set association relationship between the second business function data and the first account list customer group, and the association relationship between the first account list customer group and the response data. When the server receives the interaction request carrying the first business function data sent by the client, it can first match the first business function data with the pre-configured second business function data. If the match is successful, it indicates that there is a corresponding push scheme in the pre-configured data. Based on this, further search is performed in the above-mentioned pre-set association relationship to determine the response data to be pushed. It can be seen that the present application adopts data matching and association relationship search methods to realize the push of response data. The implementation process of these methods is relatively simple and does not require more resources. Compared with the prior art that uses a deep neural network model to realize the push of response data, it significantly saves the resources required for the push of response data and reduces costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 An application environment diagram of a method for pushing response data in an embodiment;

[0068] Figure 2A schematic diagram of a process of pushing response data in one embodiment;

[0069] Figure 3 It is a structural block diagram of a device for pushing response data in one embodiment;

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

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

[0072] The method for pushing response data provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the client 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Specifically, the server 104 receives the interaction request sent by the client 102; wherein the interaction request carries the first business function data, and the first business function data is used to characterize the function of the business triggered by the user account in the client. Then, the server 104 matches the first business function data with the pre-configured second business function data. If the first business function data successfully matches the pre-configured second business function data, the server 104 obtains the first account list customer group associated with the second business function data that successfully matches. Afterwards, the server 104 determines whether the first account list customer group is associated with response data. If the first account list customer group is associated with response data, the server 104 pushes the response data to the client 102.

[0073] The client 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.

[0074] In one embodiment, Figure 2 As shown, a method for pushing response data is provided, and the method is applied to Figure 1 The server 104 in the example is used as an example to illustrate, and the following steps are included:

[0075] Step S202: receiving an interaction request sent by the client.

[0076] The interaction request carries the first business function data. The first business function data is used to characterize the function of the business triggered by the user account in the client. The first business function data includes a business identifier. Alternatively, the first business function data includes a business identifier and a page identifier. Alternatively, the first business function data includes a business identifier, a page identifier, and a control identifier. The business is the business selected by the user account when the trigger operation is performed. The page is the page displayed by the client when the user account performs the trigger operation. The control is the control triggered by the user account in the page.

[0077] Specifically, the user logs in with the user account in the client and performs a trigger operation on the corresponding function of the business. For example, in the transaction business, the user can trigger the product purchase function by clicking the purchase button in the product details page. In response to the user's trigger operation, the client collects the first business function data and generates an interaction request carrying the first business function data. Continuing with the previous example, the first business function data may include a transaction business identifier, a product details page identifier, and a purchase button identifier. These three types of identifiers can indicate that the user account has triggered the product purchase function in the transaction business in the client. The client then sends the interaction request to the server. The server receives the interaction request sent by the client.

[0078] Step S204: Match the first service function data with the pre-configured second service function data.

[0079] The second business function data may be pre-stored in the server. The second business function data and the first business function data are of the same type of data. When the first business function data is identification data, the second business function data is also identification data. That is, the second business function data may include one or more of a business identification, a page identification, and a control identification.

[0080] Specifically, the server matches the first service function data with at least one pre-configured second service function data. The specific matching method may be to search whether there is second service function data consistent with the first service function data in the at least one second service function data.

[0081] Step S206: If the first business function data successfully matches the pre-configured second business function data, a first account list customer group associated with the successfully matched second business function data is obtained.

[0082] The second business function data, the first account list customer group and the association between the two can be pre-stored in the server.

[0083] Specifically, if the first business function data successfully matches the pre-configured second business function data, for example, the second business function data that is consistent with the first business function data is found, the server determines the first account list customer group associated with the successfully matched second business function data based on the above association relationship. In addition, if the first business function data fails to match the pre-configured second business function data, the server sends a continue access message to the client to instruct the client to continue to display the current page.

[0084] Step S208, determining whether the first account list customer group is associated with response data.

[0085] The first account list customer group, the response data and the association between the two can be pre-stored in the server.

[0086] Specifically, after determining the customer group in the first account list, the server determines whether the customer group in the first account list is associated with response data based on the above association relationship.

[0087] Step S210: If the first account list customer group is associated with response data, the response data is pushed to the client.

[0088] Specifically, if the first account list customer group is associated with response data, it indicates that the server has pre-stored a corresponding response solution, so the server can directly push the response data to the client to enable the client to display the response data. In addition, if the first account list customer group is not associated with response data, the server sends a continue access message to the client to instruct the client to continue to display the current page.

[0089] In the above-mentioned method for pushing response data, based on the pre-configured second business function data, the pre-set association relationship between the second business function data and the first account list customer group, and the association relationship between the first account list customer group and the response data, when the server receives the interaction request carrying the first business function data sent by the client, it can first match the first business function data with the pre-configured second business function data. If the match is successful, it indicates that there is a corresponding push scheme in the pre-configured data. Based on this, further search is performed in the above-mentioned pre-set association relationship to determine the response data to be pushed. It can be seen that the present application adopts data matching and association relationship search methods to realize the push of response data. The implementation process of these methods is relatively simple and does not require more resources. Compared with the prior art that uses a deep neural network model to realize the push of response data, it significantly saves the resources required for the push of response data and reduces costs.

[0090] In one embodiment, it involves searching the server cache to see whether the second business function data has been successfully matched before the user account has been found. If so, the business function data matching process can be saved and the response rate can be accelerated. In specific implementation, the interaction request also carries the first account information of the user account. Based on this, before step S204 "matching the first business function data with the pre-configured second business function data", the method further includes the following steps:

[0091] Step S2032, matching the first account information with the second account information in the second account list customer group.

[0092] Among them, the second account list customer group is stored in the cache of the server. The second account list customer group is the historical account list customer group determined by the successful matching of the first business function data with the pre-configured second business function data. It can be understood that the second account information is the account information of the historical user account corresponding to the successful matching of the first business function data with the pre-configured second business function data. That is, after the historical user account initiates an interaction request through the client, if the corresponding first business function data successfully matches the pre-configured second business function data, the account information of the historical user account is stored in the second account list customer group as the second account information.

[0093] Specifically, the server matches the first account information with at least one second account information in the second account list customer group. The specific matching method may be to search whether there is second account information consistent with the first account information in the at least one second account information.

[0094] Furthermore, step S204 includes the following sub-steps:

[0095] Step S204a: if the first account information fails to match the second account information in the second account list customer group, the first business function data is matched with the pre-configured second business function data.

[0096] Specifically, if the first account information fails to match the second account information in the second account list customer group, for example, the second account information consistent with the first account information is not found, indicating that the user account has not successfully matched the second business function data before. Therefore, the server also needs to match the first business function data with the pre-configured second business function data to find out whether the corresponding response plan is pre-stored in the server.

[0097] In addition, the method further comprises the following steps:

[0098] Step S203a, if the first account information matches the second account information in the second account list customer group successfully, determining whether the second account list customer group is associated with response data;

[0099] Step S203b: If the second account list customer group is associated with response data, the response data is pushed to the client.

[0100] Specifically, if the first account information successfully matches the second account information in the second account list customer group, indicating that the user account has successfully matched the second business function data before, the server directly determines whether the second account list customer group is associated with response data. If the second account list customer group is associated with response data, it indicates that the server has pre-stored a corresponding response solution, so the server can push the response data to the client so that the client can display the response data. It can be seen that with such a setting, there is no need to perform a matching operation for business function data, and the first account information is searched in the cache with a faster processing speed to see if there is a match, which is conducive to speeding up the response speed.

[0101] In this embodiment, the server cache is searched to determine whether the second business function data has been successfully matched before the user account is matched. If so, there is no need to perform a business function data matching operation, and the response data can be quickly pushed to the client, achieving a real-time feedback effect.

[0102] In one embodiment, the process involves updating the account information that successfully matches the first business function data with the second business function data into the cache. After step S206 "If the first business function data successfully matches the pre-configured second business function data, then obtaining the first account list customer group associated with the successfully matched second business function data", the method further includes the following steps:

[0103] Step S212, matching the first account list customer group with the second account list customer group;

[0104] Step S214, if the first account list customer group matches the second account list customer group successfully, then the first account information is added to the second account list customer group;

[0105] Step S216: If the first account list customer group fails to match the second account list customer group, the first account list customer group and the first account information are stored in the cache.

[0106] Among them, the first account information is included in the first account list customer group.

[0107] Specifically, when the first business function data successfully matches the pre-configured second business function data, the server will store the first account information in the cache. Since the first account information corresponds to the first account list customer group, the server will match the first account list customer group with the second account list customer group. If the first account list customer group matches the second account list customer group successfully, indicating that the cache contains the first account list customer group, the server will directly add the first account information to the corresponding second account list customer group. If the first account list customer group fails to match the second account list customer group, indicating that the cache does not contain the first account list customer group, the server will store the first account list customer group and the first account information in the cache together, and the first account information will be included in the first account list customer group.

[0108] In this embodiment, the first account information that successfully matches the first business function data with the pre-configured second business function data is updated to the cache in a timely manner, thereby ensuring the accuracy of the second account list customer group in the cache. In this way, when achieving the aforementioned purpose of finding whether the second business function data has been successfully matched before the user account is searched in the server cache, the accuracy can be improved, thereby improving the accuracy of the response data push.

[0109] In one embodiment, a solution is provided for remediating the situation where the second account list customer group in the cache is lost. Based on the above embodiment, the solution includes the following steps:

[0110] Step S222, when the first account information is added to the second account list customer group, the first account information is added to the third account list customer group;

[0111] Step S224, monitoring the size of the data volume corresponding to the customer group in the second account list and the data volume corresponding to the customer group in the third account list;

[0112] Step S226, if the amount of data corresponding to the second account list customer group is less than the amount of data corresponding to the third account list customer group, read the account information in the third account list customer group from the memory, and use the account information in the third account list customer group to replace the account information in the second account list customer group in the cache.

[0113] The third account list customer group is stored in the memory of the server. The account information in the third account list customer group is updated synchronously with the account information in the second account list customer group.

[0114] Specifically, in order to ensure the reliability of the account information, the server will add the first account information to the third account list customer group in the memory while adding the first account information to the second account list customer group in the cache, so that the first account information is stored in the server for a long time. In order to avoid the adverse effects caused by the loss of account information in the second account list customer group during the cache cleaning process, the server monitors the size of the data volume corresponding to the second account list customer group and the data volume corresponding to the third account list customer group. The data volume can be the data volume of the account list customer group, the number of account information in the account list customer group, etc. If the data volume corresponding to the second account list customer group is less than the data volume corresponding to the third account list customer group, indicating that the cache cleaning is abnormal, the server reads the account information in the third account list customer group from the memory, and uses the account information in the third account list customer group to replace the account information in the second account list customer group in the cache, so as to ensure the accuracy of the account information in the second account list customer group, which is conducive to ensuring the accuracy of the response data push.

[0115] In this embodiment, the purpose of identifying whether cache cleaning is abnormal is achieved by monitoring the amount of data corresponding to the second account list customer group and the amount of data corresponding to the third account list customer group. Once an abnormality occurs, such as loss, the account information in the memory is pulled into the cache in time, so that the accuracy of the account information in the second account list customer group in the cache can be guaranteed, which is conducive to ensuring the accuracy of the response data push.

[0116] In one embodiment, the method comprises the following steps:

[0117] Step S232, determining whether the storage time of the second account list customer group in the cache exceeds the valid cache period;

[0118] Step S234: if the storage time of the second account list customer group in the cache exceeds the effective cache period, the second account list customer group is deleted from the cache.

[0119] Specifically, when the server stores the second account list customer group in the cache, it will obtain the valid cache period corresponding to the second account list customer group. The server calculates the storage time of the second account list customer group in the cache and compares it with the valid cache period. If the storage time of the second account list customer group in the cache exceeds the valid cache period, the server deletes the second account list customer group from the cache to ensure that the cache resources are fully utilized and released in time, improve the utilization rate of the cache resources, and further improve the efficiency of the response data push.

[0120] In one embodiment, the interaction request also carries the first account information of the user account. The first business function data includes a business identifier, or the first business function data includes a business identifier and a page identifier, or the first business function data includes a business identifier, a page identifier, and a control identifier. The second business function data includes first identification data, second identification data, and third identification data. The first identification data includes a business identifier, a page identifier, and a control identifier, the second identification data includes a business identifier and a page identifier, and the third identification data includes a business identifier. Based on this, step S204 includes the following sub-steps:

[0121] Matching the first service function data with the pre-configured first identification data;

[0122] If the first business function data successfully matches the pre-configured first identification data, the fourth account list customer group associated with the successfully matched first identification data is obtained, and it is determined whether the fourth account list customer group is included in the pre-stored push record data; wherein the push record data includes the account list customer group associated with the pushed response data, that is, the account list customer group corresponding to the successful push of the response data; if the first business function data fails to match the pre-configured first identification data, a continue access message is sent to the client.

[0123] If the pre-stored push record data includes the fourth account list customer group, the first business function data is matched with the pre-configured second identification data; if the pre-stored push record data does not include the fourth account list customer group, the fourth account list customer group is determined as the first account list customer group.

[0124] If the first business function data successfully matches the pre-configured second identification data, the fifth account list customer group associated with the successfully matched second identification data is obtained, and it is determined whether the fifth account list customer group is included in the pre-stored push record data; if the first business function data fails to match the pre-configured second identification data, a continue access message is sent to the client.

[0125] If the fifth account list customer group is included in the pre-stored push record data, the first business function data is matched with the pre-configured third identification data; if the fifth account list customer group is not included in the pre-stored push record data, the fifth account list customer group is determined as the first account list customer group.

[0126] If the first business function data successfully matches the pre-configured third identification data, the sixth account list customer group associated with the successfully matched third identification data is obtained, and it is determined whether the sixth account list customer group is included in the pre-stored push record data; if the first business function data fails to match the pre-configured third identification data, a continue access message is sent to the client.

[0127] If the pre-stored push record data does not include the sixth account list customer group, the sixth account list customer group is determined as the first account list customer group; if the pre-stored push record data includes the sixth account list customer group, a continue access message is sent to the client.

[0128] In this embodiment, by setting the first identification data, the second identification data and the third identification data of different granularities, the finest granularity of the first identification data is matched first, then the medium granularity of the second identification data is matched, and finally the coarsest granularity of the third identification data is matched, so that the purpose of preferentially pushing the most accurate response data can be achieved, and the reliability of the response data push can be improved by matching the three different granularity identification data. In addition, by judging whether the account list customer group is included in the pre-stored push record data, it can be known whether the response data corresponding to the account list customer group has been pushed. If so, it indicates that it has been pushed, and then the next granularity identification data is matched until the response data that has not been pushed is found. In this way, it can be ensured that the response data received by the user will not be repeated, that is, the response data displayed each time is different, thereby enriching the diversity of the response data.

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

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

[0131] In one embodiment, Figure 3 As shown, a device for pushing response data is provided, comprising:

[0132] The request receiving module 302 is used to receive an interaction request sent by a client; wherein the interaction request carries first service function data, and the first service function data is used to characterize the function of the service triggered by the user account in the client;

[0133] A data matching module 304, configured to match the first service function data with pre-configured second service function data;

[0134] A customer group acquisition module 306 is configured to acquire a first account list customer group associated with the successfully matched second business function data if the first business function data successfully matches the pre-configured second business function data;

[0135] A data determination module 308 is used to determine whether the first account list customer group is associated with response data;

[0136] The data push module 310 is configured to push the response data to the client if the first account list customer group is associated with the response data.

[0137] In the above-mentioned device for pushing response data, based on the pre-configured second business function data, the pre-set association relationship between the second business function data and the first account list customer group, and the association relationship between the first account list customer group and the response data, when the server receives the interaction request carrying the first business function data sent by the client, it can first match the first business function data with the pre-configured second business function data. If the match is successful, it indicates that there is a corresponding push scheme in the pre-configured data. Based on this, further search is performed in the above-mentioned pre-set association relationship to determine the response data to be pushed. It can be seen that the present application adopts data matching and association relationship search methods to realize the push of response data. The implementation process of these methods is relatively simple and does not require more resources. Compared with the prior art that uses a deep neural network model to realize the push of response data, it significantly saves the resources required for the push of response data and reduces costs.

[0138] Each module in the above-mentioned push device for response data can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.

[0139] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external client through a network connection. When the computer program is executed by the processor, a method for pushing response data is implemented.

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

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

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

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

[0144] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

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

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

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

Claims

1. A method for pushing response data, characterized in that: The method is applied to a server and includes: Receiving an interaction request sent by a client; wherein the interaction request carries first service function data, and the first service function data is used to characterize the function of the service triggered by the user account in the client; Matching the first service function data with pre-configured second service function data; If the first business function data successfully matches the pre-configured second business function data, obtaining a first account list customer group associated with the successfully matched second business function data; Determining whether the first account list customer group is associated with response data; If the first account list customer group is associated with response data, pushing the response data to the client; The interaction request also carries first account information of the user account; Before matching the first service function data with the pre-configured second service function data, the method further includes: Matching the first account information with the second account information in the second account list customer group; wherein the second account list customer group is stored in the cache of the server, and the second account list customer group is a historical account list customer group determined by successfully matching the first business function data with the pre-configured second business function data; If the first account information successfully matches the second account information in the second account list customer group, determining whether the second account list customer group is associated with response data; If the second account list customer group is associated with response data, the response data is pushed to the client.

2. The method according to claim 1, characterized in that If the first account information fails to match the second account information in the second account list customer group, the first business function data is matched with the pre-configured second business function data.

3. The method according to claim 2, characterized in that If the first business function data successfully matches the pre-configured second business function data, after obtaining the first account list customer group associated with the successfully matched second business function data, the method further includes: Matching the first account list customer group with the second account list customer group; If the first account list customer group matches the second account list customer group successfully, adding the first account information to the second account list customer group; If the first account list customer group fails to match the second account list customer group, the first account list customer group and the first account information are stored in the cache; wherein the first account information is included in the first account list customer group.

4. The method according to claim 3, characterized in that The method further comprises: In the case where the first account information is added to the second account list customer group, the first account information is added to a third account list customer group; wherein the third account list customer group is stored in the memory of the server; Monitoring the size of the data volume corresponding to the second account list customer group and the data volume corresponding to the third account list customer group; If the amount of data corresponding to the second account list customer group is less than the amount of data corresponding to the third account list customer group, the account information in the third account list customer group is read from the memory, and the account information in the third account list customer group is used to replace the account information in the second account list customer group in the cache.

5. The method according to claim 2, characterized in that: The method further comprises: Determining whether the storage time of the second account list customer group in the cache exceeds the valid cache period; If the storage time of the second account list customer group in the cache exceeds the valid cache period, the second account list customer group is deleted from the cache.

6. The method according to claim 1, characterized in that The interaction request also carries first account information of the user account; The first business function data includes a business identifier, or the first business function data includes a business identifier and a page identifier, or the first business function data includes a business identifier, a page identifier and a control identifier; wherein the business is a business selected when the user account performs a trigger operation, the page is a page displayed by the client when the user account performs a trigger operation, and the control is a control triggered by the user account in the page; The second service function data includes first identification data, second identification data and third identification data; the first identification data includes a service identification, a page identification and a control identification, the second identification data includes a service identification and a page identification, and the third identification data includes a service identification; The matching the first service function data with pre-configured second service function data includes: Matching the first service function data with pre-configured first identification data; If the first business function data successfully matches the pre-configured first identification data, a fourth account list customer group associated with the successfully matched first identification data is obtained, and it is determined whether the fourth account list customer group is included in the pre-stored push record data; wherein the push record data includes the account list customer group associated with the pushed response data; If the fourth account list customer group is included in the pre-stored push record data, matching the first business function data with the pre-configured second identification data; If the first business function data successfully matches the pre-configured second identification data, a fifth account list customer group associated with the successfully matched second identification data is obtained, and it is determined whether the fifth account list customer group is included in the pre-stored push record data; If the fifth account list customer group is included in the pre-stored push record data, matching the first business function data with the pre-configured third identification data; If the first business function data successfully matches the pre-configured third identification data, a sixth account list customer group associated with the successfully matched third identification data is obtained, and it is determined whether the sixth account list customer group is included in the pre-stored push record data; If the sixth account list customer group is not included in the pre-stored push record data, the sixth account list customer group is determined as the first account list customer group.

7. A device for pushing response data, characterized in that: The device comprises: A request receiving module, configured to receive an interaction request sent by a client; wherein the interaction request carries first service function data, and the first service function data is used to characterize the function of the service triggered by the user account in the client; A data matching module, used to match the first service function data with pre-configured second service function data; A customer group acquisition module, configured to acquire a first account list customer group associated with the successfully matched second business function data if the first business function data successfully matches the pre-configured second business function data; A data determination module, used to determine whether the first account list customer group is associated with response data; A data push module, configured to push the response data to the client if the first account list customer group is associated with the response data; The interaction request also carries first account information of the user account; The data matching module is further used to match the first account information with the second account information in the second account list customer group; wherein the second account list customer group is stored in the cache of the server, and the second account list customer group is a historical account list customer group determined by successfully matching the first business function data with the pre-configured second business function data; The data determination module is further configured to determine whether the second account list customer group is associated with response data if the first account information successfully matches the second account information in the second account list customer group; The data push module is further configured to push the response data to the client if the second account list customer group is associated with the response data.

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

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

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Data pushing method, device and system

    CN111539687A