Resource data processing method, device, computer equipment and storage medium

By estimating and confirming the amount of resource growth in the resource conversion scenario, the problems of cumbersome and time-consuming resource data processing in the existing technology are solved, and the need to quickly view the amount of resource growth is achieved, and processing efficiency is improved.

CN111737008BActive Publication Date: 2025-02-18TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010735179.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-28
Publication Date
2025-02-18
Estimated Expiration
2040-07-28

AI Technical Summary

Technical Problem

In the resource conversion scenario, the resource data processing process is cumbersome and time-consuming, resulting in users being unable to quickly view the amount of resource growth.

Method used

Before the target time node, the resource growth amount of each user is estimated based on the historical growth ratio of the resource amount and the corresponding resource amount of each user identification, and after receiving the resource growth file of the resource conversion server, according to the preprocessing conditions and resources, after receiving the resource growth file of the resource conversion server, the resource growth conditions and resources are obtained. The growth document determines the actual amount of resource growth.

Benefits of technology

It improves the efficiency of resource data processing, reduces processing time, and can meet users' needs to quickly view the amount of resource growth, and completes resource account numerical adjustments in advance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111737008B_ABST
    Figure CN111737008B_ABST
Patent Text Reader

Abstract

The present application relates to a resource data processing method, device, computer equipment and storage medium. The method comprises: before a target time node, according to the historical growth ratio of the resource amount and the resource amount corresponding to each user identifier, determining the estimated resource growth amount corresponding to each user identifier; for a first user identifier whose corresponding estimated resource growth amount meets a preprocessing condition, obtaining the estimated resource growth amount corresponding to the first user identifier as the actual resource growth amount; receiving a resource growth file sent by a resource conversion server at the target time node; for a second user identifier whose corresponding estimated resource growth amount does not meet the preprocessing condition, determining the actual resource growth amount corresponding to the second user identifier according to the resource growth file. The use of this method can improve the timeliness of resource data processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the continuous development of computer technology, it is becoming more and more common to process resource data through computers. Resources can include virtual items and physical items. Virtual items can be account values, points or electronic vouchers in the financial field. Resource owners can convert resources on computer platforms to obtain other resources of equal value.

[0003] However, in existing resource conversion scenarios, it is often necessary to add the user's resource growth amount to the user's corresponding resource account according to a time period. The process is cumbersome and due to the large number of users, the timeliness of resource data processing is low. Summary of the invention

[0004] Based on this, it is necessary to provide a resource data processing method, device, computer equipment and storage medium that can improve the efficiency of resource data processing in response to the above technical problems.

[0005] A resource data processing method, the method comprising:

[0006] Before the target time node, according to the historical growth ratio of the resource amount and the resource amount corresponding to each user identifier, determine the estimated resource growth amount corresponding to each user identifier;

[0007] For a first user identifier whose corresponding estimated resource growth amount meets a preprocessing condition, obtaining the estimated resource growth amount corresponding to the first user identifier as the actual resource growth amount;

[0008] Receiving a resource growth file sent by a resource conversion server at the target time node;

[0009] For a second user identifier whose corresponding estimated resource growth amount does not satisfy the preprocessing condition, the actual resource growth amount corresponding to the second user identifier is determined according to the resource growth file.

[0010] A resource data processing device, characterized in that the device comprises:

[0011] An estimation module, used to determine the estimated resource growth amount corresponding to each user identifier before the target time node according to the historical growth ratio of the resource amount and the resource amount corresponding to each user identifier;

[0012] A first processing module is configured to obtain, for a first user identifier whose corresponding estimated resource growth amount meets a preprocessing condition, an estimated resource growth amount corresponding to the first user identifier as an actual resource growth amount;

[0013] A receiving module, configured to receive a resource growth file sent by a resource conversion server at the target time node;

[0014] The second processing module is used to determine the actual resource growth amount corresponding to the second user identifier whose corresponding estimated resource growth amount does not meet the preprocessing condition according to the resource growth file.

[0015] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0016] Before the target time node, according to the historical growth ratio of the resource amount and the resource amount corresponding to each user identifier, determine the estimated resource growth amount corresponding to each user identifier;

[0017] For a first user identifier whose corresponding estimated resource growth amount meets a preprocessing condition, obtaining the estimated resource growth amount corresponding to the first user identifier as the actual resource growth amount;

[0018] Receiving a resource growth file sent by a resource conversion server at the target time node;

[0019] For a second user identifier whose corresponding estimated resource growth amount does not satisfy the preprocessing condition, the actual resource growth amount corresponding to the second user identifier is determined according to the resource growth file.

[0020] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0021] Before the target time node, according to the historical growth ratio of the resource amount and the resource amount corresponding to each user identifier, determine the estimated resource growth amount corresponding to each user identifier;

[0022] For a first user identifier whose corresponding estimated resource growth amount meets a preprocessing condition, obtaining the estimated resource growth amount corresponding to the first user identifier as the actual resource growth amount;

[0023] Receiving a resource growth file sent by a resource conversion server at the target time node;

[0024] For a second user identifier whose corresponding estimated resource growth amount does not satisfy the preprocessing condition, the actual resource growth amount corresponding to the second user identifier is determined according to the resource growth file.

[0025] The resource data processing method, device, computer equipment and storage medium estimate the resource growth amount of each user before the time node of the resource growth file of the resource conversion server, that is, based on the historical growth ratio of the resource amount and the resource amount of each user; for users whose estimated resource growth amount meets the preprocessing conditions, the estimated resource growth amount of these users is directly obtained as the actual resource growth amount for users to view; for users whose estimated resource growth amount does not meet the preprocessing conditions, after receiving the resource conversion data, the actual resource growth amount of these users is determined based on the resource growth file. In this way, the time for resource data processing is no longer limited, which not only reduces the time consumption but also advances the completion time, and can meet the needs of users to quickly view the resource growth amount. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 An application environment diagram of a resource data processing method in an embodiment;

[0027] Figure 2 A schematic diagram of a process flow of a resource data processing method in one embodiment;

[0028] Figure 3 A schematic diagram of a terminal interface in one embodiment showing that the result of the resource growth amount in the current time period has not yet been generated;

[0029] Figure 4 A schematic diagram of a terminal interface displaying the result of resource growth amount in the current time period in an embodiment;

[0030] Figure 5 A schematic diagram of a flow chart of a resource data processing method in another embodiment;

[0031] Figure 6 A schematic diagram of at least two target devices executing resource processing tasks in parallel in one embodiment;

[0032] Figure 7 is a timing diagram of a resource data processing method in one embodiment;

[0033] Figure 8 is a structural block diagram of a resource data processing device in one embodiment;

[0034] Fig. 9 is a structural block diagram of a resource data processing device in another embodiment;

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

[0036] 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.

[0037] The resource data processing method provided in this application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The server 104 includes a resource conversion server 104a and a resource management server 104b. The servers can communicate with each other. The terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, and this application is not limited here.

[0038] In one embodiment, the resource management server 104b may determine the estimated resource growth amount corresponding to each user identifier before the target time node based on the historical growth ratio of the resource amount and the resource amount corresponding to each user identifier. Then, the resource data of the users are processed in batches according to the preprocessing conditions. For the first user identifier whose corresponding estimated resource growth amount meets the preprocessing conditions, the estimated resource growth amount corresponding to the first user identifier is obtained as the actual resource growth amount; the resource growth file sent by the resource conversion server 104a is received at the target time node; for the second user identifier whose corresponding estimated resource growth amount does not meet the preprocessing conditions, the actual resource growth amount corresponding to the second user identifier is determined according to the resource growth file.

[0039] The terminal 102 can transfer the first resource to the resource conversion server 104a through the resource management server 104b, and the resource conversion server 104a converts the first resource into a second resource. After the first resource is converted into the second resource, the resource amount of the first resource will increase. The actual resource increase amount obtained by the resource management server 104b through the resource data processing method is the resource increase amount of the first resource.

[0040] Among them, resources refer to items that can be owned through the Internet, including at least one of virtual items and physical items. Virtual items include at least one of account values, virtual image products, virtual recharge cards, game equipment and game currency. Physical items can be any items with actual form that can be owned by users, such as electronic products, toys, handicrafts or signed photos. Here, the first resource and the second resource are different resources, and the two resources can be converted into each other.

[0041] In a specific embodiment, the first resource is currency, the second resource is fund, the resource management server 104b may be a financial management platform that provides currency management services to users, and the resource conversion server 104a may be a server corresponding to a fund company.

[0042] In one embodiment, Figure 2 As shown, a resource data processing method is provided, which is applied to Figure 1 Taking the resource management server 104b in the example as an example, the following steps are included:

[0043] Step 202, before the target time node, determine the estimated resource growth amount corresponding to each user ID according to the historical growth ratio of the resource amount and the resource amount corresponding to each user ID.

[0044] The target time node is a specific time node. It is understood that after the first resource is converted into the second resource, the resource amount of the first resource will increase, and the increase is based on the time period, that is, each time period will produce resource growth in the current period. The target time node can be a transition time node between two adjacent time periods. The time period can be one or more natural days, natural weeks or natural months.

[0045] For example, in a fund subscription scenario, after a user subscribes to a second resource (fund) through a first resource (currency), the amount of the first resource (currency) will increase over time. According to the commonly accepted standards in the financial field, the growth amount of the first resource (currency) will be settled in a natural day. At this time, the target time node is the transition time node between two adjacent natural days, that is, 0 o'clock.

[0046] The historical growth ratio of resource amount refers to the historical growth ratio of resource amount, that is, the growth ratio of resource amount in the time period before the current time period. For example, the growth ratio of resource amount in one time period in history, or the average growth ratio of resource amount in multiple time periods in history. The growth ratio of resource amount refers to the ratio of resource growth amount to total resource amount. The estimated resource growth amount refers to the estimated amount of resource growth.

[0047] Taking the fund subscription scenario as an example, the current time is February 22, 2020. The historical growth rate of resource amount can be the growth rate of resource amount on any natural day before February 22, 2020, or the average growth rate of resource amount on multiple natural days before February 22, 2020.

[0048] Specifically, before the target time node, the resource management server can estimate the growth amount of the first resource corresponding to each user identifier based on the historical growth ratio of the resource amount and the resource amount of the first resource corresponding to each user identifier, that is, determine the estimated resource growth amount corresponding to each user identifier.

[0049] It can be understood that the historical growth rate of resource amount can reflect the growth trend of resource amount to a certain extent, and the current resource growth amount can be effectively estimated through the historical growth rate of resource amount.

[0050] In one embodiment, step 202 includes: before the target time node, obtaining the previous cycle resource amount, current cycle resource conversion amount and current cycle resource rotation amount corresponding to each user identifier; determining the current cycle resource amount corresponding to each user identifier based on the previous cycle resource amount, current cycle resource conversion amount and current cycle resource rotation amount corresponding to each user identifier; determining the current cycle estimated resource growth amount corresponding to each user identifier based on the previous cycle resource amount growth ratio and the current cycle resource amount corresponding to each user identifier.

[0051] Among them, the previous period resource amount refers to the amount of the first resource in the previous time period. The current period resource conversion amount refers to the amount of the first resource converted into the second resource in the current time period. The current period resource rotation amount refers to the amount of the second resource transferred back to the first resource in the current time period. Rotation refers to the process of converting the first resource into the second resource and then converting the converted second resource into the first resource. The current period resource amount refers to the amount of the first resource in the current time period.

[0052] It can be understood that the user operation terminal transfers the first resource to the resource conversion server through the resource management server, the resource conversion server converts the first resource into a second resource, and the terminal then applies to the resource conversion server through the resource management server to convert the second resource back to the first resource. Therefore, the resource management server can store the previous period resource amount, the current period resource conversion amount and the current period resource rotation amount corresponding to each user identifier.

[0053] Specifically, the resource management server can determine, based on the flow direction of each user's first resource, that the current period resource amount of each user should be the difference between the user's previous period resource amount plus the user's current period resource rotation amount and the user's current period resource conversion amount. That is: current period resource amount = previous period resource amount + current period resource rotation amount - current period resource conversion amount.

[0054] In one embodiment, before the target time node, the previous cycle resource amount, current cycle resource conversion amount and current cycle resource rotation amount corresponding to each user identifier are obtained, including: at the first time node before the target time node, the previous cycle resource amount, current cycle resource conversion amount and current cycle resource rotation amount corresponding to each user identifier are obtained.

[0055] Specifically, the administrator corresponding to the resource management server can select the first time node before the target time node in advance. The resource management server can then fix the first time node and obtain the previous cycle resource amount, current cycle resource conversion amount, and current cycle resource rotation amount corresponding to each user ID. In this way, data processing is performed according to a unified time node, which facilitates the unified management of resource data.

[0056] Further, the resource amount growth ratio of the previous period refers to the growth ratio of the amount of the first resource in the previous time period. In this embodiment, the resource amount growth ratio of the previous period is used as the resource amount growth ratio of the current period to estimate the resource growth amount of the current period.

[0057] Specifically, after obtaining the current period resource amount of each user, the resource management server may multiply the current period resource amount of each user by the growth ratio of the resource amount of the previous period to obtain the current period estimated resource growth amount of each user.

[0058] In this embodiment, in each time period, the amount of resources under the name of each user is counted according to the resource flow of each user in the current time period, and based on the prior knowledge that the growth ratio of the resource amount has a small probability of mutating between adjacent time periods, the growth ratio of the resource amount in the adjacent previous time period is used as the growth ratio of the resource amount in the current time period to estimate the resource growth amount in the current period, which can better estimate the resource growth amount in the current period before the end of the current time period.

[0059] Step 204: For a first user identifier whose corresponding estimated resource growth amount meets a preprocessing condition, obtain the estimated resource growth amount corresponding to the first user identifier as the actual resource growth amount.

[0060] The preprocessing condition is a constraint condition on the estimated resource growth amount. When the estimated resource growth amount satisfies the constraint condition, the resource data of the user corresponding to the estimated resource growth amount can be processed in advance. When the estimated resource growth amount does not satisfy the constraint condition, the resource data of the user corresponding to the estimated resource growth amount cannot be processed in advance.

[0061] Specifically, after obtaining the estimated resource growth amount of each user, the resource management server divides the users into two groups according to whether the estimated resource growth amount meets the preprocessing condition. For the users whose corresponding estimated resource growth amount meets the preprocessing condition, it can be considered that the estimated resource growth amount of this part of users has a high credibility and can be directly used as the actual resource growth amount of this part of users.

[0062] In one embodiment, the preprocessing condition is that the estimated resource growth amount is zero. After determining the estimated resource growth amount of the current period corresponding to each user identifier based on the growth ratio of the resource amount in the previous period and the resource amount of the current period corresponding to each user identifier, the resource processing method further includes: generating a resource no growth file for the first user identifier whose corresponding estimated resource growth amount meets the preprocessing condition. Step 204 includes: at a second time node before the target time node, adjusting the corresponding account resource value in the resource account corresponding to the first user identifier according to the resource no growth file.

[0063] The preprocessing condition is that the estimated resource growth amount is zero, which means that there is no resource growth in the current time period. The resource no growth file is a file indicating no resource growth.

[0064] Specifically, after obtaining the estimated resource growth amount of each user, the resource management server divides the users into two groups according to whether the estimated resource growth amount is zero. For the users whose corresponding estimated resource growth amount is zero, a resource no-growth file is generated, indicating that the resource amount of this group of users has not increased. Then, at a second time node before the target time node, the resource management server uniformly adjusts the corresponding account resource values ​​in the corresponding resource accounts of this group of users according to the resource no-growth file.

[0065] In this embodiment, based on the prior knowledge that the converted resources need to reach a certain amount before there will be growth, and that the amount of resources converted by almost half of the users is limited, for those users whose resources have not increased, the process of adjusting the resource account values ​​is advanced to before the target time node, so that the end time of the process of adjusting the resource account values ​​of all users will be significantly advanced.

[0066] Step 206: receiving the resource growth file sent by the resource conversion server at the target time node.

[0067] Specifically, the resource conversion server will send the resource growth file of the previous time period to the resource management server at a fixed target time node in each time period. The resource growth file includes the actual resource growth amount of each user who converts resources through the resource management server in the previous time period. Taking the fund subscription scenario as an example, the fund company will send the resource growth file of the previous natural day to the wealth management platform at 0:00 on each natural day.

[0068] Step 208: For the second user identifier whose corresponding estimated resource growth amount does not meet the preprocessing condition, determine the actual resource growth amount corresponding to the second user identifier according to the resource growth file.

[0069] Specifically, after obtaining the estimated resource growth amount of each user, the resource management server divides the users into two groups according to whether the estimated resource growth amount meets the preprocessing condition. For the users whose corresponding estimated resource growth amount does not meet the preprocessing condition, it can be considered that the credibility of the estimated resource growth amount of this part of users is not high, and the corresponding actual resource growth amount of this part of users needs to be determined according to the resource growth file.

[0070] In one embodiment, before the target time node, after obtaining the previous cycle resource amount, current cycle resource conversion amount and current cycle resource rotation amount corresponding to each user identifier, the resource data processing method further includes: generating a verification file according to the previous cycle resource amount, current cycle resource conversion amount and current cycle resource rotation amount corresponding to each user identifier. Step 208 includes: verifying the resource growth file according to the verification file; for the second user identifier whose corresponding estimated resource growth amount does not meet the preprocessing condition, registering the actual resource growth amount corresponding to the second user identifier according to the resource growth file when the verification is passed.

[0071] Specifically, after obtaining the previous cycle resource amount, current cycle resource conversion amount and current cycle resource rotation amount corresponding to each user ID, the resource management server can generate a verification file based on the previous cycle resource amount, current cycle resource conversion amount and current cycle resource rotation amount corresponding to each user ID. After receiving the resource growth file sent by the resource conversion server, the resource management server uses the verification file to verify the resource growth file, registers the actual resource growth amount of each second user after verification, and updates the total resource amount of each second user based on the actual resource growth amount of each second user. The second user is the user identified by the second user ID, and is the user with resource growth.

[0072] In this embodiment, the actual resource growth amount of the user is registered after the resource growth file sent by the resource conversion server is verified, thereby ensuring the accuracy of the actual resource growth amount.

[0073] The above resource data processing method estimates the resource growth amount of each user before the time node of the resource growth file of the resource conversion server is received, that is, based on the historical growth ratio of the resource amount and the resource amount of each user; for users whose estimated resource growth amount meets the preprocessing conditions, the estimated resource growth amount of these users is directly obtained as the actual resource growth amount for users to view; for users whose estimated resource growth amount does not meet the preprocessing conditions, after receiving the resource conversion data, the actual resource growth amount of these users is determined based on the resource growth file. In this way, the time for resource data processing is no longer limited, which not only reduces the time consumption but also advances the completion time, and can meet the needs of users to quickly view the resource growth amount.

[0074] In one embodiment, the resource data processing method also includes: for a first user identifier whose corresponding estimated resource growth amount meets the preprocessing conditions, verifying the estimated resource growth amount corresponding to the first user identifier according to the resource growth file; when the verification of the estimated resource growth amount corresponding to the first user identifier fails, updating the actual resource growth amount corresponding to the first user identifier according to the resource growth file.

[0075] It can be understood that for the first user whose corresponding estimated resource growth amount meets the preprocessing conditions, the corresponding estimated resource growth amount has been used as the actual resource growth amount between the target time nodes, so that the first user can check his own resource growth amount at the first time. However, the estimated resource growth amount is an estimated result after all, not a real result, and its accuracy needs to be verified. Therefore, after receiving the resource growth file sent by the resource conversion server, the resource management server verifies the estimated resource growth amount of the first user according to the real resource growth amount of the first user recorded in the resource growth file. If the real resource growth amount is consistent with the estimated resource growth amount, no additional operation is required. If the real resource growth amount is inconsistent with the estimated resource growth amount, it is necessary to update the corresponding actual resource growth amount of the first user according to the real resource growth amount recorded in the resource growth file.

[0076] In this embodiment, before the target time node, the estimated resource growth amount with a high probability of being correct is used as the actual resource growth amount, so that the user can view his or her current resource growth amount at the first time, meeting the user's need to quickly view the current resource growth amount; and after the actual resource growth amount is generated, the estimated resource growth amount is verified, and the resource growth amount of the user with an incorrect estimate is corrected in time to ensure the accuracy of the resource growth amount.

[0077] In one embodiment, the resource management server will check the resource growth file before verifying the estimated resource growth amount corresponding to the first user identifier based on the resource growth file. Only after the resource growth file is verified will the resource management server determine the correctness of the resource growth file and then use the resource growth file to verify the estimated resource growth amount corresponding to the first user identifier.

[0078] In one embodiment, the preprocessing condition is that the estimated resource growth amount is zero. Step 204 includes: for the first user identifier whose corresponding estimated resource growth amount is zero, registering the actual resource growth amount corresponding to the first user identifier as zero. When the estimated resource growth amount corresponding to the first user identifier fails to be verified, updating the actual resource growth amount corresponding to the first user identifier according to the resource growth file, including: when the resource growth file indicates that the resource growth amount corresponding to the first user identifier is not zero, updating the actual resource growth amount corresponding to the first user identifier according to the resource growth file.

[0079] Specifically, the resource management server may classify users according to whether the corresponding resources have increased, that is, whether the corresponding estimated resource increase amount is zero. Users whose corresponding resources have not increased, that is, users whose corresponding estimated resource increase amount is zero, are classified as first users, and users whose corresponding resources have increased, that is, users whose corresponding estimated resource increase amount is not zero, are classified as second users.

[0080] For the first user, the resource management server will register the estimated resource growth amount as the actual resource growth amount when the first user's actual resource growth amount has not yet been generated, that is, the registered growth amount is zero. When the first user's actual resource growth amount is generated, check whether the actual resource growth amount is zero. If the actual resource growth amount is zero, skip the process; if the actual resource growth amount is not zero, update the registered actual resource growth amount of the first user to the actual resource growth amount.

[0081] In this embodiment, based on the prior knowledge that the converted resources need to reach a certain amount before there will be growth, and that the amount of resources converted by almost half of the users is limited, for those users whose resources have not increased, their resource growth amount is directly registered as zero, so that users can view their current resource growth amount at the first time, meeting the user's need to quickly view the current resource growth amount; and after the actual resource growth amount is generated, the resource growth amount of the user with an incorrect estimate is corrected in time to ensure the correctness of the resource growth amount. In addition, the process of adjusting the resource account value is advanced to before the target time node, so that the end time of the process of adjusting the resource account values ​​of all users will be significantly advanced.

[0082] In one embodiment, the resource data processing method also includes: receiving a resource amount query request; the resource amount query request carries a target user identifier; when the target user identifier is included in the first user identifier and the verification of the estimated resource growth amount corresponding to the first user identifier has not been performed, then returning the estimated resource growth amount corresponding to the target user identifier; the returned estimated resource growth amount is used to be displayed on the user interface corresponding to the target user identifier.

[0083] Specifically, before the target time node, the resource management server may also receive a resource amount query request from the terminal, which carries the target user ID. If the resource management server has not completed the estimation of the resource growth amount, or has not completed the registration of the estimated resource growth amount at the current time node, it will return the result that the resource growth amount corresponding to the target user ID has not yet been generated. The returned result can be displayed in the user interface of the terminal logged in by the target user ID. For example, refer to Figure 3 , the figure shows a schematic diagram of a terminal interface showing the result that the amount of resource growth in the current time period has not yet been generated in an embodiment. From the figure, it can be seen that the interface displays "Today's income has not yet arrived".

[0084] If at the current time node, the resource management server completes the estimation of the resource growth amount and completes the registration that the estimated resource growth amount meets the preprocessing conditions, the resource management server can determine whether the target user identifier is included in the first user identifier. If the target user identifier is included in the first user identifier, the resource management server returns the estimated resource growth amount corresponding to the target user identifier to the terminal, and the returned estimated resource growth amount is displayed in the user interface of the terminal logged in by the target user identifier. For example, refer to Figure 4 , the figure shows a schematic diagram of a terminal interface showing the amount of resource growth in the current time period in an embodiment. From the figure, it can be seen that the interface displays "Today's income XXXXX".

[0085] If the target user identifier is not included in the first user identifier but is included in the second user identifier, a result indicating that the estimated resource growth amount corresponding to the target user identifier has not yet been generated is returned, and the returned result can be displayed in the user interface of the terminal logged in by the target user identifier.

[0086] In addition, if the resource management server completes the verification of the estimated source growth amount at the current time node, then when the target user identifier is included in the first user identifier, the resource growth amount corresponding to the target user identifier is returned to the terminal. At this time, if the verification is passed, the returned resource growth amount is consistent with the estimated resource growth amount. If the verification fails, the returned resource growth amount is inconsistent with the estimated resource growth amount and is the actual resource growth amount. If the resource management server completes the verification of the resource growth file and the registration of the resource growth amount of the second user at the current time node, then when the target user identifier is included in the second user identifier, the actual resource growth amount corresponding to the target user identifier is returned. The returned actual resource growth amount can be displayed in the user interface of the terminal logged in by the target user identifier.

[0087] In this embodiment, before the target time node, the estimated resource growth amount with a high probability of being correct is used as the actual resource growth amount, so that the user can view his current resource growth amount at the first time, meeting the user's need to quickly view the current resource growth amount.

[0088] In one embodiment, Figure 5 As shown, a resource data processing method is provided, which is applied to Figure 1 Taking the resource management server 104b in the example as an example, the following steps are included:

[0089] Step 502: At a first time node before the target time node, the previous period resource amount, the current period resource conversion amount and the current period resource rotation amount corresponding to each user identifier are obtained.

[0090] Step 504, determining the current period resource amount corresponding to each user identifier according to the previous period resource amount, the current period resource conversion amount and the current period resource rotation amount corresponding to each user identifier.

[0091] Step 506, determining the estimated resource growth amount of the current period corresponding to each user identifier according to the growth ratio of the resource amount in the previous period and the resource amount of the current period corresponding to each user identifier.

[0092] Step 508, generating a verification file according to the previous period resource amount, the current period resource conversion amount and the current period resource rotation amount corresponding to each user identifier.

[0093] Step 510: Generate a resource no-growth file for the first user identifier whose corresponding estimated resource growth amount is zero.

[0094] Step 512: at a second time point before the target time point, according to the resource no-growth file, adjust the corresponding account resource value in the resource account corresponding to the first user identifier.

[0095] Step 514: receiving the resource growth file sent by the resource conversion server at the target time node.

[0096] Step 516, verify the resource growth file according to the verification file.

[0097] Step 518, for the second user identifier whose corresponding estimated resource growth amount is not zero, register the actual resource growth amount corresponding to the second user identifier according to the resource growth file when the verification is passed.

[0098] Step 520, for the first user identifier whose corresponding estimated resource growth amount is zero, check whether the resource growth amount corresponding to the first user identifier in the resource growth file is zero when the verification is passed; if so, jump to step 522; otherwise, jump to step 524.

[0099] Step 522, skip processing.

[0100] Step 524: Update the actual resource growth amount corresponding to the first user identifier according to the resource growth file.

[0101] In this embodiment, first, within each time period, the amount of resources under the name of each user is counted according to the resource flow of each user in the current time period, and based on the prior knowledge that the growth ratio of the resource amount has a small probability of mutating between adjacent time periods, the growth ratio of the resource amount in the adjacent previous time period is used as the growth ratio of the resource amount in the current time period to estimate the resource growth amount in the current period, which can better enable the estimation of the resource growth amount in the current period to be carried out before the end of the current time period.

[0102] Secondly, based on the prior knowledge that the converted resources need to reach a certain amount before there will be growth, and that almost half of the users have a limited amount of converted resources, for those users whose estimated resources have not increased, the process of adjusting the resource account values ​​will be advanced to before the target time node, so that users can view their current resource growth amount at the first time, meeting the user's need to quickly view the current resource growth amount. In addition, the end time of the process of adjusting the resource account values ​​of all users will be significantly advanced.

[0103] Again, after the resource growth file sent by the resource conversion server is verified, the actual resource growth amounts of those users whose resources have increased are registered to ensure the accuracy of the actual resource growth amounts; and the estimated resource growth amounts of those users whose estimated resources have not increased are verified, and the resource growth amounts of users whose estimates are incorrect are corrected in time to ensure the correctness of the resource growth amounts.

[0104] In one embodiment, the resource data processing method further includes: dividing each user identification into at least two user identification groups; generating a corresponding resource processing task for each user identification group; and allocating at least two resource processing tasks to at least two target devices for parallel execution.

[0105] It can be understood that in the case where resource data processing between different users is independent of each other, in order to improve the resource data processing efficiency and the disaster recovery capability of the resource management server, the resource management server can group the users and then perform corresponding resource data processing on the users in parallel. Specifically, the resource management server can divide the user identifiers into at least two user identifier groups; generate corresponding resource processing tasks for each user identifier group; split the resource growth file sent by the resource conversion server into at least two sub-files according to the user division, and each sub-file corresponds to a resource processing task. The resource management server then assigns the at least two resource processing tasks to at least two target devices for parallel execution. Among them, the target device is a machine that performs resource data processing.

[0106] In this embodiment, by processing resource data in parallel by at least two target devices, the efficiency of extracting resource data can be improved, and the disaster recovery capability can also be improved.

[0107] In one embodiment, a corresponding resource processing task is generated for each user identification group, including: generating a corresponding resource processing task for each user identification group, and marking the task status of the resource processing task as a pending allocation status. At least two resource processing tasks are assigned to at least two target devices for parallel execution, including: obtaining task registration requests of at least two processes of at least two target devices; assigning the resource processing tasks with the task status marked as a pending allocation status to the process that initiated the task registration request according to the request time sequence of the at least two task registration requests; for each assigned resource processing task, updating the task status of the assigned resource processing task in real time according to the progress of the assigned resource processing task being executed by the process.

[0108] Specifically, after generating a resource processing task, the resource management server will maintain the task status of the resource processing task. The task status includes the pending allocation status, the pending start status, the running status, and the successful status. Each target device can start multiple processes at the same time to execute the resource processing task in parallel.

[0109] When allocating resource processing tasks, the resource management server can proceed in the order of task registration requests. The process of the target device preempts the resource processing task by initiating a request to the resource management server, and immediately executes the resource processing task after the preemption is successful.

[0110] For example, Figure 6A schematic diagram of at least two target devices executing resource processing tasks in parallel in one embodiment is shown. Referring to the figure, it can be seen that the task list includes multiple resource processing tasks, and each resource processing task records the task status accordingly. One of the processes of at least two target devices (such as target device 1 and target device 2) can initiate a request to preempt a resource processing task and register the preempted resource processing task, while other processes of the target device process other resource processing tasks in parallel.

[0111] In this embodiment, at least two target devices start at least two processes to process resource data in parallel, which can further improve resource data extraction efficiency and disaster recovery capability.

[0112] In one embodiment, the resource data processing method also includes: when an exception occurs in any of at least two processes while executing an assigned resource processing task, the task state of the resource processing task executed by the process where the exception occurs is reset to a pending allocation state; and the resource processing task that has been reset to a pending allocation state is reallocated to another process.

[0113] Specifically, the resource management server can also create a monitoring task to monitor whether each process of each target device executes the resource management task normally. If any of the at least two processes has an exception when executing the assigned resource processing task, the resource management server can reset the task status of the resource processing task executed by the abnormal process to a pending state; and reallocate the resource processing task reset to a pending state to another process. For example, continue to refer to Figure 6 ,The resource management server creates a monitoring task to monitor whether the allocated resource processing tasks are processed normally.

[0114] In another embodiment, the resource management server may also create a monitoring task to monitor whether each process of each target device executes the resource management task normally. The resource management server may issue an alarm notification when any of the at least two processes has an abnormality when executing the assigned resource processing task.

[0115] Among them, the abnormality in executing the resource processing task may be that the execution time is too long.

[0116] In another embodiment, the resource management server may also create a monitoring task to check whether each target device is operating normally. For target devices that are operating abnormally, the task status of the unfinished resource processing tasks of the target device may be reset to a pending state; and the resource processing tasks that have been reset to a pending state may be reallocated to another target device.

[0117] In the above embodiments, by monitoring the operating status of the target device or the execution status of the resource processing task, timely processing can be performed when an abnormality occurs, thereby avoiding wasting time.

[0118] The present application also provides an application scenario in the financial field, which applies the above-mentioned resource data processing method. Taking the fund subscription scenario as an example, the user uses currency to subscribe for fund products from the fund company through the financial management platform. After the fund product subscription is successful, income will be generated on a natural day. At present, after the financial management platform receives the income file uploaded by the fund company in the early morning of each day, it will conduct a preliminary check of the yesterday's income of each user in the income file. After the check is passed, the income will be recorded, and the income data of each user will be recorded and updated. The latest end-of-day total assets will be displayed to the user when the user requests to view it.

[0119] Income file: The user assets and yesterday's income data file provided by the fund company to the wealth management platform every day, including each user's latest end-of-day assets (including assets after yesterday's income) and yesterday's income data.

[0120] Income is recorded in the account: After users apply for fund products on the wealth management platform, the fund company will allocate a certain amount of income to the user every day based on the assets held by the user and send the income file to the wealth management platform on the next day. After receiving the income file, the wealth management platform is responsible for registering each user's yesterday's income and displaying it to the user.

[0121] Specifically, the application of the resource data processing method in this application scenario is as follows: Figure 7 As shown, reference Figure 7 The financial management platform includes the account entry system, income system, transaction system and share system. The account entry system is responsible for resource data processing.

[0122] At the first time node before the target time node, such as 17:00 on D-day, the accounting system can load the currency amount of each user on D-1 from the income system, and load the transaction data of each user on D-1 to the transaction system. According to the currency amount of each user on D-1, the transaction data on D-1 and the yield on D-1, the income of each user on D-1 is estimated. For those users whose income on D-day is 0, a zero income accounting file is generated, and an internal asset verification file is generated.

[0123] At the second time node before the target time node, such as 18:00 on D-day, the accounting system can load the zero-income accounting file, register the zero-income accounting file, and complete the income accounting in advance for those users whose income on D-day is 0.

[0124] At the target time point, such as 0:00 on D+1, after receiving the income file sent by the fund company, the accounting system can load the income file and check the user's assets (currency amount) by comparing the internal asset verification file and the income file. After the verification is passed, the income file is split and the income accounting task is registered for each sub-file. Multiple income accounting batch machines can start multiple processes (income accounting processes) to preempt the income accounting tasks to be allocated. After the preemption is successful, the income accounting tasks are started.

[0125] After the income is recorded in the accounting system, the user's total assets (total amount of currency) on Day D are updated in the income system. For users who have income on Day D, the fund product shares corresponding to the income are updated in the share system.

[0126] Among them, multiple revenue batch processing machines can start multiple revenue accounting processes to preempt and execute revenue accounting tasks. In addition, the accounting system will start a monitoring task to monitor whether each revenue batch processing machine is operating normally. For faulty machines, the system will change the status of its unfinished tasks to pending assignment, and other batch processing machines will continue to re-execute them; at the same time, it will also monitor whether each revenue accounting task is operating normally. For abnormal tasks (such as running too long), the monitoring task will automatically issue an alarm notification.

[0127] It should be understood that, although the various steps in the flow chart of the above-described embodiment 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 portion of the steps in the flow chart of the above-described embodiment may include a plurality of steps or a plurality of 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 portion of the steps or stages in other steps.

[0128] In one embodiment, Figure 8 As shown, a resource data processing device is provided. The device can adopt a software module or a hardware module, or a combination of the two to become a part of a computer device. The device specifically includes: an estimation module 801, a first processing module 802, a receiving module 803 and a second processing module 804, wherein:

[0129] The estimation module 801 is used to determine the estimated resource growth amount corresponding to each user identifier before the target time node according to the historical growth ratio of the resource amount and the resource amount corresponding to each user identifier;

[0130] The first processing module 802 is used for obtaining, for a first user identifier whose corresponding estimated resource growth amount meets a preprocessing condition, an estimated resource growth amount corresponding to the first user identifier as an actual resource growth amount;

[0131] The receiving module 803 is used to receive the resource growth file sent by the resource conversion server at the target time node;

[0132] The second processing module 804 is used to determine, for a second user identifier whose corresponding estimated resource growth amount does not meet the preprocessing condition, an actual resource growth amount corresponding to the second user identifier according to the resource growth file.

[0133] In one embodiment, the estimation module 801 is also used to obtain the previous cycle resource amount, current cycle resource conversion amount and current cycle resource rotation amount corresponding to each user identifier before the target time node; determine the current cycle resource amount corresponding to each user identifier based on the previous cycle resource amount, current cycle resource conversion amount and current cycle resource rotation amount corresponding to each user identifier; determine the current cycle estimated resource growth amount corresponding to each user identifier based on the previous cycle resource amount growth ratio and the current cycle resource amount corresponding to each user identifier.

[0134] In one embodiment, the estimation module 801 is further used to obtain the previous cycle resource amount, the current cycle resource conversion amount and the current cycle resource rotation amount corresponding to each user identifier at a first time node before the target time node; for the first user identifier whose corresponding estimated resource growth amount meets the preprocessing condition, generate a resource no-growth file. The first processing module 802 is also used to adjust the corresponding account resource value in the resource account corresponding to the first user identifier according to the resource no-growth file at a second time node before the target time node.

[0135] In one embodiment, the estimation module 801 is further used to generate a verification file according to the previous cycle resource amount, the current cycle resource conversion amount and the current cycle resource rotation amount corresponding to each user identifier. The second processing module 804 is further used to verify the resource growth file according to the verification file; for the second user identifier whose corresponding estimated resource growth amount does not meet the preprocessing condition, the actual resource growth amount corresponding to the second user identifier is registered according to the resource growth file when the verification is passed.

[0136] In one embodiment, the second processing module 804 is also used to verify the estimated resource growth amount corresponding to the first user identifier whose corresponding estimated resource growth amount meets the preprocessing conditions according to the resource growth file; when the verification of the estimated resource growth amount corresponding to the first user identifier fails, updating the actual resource growth amount corresponding to the first user identifier according to the resource growth file.

[0137] In one embodiment, the second processing module 804 is also used to register the actual resource growth amount corresponding to the first user identifier as zero for a first user identifier whose corresponding estimated resource growth amount is zero; when the resource growth file indicates that the resource growth amount corresponding to the first user identifier is not zero, the actual resource growth amount corresponding to the first user identifier is updated according to the resource growth file.

[0138] In one embodiment, Fig. 9 As shown, the resource data processing device also includes: a third processing module 805, used to receive a resource amount query request; the resource amount query request carries a target user identifier; when the target user identifier is included in the first user identifier and the verification of the estimated resource growth amount corresponding to the first user identifier has not been performed, the estimated resource growth amount corresponding to the target user identifier is returned; the returned estimated resource growth amount is used to be displayed on the user interface corresponding to the target user identifier.

[0139] In one embodiment, the second processing module 804 is further used to divide each user identification into at least two user identification groups; generate a corresponding resource processing task for each user identification group; and assign at least two resource processing tasks to at least two target devices for parallel execution.

[0140] In one embodiment, the second processing module 804 is also used to generate a corresponding resource processing task for each user identification group, and mark the task status of the resource processing task as a pending allocation status; obtain task registration requests from at least two processes of at least two target devices; assign the resource processing tasks with the task status marked as a pending allocation status to the process that initiates the task registration request in accordance with the request time sequence of the at least two task registration requests; for each assigned resource processing task, update the task status of the assigned resource processing task in real time according to the progress of the execution of the assigned resource processing task by the process.

[0141] In one embodiment, the second processing module 804 is also used to reset the task state of the resource processing task executed by the process with the exception to a pending state when an exception occurs when any of the at least two processes is executing the assigned resource processing task; and reallocate the resource processing task reset to the pending state to another process.

[0142] The resource data processing device estimates the resource growth amount of each user before receiving the resource growth file from the resource conversion server, that is, based on the historical growth ratio of the resource amount and the resource amount of each user; for users whose estimated resource growth amount meets the preprocessing conditions, the estimated resource growth amount of these users is directly obtained as the actual resource growth amount for users to view; for users whose estimated resource growth amount does not meet the preprocessing conditions, after receiving the resource conversion data, the actual resource growth amount of these users is determined based on the resource growth file. In this way, the time for resource data processing is no longer limited, which not only reduces the time consumption but also advances the completion time, and can meet the needs of users to quickly view the resource growth amount.

[0143] For the specific definition of the resource data processing device, please refer to the definition of the resource data processing method above, which will not be repeated here. Each module in the above resource data processing device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0144] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.10 As 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 database of the computer device is used to store resource data processing data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a resource data processing method is implemented.

[0145] Those skilled in the art will understand that Fig.10 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.

[0146] 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.

[0147] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0148] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-mentioned method embodiments.

[0149] Those of ordinary skill 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 memory, storage, database or other media used in the embodiments provided in this 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 or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. 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).

[0150] 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.

[0151] The above-mentioned 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 invention patent. 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 patent of the present application shall be subject to the attached claims.

Claims

1. A resource data processing method, characterized in that: The method comprises: Before the target time node, according to the historical growth ratio of the resource amount and the resource amount corresponding to each user identifier, determine the estimated resource growth amount corresponding to each user identifier; For a first user identifier whose corresponding estimated resource growth amount meets a preprocessing condition, generating a resource no-growth file, and adjusting a corresponding account resource value in a resource account corresponding to the first user identifier according to the resource no-growth file to obtain an actual resource growth amount; the preprocessing condition is that the estimated resource growth amount is zero; Receiving a resource growth file sent by a resource conversion server at the target time node; For a second user identifier whose corresponding estimated resource growth amount does not satisfy the preprocessing condition, the actual resource growth amount corresponding to the second user identifier is determined according to the resource growth file.

2. The method according to claim 1, characterized in that Determining the estimated resource growth amount corresponding to each user identifier according to the historical growth ratio of the resource amount and the resource amount corresponding to each user identifier before the target time node includes: Before the target time node, obtain the previous period resource amount, the current period resource conversion amount and the current period resource rotation amount corresponding to each user identifier; Determine the current cycle resource amount corresponding to each user identifier according to the previous cycle resource amount, the current cycle resource conversion amount and the current cycle resource rotation amount corresponding to each user identifier; According to the resource amount growth ratio of the previous cycle and the resource amount of the current cycle corresponding to each user identifier, the estimated resource growth amount of the current cycle corresponding to each user identifier is determined.

3. The method according to claim 2, characterized in that The step of obtaining the previous cycle resource amount, the current cycle resource conversion amount, and the current cycle resource rotation amount corresponding to each user identifier before the target time node includes: At a first time node before the target time node, obtaining the previous period resource amount, the current period resource conversion amount and the current period resource rotation amount corresponding to each user identifier; After determining the estimated resource growth amount of the current period corresponding to each user identifier according to the resource growth ratio of the previous period and the resource amount of the current period corresponding to each user identifier, the method further includes: The step of adjusting the corresponding account resource value in the resource account corresponding to the first user identifier according to the resource no-growth file is performed at a second time node before the target time node.

4. The method according to claim 2, characterized in that: After obtaining the previous cycle resource amount, the current cycle resource conversion amount and the current cycle resource rotation amount corresponding to each user identifier before the target time node, the method further includes: Generate a verification document according to the previous period resource amount, the current period resource conversion amount and the current period resource rotation amount corresponding to each of the user identifiers; For the second user identifier whose corresponding estimated resource growth amount does not meet the preprocessing condition, determining the actual resource growth amount corresponding to the second user identifier according to the resource growth file includes: Verifying the resource growth file according to the verification file; For a second user identifier whose corresponding estimated resource growth amount does not satisfy the preprocessing condition, the actual resource growth amount corresponding to the second user identifier is registered according to the resource growth file when the verification is passed.

5. The method according to claim 1, characterized in that The method further comprises: For a first user identifier whose corresponding estimated resource growth amount meets a preprocessing condition, verifying the estimated resource growth amount corresponding to the first user identifier according to the resource growth file; When the estimated resource growth amount corresponding to the first user identifier fails to be verified, the actual resource growth amount corresponding to the first user identifier is updated according to the resource growth file.

6. The method according to claim 5, characterized in that The method further comprises: For a first user identifier whose corresponding estimated resource growth amount is zero, registering the actual resource growth amount corresponding to the first user identifier as zero; When the estimated resource growth amount corresponding to the first user identifier fails to be verified, updating the actual resource growth amount corresponding to the first user identifier according to the resource growth file includes: When the resource growth file indicates that the resource growth amount corresponding to the first user identifier is not zero, the actual resource growth amount corresponding to the first user identifier is updated according to the resource growth file.

7. The method according to claim 5, characterized in that The method further comprises: receiving a resource amount query request, wherein the resource amount query request carries a target user identifier; When the target user identifier is included in the first user identifier and the verification of the estimated resource growth amount corresponding to the first user identifier has not been performed, The estimated resource growth amount corresponding to the target user identifier is returned; the returned estimated resource growth amount is used for display in the user interface corresponding to the target user identifier.

8. The method according to claim 1, characterized in that The method further comprises: Dividing each of the user identifications into at least two user identification groups; Generating a corresponding resource processing task for each of the user identification groups; At least two of the resource processing tasks are assigned to at least two target devices for parallel execution.

9. The method according to claim 8, characterized in that Generating a corresponding resource processing task for each user identification group includes: Generating a corresponding resource processing task for each user identification group, and marking the task status of the resource processing task as a to-be-allocated status; The allocating at least two of the resource processing tasks to at least two target devices for parallel execution includes: Obtain task registration requests of at least two processes of at least two target devices; According to the request time sequence of at least two of the task registration requests, the resource processing tasks whose task status is marked as a to-be-allocated state are allocated to the process that initiates the task registration request; For each allocated resource processing task, the task status of the allocated resource processing task is updated in real time according to the progress of the allocated resource processing task being executed by the process.

10. The method according to claim 9, characterized in that The method further comprises: When an exception occurs in any one of the at least two processes while executing the allocated resource processing task, the task state of the resource processing task executed by the process having the exception is reset to a pending allocation state; The resource processing task that is reset to the to-be-allocated state is reallocated to another process.

11. A resource data processing device, characterized in that: The device comprises: An estimation module, used to determine the estimated resource growth amount corresponding to each user identifier before the target time node according to the historical growth ratio of the resource amount and the resource amount corresponding to each user identifier; A first processing module is used to generate a resource no-growth file for a first user identifier whose corresponding estimated resource growth amount meets a preprocessing condition, and adjust the corresponding account resource value in the resource account corresponding to the first user identifier according to the resource no-growth file to obtain an actual resource growth amount; the preprocessing condition is that the estimated resource growth amount is zero; A receiving module, configured to receive a resource growth file sent by a resource conversion server at the target time node; The second processing module is used to determine the actual resource growth amount corresponding to the second user identifier whose corresponding estimated resource growth amount does not meet the preprocessing condition according to the resource growth file.

12. The device according to claim 11, characterized in that The estimation module is also used to obtain the previous cycle resource amount, current cycle resource conversion amount and current cycle resource rotation amount corresponding to each user identifier before the target time node; determine the current cycle resource amount corresponding to each user identifier based on the previous cycle resource amount, current cycle resource conversion amount and current cycle resource rotation amount corresponding to each user identifier; determine the current cycle estimated resource growth amount corresponding to each user identifier based on the previous cycle resource amount growth ratio and the current cycle resource amount corresponding to each user identifier.

13. The device according to claim 12, characterized in that The estimation module is also used to obtain the previous period resource amount, the current period resource conversion amount and the current period resource rotation amount corresponding to each user identifier at a first time node before the target time node; The first processing module is also used to determine the estimated resource growth amount of the current period corresponding to each user identifier based on the growth ratio of the resource amount in the previous period and the current period resource amount corresponding to each user identifier, and then, at a second time node before the target time node, adjust the corresponding account resource value in the resource account corresponding to the first user identifier according to the resource no-growth file.

14. The device according to claim 12, characterized in that The estimation module is also used to generate a verification file according to the previous period resource amount, the current period resource conversion amount and the current period resource rotation amount corresponding to each user identifier; The second processing module is also used to verify the resource growth file according to the verification file; for the second user identifier whose corresponding estimated resource growth amount does not meet the preprocessing conditions, the actual resource growth amount corresponding to the second user identifier is registered according to the resource growth file when the verification is passed.

15. The device according to claim 11, characterized in that The second processing module is also used to verify the estimated resource growth amount corresponding to the first user identifier whose corresponding estimated resource growth amount meets the preprocessing conditions according to the resource growth file; when the verification of the estimated resource growth amount corresponding to the first user identifier fails, updating the actual resource growth amount corresponding to the first user identifier according to the resource growth file.

16. The device according to claim 15, characterized in that The second processing module is also used to register the actual resource growth amount corresponding to the first user identifier as zero for a first user identifier whose corresponding estimated resource growth amount is zero; when the resource growth file indicates that the resource growth amount corresponding to the first user identifier is not zero, the actual resource growth amount corresponding to the first user identifier is updated according to the resource growth file.

17. The device according to claim 15, characterized in that The device also includes: The third processing module is used to receive a resource amount query request; the resource amount query request carries a target user identifier; when the target user identifier is included in the first user identifier and the verification of the estimated resource growth amount corresponding to the first user identifier has not been performed, the estimated resource growth amount corresponding to the target user identifier is returned; the returned estimated resource growth amount is used to be displayed on the user interface corresponding to the target user identifier.

18. The device according to claim 11, characterized in that The second processing module is further used to divide each of the user identifications into at least two user identification groups; generate a corresponding resource processing task for each of the user identification groups; and assign at least two of the resource processing tasks to at least two target devices for parallel execution.

19. The device according to claim 18, characterized in that The second processing module is further used to generate a corresponding resource processing task for each user identification group, and mark the task status of the resource processing task as a pending allocation status; obtain task registration requests of at least two processes of at least two target devices; According to the request time sequence of at least two of the task registration requests, the resource processing tasks whose task status is marked as to be allocated are allocated to the process that initiates the task registration request; for each allocated resource processing task, the task status of the allocated resource processing task is updated in real time according to the progress of the allocated resource processing task being executed by the process.

20. The device according to claim 19, characterized in that The second processing module is also used to reset the task status of the resource processing task executed by the process with the exception to a pending allocation status when an exception occurs when any of the at least two processes is executing the allocated resource processing task; and reallocate the resource processing task reset to the pending allocation status to another process.

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

22. A computer-readable storage medium storing 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 10 are implemented.

23. 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 10 are implemented.

Citation Information

Patent Citations

  • Resource transformation method and device

    CN106656600A

  • Resource transformation method and device

    CN106779420A