Data processing method and device, equipment, readable storage medium and program product

By detecting the standard resource data rules and user identification in the business request, determining the target user resource data setting rules and calculating the target resource data, the problem of poor resource data processing in the existing technology is solved, and differentiated processing is realized for different users and flexibility.

CN119205293APending Publication Date: 2024-12-27CHINA CONSTRUCTION BANK +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411522020.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The prior art has poor flexibility in resource data processing, and it is impossible to differentiate the target resource data for different users, resulting in a lack of flexibility in the processing process.

Method used

By detecting the standard resource data rules and user identification in the business request, determine the target user resource data setting rules, calculate the target resource data based on the setting rules and standard resource data, support the ratio and numerical setting methods, and obtain the user or minimum value setting type. Enhance the flexibility of data processing.

Benefits of technology

Differentiated target resource data processing for different users is realized, the flexibility of resource data processing process is improved, and the limitation of determining target resource data in traditional methods is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119205293A_ABST
    Figure CN119205293A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data management, and particularly discloses a data processing method and device, equipment, a readable storage medium and a program product. The method comprises the steps of determining first standard resource data according to a standard resource data rule corresponding to a first service request under the condition that the first service request is detected, and determining a target user resource data setting rule according to a target user identifier and a first service identifier, the user resource data can be determined according to the target user resource data setting rule, the target resource data can be determined according to the target user resource data setting rule, the user resource data and the first standard resource data, and the first service request comprises a first service identifier and a target user identifier. By adopting the method, the flexibility of a resource data processing process can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] When an enterprise provides a certain business service to a user, it may set different resource data processing rules to obtain relevant resource data for the enterprise. For example, if the enterprise is a bank and the service provided to the customer is to transfer the customer's resource data, it will set corresponding transfer resource data processing rules.

[0003] In the related art, resource data processing usually first determines the target resource data that the enterprise can obtain based on preset unified basic resource data and differential resource data, so as to facilitate subsequent resource transfer processing according to the target resource data.

[0004] However, the above data processing method has the problem of poor flexibility. Summary of the invention

[0005] Based on this, it is necessary to provide a data processing method, device, equipment, readable storage medium and program product that can improve flexibility in response to the above technical problems.

[0006] In a first aspect, the present application provides a data processing method, comprising:

[0007] In the case of detecting a first service request, determining first standard resource data according to a standard resource data rule corresponding to the first service request, wherein the first service request includes a first service identifier and a target user identifier;

[0008] Determine a target user resource data setting rule according to the target user identifier and the first service identifier;

[0009] The user resource data is determined according to the target user resource data setting rule, and the target resource data is determined according to the target user resource data setting rule, the user resource data and the first standard resource data.

[0010] In one embodiment, the target user resource data setting rule includes a resource data setting method, the resource data setting method includes a ratio setting method or a value setting method, and determining the user resource data according to the target user resource data setting rule includes:

[0011] If the resource data setting mode is a ratio setting mode, determining the user resource data according to the basic resource parameter corresponding to the first service request and the ratio corresponding to the ratio setting mode;

[0012] If the resource data setting mode is a numerical setting mode, the user resource data is determined according to the numerical value corresponding to the numerical setting mode.

[0013] In one embodiment, the target user resource data setting rule includes a resource data setting type, the resource data setting type includes a user resource data setting type or a minimum value setting type, and the target resource data is determined according to the target user resource data setting rule, the user resource data and the first standard resource data, including:

[0014] If the resource data setting type is to obtain the user resource data setting type, the user resource data is used as the target resource data;

[0015] If the resource data setting type is a minimum value setting type, the smaller resource data between the user resource data and the first standard resource data is used as the target resource data.

[0016] In one embodiment, determining a target user resource data setting rule according to the target user identifier and the first service identifier includes:

[0017] The target user identifier and the first service identifier are matched with the candidate user identifiers and the candidate service identifiers corresponding to the plurality of candidate user resource data setting rules, and the target user resource data setting rule is determined from the plurality of candidate user resource data setting rules.

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

[0019] The candidate user resource data setting rules to be stored and the candidate user identifiers and candidate business identifiers corresponding to the candidate user resource data setting rules are obtained, and the candidate user resource data setting rules and the candidate user identifiers and candidate business identifiers corresponding to the candidate user resource data setting rules are stored in the database for management, and the management methods include adding, querying, modifying and deleting.

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

[0021] In the case where a second service request is detected, determining second standard resource data according to a standard resource data rule corresponding to the second service request, wherein the second service request includes a second service identifier;

[0022] The target resource data is determined according to the second standard resource data.

[0023] In a second aspect, the present application further provides a data processing device, comprising:

[0024] A first standard resource determination module, configured to determine first standard resource data according to a standard resource data rule corresponding to the first service request when a first service request is detected, wherein the first service request includes a first service identifier and a target user identifier;

[0025] A user rule determination module, used to determine a target user resource data setting rule according to the target user identifier and the first service identifier;

[0026] The first target resource determination module is used to determine the user resource data according to the target user resource data setting rule, and determine the target resource data according to the target user resource data setting rule, the user resource data and the first standard resource data.

[0027] In one embodiment, the target user resource data setting rule includes a resource data setting method, the resource data setting method includes a ratio setting method or a value setting method, and the first target resource determination module includes:

[0028] a ratio determination unit, configured to determine the user resource data according to the basic resource parameter corresponding to the first service request and the ratio corresponding to the ratio setting mode if the resource data setting mode is a ratio setting mode;

[0029] The value determination unit is used to determine the user resource data according to the value corresponding to the value setting method if the resource data setting method is the value setting method.

[0030] In one embodiment, the target user resource data setting rule includes a resource data setting type, the resource data setting type includes a user resource data setting type or a minimum value setting type, and the first target resource determination module further includes:

[0031] The first type unit is used to use the user resource data as the target resource data if the resource data setting type is the user resource data setting type;

[0032] The second type unit is used to take the smaller resource data between the user resource data and the first standard resource data as the target resource data if the resource data setting type is the minimum value setting type.

[0033] In one embodiment, the user rule determination module includes:

[0034] The matching unit is used to match the target user identifier and the first service identifier with the candidate user identifiers and candidate service identifiers corresponding to a plurality of candidate user resource data setting rules, and determine the target user resource data setting rule from the plurality of candidate user resource data setting rules.

[0035] In one embodiment, the device further comprises:

[0036] The management module is used to obtain the candidate user resource data setting rules to be stored and the candidate user identifiers and candidate business identifiers corresponding to the candidate user resource data setting rules, and store the candidate user resource data setting rules and the candidate user identifiers and candidate business identifiers corresponding to the candidate user resource data setting rules in the database for management. The management methods include adding, querying, modifying and deleting.

[0037] In one embodiment, the device further comprises:

[0038] A second standard resource determination module, configured to determine second standard resource data according to a standard resource data rule corresponding to the second service request when a second service request is detected, wherein the second service request includes a second service identifier;

[0039] The second target resource determination module is used to determine the target resource data according to the second standard resource data.

[0040] In a third aspect, an embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method of the first aspect when executing the computer program.

[0041] 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 method of the first aspect described above are implemented.

[0042] In a fifth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method in the first aspect are implemented.

[0043] The above-mentioned data processing method, device, equipment, readable storage medium and program product can determine the first standard resource data according to the standard resource data rule corresponding to the first business request when the first business request is detected, and determine the target user resource data setting rule according to the target user resource data setting rule, and determine the target resource data according to the target user resource data setting rule, user resource data and the first standard resource data, wherein the first business request includes the first business identifier and the target user identifier. In this way, the user resource data corresponding to the target user is determined according to the target user resource data setting rule for the target user, and then the final target resource data is determined according to the user resource data exclusive to the target user and the unified first standard resource data under the first business scenario, thereby avoiding the problem of poor flexibility in the traditional technology that can only determine the target resource data under the first business scenario with the unified first standard resource data, and differentially determining the target resource data for different users, thereby improving the flexibility of the target resource data processing process. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0045] FIG1 is an application environment diagram of a data processing method in one embodiment;

[0046] Figure 2 is a flow chart of a data processing method in one embodiment;

[0047] Figure 3 A schematic diagram of a process for determining user resource data according to a target user resource data setting rule in another embodiment;

[0048] Figure 4 A schematic diagram of a process for determining target resource data according to target user resource data setting rules, user resource data and first standard resource data in another embodiment;

[0049] Figure 5 is a flowchart of an exemplary data processing method in another embodiment;

[0050] Figure 6 is a structural block diagram of a data processing device in one embodiment;

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

[0052] In order to make the purpose, technical solutions and advantages of the present application clearer, 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. It should be noted that in the embodiments of the present application, certain software, groups, models and other existing solutions in the industry may be mentioned, which should be considered as exemplary, and their purpose is only to illustrate the feasibility of the implementation of the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0053] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations. The acquisition, storage, use, and processing of data in the technical solution of this application are in compliance with relevant provisions of national laws and regulations.

[0054] When an enterprise provides a certain business service to a user, it may set different resource data processing rules to obtain relevant resource data for the enterprise. For example, if the enterprise is a bank and the service provided to the customer is to transfer the customer's resource data, it will set corresponding transfer resource data processing rules.

[0055] In related technologies, resource data processing usually first determines the target resource data that the enterprise can obtain based on preset unified basic resource data and differential resource data. In some cases, resource data corresponding to different business contracts may also be added to determine the target resource data, so as to facilitate subsequent resource transfer processing based on the target resource data.

[0056] However, different users have their own particularities. If the above resource data processing method is used to uniformly determine the corresponding target resource data for different users, there is a problem of poor flexibility.

[0057] In view of this, the present application provides a data processing method, apparatus, device, readable storage medium and program product, which can determine the first standard resource data according to the standard resource data rule corresponding to the first business request when a first business request is detected, and determine the target user resource data setting rule according to the target user resource data setting rule, and determine the target resource data according to the target user resource data setting rule, the user resource data and the first standard resource data, wherein the first business request includes the first business identifier and the target user identifier. In this way, the user resource data corresponding to the target user is determined according to the target user resource data setting rule for the target user, and then the final target resource data is determined according to the user resource data exclusive to the target user and the unified first standard resource data under the first business scenario, thereby avoiding the problem of poor flexibility in the traditional technology that can only determine the target resource data under the first business scenario with the unified first standard resource data, and differentially determining the target resource data for different users, thereby improving the flexibility of the target resource data processing process.

[0058] The data processing method provided in the embodiment of the present application can be applied to the application environment shown in FIG1. ​​The data storage system can store the data that the server 101 needs to process. The data storage system can be integrated on the server 101, or it can be placed on the cloud or other network servers. The server 101 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.

[0059] In an exemplary embodiment, Figure 2 As shown, a data processing method is provided, which is described by taking the method applied to the server 101 in FIG. 1 as an example, and includes the following steps 201 to 203. Among them:

[0060] Step 201: when a first service request is detected, first standard resource data is determined according to a standard resource data rule corresponding to the first service request.

[0061] The first business request may be a request generated when the enterprise provides business services to the target user. The enterprise may obtain transferable resource data from the account corresponding to the target user by providing business services. Taking the enterprise as a bank as an example, the business services may include transfers, fund purchases, etc.

[0062] The first service request includes a first service identifier and a target user identifier.

[0063] The first business identifier may be a field or a name used to uniquely identify the business service, and the target user identifier may be used to uniquely identify the target user, such as the system account of the target user.

[0064] Different business services correspond to different standard resource data rules. Standard resource data rules are unified rules set for business services. When an enterprise provides business services to target users, the server can determine that the enterprise can obtain transferable first standard resource data from the account corresponding to the target user based on the standard resource data rules corresponding to the business service. The value of the first standard resource data is unified for all users.

[0065] Regarding the process of the server acquiring the standard resource data rule, optionally, the server may acquire it from a database according to the first service identifier; optionally, the server may acquire the externally input standard resource data rule through an external input device.

[0066] Taking a bank as an example, the standard resource data rules may include uniformly set basic resource data rules, differentiated resource data rules corresponding to different user groups (such as individual users and group users), and contract resource data rules corresponding to different business contracts.

[0067] Based on the standard resource data rule, the server can determine the first standard resource data.

[0068] Step 202: Determine a target user resource data setting rule according to the target user identifier and the first service identifier.

[0069] In order to improve the flexibility of the resource data processing process and achieve the goal of setting different resource data for different users, in a possible implementation, corresponding user resource data setting rules can be preset for different users, and these user resource data setting rules are archived and managed.

[0070] In a possible implementation, the user resource data setting rules include at least a user identifier and a service identifier, so that the server can determine the target user resource data setting rules based on the target user identifier and the first service identifier. Regarding the process of determining the target user resource data setting rules, optionally, the server can match the target user identifier and the first service identifier with candidate user identifiers and candidate service identifiers corresponding to multiple candidate user resource data setting rules, and determine the target user resource data setting rules from the multiple candidate user resource data setting rules.

[0071] In another possible implementation, the user resource data setting rules can be set according to the actual application scenario. Taking the enterprise as a bank as an example, the user resource data setting rules may include multiple entity identification (region), customer identification, business identification, fixed currency, effective time, resource data setting method, fixed amount, fixed ratio, resource data setting type (including obtaining resource data for the customer or obtaining the optimal resource data), expiration date, record date, handler number, reviewer, transaction notes, etc.

[0072] In an embodiment of the present application, in order to facilitate the management operations of each candidate user resource data, the server obtains the candidate user resource data setting rules to be stored and the candidate user identifiers and candidate business identifiers corresponding to the candidate user resource data setting rules. The candidate user resource data setting rules and the candidate user identifiers and candidate business identifiers corresponding to the candidate user resource data setting rules can be stored in a database for management, and the management methods include adding, querying, modifying and deleting.

[0073] Regarding the process of the server obtaining the candidate user resource data setting rules to be stored and the candidate user identifiers and candidate business identifiers corresponding to the candidate user resource data setting rules, optionally, the server can obtain the directly input candidate user resource data setting rules, candidate user identifiers and candidate business identifiers through an external input device. Optionally, the server can obtain the input candidate user resource data setting rules, candidate user identifiers and candidate business identifiers through the input controls on the rule management interface. At the same time, the management personnel can also perform management operations on each candidate user resource data setting rule, candidate user identifier and candidate business identifier through the controls on the rule management interface.

[0074] For different management operations, the server can set corresponding operation rules according to different application scenarios.

[0075] Exemplarily, for new operations, the server can set relevant input controls on the rule management interface according to the contents included in the user resource data setting rules, such as currency, ratio range, numerical range, etc., and for the following special scenarios, the server can also set corresponding pre-determined rules, such as the effective date ranges of user resource data setting rules corresponding to the same user ID and business ID are not allowed to overlap; for query operations, the server can deploy corresponding query controls on the rule management interface to realize paginated query, query based on user ID or business ID, etc.; for modification operations, the server can deploy corresponding selection controls, search controls, modification controls, etc. on the rule management interface.

[0076] Step 203, determining user resource data according to the target user resource data setting rule, and determining target resource data according to the target user resource data setting rule, the user resource data and the first standard resource data.

[0077] After determining the target user resource data setting rules, the server can determine the user resource data specific to the target user based on the target user resource data setting rules. Optionally, the target user resource data setting rules specify specific values ​​of the user resource data, and the server can directly determine the user resource data based on the specific values; optionally, the target user resource data setting rules specify a method for calculating the user resource data, and the server can directly calculate the user resource data based on the calculation method.

[0078] After determining the user resource data, the server can determine the target resource data by comprehensively analyzing the user resource data of the target user and the first standard resource data for all users in the first business scenario. In an embodiment of the present application, the target resource data is used to characterize the resource data that the enterprise can ultimately transfer from the target user's account. Optionally, the target user resource data setting rules specify filtering conditions for determining the target resource data from the user resource data and the first standard resource data, and the server can select the target resource data from the user resource data and the first standard resource data; optionally, the target user resource data setting rules specify an integration method for integrating the user resource data and the first standard resource data, and the server can integrate the user resource data and the first standard resource data according to the integration method to determine the target resource data.

[0079] In the above embodiment, the user resource data corresponding to the target user is determined according to the target user resource data setting rules for the target user, and then the final target resource data is determined according to the user resource data exclusive to the target user and the unified first standard resource data under the first business scenario. This avoids the problem of poor flexibility in traditional technologies that can only determine the target resource data under the first business scenario with the unified first standard resource data. The target resource data is differentiated for different users, thereby improving the flexibility of the target resource data processing process.

[0080] In one possible implementation, the server does not detect a first business request including a target user representation, but detects a second business request for other business services. When the second business request is detected, the server can determine second standard resource data based on standard resource data rules corresponding to the second business request, and determine the target resource data based on the second standard resource data.

[0081] In an embodiment of the present application, the second service request includes a second service identifier but does not include a target user identifier, which means that the target user does not have a corresponding target user resource data setting rule. The server can directly determine the second standard resource data based on the standard resource data rule corresponding to the second service request, and directly use the second standard resource data as the target resource data.

[0082] In one embodiment, based on the above Figure 2 The embodiment shown, see Figure 3 This embodiment relates to a process of determining user resource data according to a target user resource data setting rule. In this embodiment of the application, the target user resource data setting rule includes a resource data setting method, and the resource data setting method includes a ratio setting method or a value setting method. Figure 3 As shown, step 203 may include step 301 and step 302 .

[0083] Step 301: If the resource data setting mode is a ratio setting mode, user resource data is determined according to a basic resource parameter corresponding to the first service request and a ratio corresponding to the ratio setting mode.

[0084] When it is detected that the resource data setting method is a ratio setting method, it represents that the current target user resource data setting rule stipulates that the user resource data can be calculated according to the preset ratio. Taking the enterprise as a bank as an example, and the business service is transfer, the resource data setting method can be a ratio setting method, and its corresponding ratio is 0.5%, which represents that when the enterprise provides this business service, it transfers 0.5% of the resource data of the user transfer amount from the target user's account.

[0085] In an embodiment of the present application, if the resource data setting method is a ratio setting method, the server can first obtain the basic resource parameters corresponding to the first business request. The basic resource parameters may include basic resource requirements related to the business type. Then, the server can multiply the basic resource parameters with the ratio corresponding to the ratio setting method to calculate the user resource data.

[0086] Step 302: If the resource data setting mode is a numerical setting mode, the user resource data is determined according to the numerical value corresponding to the numerical setting mode.

[0087] When it is detected that the resource data setting method is a numerical setting method, it represents that the current target user resource data setting rule directly stipulates the specific numerical value corresponding to the user resource data. The server can directly use the numerical value corresponding to the numerical setting method as the numerical value corresponding to the user resource data, thereby determining the user resource data.

[0088] In one embodiment, based on the above Figure 2 The embodiment shown, see Figure 4 This embodiment relates to a process of determining target resource data according to target user resource data setting rules, user resource data and first standard resource data. In this embodiment of the application, the target user resource data setting rules include resource data setting types, and the resource data setting types include user resource data setting types or minimum value setting types. Figure 4 As shown, step 203 may include step 401 and step 402 .

[0089] Step 401: If the resource data setting type is the user resource data setting type, the user resource data is used as the target resource data.

[0090] Step 402: If the resource data setting type is a minimum value setting type, the smaller resource data between the user resource data and the first standard resource data is used as the target resource data.

[0091] The resource data setting type is used to characterize the way the server integrates the first standard resource data and the user resource data. If the resource data setting type is the user resource data setting type, it characterizes that the server can directly use the user resource data as the target resource data; if the resource data setting type is the minimum value setting type, it characterizes that the target resource data must be smaller, so the server can compare the size of the user resource data and the first standard resource data, and select the smaller one as the target resource data.

[0092] In one embodiment, referring to Figure 5 , provides an exemplary data processing method, which can be applied in the implementation environment shown in Figure 1.

[0093] Step 501: Acquire candidate user resource data setting rules to be stored and candidate user identifiers and candidate service identifiers corresponding to the candidate user resource data setting rules.

[0094] Step 502: storing the candidate user resource data setting rule and the candidate user identifier and candidate service identifier corresponding to the candidate user resource data setting rule into a database for management.

[0095] Among them, the management methods include adding, querying, modifying and deleting.

[0096] Step 503: when the first service request is detected, first standard resource data is determined according to the standard resource data rule corresponding to the first service request.

[0097] The first service request includes a first service identifier and a target user identifier;

[0098] Step 504: Match the target user identifier and the first service identifier with the candidate user identifiers and candidate service identifiers corresponding to the plurality of candidate user resource data setting rules, and determine the target user resource data setting rule from the plurality of candidate user resource data setting rules.

[0099] Among them, the target user resource data setting rules include resource data setting methods, which include ratio setting methods or value setting methods; the target user resource data setting rules include resource data setting types, which include user resource data setting types or minimum value setting types.

[0100] Step 505: If the resource data setting method is a ratio setting method, the user resource data is determined according to the basic resource parameters corresponding to the first business request and the ratio corresponding to the ratio setting method; if the resource data setting method is a numerical setting method, the user resource data is determined according to the numerical value corresponding to the numerical setting method.

[0101] Step 506: If the resource data setting type is the user resource data setting type, the user resource data is used as the target resource data; if the resource data setting type is the minimum value setting type, the smaller resource data between the user resource data and the first standard resource data is used as the target resource data.

[0102] Step 507: when the second service request is detected, determine the second standard resource data according to the standard resource data rule corresponding to the second service request.

[0103] The second service request includes a second service identifier;

[0104] Step 508: Determine target resource data according to the second standard resource data.

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

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

[0107] In an exemplary embodiment, Figure 6 As shown, a data processing device is provided, including: a first standard resource determination module 601, a user rule determination module 602 and a first target resource determination module 603, wherein:

[0108] A first standard resource determination module 601 is used to determine first standard resource data according to a standard resource data rule corresponding to a first service request when a first service request is detected, wherein the first service request includes a first service identifier and a target user identifier;

[0109] A user rule determination module 602, configured to determine a target user resource data setting rule according to the target user identifier and the first service identifier;

[0110] The first target resource determination module 603 is used to determine user resource data according to the target user resource data setting rule, and determine target resource data according to the target user resource data setting rule, the user resource data and the first standard resource data.

[0111] In one embodiment, the target user resource data setting rule includes a resource data setting method, and the resource data setting method includes a ratio setting method or a value setting method. The first target resource determination module includes:

[0112] a ratio determination unit, configured to determine the user resource data according to a basic resource parameter corresponding to the first service request and a ratio corresponding to the ratio setting mode if the resource data setting mode is the ratio setting mode;

[0113] A value determination unit is used to determine the user resource data according to the value corresponding to the value setting method if the resource data setting method is the value setting method.

[0114] In one embodiment, the target user resource data setting rule includes a resource data setting type, and the resource data setting type includes a user resource data setting type or a minimum value setting type. The first target resource determination module further includes:

[0115] A first type unit, configured to use the user resource data as the target resource data if the resource data setting type is the user resource data setting type;

[0116] The second type unit is used to use the smaller resource data between the user resource data and the first standard resource data as the target resource data if the resource data setting type is the minimum value setting type.

[0117] In one embodiment, the user rule determination module includes:

[0118] The matching unit is used to match the target user identifier and the first service identifier with candidate user identifiers and candidate service identifiers corresponding to multiple candidate user resource data setting rules, and determine the target user resource data setting rule from the multiple candidate user resource data setting rules.

[0119] In one embodiment, the apparatus further comprises:

[0120] A management module is used to obtain the candidate user resource data setting rules to be stored and the candidate user identifiers and candidate service identifiers corresponding to the candidate user resource data setting rules, and store the candidate user resource data setting rules and the candidate user identifiers and candidate service identifiers corresponding to the candidate user resource data setting rules into a database for management, wherein the management methods include adding, querying, modifying and deleting.

[0121] In one embodiment, the apparatus further comprises:

[0122] A second standard resource determination module, configured to determine second standard resource data according to a standard resource data rule corresponding to a second service request when a second service request is detected, wherein the second service request includes a second service identifier;

[0123] The second target resource determination module is used to determine the target resource data according to the second standard resource data.

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

[0125] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 7As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. 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 data processing data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication 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 data processing method is implemented.

[0126] Those skilled in the art will understand that Figure 7 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.

[0127] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0128] In the case of detecting a first service request, determining first standard resource data according to a standard resource data rule corresponding to the first service request, wherein the first service request includes a first service identifier and a target user identifier;

[0129] Determining a target user resource data setting rule according to the target user identifier and the first service identifier;

[0130] The user resource data is determined according to the target user resource data setting rule, and the target resource data is determined according to the target user resource data setting rule, the user resource data and the first standard resource data.

[0131] In one embodiment, the target user resource data setting rule includes a resource data setting mode, and the resource data setting mode includes a ratio setting mode or a value setting mode. When the processor executes the computer program, the following steps are also implemented:

[0132] If the resource data setting mode is the ratio setting mode, determining the user resource data according to the basic resource parameter corresponding to the first service request and the ratio corresponding to the ratio setting mode;

[0133] If the resource data setting method is the numerical setting method, the user resource data is determined according to the numerical value corresponding to the numerical setting method.

[0134] In one embodiment, the target user resource data setting rule includes a resource data setting type, and the resource data setting type includes a user resource data setting type or a minimum value setting type. When the processor executes the computer program, the following steps are also implemented:

[0135] If the resource data setting type is the user resource data setting type, the user resource data is used as the target resource data;

[0136] If the resource data setting type is the minimum value setting type, the smaller resource data between the user resource data and the first standard resource data is used as the target resource data.

[0137] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0138] The target user identifier and the first service identifier are matched with candidate user identifiers and candidate service identifiers corresponding to a plurality of candidate user resource data setting rules, and the target user resource data setting rule is determined from the plurality of candidate user resource data setting rules.

[0139] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0140] The candidate user resource data setting rules to be stored and the candidate user identifiers and candidate service identifiers corresponding to the candidate user resource data setting rules are obtained, and the candidate user resource data setting rules and the candidate user identifiers and candidate service identifiers corresponding to the candidate user resource data setting rules are stored in a database for management, and the management methods include adding, querying, modifying and deleting.

[0141] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0142] In the case where a second service request is detected, determining second standard resource data according to a standard resource data rule corresponding to the second service request, wherein the second service request includes a second service identifier;

[0143] The target resource data is determined according to the second standard resource data.

[0144] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0145] In the case of detecting a first service request, determining first standard resource data according to a standard resource data rule corresponding to the first service request, wherein the first service request includes a first service identifier and a target user identifier;

[0146] Determining a target user resource data setting rule according to the target user identifier and the first service identifier;

[0147] The user resource data is determined according to the target user resource data setting rule, and the target resource data is determined according to the target user resource data setting rule, the user resource data and the first standard resource data.

[0148] In one embodiment, the target user resource data setting rule includes a resource data setting mode, and the resource data setting mode includes a ratio setting mode or a value setting mode. When the computer program is executed by the processor, the following steps are also implemented:

[0149] If the resource data setting mode is the ratio setting mode, determining the user resource data according to the basic resource parameter corresponding to the first service request and the ratio corresponding to the ratio setting mode;

[0150] If the resource data setting method is the numerical setting method, the user resource data is determined according to the numerical value corresponding to the numerical setting method.

[0151] In one embodiment, the target user resource data setting rule includes a resource data setting type, and the resource data setting type includes a user resource data setting type or a minimum value setting type. When the computer program is executed by the processor, the following steps are also implemented:

[0152] If the resource data setting type is the user resource data setting type, the user resource data is used as the target resource data;

[0153] If the resource data setting type is the minimum value setting type, the smaller resource data between the user resource data and the first standard resource data is used as the target resource data.

[0154] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0155] The target user identifier and the first service identifier are matched with candidate user identifiers and candidate service identifiers corresponding to a plurality of candidate user resource data setting rules, and the target user resource data setting rule is determined from the plurality of candidate user resource data setting rules.

[0156] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0157] The candidate user resource data setting rules to be stored and the candidate user identifiers and candidate service identifiers corresponding to the candidate user resource data setting rules are obtained, and the candidate user resource data setting rules and the candidate user identifiers and candidate service identifiers corresponding to the candidate user resource data setting rules are stored in a database for management, and the management methods include adding, querying, modifying and deleting.

[0158] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0159] In the case where a second service request is detected, determining second standard resource data according to a standard resource data rule corresponding to the second service request, wherein the second service request includes a second service identifier;

[0160] The target resource data is determined according to the second standard resource data.

[0161] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0162] In the case of detecting a first service request, determining first standard resource data according to a standard resource data rule corresponding to the first service request, wherein the first service request includes a first service identifier and a target user identifier;

[0163] Determining a target user resource data setting rule according to the target user identifier and the first service identifier;

[0164] The user resource data is determined according to the target user resource data setting rule, and the target resource data is determined according to the target user resource data setting rule, the user resource data and the first standard resource data.

[0165] In one embodiment, the target user resource data setting rule includes a resource data setting mode, and the resource data setting mode includes a ratio setting mode or a value setting mode. When the computer program is executed by the processor, the following steps are also implemented:

[0166] If the resource data setting mode is the ratio setting mode, determining the user resource data according to the basic resource parameter corresponding to the first service request and the ratio corresponding to the ratio setting mode;

[0167] If the resource data setting method is the numerical setting method, the user resource data is determined according to the numerical value corresponding to the numerical setting method.

[0168] In one embodiment, the target user resource data setting rule includes a resource data setting type, and the resource data setting type includes a user resource data setting type or a minimum value setting type. When the computer program is executed by the processor, the following steps are also implemented:

[0169] If the resource data setting type is the user resource data setting type, the user resource data is used as the target resource data;

[0170] If the resource data setting type is the minimum value setting type, the smaller resource data between the user resource data and the first standard resource data is used as the target resource data.

[0171] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0172] The target user identifier and the first service identifier are matched with candidate user identifiers and candidate service identifiers corresponding to a plurality of candidate user resource data setting rules, and the target user resource data setting rule is determined from the plurality of candidate user resource data setting rules.

[0173] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0174] The candidate user resource data setting rules to be stored and the candidate user identifiers and candidate service identifiers corresponding to the candidate user resource data setting rules are obtained, and the candidate user resource data setting rules and the candidate user identifiers and candidate service identifiers corresponding to the candidate user resource data setting rules are stored in a database for management, and the management methods include adding, querying, modifying and deleting.

[0175] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0176] In the case where a second service request is detected, determining second standard resource data according to a standard resource data rule corresponding to the second service request, wherein the second service request includes a second service identifier;

[0177] The target resource data is determined according to the second standard resource data.

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

[0179] 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 application.

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

Claims

1. A data processing method, characterized in that: The method comprises: In the case of detecting a first service request, determining first standard resource data according to a standard resource data rule corresponding to the first service request, wherein the first service request includes a first service identifier and a target user identifier; Determining a target user resource data setting rule according to the target user identifier and the first service identifier; The user resource data is determined according to the target user resource data setting rule, and the target resource data is determined according to the target user resource data setting rule, the user resource data and the first standard resource data.

2. The method according to claim 1, characterized in that The target user resource data setting rule includes a resource data setting mode, and the resource data setting mode includes a ratio setting mode or a value setting mode. The determining of user resource data according to the target user resource data setting rule includes: If the resource data setting mode is the ratio setting mode, determining the user resource data according to the basic resource parameter corresponding to the first service request and the ratio corresponding to the ratio setting mode; If the resource data setting method is the numerical setting method, the user resource data is determined according to the numerical value corresponding to the numerical setting method.

3. The method according to claim 1, characterized in that The target user resource data setting rule includes a resource data setting type, and the resource data setting type includes a user resource data setting type or a minimum value setting type. The determining the target resource data according to the target user resource data setting rule, the user resource data and the first standard resource data includes: If the resource data setting type is the user resource data setting type, the user resource data is used as the target resource data; If the resource data setting type is the minimum value setting type, the smaller resource data between the user resource data and the first standard resource data is used as the target resource data.

4. The method according to any one of claims 1 to 3, characterized in that The step of determining a target user resource data setting rule according to the target user identifier and the first service identifier includes: The target user identifier and the first service identifier are matched with candidate user identifiers and candidate service identifiers corresponding to a plurality of candidate user resource data setting rules, and the target user resource data setting rule is determined from the plurality of candidate user resource data setting rules.

5. The method according to claim 4, characterized in that The method further comprises: The candidate user resource data setting rules to be stored and the candidate user identifiers and candidate service identifiers corresponding to the candidate user resource data setting rules are obtained, and the candidate user resource data setting rules and the candidate user identifiers and candidate service identifiers corresponding to the candidate user resource data setting rules are stored in a database for management, and the management methods include adding, querying, modifying and deleting.

6. The method according to any one of claims 1 to 3, characterized in that The method further comprises: In the case where a second service request is detected, determining second standard resource data according to a standard resource data rule corresponding to the second service request, wherein the second service request includes a second service identifier; The target resource data is determined according to the second standard resource data.

7. A data processing device, characterized in that: The device comprises: A first standard resource determination module, configured to determine first standard resource data according to a standard resource data rule corresponding to a first service request when a first service request is detected, wherein the first service request includes a first service identifier and a target user identifier; A user rule determination module, used to determine a target user resource data setting rule according to the target user identifier and the first service identifier; The first target resource determination module is used to determine the user resource data according to the target user resource data setting rule, and determine the target resource data according to the target user resource data setting rule, the user resource data and the first standard resource data.

8. The device according to claim 7, characterized in that The target user resource data setting rule includes a resource data setting method, and the resource data setting method includes a ratio setting method or a value setting method. The first target resource determination module includes: a ratio determination unit, configured to determine the user resource data according to a basic resource parameter corresponding to the first service request and a ratio corresponding to the ratio setting mode if the resource data setting mode is the ratio setting mode; A value determination unit is used to determine the user resource data according to the value corresponding to the value setting method if the resource data setting method is the value setting method.

9. The device according to claim 7, characterized in that The target user resource data setting rule includes a resource data setting type, and the resource data setting type includes a user resource data setting type or a minimum value setting type. The first target resource determination module also includes: A first type unit, configured to use the user resource data as the target resource data if the resource data setting type is the user resource data setting type; The second type unit is used to use the smaller resource data between the user resource data and the first standard resource data as the target resource data if the resource data setting type is the minimum value setting type.

10. The device according to any one of claims 7 to 9, characterized in that: The user rule determination module includes: The matching unit is used to match the target user identifier and the first service identifier with candidate user identifiers and candidate service identifiers corresponding to multiple candidate user resource data setting rules, and determine the target user resource data setting rule from the multiple candidate user resource data setting rules.

11. The device according to claim 10, characterized in that The device also includes: A management module is used to obtain the candidate user resource data setting rules to be stored and the candidate user identifiers and candidate service identifiers corresponding to the candidate user resource data setting rules, and store the candidate user resource data setting rules and the candidate user identifiers and candidate service identifiers corresponding to the candidate user resource data setting rules into a database for management, wherein the management methods include adding, querying, modifying and deleting.

12. The device according to any one of claims 7 to 9, characterized in that The device also includes: A second standard resource determination module, configured to determine second standard resource data according to a standard resource data rule corresponding to a second service request when a second service request is detected, wherein the second service request includes a second service identifier; The second target resource determination module is used to determine the target resource data according to the second standard resource data.

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

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

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