Integral data processing method and device, computer equipment and storage medium
By generating user-level account tables based on user history and real-time business data, and summarizing and updating points data, the system load increase caused by point data processing in the prior art is solved, and efficient points data management is achieved.
Patent Information
- Application Number
- CN202411435003.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2025-01-17
AI Technical Summary
When processing user points data, the number of data tables and data complexity increases as the business type increases, resulting in an increase in system data access and load, occupying a large amount of memory and computing resources, affecting system performance.
By determining the business points data based on the target user's historical business data and business points rules, generating a user-level account table, and updating it based on real-time business data, the summary and display of the points data is realized, and the system data access and load are reduced.
It effectively reduces the system data access and load during point data processing and display, avoids the use of memory and computing resources, and improves the comprehensiveness and pertinence of user point data management.
Smart Images

Figure CN119322778A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular to an integral data processing method, device, computer equipment and storage medium. Background Art
[0002] At present, many services have a points function, and users' access rights to service functions can be flexibly configured through points. Since the service points of each user change dynamically with the service operations triggered by the user, in the prior art, a dedicated service data table is usually configured for different services of the same user, and the corresponding points data of the user under each service operation is recorded in the corresponding service data table. When the user needs to query his / her points data, all service data tables are displayed to the user.
[0003] However, the research found that with the continuous development and enrichment of user business types, the number of business data tables recording user points data is increasing, and the points data contained in them is becoming more and more complicated. If all business data tables are retrieved and displayed to meet the needs of users to query their points data, the system's data access volume will increase, occupying a large amount of memory resources and computing resources, and increasing the load of the points processing system. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a point data processing method, device, computer equipment and storage medium to reduce the data access volume and load of the system when processing and displaying point data, and avoid the occupation of memory resources and computing resources.
[0005] In a first aspect, an embodiment of the present application provides a method for processing integral data, the method comprising:
[0006] Determine the business points data of the target user according to the historical business data of the target user and the business points rule;
[0007] Generate a user-level account table for the target user based on the service point data and the point account system of the target user;
[0008] The user-level account table is updated according to the real-time business data of the target user.
[0009] Optionally, determining the service score data of the target user according to the historical service data of the target user and a service score rule includes:
[0010] Determining whether the historical business data meets the points requirement in the business points rule;
[0011] If the historical business data meets the points requirement in the business points rule, the business points data is updated using the points value corresponding to the points requirement.
[0012] Optionally, generating a user-level account table of the target user based on the service point data and the point account system of the target user includes:
[0013] Generate a business-level account table for the target user based on the business points data;
[0014] In the business-level account table, the business point data is aggregated at the institutional level based on the point account system to obtain the institutional point data of the target user;
[0015] Generate an institution-level account table for the target user based on the institution points data;
[0016] In the institution-level account table, the institution point data is aggregated at the user level based on the point account system to obtain the user point data of the target user;
[0017] The user-level account table is generated based on the user points data.
[0018] Optionally, updating the user-level account table according to the real-time business data of the target user includes:
[0019] Determining whether the real-time business data meets the points requirement in the business points rule;
[0020] If the real-time business data meets the points requirement in the business points rule, the user-level account table is updated using the points value corresponding to the points requirement.
[0021] Optionally, the method further comprises:
[0022] Count the points redemption value of the target user on that day;
[0023] Query the unredeemed business points data whose data attribute is unredeemed in the user-level account table;
[0024] Point redemption processing is performed according to the validity period of the unredeemed business point data to meet the point redemption value.
[0025] Optionally, the method further comprises:
[0026] Query the expired business points data whose data attribute is expired on the same day in the user-level account table;
[0027] The user-level account table is updated according to the expired service points data.
[0028] Optionally, updating the user-level account table according to the expired service points data includes:
[0029] Determining valid service point data of the target user based on the invalid service point data;
[0030] Recording the invalid service points data and the valid service points data in the user-level account table;
[0031] The user-level account table is displayed to the target user.
[0032] In a second aspect, an embodiment of the present application provides an integral data processing device, the device comprising:
[0033] A service point data determination module, used to determine the service point data of the target user according to the historical service data of the target user and the service point rule;
[0034] A user-level account table generating module, configured to generate a user-level account table for the target user based on the service point data and the point account system of the target user;
[0035] The user-level account table updating module is used to update the user-level account table according to the real-time business data of the target user.
[0036] Optionally, determining the service score data of the target user according to the historical service data of the target user and a service score rule includes:
[0037] Determining whether the historical business data meets the points requirement in the business points rule;
[0038] If the historical business data meets the points requirement in the business points rule, the business points data is updated using the points value corresponding to the points requirement.
[0039] Optionally, generating a user-level account table of the target user based on the service point data and the point account system of the target user includes:
[0040] Generate a business-level account table for the target user based on the business points data;
[0041] In the business-level account table, the business point data is aggregated at the institutional level based on the point account system to obtain the institutional point data of the target user;
[0042] Generate an institution-level account table for the target user based on the institution points data;
[0043] In the institution-level account table, the institution point data is aggregated at the user level based on the point account system to obtain the user point data of the target user;
[0044] The user-level account table is generated based on the user points data.
[0045] Optionally, updating the user-level account table according to the real-time business data of the target user includes:
[0046] Determining whether the real-time business data meets the points requirement in the business points rule;
[0047] If the real-time business data meets the points requirement in the business points rule, the user-level account table is updated using the points value corresponding to the points requirement.
[0048] Optionally, the device further includes a points redemption processing module, and the points redemption module is used to:
[0049] Count the points redemption value of the target user on that day;
[0050] Query the unredeemed business points data whose data attribute is unredeemed in the user-level account table;
[0051] Point redemption processing is performed according to the validity period of the unredeemed business point data to meet the point redemption value.
[0052] Optionally, the device further comprises an integral failure processing module, wherein the integral failure processing module is used to:
[0053] Query the expired business points data whose data attribute is expired on the same day in the user-level account table;
[0054] The user-level account table is updated according to the expired service points data.
[0055] Optionally, updating the user-level account table according to the expired service points data includes:
[0056] Determining valid service point data of the target user based on the invalid service point data;
[0057] Recording the invalid service points data and the valid service points data in the user-level account table;
[0058] The user-level account table is displayed to the target user.
[0059] In a third aspect, an embodiment of the present application provides a computer device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor communicates with the memory through the bus, and when the machine-readable instructions are executed by the processor, the steps of the integral data processing method described in any optional implementation manner of the first aspect are performed.
[0060] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the integral data processing method described in any optional implementation manner in the above-mentioned first aspect are executed.
[0061] The technical solution provided by this application includes but is not limited to the following beneficial effects:
[0062] The present application determines the business points data of the target user according to the historical business data and business points rules of the target user, and can obtain the points data of the user under each business operation; then, based on the business points data and the points account system of the target user, a user-level account table of the target user is generated, and the points data under different businesses of the same user can be aggregated and processed to obtain a user-level account table indicating the overall points situation of the user; finally, the user-level account table is updated according to the real-time business data of the target user, and static statistics and dynamic real-time updates of the user-level account table of the user can be achieved, and the points data of the user is displayed in the account table indicating the overall points situation of the user, thereby reducing the data access volume and load of the system when processing and displaying the points data, and avoiding the occupation of memory resources and computing resources.
[0063] At the same time, this application generates a user-level account table based on the points account system, and performs point aggregation calculation processing and account table updates based on the hierarchical relationship of business-level account table-institutional-level account table-user-level account table, so that business points data at different levels can be reflected in the account tables of each level of the points account system, making it easier for managers at different levels to manage the business points data of their level.
[0064] In addition, this application provides a variety of points processing methods, including points calculation processing, points redemption processing, and points expiration processing, based on the user's different business behaviors, points redemption behaviors, and the data attributes of the points themselves. It can achieve efficient management of user points data in multiple dimensions and scenarios, and improve the comprehensiveness and pertinence of user points data management.
[0065] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0067] Figure 1 A flow chart of an integral data processing method provided by the first embodiment of the present invention is shown;
[0068] Figure 2 A schematic diagram of a points account system provided in the first embodiment of the present invention is shown;
[0069] Figure 3 A schematic diagram of an integrating flow water meter system provided in the first embodiment of the present invention is shown;
[0070] Figure 4 A flow chart of a service points data updating method provided in the first embodiment of the present invention is shown;
[0071] Figure 5 A flowchart of a method for generating a user-level account table provided in Embodiment 1 of the present invention is shown;
[0072] Figure 6 A flowchart of a method for updating a user-level account table provided in Embodiment 1 of the present invention is shown;
[0073] Figure 7 A flow chart of a points redemption processing method provided in the first embodiment of the present invention is shown.
[0074] Figure 8 A flow chart of a second method for updating a user-level account table provided in the first embodiment of the present invention is shown;
[0075] Fig. 9 A flowchart of a third method for updating a user-level account table provided in the first embodiment of the present invention is shown;
[0076] Fig.10 A schematic diagram showing the structure of an integral data processing device provided by the second embodiment of the present invention is shown;
[0077] Fig.11 A schematic diagram of the structure of a computer device provided in Embodiment 3 of the present invention is shown. DETAILED DESCRIPTION
[0078] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.
[0079] Embodiment 1
[0080] To facilitate understanding of this application, Figure 1 The flowchart of an integral data processing method provided in the first embodiment of the present invention is shown to describe the contents of the first embodiment of the present application in detail.
[0081] See also Figure 1 As shown, Figure 1 A flowchart of an integral data processing method provided in the first embodiment of the present invention is shown, wherein the method comprises steps S101 to S103:
[0082] S101: Determine the service point data of the target user according to the historical service data of the target user and the service point rule.
[0083] Specifically, based on the target user's historical business data (including historical transaction data and historical behavior data), combined with the pre-set points rules, it is calculated whether the customer's historical business data meets the points rules requirements, and the historical business data that meets the points rules requirements is processed according to the corresponding points value to obtain business points data, so as to realize the calculation of points.
[0084] S102: Generate a user-level account table for the target user based on the service point data and the point account system of the target user.
[0085] Specifically, after the points calculation is completed, the business points data is hierarchically summarized according to the points account system to obtain points data at each level, and a user-level account table of the target user is generated based on the points data at each level.
[0086] The points account system includes first-level accounts (user-level accounts), second-level accounts (institutional-level accounts) and third-level accounts (business-level accounts), see Figure 2 As shown, Figure 2A schematic diagram of a points account system provided by the first embodiment of the present invention is shown, wherein the hierarchical relationship in the points account system is: the third-level account (business level) is a sub-account of the second-level account (institutional level), and the second-level account (institutional level) is a sub-account of the first-level account (user level). Figure 3 As shown, Figure 3 The schematic diagram of a points flow meter system provided by the first embodiment of the present invention is shown. Under each third-level account (business-level account), the corresponding points transaction flow meter, points calculation flow meter, points adjustment flow meter and points invalidation flow meter are stored in the background. When processing points accounts, it is divided into three parts: points calculation and summary processing, points exchange processing, and points invalidation processing. These three parts will perform related operations on the points total account, second-level account, third-level account and various flow meters of the above points at different times. When processing points accounts, first perform points calculation and summary, then perform points exchange processing, and finally perform points invalidation processing.
[0087] Each user has a user-level account, each of which includes several institutional-level accounts, and each institutional-level account includes several business-level accounts. The business points data is the points data of the third-level account, that is, the business-level account. The business points of each business-level account of the target user are summarized in a hierarchical structure to obtain the points data of the user-level account, and the user-level account table of the target user is generated.
[0088] For example, the target user has a first-level account in Sun Bank, which is the target user account; the target user account in Sun Bank includes two second-level accounts, namely the Moon Branch account and the Star Branch account; the Moon Branch account includes two third-level accounts, namely the deposit business account and the loan business account; the Star Branch account includes two third-level accounts, namely the deposit business account and the loan business account. The points data of the deposit business account and the loan business account in the Moon Branch account of the target user and the points data of the deposit business account and the loan business account in the Star Branch account are aggregated to obtain the points data of the target user's Sun Bank account, and a user-level account table is generated.
[0089] S103: Update the user-level account table according to the real-time business data of the target user.
[0090] Specifically, when the target user initiates actions such as point redemption and point consumption, business data will be generated in real time. Each of the above actions corresponds to a real-time business data. Each time a real-time business data is generated, the background interface will be called to deduct points from the point data in the user-level account table according to the point transaction value corresponding to the real-time business data, and record the point transaction record of each of the above actions in the background point transaction flow table used to record the point flow.
[0091] In an alternative embodiment, see Figure 4 As shown, Figure 4 A flow chart of a service point data updating method provided in the first embodiment of the present invention is shown, wherein the service point data of the target user is determined according to the historical service data of the target user and the service point rule, including steps S401 to S402:
[0092] S201: Determine whether the historical business data meets the points requirement in the business points rule.
[0093] S202: If the historical business data meets the points requirement in the business points rule, the business points data is updated using the points value corresponding to the points requirement.
[0094] Specifically, for example, the business points rule is to increase the points value by 1 for every deposit of 10,000 yuan, and reduce the points value by 1 for every withdrawal of 10,000 yuan. When the historical business data is a deposit of 20,000 yuan, the business points data will be increased by 2 to update the business points data.
[0095] In an alternative embodiment, see Figure 5 As shown, Figure 5 A flowchart of a method for generating a user-level account table provided in Embodiment 1 of the present invention is shown, wherein the method for generating the user-level account table of the target user based on the business point data and the point account system of the target user comprises steps S501 to S505:
[0096] S501: Generate a business-level account table for the target user based on the business points data.
[0097] Specifically, each business points data is recorded as a points value in the business-level account to which it belongs (expressed by business classification), the institutional-level account to which its business-level account belongs (expressed by institutional information), and the user-level account to which the institutional-level account to which its business-level account belongs (expressed by user number), to obtain a business-level account table.
[0098] For example, the business points data is "points value + 2", which belongs to the deposit business account, which belongs to the Moon branch account, which belongs to the target user account. Then the business points data "points value + 2" is recorded in the "target user account-Moon branch account-deposit business account" entry to obtain the business-level account table.
[0099] S502: Aggregating the business point data at the institutional level based on the point account system in the business-level account table to obtain the institutional point data of the target user.
[0100] Specifically, since the business-level account is a sub-account of the institutional-level account, the institutional points data under each institutional-level account can be obtained by aggregating the business points data of each business-level account under the institutional-level account.
[0101] For example, the entry "Target User Account-Moon Branch Account-Deposit Business Account" contains a business points data "Points Value + 2", and the entry "Target User Account-Moon Branch Account-Loan Business Account" contains a business points data "Points Value + 3". Since the deposit business account and the loan business account both belong to the Moon Branch account, the "Points Value + 3" and "Points Value + 2" are aggregated to obtain "Points Value + 5" as the institutional points data record.
[0102] S503: Generate an institution-level account table for the target user based on the institution points data.
[0103] Specifically, the institutional points data "points value + 5" is recorded in the "target user account-moon branch account" entry to obtain an institutional-level account table.
[0104] S504: In the institution-level account table, the institution point data is aggregated at the user level based on the point account system to obtain the user point data of the target user.
[0105] Specifically, since the institution-level account is a sub-account of the user-level account, the user point data under the user-level account can be obtained by aggregating the institution point data of each institution-level account under the user-level account of the target user.
[0106] For example, the entry "Target User Account - Moon Branch Account" contains a business points data "Points Value + 5", and the entry "Target User Account - Star Branch Account" contains a business points data "Points Value + 6". Since the Star Branch Account and the Moon Branch Account both belong to the target user account, the "Points Value + 5" and "Points Value + 6" are aggregated to obtain "Points Value + 11" as the user points data.
[0107] S505: Generate the user-level account table based on the user points data.
[0108] Specifically, the user points data "points value + 11" is recorded in the "target user account" entry to obtain a user-level account table.
[0109] In an alternative embodiment, see Figure 6 As shown, Figure 6A flowchart of a method for updating a user-level account table provided in Embodiment 1 of the present invention is shown, wherein the method for updating the user-level account table according to the real-time business data of the target user comprises steps S601 to S602:
[0110] S601: Determine whether the real-time business data meets the points requirement in the business points rule.
[0111] S602: If the real-time business data meets the score requirement in the business score rule, the user-level account table is updated using the score value corresponding to the score requirement.
[0112] Specifically, for the real-time business data generated, the user-level account table may be updated once each time the real-time business data is generated, or may be updated once at the end of the day based on all the real-time business data generated that day.
[0113] For example, the business points rule is to increase the points value by 1 for every deposit of 10,000 yuan, and reduce the points value by 1 for every withdrawal of 10,000 yuan. When the real-time business data is a deposit of 20,000 yuan, the points value of the real-time points data will be increased by 2.
[0114] In an alternative embodiment, see Figure 7 As shown, Figure 7 A flowchart of a points redemption processing method provided in the first embodiment of the present invention is shown, wherein the method further includes steps S701 to S703:
[0115] S701: Counting the points redemption value of the target user on that day.
[0116] S702: Query the unredeemed business points data in the user-level account table whose data attribute is unredeemed;
[0117] S703: Perform point redemption processing that meets the point redemption value according to the validity period of the unredeemed business point data.
[0118] Specifically, at the end of the day, the process of updating the user-level account table based on all real-time business data generated on the day includes: recording the real-time business data in the points transaction flow table and the points adjustment flow table, summarizing and calculating the total amount of points consumption of the target users on the day according to the user number at the end of the day (for transaction flows that have not been reversed after the transaction on the day, if the transaction is reversed on the same day, the positive and negative will automatically offset each other and no further processing is required), and then querying the points calculation flow table and the points adjustment flow table for unredeemed (including partially redeemed) points flow data, and redeeming them in order according to the validity period of the points (the first expired points will be redeemed first). ); according to the redemption results in the points calculation flow sheet and the points adjustment flow sheet, summarize the redeemed points value according to the user number, institution, card or business category and update the redeemed points value to the business-level account table (used points value + redeemed points value on the day, remaining points value - redeemed points value on the day); in the business-level account table, summarize according to the user number and institution, and update it to the institution-level account table (used points value + redeemed points value on the day, remaining points value - redeemed points value on the day); in the institution-level account table, summarize according to the user number and update it to the user-level account table to obtain the updated user-level account table.
[0119] For example, at the end of the day, the entry "Target User Account-Moon Branch Account-Deposit Business Account" contains a business points data "Points Value + 2", of which the first of the two points expires first and the second expires later. If the points values corresponding to the real-time points data generated by the user on that day are "Points Value - 1" and "Points Value + 2", it means that after the transaction on that day, it was reversed on the same day to obtain "Points Value + 1", then the business points data "Points Value + 2" originally contained in the deposit business account and the newly generated "Points Value + 1" are aggregated to obtain "Points Value + 3" under "Target User Account-Moon Branch Account". If the points values corresponding to the real-time points data generated by the user on that day are "Points Value - 1", it means that it was not reversed after the transaction on that day, then the first points value in the deposit business account that expires first will be exchanged, and only the points value that expires later will be retained.
[0120] In an alternative embodiment, see Figure 8 As shown, Figure 8 The flowchart of the second method for updating the user-level account table provided in the first embodiment of the present invention is shown, wherein the method further includes steps S801 to S802:
[0121] S801: Query the expired service points data in the user-level account table whose data attributes expire on the current day.
[0122] S802: Update the user-level account table according to the expired service points data.
[0123] Specifically, at the end of each day, the points calculation flow table and the points adjustment flow table are queried for all invalid business points data that have expired and not been written off (including partial write-offs) on that day, and summarized and counted according to the user number, and the invalid business points data of the target user on that day are calculated, and the user-level account table is updated according to the invalid points value corresponding to the invalid business points data.
[0124] In an alternative embodiment, see Fig. 9 As shown, Fig. 9 A flowchart of a third method for updating a user-level account table provided in the first embodiment of the present invention is shown, wherein the updating of the user-level account table according to the invalid service points data comprises steps S901 to S903:
[0125] S901: Determine the valid service point data of the target user based on the invalid service point data.
[0126] S902: Record the invalid service point data and the valid service point data in the user-level account table.
[0127] S903: Display the user-level account table to the target user.
[0128] Specifically, the invalid business points data is recorded in the points calculation flow table and the points adjustment flow table, and the corresponding flow status of the invalid business points data in the table is changed to invalid or partially invalid (for the same calculation flow or adjustment flow, if there is partial points cancellation, the flow status will be changed to partially invalid), and the corresponding flow status of the valid business points data in the table is kept valid. At the same time, the invalid points value corresponding to the invalid business points data of each user is recorded in the points invalidation flow table. Based on the invalid business points data in the points calculation flow sheet and the points adjustment flow sheet for the day, they are summarized according to the user number, institution, card or business category, and the invalid points value is updated to the business-level account table (invalid points value + invalid points value for the day, remaining points value - invalid points value for the day); in the business-level account, they are summarized according to the customer number and institution, and the invalid points value is updated to the institution-level account (invalid points value + invalid points value for the day, remaining points value - invalid points value for the day); in the institution-level account, they are summarized according to the user number, and the invalid points value is updated to the user-level account table (invalid points value + invalid points value for the day, remaining points value - invalid points value for the day), so as to update the user-level account table.
[0129] This application has constructed a hierarchical system for points accounts (first-level accounts, second-level accounts, third-level accounts, as well as points calculation flow sheets, points adjustment flow sheets, points transaction flow sheets, and points expiration flow sheets), and opened the first-level accounts to users to meet the user's 24-hour real-time consumption requirements for points. Second-level accounts and third-level accounts perform batch calculations in real time or at the end of each day and then synchronize them to the total points account to meet the processing requirements for points acquisition, points consumption write-off, and points expiration. As for the processing method of points calculation, first calculate the points of the user's business data to generate the corresponding points calculation flow. At this time, when the points are issued, the cost-bearing object (affiliated institution) of the points has been clarified. When the points calculation flow is summarized and synchronized to the third-level account and the second-level account, the maximum points cost that each institution, card or business line needs to bear (not the actual cost that needs to be borne in the end) has been clarified. As for the method of redeeming points, according to the user's transaction results on the day in the points transaction flow sheet, the points used on the day are written off one by one in the points calculation flow sheet and the points adjustment flow sheet, and summarized to the third and second-level accounts step by step. In this process, the actual points cost that each institution, card or business line needs to bear can be clarified; in addition, for the point expiration processing method, the points that have expired on the day and have not been written off (including partial write-offs) are summarized and invalidated, and then summarized to the third-level account, second-level account and first-level account step by step (for the user's received and unused points, no cost will be incurred after they expire), so as to update the account table.
[0130] Embodiment 2
[0131] Embodiment 2 of the present invention provides an integral data processing device, see Fig.10 As shown, Fig.10 A schematic diagram of the structure of an integral data processing device provided by Embodiment 2 of the present invention is shown, wherein the device comprises:
[0132] A service point data determination module 1001 is used to determine the service point data of the target user according to the historical service data of the target user and the service point rule;
[0133] A user-level account table generating module 1002, configured to generate a user-level account table for the target user based on the service point data and the point account system of the target user;
[0134] The user-level account table updating module 1003 is used to update the user-level account table according to the real-time business data of the target user.
[0135] In an optional implementation manner, determining the target user's service score data based on the target user's historical service data and service score rules includes:
[0136] Determining whether the historical business data meets the points requirement in the business points rule;
[0137] If the historical business data meets the points requirement in the business points rule, the business points data is updated using the points value corresponding to the points requirement.
[0138] In an optional implementation manner, generating the user-level account table of the target user based on the service point data and the point account system of the target user includes:
[0139] Generate a business-level account table for the target user based on the business points data;
[0140] In the business-level account table, the business point data is aggregated at the institutional level based on the point account system to obtain the institutional point data of the target user;
[0141] Generate an institution-level account table for the target user based on the institution points data;
[0142] In the institution-level account table, the institution point data is aggregated at the user level based on the point account system to obtain the user point data of the target user;
[0143] The user-level account table is generated based on the user points data.
[0144] In an optional implementation manner, updating the user-level account table according to the real-time business data of the target user includes:
[0145] Determining whether the real-time business data meets the points requirement in the business points rule;
[0146] If the real-time business data meets the points requirement in the business points rule, the user-level account table is updated using the points value corresponding to the points requirement.
[0147] In an optional embodiment, the device further includes a points redemption processing module, and the points redemption module is used to:
[0148] Count the points redemption value of the target user on that day;
[0149] Query the unredeemed business points data whose data attribute is unredeemed in the user-level account table;
[0150] Point redemption processing is performed according to the validity period of the unredeemed business point data to meet the point redemption value.
[0151] In an optional embodiment, the device further comprises an integral failure processing module, wherein the integral failure processing module is used to:
[0152] Query the expired business points data whose data attribute is expired on the same day in the user-level account table;
[0153] The user-level account table is updated according to the expired service points data.
[0154] In an optional implementation manner, updating the user-level account table according to the expired service points data includes:
[0155] Determining valid service point data of the target user based on the invalid service point data;
[0156] Recording the invalid service points data and the valid service points data in the user-level account table;
[0157] The user-level account table is displayed to the target user.
[0158] Embodiment 3
[0159] Based on the same application concept, see Fig.11 As shown, Fig.11 FIG. 4 shows a schematic diagram of the structure of a computer device provided by Embodiment 3 of the present invention, wherein: Fig.11 As shown, a computer device 1100 provided in Embodiment 3 of the present application includes:
[0160] A processor 1101, a memory 1102 and a bus 1103, wherein the memory 1102 stores machine-readable instructions executable by the processor 1101. When the computer device 1100 is running, the processor 1101 communicates with the memory 1102 via the bus 1103, and the machine-readable instructions are executed by the processor 1101 to execute the steps of the integral data processing method shown in the above-mentioned embodiment 1.
[0161] Embodiment 4
[0162] Based on the same application concept, an embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the integral data processing method described in any one of the above embodiments are executed.
[0163] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0164] The computer program product for performing integral data processing provided in an embodiment of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method described in the previous method embodiment. The specific implementation can be found in the method embodiment, which will not be repeated here.
[0165] The integral data processing device provided in the embodiment of the present invention can be specific hardware on the device or software or firmware installed on the device. The implementation principle and technical effects of the device provided in the embodiment of the present invention are the same as those of the aforementioned method embodiment. For the sake of brief description, the parts not mentioned in the device embodiment can refer to the corresponding contents in the aforementioned method embodiment. It can be clearly understood by technicians in the relevant field that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can all refer to the corresponding processes in the aforementioned method embodiment, and will not be repeated here.
[0166] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0167] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0168] In addition, each functional unit in the embodiment provided by the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0169] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0170] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.
[0171] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can still modify the technical solutions described in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or perform equivalent replacements on some of the technical features thereof; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. They should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A method for processing integral data, characterized in that: The method comprises: Determine the business points data of the target user according to the historical business data of the target user and the business points rule; Generate a user-level account table for the target user based on the service point data and the point account system of the target user; The user-level account table is updated according to the real-time business data of the target user.
2. The method according to claim 1, characterized in that: Determining the target user's service score data based on the target user's historical service data and service score rules includes: Determining whether the historical business data meets the points requirement in the business points rule; If the historical business data meets the points requirement in the business points rule, the business points data is updated using the points value corresponding to the points requirement.
3. The method according to claim 1, characterized in that The generating the user-level account table of the target user based on the service point data and the point account system of the target user comprises: Generate a business-level account table for the target user based on the business points data; In the business-level account table, the business point data is aggregated at the institutional level based on the point account system to obtain the institutional point data of the target user; Generate an institution-level account table for the target user based on the institution points data; In the institution-level account table, the institution point data is aggregated at the user level based on the point account system to obtain the user point data of the target user; The user-level account table is generated based on the user points data.
4. The method according to claim 1, characterized in that: The updating of the user-level account table according to the real-time business data of the target user includes: Determining whether the real-time business data meets the points requirement in the business points rule; If the real-time business data meets the points requirement in the business points rule, the user-level account table is updated using the points value corresponding to the points requirement.
5. The method according to claim 1, characterized in that The method further comprises: Count the points redemption value of the target user on that day; Query the unredeemed business points data whose data attribute is unredeemed in the user-level account table; Point redemption processing is performed according to the validity period of the unredeemed business point data to meet the point redemption value.
6. The method according to claim 5, characterized in that The method further comprises: Query the expired business points data whose data attribute is expired on the same day in the user-level account table; The user-level account table is updated according to the expired service points data.
7. The method according to claim 6, characterized in that The updating of the user-level account table according to the invalid service points data includes: Determining valid service point data of the target user based on the invalid service point data; Recording the invalid service points data and the valid service points data in the user-level account table; The user-level account table is displayed to the target user.
8. An integral data processing device, characterized in that: The device comprises: A service point data determination module, used to determine the service point data of the target user according to the historical service data of the target user and the service point rule; A user-level account table generating module, configured to generate a user-level account table for the target user based on the service point data and the point account system of the target user; The user-level account table updating module is used to update the user-level account table according to the real-time business data of the target user.
9. A computer device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the integral data processing method as described in any one of claims 1 to 7 are performed.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the integral data processing method as described in any one of claims 1 to 7.