Right and interest data limit management method and device, equipment, storage medium and product
In the quota management method of equity data, in response to the instructions of the quota manager, determine the activity identification and distribution quota, and deduct quota in the database of the management objects under multiple dimensions, the inaccurate quota management in the existing technology is solved. The problem of this has achieved the accuracy and efficiency improvement of the quota distribution process.
Patent Information
- Application Number
- CN202411121022.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-12-03
AI Technical Summary
In the prior art, merchants and institutions cannot perform accurate quota management during the distribution of equity data, resulting in the discovery that the total quota of equity data distributed after the distribution process is much larger than or smaller than the budget amount of the activity, resulting in the activity budget exceeding the standard. Or the influence is reduced.
Through a quota management method of equity data, in response to the quota distribution instructions of the quota management personnel, the activity identification and distribution quota of the quota distribution activity are determined, and the management objects of the quota management personnel in multiple dimensions are determined based on the management correspondence and activity identification. , determine the remaining amount data of each management object from the database, and deduct it based on the distribution amount to ensure that the remaining amount data of all management objects is not less than zero to generate distribution success information.
The accuracy in the quota distribution process is improved, the problem of quota exceeding the quota is avoided, the quota control requirements in each dimension are ensured, and the accuracy and efficiency of quota management are improved.
Smart Images

Figure CN119067722A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, device, equipment, storage medium and product for managing the quota of equity data. Background Art
[0002] At present, with the continuous development of the economy, various businesses and institutions usually adopt various methods to attract users. For example, relevant personnel of businesses and institutions can provide rights and interests data to customers online, and the rights and interests data usually provided to customers can include coupons, electronic coupons, consumption coupons and other types of electronic vouchers.
[0003] In the related art, during the distribution of equity data, multiple relevant personnel of merchants and institutions are independent of each other in the distribution process. This distribution method cannot accurately manage the quota. It may result in that after the distribution process, it is found that the total amount of equity data distributed is far greater than the budget of the activity, resulting in the activity budget exceeding the target. It may also result in the total amount of equity data distributed being far less than the budget of the activity, resulting in the underutilization of the budget of the activity and reducing the influence of the activity. Therefore, it is necessary to propose a quota management method for equity data to improve the accuracy of quota management during the distribution process. Summary of the invention
[0004] The embodiments of the present application provide a method, device, equipment, storage medium and product for managing the quota of equity data, which can improve the technical problem of insufficient accuracy of quota management in the distribution method in the related art.
[0005] In a first aspect, an embodiment of the present application provides a method for managing the quota of equity data, including:
[0006] In response to a quota distribution instruction from a quota management staff, determining an activity identifier of a rights distribution activity and a distribution quota of rights data;
[0007] Based on the management correspondence and the activity identifier, multiple management objects corresponding to the quota management personnel in multiple dimensions are determined; wherein the management correspondence is the correspondence between the quota management personnel, the equity distribution activity and the management objects in each dimension;
[0008] Determine the remaining amount data corresponding to each management object in the equity distribution activity from the database;
[0009] Deduct the remaining quota data of each management object based on the distribution quota;
[0010] When the remaining amount data of all management objects after deduction is not less than zero, a distribution success message is generated.
[0011] Optionally, in response to the quota distribution instruction of the quota management personnel, before determining the activity identifier of the equity distribution activity and the distribution quota of the equity data, the method further includes:
[0012] In response to the activity creation instruction, an activity identifier of the equity distribution activity is generated, and the total amount data corresponding to each management object under each dimension is determined;
[0013] Based on the activity identifier and the total amount data corresponding to each management object under each dimension, a configuration table corresponding to each dimension is generated in the database; wherein each configuration table includes the activity identifier and the total amount data and remaining amount data corresponding to each management object under the same dimension, and the initial value of the remaining amount data is consistent with the total amount data.
[0014] Optionally, based on the activity identifier and the total amount data corresponding to each management object under each dimension, after generating the configuration table corresponding to each dimension in the database, the method further includes:
[0015] In response to the review submission instruction, the activity information of the equity distribution activity is sent to the review node; wherein the activity information includes the configuration table corresponding to each dimension;
[0016] Upon receiving the approval instruction, the activity status of the equity distribution activity is set to execution status;
[0017] In response to the quota distribution instruction of the quota management personnel, after determining the activity identifier of the equity distribution activity and the distribution quota of the equity data, the method further includes:
[0018] Determine a corresponding activity state based on the activity identifier;
[0019] When the activity state is not the execution state, a dispatch failure message is generated.
[0020] Optionally, the multiple dimensions include an activity dimension, a personnel dimension and at least one institutional dimension; the number of management objects under the same equity distribution activity in the personnel dimension is consistent with the number of quota managers, and the number of management objects under the same equity distribution activity in each institutional dimension is consistent with the number of institutions under the same dimension.
[0021] Optionally, multiple management objects corresponding to the quota management personnel in multiple dimensions are determined based on the management correspondence relationship and the activity identifier, including:
[0022] Determine the corresponding management object under the activity dimension based on the activity identifier;
[0023] Based on the personnel ID and activity ID of the quota manager, determine the management object corresponding to the quota manager in the personnel dimension;
[0024] Based on the institutional identification and activity identification of the institutions at all levels to which the quota management personnel belong, the management objects corresponding to the quota management personnel in each institutional dimension are determined respectively.
[0025] Optionally, the database also includes a concurrency control table with the field of the activity identifier as the primary key; determining the remaining amount data corresponding to each management object in the equity distribution activity from the database includes:
[0026] Insert activity identifier into the concurrency control table;
[0027] If the insertion result is successful, the following steps are executed: determining the remaining amount data corresponding to each management object in the equity distribution activity from the database;
[0028] When the remaining amount of all management objects after deduction is not less than zero, after the distribution success information is generated, it also includes:
[0029] Delete the activity identifier from the concurrency control table.
[0030] Optionally, the quota distribution instruction also includes a user ID of the user to whom the quota is distributed; when the remaining quota data of all management objects after deduction is not less than zero, a distribution success message is generated, including:
[0031] When the remaining amount data of all management objects after deduction is not less than zero, the user ID is matched with the dispatched record;
[0032] If the user ID does not match the dispatched record, a dispatch success message is generated;
[0033] When the user ID matches the distributed record, the remaining amount data after deduction of each management object is restored and duplicate distribution information is generated.
[0034] In a second aspect, an embodiment of the present application provides a quota management device for equity data, the device comprising:
[0035] An acquisition module, for determining the activity identifier of the equity distribution activity and the distribution amount of the equity data in response to the quota distribution instruction of the quota management personnel;
[0036] An object determination module is used to determine multiple management objects corresponding to the quota management personnel in multiple dimensions based on the management correspondence and activity identifier; wherein the management correspondence is the correspondence between the quota management personnel, the equity distribution activity and the management objects in each dimension;
[0037] A quota determination module is used to determine the remaining quota data corresponding to each management object in the equity distribution activity from the database;
[0038] A processing module, used for deducting the remaining quota data of each management object based on the distribution quota;
[0039] The generation module is used to generate distribution success information when the remaining amount data of all management objects after deduction is not less than zero.
[0040] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: a processor and a memory storing computer program instructions;
[0041] When the processor executes the computer program instructions, the steps of the method for managing the amount of equity data in any one of the embodiments of the first aspect are implemented.
[0042] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the steps of a method for managing the amount of equity data as in any one of the embodiments of the first aspect.
[0043] In a fifth aspect, an embodiment of the present application provides a computer program product, and when the instructions in the computer program product are executed by a processor, the steps of the method for managing the quota of equity data in any one of the embodiments of the first aspect are implemented.
[0044] The quota management method, device, equipment, storage medium and product of the equity data in the embodiments of the present application, the quota manager can input the activity identifier and the distribution quota of the equity distribution activity through the quota distribution instruction. Based on the management correspondence and the activity identifier, the management objects corresponding to the quota distribution operation of the quota manager in multiple dimensions can be determined. The remaining quota data of the management objects in each dimension can be determined from the database, and the remaining quota data of each management object can be deducted based on the distribution quota. If the remaining quota data of all management objects are not less than zero after deduction, it means that the quota distribution operation meets the requirements in all dimensions, and the quota distribution can be carried out normally and the distribution success information is generated. If the remaining quota data of a certain management object is less than zero after deduction, it means that there is a problem of exceeding the quota distribution in the dimension corresponding to the management object, and the quota distribution operation fails. By processing the remaining quota data of the management objects under each dimension during the quota distribution process, it is possible to determine whether the quota distribution operation meets the quota control requirements of each dimension, thereby avoiding the problem of exceeding the quota during the quota distribution process and improving the accuracy of quota management during the quota distribution process. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0046] Figure 1 It is a flowchart of a method for managing the amount of equity data provided by an embodiment of the present application;
[0047] Figure 2 It is a flowchart of a method for managing the amount of equity data provided by another embodiment of the present application;
[0048] Figure 3 It is a flowchart of a method for managing the amount of equity data provided by another embodiment of the present application;
[0049] Figure 4 It is a flowchart of a method for managing the amount of equity data provided by another embodiment of the present application;
[0050] Figure 5 It is a structural diagram of a quota management device for equity data provided in an embodiment of the present application;
[0051] Figure 6 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0053] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0054] The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.
[0055] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0056] At present, with the continuous development of the economy, various businesses and institutions usually adopt various methods to attract users. For example, relevant personnel of businesses and institutions can provide rights and interests data to customers online, and the rights and interests data usually provided to customers can include coupons, electronic coupons, consumption coupons and other types of electronic vouchers.
[0057] In the related art, during the distribution of equity data, multiple relevant personnel of merchants and institutions are independent of each other in the distribution process. This distribution method cannot accurately manage the quota, which may result in the total amount of equity data distributed being found to be far greater than the budget of the activity after the distribution process is completed, resulting in the activity budget being exceeded. It may also result in the total amount of equity data distributed being far less than the budget of the activity, resulting in the underutilization of the budget of the activity and reducing the influence of the activity. Therefore, it is necessary to propose a quota management method for equity data to improve the management efficiency during the distribution process.
[0058] In order to solve the problems of the prior art, the embodiments of the present application provide a method, device, equipment, storage medium and product for managing the quota of equity data.
[0059] The following, in conjunction with the accompanying drawings, describes in detail the method for managing the amount of equity data provided by the embodiment of the present application through specific embodiments and their application scenarios.
[0060] Figure 11 is a flow chart of a method for managing the amount of equity data provided in an embodiment of the present application. Figure 1 As shown, the method for managing the amount of equity data may specifically include the following steps:
[0061] S110, in response to a quota distribution instruction from a quota management staff, determining an activity identifier of a rights distribution activity and a distribution quota of rights data;
[0062] S120, determining a plurality of management objects corresponding to the quota management personnel in a plurality of dimensions respectively based on the management correspondence relationship and the activity identifier; wherein the management correspondence relationship is a correspondence relationship between the quota management personnel, the equity distribution activity and the management objects in each dimension;
[0063] S130, determining the remaining amount data corresponding to each management object in the equity distribution activity from the database;
[0064] S140, deducting the remaining quota data of each management object based on the allocated quota;
[0065] S150, generating distribution success information when the remaining amount data of all management objects after deduction is not less than zero.
[0066] In this embodiment, the quota management personnel can input the activity identifier and the distribution quota of the equity distribution activity through the quota distribution instruction. Based on the management correspondence and the activity identifier, the management objects corresponding to the quota distribution operation of the quota management personnel in multiple dimensions can be determined. The remaining quota data of the management objects in each dimension can be determined from the database, and the remaining quota data of each management object can be deducted based on the distribution quota. If the remaining quota data of all management objects are not less than zero after deduction, it means that the quota distribution operation meets the requirements in all dimensions, and the quota distribution can be carried out normally and the distribution success information is generated. If the remaining quota data of a certain management object is less than zero after deduction, it means that there is a problem of exceeding the quota distribution in the dimension corresponding to the management object, and the quota distribution operation fails. By processing the remaining quota data of the management objects in each dimension during the quota distribution process, it can be judged whether the quota distribution operation meets the quota control requirements of each dimension, thereby avoiding the problem of exceeding the quota in the quota distribution process and improving the accuracy of quota management in the quota distribution process.
[0067] It should be noted that during the rights distribution activity, the remaining quota data of each management object in the database can also be read to count the distributed quotas in each dimension, thereby determining the quota distribution progress in each dimension.
[0068] The specific implementation methods of the above steps are introduced below.
[0069] In S110, the credit management personnel can trigger the credit distribution instruction to achieve the credit distribution of the equity data. The equity data may include but is not limited to coupons, electronic coupons, consumer coupons and other types of electronic vouchers. The credit management personnel may be relevant personnel in the merchant, platform or institution. For example, if the institution is a bank, the credit management personnel may be a bank staff member with distribution authority.
[0070] When the quota manager triggers a quota distribution instruction, the quota manager can determine the activity identifier, distribution object and distribution amount of this equity distribution activity by selection or input.
[0071] In response to the quota distribution instruction, the device can determine the activity identifier of the equity distribution activity and the distribution quota of the equity data.
[0072] Please refer to Figure 2 In some embodiments, before S110, the following steps may also be included:
[0073] S210, in response to the activity creation instruction, generating an activity identifier of the equity distribution activity, and determining the total amount data corresponding to each management object under each dimension;
[0074] S220, based on the activity identifier and the total amount data corresponding to each management object under each dimension, generate a configuration table corresponding to each dimension in the database; wherein each configuration table includes the activity identifier and the total amount data and remaining amount data corresponding to each management object under the same dimension, and the initial value of the remaining amount data is consistent with the total amount data.
[0075] In this embodiment, before performing a quota distribution operation, a corresponding rights distribution activity can be created through an activity creation instruction, and the total distribution quota for each management object under each dimension can be set. Based on the set total distribution quota, the total quota data and remaining quota data of the management object can be generated in the configuration table of each dimension. During the quota distribution process, the remaining quota data can be dynamically updated based on the quota distribution operations of each quota management personnel, and whether the distribution process can be executed can be determined based on the remaining quota data and the distribution quota.
[0076] In S210 , before the quota manager distributes the equity data of the equity distribution activity, it is necessary to create the equity distribution activity.
[0077] Relevant personnel with activity creation permissions can trigger activity creation instructions to create equity activities. Activity creation instructions can include the activity identifier of the equity distribution activity. When there are multiple equity distribution activities, the activity identifier of each equity distribution activity is unique, and the corresponding equity distribution activity can be determined based on the activity identifier.
[0078] The device can generate an activity identifier for the equity distribution activity according to the activity creation instruction, and determine the total amount data corresponding to each management object under each dimension.
[0079] During the activity creation process, the event creator can set the corresponding total distribution amount for each management object under each dimension.
[0080] As an optional implementation, the activity creator can configure the total amount of distribution for each management object in the creation page. The activity creator can also configure the total amount of distribution for each management object in advance and generate corresponding files, and implement the configuration by importing the files in the creation page.
[0081] In some embodiments, the above-mentioned multiple dimensions may include an activity dimension, a personnel dimension, and at least one organizational dimension.
[0082] Under the activity dimension, each equity distribution activity corresponds to a management object, and the total amount data corresponding to the management object is the budget amount data of the equity distribution activity.
[0083] In the personnel dimension, the number of management objects corresponding to each equity distribution activity is consistent with the number of quota managers. That is, multiple management objects under the same equity distribution activity in the personnel dimension correspond to multiple quota managers one by one.
[0084] Under each institutional dimension, the number of management objects corresponding to each equity distribution activity is consistent with the number of institutions in that dimension. For example, taking a bank as an example, a bank has four different dimensions of institutions, namely, first-level branches, second-level branches, sub-branches, and outlets. Therefore, four institutional dimensions can be included in multiple dimensions accordingly. In the institutional dimension corresponding to the first-level branch, the number of management objects is consistent with the number of first-level branches. That is, the number of management objects under the same equity distribution activity in each institutional dimension should be consistent with the number of institutions in that dimension.
[0085] It should be noted that there may be an inclusion relationship between the activity dimension, the multiple organization dimensions and the personnel dimension. Based on the inclusion relationship, the total amount data of the management objects in each dimension may be verified.
[0086] For example, after the event creator has configured the total amount data of the management objects of each dimension, the multiple amount managers can be divided according to the organization, and the total amount data of each amount manager belonging to the same organization can be compared with the total amount data of the management objects corresponding to the organization in the organization dimension to determine whether there is a certain amount manager whose total amount data is greater than the total amount data of the organization. If so, a verification exception message is sent to the event creator. For example, if multiple amount managers belong to the same outlet, it can be determined whether there is a certain amount manager whose total amount data is greater than the total amount data of the outlet. If so, it means that there is an abnormality in the amount configuration, and an abnormal reminder is sent to the event creator.
[0087] Similarly, if multiple credit limit managers belong to the same secondary branch, it can be determined whether there is a credit limit manager whose total credit limit data is greater than the total credit limit data of the secondary branch.
[0088] In addition, the total amount data of the management objects in the organization dimension can be compared and verified with the total amount data of the management objects in the activity dimension. If the total amount data of a management object in any organization dimension is greater than the total amount data of the management objects in the activity dimension, it indicates that there is an abnormality in the amount configuration.
[0089] The principle of the above-mentioned exception check is that in a single equity distribution activity, the total amount configured by any institution should not exceed the total amount configured for the activity, and the total amount configured by any quota manager under each institution should not exceed the total amount configured by the institution.
[0090] In S220, after generating the activity identifier of the equity distribution activity, a configuration table corresponding to each dimension can be generated in the database based on the activity identifier. For example, if there is one activity dimension, four organization dimensions and one personnel dimension preset, six configuration tables corresponding to the six dimensions can be generated accordingly.
[0091] In each configuration table, each management object under the dimension corresponding to the configuration table and its corresponding total amount data can be stored in the configuration table. After each management object under each dimension and its corresponding total amount data are stored in the configuration table, the amount configuration of each dimension under the activity is completed.
[0092] In the configuration table of each dimension mentioned above, in addition to the total quota data corresponding to each management object, the remaining quota data corresponding to each management object can also be included. The initial value of the remaining quota data is consistent with the total quota data. During the quota distribution process of the quota management personnel for equity distribution activities, the remaining quota data can be dynamically deducted according to the distribution quota of each distribution behavior. During a certain distribution process, if the remaining quota data after deduction is less than 0, it can be determined that this distribution exceeds the total quota of this dimension and cannot be distributed, and this distribution fails.
[0093] As an optional implementation, taking the activity dimension as an example, each management object in the activity dimension corresponds to a rights distribution activity, that is, the mapping data corresponding to each management object in the activity dimension includes the activity identifier of the rights distribution activity, the total amount data of the activity, and the remaining amount data.
[0094] The configuration table corresponding to the activity dimension can store multiple management objects, and each management object can correspond to a benefit distribution activity. When the quota management personnel distribute a certain benefit distribution activity, they can query the management object corresponding to the benefit distribution activity in the configuration table of the activity dimension according to the activity identifier of the benefit distribution activity, and deduct the remaining quota data accordingly.
[0095] In an optional example, in the configuration table of the activity dimension, the mapping data corresponding to each management object includes the activity number, the remaining amount and the total amount. When multiple equity distribution activities each have a unique activity number, the activity number can be used as an activity identifier.
[0096] Taking the institution dimension as an example, each management object in the institution dimension corresponds to a certain institution under a certain equity distribution activity. For example, if the institution corresponding to a certain institution dimension is a first-level branch, if the number of first-level branches is 33, then the management objects corresponding to a single equity distribution activity in the institution dimension are 33. Correspondingly, if there are multiple different equity distribution activities, the management object in the institution dimension is the sum of the management objects corresponding to all equity distribution activities.
[0097] In the institutional dimension, the mapping data corresponding to each management object includes the activity ID, institutional ID, total amount data of the activity, and remaining amount data of the equity distribution activity. When the quota manager distributes a certain equity distribution activity, the corresponding institutional ID can be determined according to the institution to which the quota manager belongs, and the corresponding management object can be queried in the configuration table of the institutional dimension according to the institutional ID and the activity ID of the equity distribution activity, and the remaining amount data can be deducted according to the amount distributed by the quota manager this time.
[0098] In an optional example, in the configuration table of the organization dimension, the mapping data corresponding to each management object includes the activity number, organization number, remaining amount and total amount, wherein the organization number can be used as an organization identifier.
[0099] Taking the personnel dimension as an example, each management object in the personnel dimension corresponds to a quota management person under a benefit distribution activity. For example, if there are 10 different benefit distribution activities and the number of people with quota management authority is 1,000, the personnel dimension can include 10,000 management objects.
[0100] In the personnel dimension, the mapping data corresponding to each management object includes the activity ID, personnel ID, total amount data of the activity and remaining amount data of the equity distribution activity. When the quota manager distributes a certain equity distribution activity, the corresponding management object can be queried in the configuration table of the personnel dimension according to the personnel ID of the quota manager and the activity ID of the equity distribution activity, and the remaining amount data can be deducted according to the amount distributed by the quota manager this time.
[0101] In an optional example, in the configuration table of the personnel dimension, the mapping data corresponding to each management object includes the activity number, employee number, remaining quota and total quota, wherein the employee number can be used as the personnel identification of the quota management personnel.
[0102] It is understandable that, in the personnel dimension, different total quota data may be set for different quota managers based on their rank, position or other personnel information.
[0103] In some embodiments, after the above S220, the following steps may also be included:
[0104] S310, in response to the review submission instruction, sending the activity information of the equity distribution activity to the review node; wherein the activity information includes the configuration table corresponding to each dimension;
[0105] S320, when the review approval instruction is received, the activity status of the equity distribution activity is set to the execution status;
[0106] After the above S110, the following steps may also be included:
[0107] S330, determining a corresponding activity state based on the activity identifier;
[0108] S340: When the activity state is not the execution state, generate dispatch failure information.
[0109] In this embodiment, after creating a rights distribution activity, you can submit it for review. After the review is passed, the activity status of the rights distribution activity will be set to the execution status. After the quota manager triggers the quota distribution instruction, you can first judge the activity status of the rights distribution activity. If it is not in the execution status, you can directly generate a distribution failure message.
[0110] In S310, after creating a rights distribution activity and generating configuration tables corresponding to each dimension in the database, the creator can trigger an audit submission instruction. In response to the audit submission instruction, the device can send activity information of the rights distribution activity to the audit node. The activity information can include a configuration table corresponding to each dimension.
[0111] In S320, after the activity information of the equity distribution activity is submitted to the audit node, the relevant auditor can audit the equity distribution activity. After the audit is passed, the auditor can trigger the audit pass instruction, and when the device receives the audit pass instruction, it can set the activity state of the equity distribution activity to the execution state. In addition to the execution state, the activity state of the equity distribution activity can also be a non-execution state, such as a creation state, an inactive state, an auditing state, an expired state, etc.
[0112] In S330, after the quota management personnel triggers the quota distribution instruction, the device can determine the activity identifier of the equity distribution activity corresponding to this quota distribution operation, and query the activity status of the equity distribution activity based on the activity identifier.
[0113] In S340, if the activity status of the equity distribution activity is the execution status, the distribution step continues to be executed normally. If the activity status of the equity distribution activity is not the execution status, it indicates that the equity distribution activity has not passed the review or the activity time has ended. At this time, the device can generate a distribution failure message so that the quota distribution personnel cannot perform the quota distribution operation.
[0114] In S120, the device can obtain a pre-generated management correspondence, which is a correspondence between the quota manager, the equity distribution activity and the management objects in each dimension. Based on the personnel identification of the quota manager and the activity identification of the equity distribution activity, the management objects corresponding to the quota manager in each dimension can be determined from the management correspondence.
[0115] Please refer to Figure 3 In some embodiments, the above S120 may include:
[0116] S410, determining a corresponding management object under the activity dimension based on the activity identifier;
[0117] S420, determining the management object corresponding to the quota manager in the personnel dimension based on the personnel identifier and activity identifier of the quota manager;
[0118] S430, based on the organization identifications and activity identifications of the organizations at all levels to which the quota management personnel belong, respectively determine the management objects corresponding to the quota management personnel in each organization dimension.
[0119] In this embodiment, the corresponding management object under the activity dimension can be determined based on the activity identifier, the corresponding management object under the personnel dimension can be determined based on the activity identifier and the personnel identifier of the quota manager, and the corresponding management object under each institution dimension can be determined based on the activity identifier and the institution identifier of each level of institutions to which the quota manager belongs.
[0120] In S410, after determining the activity representation of the equity distribution activity according to the quota distribution instruction, the corresponding management object under the activity dimension can be determined based on the activity identifier. Multiple management objects under the activity dimension correspond to the activity identifiers of multiple equity distribution activities one by one, and the corresponding management object can be determined according to the activity identifier.
[0121] In S420, when the credit management personnel triggers the credit allocation instruction, the credit allocation instruction received by the device should include the personnel ID of the credit management personnel. Based on the activity ID and the personnel ID, the management object corresponding to the credit management personnel in the personnel dimension can be determined.
[0122] Each management object under the personnel dimension is a quota manager under a benefit distribution activity. That is to say, when there are multiple quota managers under the same benefit distribution activity, there are multiple corresponding management objects. Similarly, when the same quota manager manages different benefit distribution activities, there are also multiple corresponding management objects. Therefore, the unique corresponding management object under the personnel dimension cannot be determined based only on the activity identifier of the benefit distribution activity or the personnel identifier of the quota manager. The unique corresponding management object under the personnel dimension can only be determined based on the activity identifier of the benefit distribution activity and the personnel identifier of the quota manager.
[0123] In S430, based on the personnel identification of the credit limit manager, the institutions at all levels to which the credit limit manager belongs can also be determined, and the institution identifications of the institutions at all levels to which the credit limit manager belongs can be further determined. For example, taking the credit limit manager as a bank employee as an example, based on the personnel identification of the bank employee, the first-level branch, second-level branch, sub-branch and outlet to which the bank employee belongs can be determined, and the institution identifications corresponding to the first-level branch, second-level branch, sub-branch and outlet can be determined.
[0124] According to the organization ID and activity ID of each level of organization, the corresponding management object under each organization dimension can be determined respectively. For example, under the organization dimension corresponding to the first-level branch, the unique corresponding management object under the organization dimension can be determined according to the organization ID of the first-level branch and the activity ID of the equity distribution activity. Similarly, according to the organization ID of the second-level branch and the activity ID of the equity distribution activity, the unique corresponding management object under the organization dimension corresponding to the second-level branch can be determined. Similarly, when there are multiple organization dimensions, the corresponding management objects of the quota management personnel under multiple organization dimensions can be determined respectively.
[0125] It should be noted that the above S410, S420 and S430 can be executed simultaneously or sequentially. When executed sequentially, the execution order of the three steps can be arbitrarily changed and is not limited here.
[0126] In S130, after determining the management objects corresponding to each dimension, the device may determine the remaining amount data corresponding to each management object from the database.
[0127] Taking the personnel dimension as an example, in the configuration table corresponding to the personnel dimension, the device can query the configuration table according to the management object corresponding to the personnel dimension to obtain the mapping data corresponding to the management object, and the mapping data may include the remaining amount data.
[0128] By querying and obtaining from the configuration tables of various dimensions based on each management object, the remaining amount data corresponding to each management object in the equity distribution activity can be determined.
[0129] In S140, the device may deduct the remaining credit data of each management object based on the allocated credit in the credit allocation instruction. That is, the remaining credit data of each management object may be used as new remaining credit data after deducting the allocated credit.
[0130] In S150, after the remaining credit limit data of each management object is deducted and updated, if the new remaining credit limit data of all management objects after deduction are not less than zero, it means that the remaining credit limit data of each management object can meet the current distribution limit. At this time, a distribution success message can be generated to prompt the credit limit management personnel that the distribution operation is successful.
[0131] Accordingly, in the process of deducting and updating the remaining quota data of each management object, if there is any management object whose remaining quota data after deduction is less than zero, it means that the remaining quota of the management object before the current quota distribution operation is less than the current distribution quota. If the current distribution is carried out, the quota will exceed the limit in the dimension corresponding to the management object. At this time, a distribution failure message can be generated to prompt the quota management personnel that the distribution operation has failed.
[0132] It should be noted that, since the remaining amount data of the management objects in each configuration table are deducted and updated in sequence, when the remaining amount data of multiple management objects are deducted in sequence, if the remaining amount data of a certain management object after deduction is less than zero, it can be determined that the distribution has failed. Since the distribution was not successful, the remaining amount data of the management object after deduction needs to be restored to the remaining amount data before deduction. In addition, the remaining amount data of other management objects that have successfully completed deduction before this management object also needs to be restored to the remaining amount data before deduction.
[0133] In some embodiments, the credit allocation instruction also includes a user ID of the allocated user; the above S150 may include:
[0134] S510, when the remaining amount data of all management objects after deduction is not less than zero, matching the user identifier with the dispatched record;
[0135] S520, generating a distribution success message when the user identification does not match the distribution record;
[0136] S530: When the user identifier matches the dispatched record, the remaining amount data after deduction of each management object is restored, and duplicate dispatch information is generated.
[0137] In this embodiment, when the remaining credit data of the managed object is deducted and the remaining credit data of all managed objects after deduction is not less than zero, it means that the credit distribution operation does not exceed the coupon distribution credit under each dimension. However, in order to avoid duplicate distribution, the user ID of the distributed user needs to be matched with the distributed record. If the match is successful, it means that duplicate distribution exists. The remaining credit after deduction of each managed object needs to be restored, and the credit management personnel are prompted for duplicate distribution. By verifying the duplicate distribution of users, duplicate distribution can be avoided and the accuracy of distribution can be improved.
[0138] In S510, when the credit management personnel triggers the credit allocation instruction, they also need to select the corresponding allocated user. Therefore, the credit allocation instruction may also include the user ID of the allocated user.
[0139] After the device deducts the remaining quota data of each management object in turn and completes the deduction of the remaining quota data of all management objects, if the remaining quota data of all management objects after deduction are not less than zero, it means that this quota distribution operation does not exceed the distribution quota in all dimensions.
[0140] Before distributing the rights and interests data to the user, the user needs to be verified to determine whether the user has been distributed. Specifically, the device can match the user ID of the distributed user with the distributed record. If the user ID of the distributed user already exists in the distributed record, the user ID matches the distributed record; if the user ID of the distributed user does not exist in the distributed record, the user ID does not match the distributed record.
[0141] In S520, when the user identifier does not match the distributed record, it means that the distribution information of the distributed user does not exist in the distributed record, and the distributed user has not been distributed before. At this time, the rights data can be distributed to the distributed user and distribution success information is generated.
[0142] After the distribution is successful, the device may also add the user ID of the distributed user to the distribution record.
[0143] In S530, when the user identifier matches the distribution record, it means that the distribution information of the distributed user exists in the distribution record, and the distributed user has been distributed before. Therefore, in order to avoid duplicate distribution, the distribution should not be made to the customer. At this time, the device can restore the remaining amount after deduction of each management object and generate duplicate distribution information to prompt the quota management personnel that the user has been distributed before.
[0144] Please refer to Figure 4 In some embodiments, the database further includes a concurrency control table with the activity identifier field as the primary key; the above S130 may include:
[0145] S610, inserting an activity identifier into the concurrency control table;
[0146] S620, when the insertion result is successful, based on the activity identifier, determining the remaining amount data corresponding to each management object in the equity distribution activity from the database;
[0147] After the above S150, the following may also be included:
[0148] S630, deleting the activity identifier from the concurrency control table.
[0149] In this embodiment, the primary key of the table in the database has a unique characteristic, and a concurrency control table with the field of the activity identifier as the primary key is added. Before querying and modifying the remaining credit data in the configuration table, it is necessary to insert the activity identifier into the concurrency control table. If the insertion is successful, it means that no other credit management personnel are performing credit allocation operations at this time node, and the credit management personnel can perform credit allocation normally. And during the time period when the activity identifier is inserted into the concurrency control table, if other credit management personnel trigger credit allocation operations, they will be prompted that the concurrency is high, please try again later. After completing the deduction of the remaining credit data of each management object in the configuration table, the activity identifier can be deleted from the concurrency control table. After deleting the activity identifier, the credit allocation operations triggered by other credit management personnel can insert the activity identifier normally to implement the credit allocation operation. That is, by setting up a concurrency control table, before modifying the data in the configuration table, it is determined whether the configuration table can be modified based on whether the activity identifier can be inserted normally. This can ensure that only one quota distribution operation modifies the configuration table at the same time, avoiding data anomalies caused by multiple operations modifying the data concurrently, and improving the stability and reliability of quota distribution.
[0150] In S610, in addition to the configuration tables corresponding to each dimension, the database also includes a concurrency control table with the activity identifier field as the primary key. Based on the concurrency control table, when multiple quota managers distribute the same equity distribution activity at the same time, the device can ensure that only one quota manager can distribute quotas at a time to avoid data anomalies in the configuration table.
[0151] After the device determines the multiple management objects corresponding to the quota management personnel in multiple dimensions, it is necessary to insert the activity identifier into the concurrency control table before querying and modifying the data in the database.
[0152] In S620, since the activity identifier field in the concurrency control table is the primary key, based on the uniqueness of the primary key of the table in the database, when the same activity identifier does not exist in the field, the insert operation will succeed; when the same activity identifier exists in the field, the insert operation will fail.
[0153] If the insertion result is successful, it means that the same activity identifier does not exist in the concurrent control table at this time, that is, other quota management personnel have not queried and modified the configuration table. At this time, the device can execute the operation of querying the remaining quota data of each management object and deducting the remaining quota data of each object.
[0154] If the insertion result is failed, it means that the quota distribution process of other quota managers is in progress, that is, other quota managers are distributing quotas for the equity distribution activity. Therefore, when the insertion result is failed, the device can prompt the quota manager to remind the quota manager that other personnel are distributing quotas and please try again later.
[0155] In S630, after the insertion result is successful, the device can deduct the remaining quota data of the corresponding management objects in each configuration table in turn based on this quota distribution operation, and delete the activity identifier from the concurrency control table after successfully completing all deduction operations.
[0156] After deleting the activity identifier, the activity identifier can be successfully inserted into the quota distribution operation of other quota managers, that is, other quota managers can implement the quota distribution operation normally.
[0157] It should be noted that if a concurrency control table is not set, when there are multiple quota management personnel performing quota distribution operations at the same time, the remaining management data in the configuration table will be modified at the same time. Taking two quota distribution operations as an example, even if both distribution quotas do not exceed the remaining quota, but the sum of the two distribution quotas exceeds the remaining quota, after the two distribution quotas are deducted at the same time, the remaining quota data will be less than zero, resulting in an excess of the distribution quota. Therefore, in order to avoid distribution anomalies caused by concurrent operations, by setting a concurrency control table, only one quota distribution operation can modify the data in the configuration table at any time.
[0158] It can be understood that, since the activity identifier field in the concurrency control table is the primary key, when two quota managers respectively distribute quotas for two different equity distribution activities, in the quota distribution operation of the first quota manager, the activity identifier of the first equity distribution activity has been inserted into the concurrency control table, and if the device responds to the quota distribution operation of the second quota manager at this time, it will insert the activity identifier of the second equity distribution activity into the concurrency control table. Since the activity identifiers of the two equity distribution activities are not the same, the activity identifier of the second equity distribution activity can be successfully inserted, so the quota distribution operation of the second quota manager can be performed synchronously. That is, when multiple quota managers distribute quotas for different equity distribution activities respectively, they can be executed concurrently.
[0159] It should be noted that the application scenarios described in the above-mentioned embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0160] Based on the same inventive concept, the present application also provides a quota management device for equity data. Figure 5 Provide detailed explanation.
[0161] Figure 5 It is a structural diagram of a quota management device 500 for equity data provided in an embodiment of the present application.
[0162] like Figure 5 As shown, the equity data quota management device 500 may include:
[0163] The acquisition module 501 is used to determine the activity identifier of the equity distribution activity and the distribution amount of the equity data in response to the quota distribution instruction of the quota management personnel;
[0164] The object determination module 502 is used to determine multiple management objects corresponding to the quota management personnel in multiple dimensions based on the management correspondence relationship and the activity identifier; wherein the management correspondence relationship is the correspondence relationship between the quota management personnel, the equity distribution activity and the management objects in each dimension;
[0165] A quota determination module 503 is used to determine the remaining quota data corresponding to each management object in the equity distribution activity from the database;
[0166] Processing module 504, used to deduct the remaining quota data of each management object based on the allocated quota;
[0167] The generating module 505 is used to generate the distribution success information when the remaining amount data of all the management objects after deduction is not less than zero.
[0168] The above-mentioned equity data quota management device 500 is described in detail below, as shown below:
[0169] In some embodiments, the above-mentioned equity data quota management device 500 may further include:
[0170] A creation module, used to generate an activity identifier of the equity distribution activity in response to an activity creation instruction, and determine the total amount data corresponding to each management object under each dimension;
[0171] The data configuration module is used to generate a configuration table corresponding to each dimension in the database based on the activity identifier and the total amount data corresponding to each management object under each dimension; wherein each configuration table includes the activity identifier and the total amount data and remaining amount data corresponding to each management object under the same dimension, and the initial value of the remaining amount data is consistent with the total amount data.
[0172] In some embodiments, the above-mentioned equity data quota management device 500 may further include:
[0173] The review submission module is used to send the activity information of the equity distribution activity to the review node in response to the review submission instruction; wherein the activity information includes the configuration table corresponding to each dimension;
[0174] The state switching module is used to set the activity state of the equity distribution activity to the execution state when receiving the approval instruction;
[0175] A state determination module, used to determine a corresponding activity state based on an activity identifier;
[0176] The state judgment module is used to generate dispatch failure information when the activity state is not the execution state.
[0177] In some embodiments, the object determination module 502 may include:
[0178] A first determining unit, configured to determine a corresponding management object under an activity dimension based on the activity identifier;
[0179] The second determining unit is used to determine the management object corresponding to the quota manager in the personnel dimension based on the personnel identifier and activity identifier of the quota manager;
[0180] The third determination unit is used to determine the management objects corresponding to the quota management personnel in each institutional dimension based on the institutional identification and activity identification of the institutions at all levels to which the quota management personnel belong.
[0181] In some embodiments, the amount determination module 503 may include:
[0182] Insertion unit, used to insert activity identifiers into the concurrency control table;
[0183] A quota acquisition unit is used to determine the remaining quota data corresponding to each management object in the equity distribution activity from the database when the insertion result is successful;
[0184] The delete unit is used to delete the activity identifier from the concurrency control table.
[0185] In some embodiments, the generating module 505 may include:
[0186] A matching unit, used for matching the user identifier with the dispatched record when the remaining amount data after deduction of all management objects is not less than zero;
[0187] A first judgment unit, configured to generate a distribution success message when the user identifier does not match the distribution record;
[0188] The second judgment unit is used to restore the remaining amount of each management object after deduction and generate duplicate distribution information when the user identifier matches the distribution record.
[0189] Figure 6 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.
[0190] The electronic device 600 may include a processor 601 and a memory 602 storing computer program instructions.
[0191] Specifically, the processor 601 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0192] The memory 602 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 602 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 602 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 602 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 602 is a non-volatile solid-state memory.
[0193] In certain embodiments, the memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present application.
[0194] The processor 601 implements any one of the equity data quota management methods in the above embodiments by reading and executing computer program instructions stored in the memory 602 .
[0195] In some examples, the electronic device 600 may further include a communication interface 603 and a bus 610. Figure 6As shown, the processor 601, the memory 602, and the communication interface 603 are connected via a bus 610 and communicate with each other.
[0196] The communication interface 603 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0197] Bus 610 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus 610 may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 610 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.
[0198] Exemplarily, the electronic device 600 may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA).
[0199] The electronic device 600 can execute the quota management method of the equity data in the embodiment of the present application, thereby realizing the combination Figure 1 and Figure 5 The invention describes a method and device for managing the quota of equity data.
[0200] In addition, in combination with the quota management method of equity data in the above embodiment, the embodiment of the present application may provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any of the quota management methods of equity data in the above embodiment is implemented. Examples of computer-readable storage media include non-transitory computer-readable storage media, such as portable disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, etc.
[0201] In addition, an embodiment of the present application also provides a computer program product, including computer instructions, which can implement the steps and corresponding contents of the aforementioned method embodiment when executed by a processor.
[0202] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0203] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0204] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0205] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.
[0206] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for managing the quota of equity data, characterized in that: include: In response to a quota distribution instruction from a quota management staff, determining an activity identifier of a rights distribution activity and a distribution quota of rights data; Determine multiple management objects corresponding to the quota management personnel in multiple dimensions based on the management correspondence and the activity identifier; wherein the management correspondence is the correspondence between the quota management personnel, the equity distribution activity and the management objects in each dimension; Determine the remaining amount data corresponding to each management object in the equity distribution activity from the database; Deducting the remaining quota data of each management object based on the distribution quota; When the remaining amount data of all management objects after deduction is not less than zero, a distribution success message is generated.
2. The method for managing the amount of equity data according to claim 1, characterized in that: Before determining the activity identifier of the equity distribution activity and the distribution amount of the equity data in response to the quota distribution instruction of the quota management personnel, the method further includes: In response to the activity creation instruction, an activity identifier of the equity distribution activity is generated, and the total amount data corresponding to each management object under each dimension is determined; Based on the activity identifier and the total amount data corresponding to each management object under each dimension, a configuration table corresponding to each dimension is generated in the database; wherein each of the configuration tables includes the total amount data and remaining amount data corresponding to the activity identifier and each management object under the same dimension, and the initial value of the remaining amount data is consistent with the total amount data.
3. The method for managing the amount of equity data according to claim 2, characterized in that: After generating a configuration table corresponding to each dimension in the database based on the activity identifier and the total amount data corresponding to each management object under each dimension, the method further includes: In response to the review submission instruction, the activity information of the equity distribution activity is sent to the review node; wherein the activity information includes a configuration table corresponding to each dimension; Upon receiving the approval instruction, the activity status of the equity distribution activity is set to execution status; After determining the activity identifier of the equity distribution activity and the distribution amount of the equity data in response to the quota distribution instruction of the quota management personnel, the method further includes: Determine a corresponding activity state based on the activity identifier; When the activity state is not the execution state, a dispatch failure message is generated.
4. The method for managing the amount of equity data according to claim 2, characterized in that: The multiple dimensions include an activity dimension, a personnel dimension and at least one institutional dimension; the number of management objects under the same equity distribution activity in the personnel dimension is consistent with the number of quota managers, and the number of management objects under the same equity distribution activity in each institutional dimension is consistent with the number of institutions under the same dimension.
5. The method for managing the amount of equity data according to claim 4, characterized in that: The determining, based on the management correspondence relationship and the activity identifier, a plurality of management objects corresponding to the quota management personnel in a plurality of dimensions respectively includes: Determine the corresponding management object under the activity dimension based on the activity identifier; Based on the personnel identification of the quota management personnel and the activity identification, determining the management object corresponding to the quota management personnel under the personnel dimension; Based on the organization identifications of the organizations at all levels to which the quota management personnel belong and the activity identifications, the management objects corresponding to the quota management personnel in each organization dimension are determined respectively.
6. The method for managing the amount of equity data according to claim 1, characterized in that: The database also includes a concurrency control table with the activity identification field as the primary key; Determining the remaining amount data corresponding to each management object in the equity distribution activity from the database includes: Inserting the activity identifier into the concurrency control table; If the insertion result is successful, the following steps are executed: determining the remaining amount data corresponding to each management object in the equity distribution activity from the database; In the case where the remaining amount data after deduction of all management objects is not less than zero, after generating the distribution success information, it also includes: The activity identifier is deleted from the concurrency control table.
7. The method for managing the amount of equity data according to claim 1, characterized in that: The credit allocation instruction also includes a user ID of the allocated user; When the remaining amount data of all management objects after deduction is not less than zero, the distribution success information is generated, including: When the remaining amount data of all management objects after deduction is not less than zero, matching the user identifier with the dispatched record; If the user identification does not match the distributed record, generating distribution success information; In the case where the user identification matches the distributed record, the remaining amount data after deduction of each management object is restored and duplicate distribution information is generated.
8. A quota management device for equity data, characterized in that: The device comprises: An acquisition module, for determining the activity identifier of the equity distribution activity and the distribution amount of the equity data in response to the quota distribution instruction of the quota management personnel; An object determination module, used to determine a plurality of management objects corresponding to the credit management personnel in a plurality of dimensions respectively based on the management correspondence relationship and the activity identifier; wherein the management correspondence relationship is a correspondence relationship between the credit management personnel, the equity distribution activity and the management objects in each dimension; A quota determination module is used to determine the remaining quota data corresponding to each management object in the equity distribution activity from the database; A processing module, used for deducting the remaining quota data of each management object based on the distribution quota; The generation module is used to generate distribution success information when the remaining amount data of all management objects after deduction is not less than zero.
9. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the steps of the method for managing the quota of equity data as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the steps of the method for managing the quota of equity data according to any one of claims 1 to 7 are implemented.
11. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor, the steps of the method for managing the quota of equity data as described in any one of claims 1 to 7 are implemented.
