ESOP-based Resource Processing Method, Apparatus, Device, and Storage Medium
Through the ESOP-based resource processing method, the problem of cumbersome and high cost in the existing technology is solved, and more efficient resource processing and information processing is achieved.
Patent Information
- Application Number
- CN202111279645.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-29
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2041-10-29
AI Technical Summary
When distributing product resources in the prior art, the process is cumbersome and costly, resulting in low efficiency in resource processing and data processing.
Using ESOP-based resource processing methods, by obtaining resource allocation tasks, determining the business resource overhead that a first-level account needs to be paid, updating product resources and business resources, and realizing deduction of business resource overhead.
It reduces the allocation complexity, improves the allocation success rate, and improves the efficiency of resource processing and information processing processes.
Smart Images

Figure CN114119183B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular, to a resource processing method and apparatus, an electronic device, and a computer-readable storage medium based on ESOP. Background Art
[0002] When allocating product resources, certain overheads will be generated, and users who obtain the product resources need to pay this overhead. For example, users need to pay taxes, handling fees, etc. when obtaining stocks. Currently, usually after the product resources are allocated to the user account, the user is notified to pay the overhead. This processing method is relatively cumbersome and costly, resulting in low efficiency in the resource processing and data processing processes. Summary of the Invention
[0003] To solve the above technical problems, embodiments of the present application provide a resource processing method and apparatus, an electronic device, a computer-readable storage medium, and a computer program product based on ESOP.
[0004] Other features and advantages of the present application will become apparent through the following detailed description, or will be partially learned through the practice of the present application.
[0005] According to one aspect of the embodiments of the present application, a resource processing method based on ESOP is provided, including:
[0006] Obtain a resource allocation task, where the resource allocation task contains product resource allocation information to be allocated to a first-level account;
[0007] Based on the product resource allocation information, determine a first business resource overhead that the first-level account needs to pay for receiving the product resources corresponding to the product resource allocation information in the ESOP system;
[0008] Determine product resource transfer information and product resource conversion information from the product resource allocation information, and obtain target conversion information corresponding to converting the product resources corresponding to the product resource conversion information into business resources;
[0009] Based on the product resource transfer information and the target conversion information, update the product resource quantity and business resource quantity in the first-level account to obtain a first resource quantity;
[0010] Based on the first resource quantity and the first business resource overhead, update the business resource quantity in the first-level account to obtain a second resource quantity.
[0011] According to one aspect of the embodiments of the present application, a resource processing apparatus based on ESOP is provided, and the apparatus includes:
[0012] An acquisition module, configured to acquire a resource allocation task, where the resource allocation task contains product resource allocation information to be allocated to a first-level account;
[0013] A first determination module, configured to determine, based on the product resource allocation information, a first business resource cost that the first-level account needs to pay for receiving the product resources corresponding to the product resource allocation information in the ESOP system;
[0014] A second determination module, configured to determine product resource transfer information and product resource conversion information from the product resource allocation information, and obtain target conversion information corresponding to converting the product resources corresponding to the product resource conversion information into business resources;
[0015] A first update module, configured to update the product resource quantity and business resource quantity in the first-level account based on the product resource transfer information and the target conversion information, to obtain a first resource quantity;
[0016] A second update module, configured to update the business resource quantity in the first-level account based on the first resource quantity and the first business resource cost, to obtain a second resource quantity.
[0017] According to one aspect of the embodiments of the present application, there is provided an electronic device, including: one or more processors; a storage device, configured to store one or more programs, and when the one or more programs are executed by the one or more processors, the electronic device implements the ESOP-based resource processing method as described above.
[0018] According to one aspect of the embodiments of the present application, there is provided a computer-readable storage medium, on which computer-readable instructions are stored, and when the computer-readable instructions are executed by a processor of a computer, the computer executes the ESOP-based resource processing method as described above.
[0019] According to one aspect of the embodiments of the present application, there is provided a computer program product or a computer program, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the ESOP-based resource processing method provided in the above various alternative embodiments.
[0020] In the technical solution provided by the embodiments of the present application, a resource allocation task is obtained, and the resource allocation task contains product resource allocation information to be allocated to a first-level account; based on the product resource allocation information, a first business resource cost to be paid for the product resources corresponding to the product resource allocation information received by the first-level account in the ESOP system is determined; product resource transfer information and product resource conversion information are determined from the product resource allocation information, and target conversion information corresponding to converting the product resources corresponding to the product resource conversion information into business resources is obtained; based on the product resource transfer information and the target conversion information, the product resource quantity and business resource quantity in the first-level account are updated to obtain a first resource quantity; based on the first resource quantity and the first business resource cost, the business resource quantity in the first-level account is updated to obtain a second resource quantity; in this way, the product resource transfer information and the product resource conversion information are first determined from the product resource allocation information to be allocated to the first-level account, the product resources corresponding to the product resource transfer information are transferred into the first-level account, and the product resources corresponding to the product resource conversion information are converted into business resources and transferred into the first-level account for offsetting the first business resource cost, without the user having to store business resources in the first-level account additionally, reducing the allocation complexity, improving the allocation success rate, and enhancing the efficiency of the resource processing and information processing processes based on ESOP.
[0021] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. Obviously, the drawings in the following description are only some embodiments of the present application, and those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts. In the drawings:
[0023] Figure 1 is a schematic diagram of an implementation environment related to the present application.
[0024] Figure 2 is a flowchart of a resource processing method based on ESOP shown in an exemplary embodiment of the present application.
[0025] Figure 3 is Figure 2 a flowchart of step S130 in the exemplary embodiment shown in an exemplary embodiment.
[0026] Figure 4 is a flowchart of step S141 in an exemplary embodiment.
[0027] Figure 5It is a flowchart of step S142 in an exemplary embodiment.
[0028] Figure 6 It is a flowchart of a resource processing method based on ESOP shown in another exemplary embodiment of the present application.
[0029] Figure 7 It is a flowchart of a resource processing method based on ESOP shown in another exemplary embodiment of the present application.
[0030] Figure 8 It is a flowchart of a resource processing method based on ESOP shown in another exemplary embodiment of the present application.
[0031] Figure 9 It is a block diagram of a resource processing device based on ESOP shown in an exemplary embodiment of the present application.
[0032] Figure 10 It is a schematic structural diagram of an electronic device shown in an exemplary embodiment of the present application. Detailed Description of the Invention
[0033] Here, exemplary embodiments will be described in detail, and examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0034] The block diagrams shown in the drawings are only functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0035] The flowcharts shown in the drawings are only exemplary descriptions, and do not necessarily include all contents and operations / steps, nor do they necessarily need to be executed in the described order. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined. Therefore, the actual execution order may change according to the actual situation.
[0036] It should also be noted that: "a plurality of" mentioned in the present application means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.
[0037] In the related art, when performing resource processing based on ESOP, usually after the resource processing based on ESOP is given to the user, the fees to be paid are collected from the user. This processing method is rather cumbersome, with high costs, and the efficiency of the resource allocation and data processing process is relatively low. Based on this, the embodiments of the present application propose a resource processing method and device, an electronic device, a computer-readable storage medium, and a computer program product based on ESOP, which can, to a certain extent, reduce the allocation complexity, reduce costs, and improve the efficiency of the resource allocation and data processing process.
[0038] Please refer to Figure 1 , Figure 1 which is a schematic diagram of an implementation environment involved in the present application. This implementation environment includes a user device 100 and a resource processing device 200 based on ESOP (Employee Stock Ownership Plan). The user device 100 and the resource processing device 200 can communicate through a wired or wireless network.
[0039] It should be noted that the user device 100 can include, but is not limited to, any electronic device such as a smart phone, a tablet, a laptop computer, a computer, etc. The resource processing device 200 can process ESOP-related affairs and can include an ESOP system. The resource processing device 200 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. This is not limited here.
[0040] When processing resources, the user device 100 may initiate an allocation request to the resource processing device 200. The resource processing device 200 may obtain a resource allocation task according to the allocation request. The resource allocation task contains product resource allocation information to be allocated to a first-level account. Based on the product resource allocation information, determine the first business resource cost that the first-level account needs to pay for receiving the product resources corresponding to the product resource allocation information in the ESOP system. Determine the product resource transfer information and product resource conversion information from the product resource allocation information, and obtain the target conversion information corresponding to converting the product resources corresponding to the product resource conversion information into business resources. Based on the product resource transfer information and the target conversion information, update the product resource quantity and business resource quantity in the first-level account to obtain the first resource quantity. Based on the first resource quantity and the first business resource cost, update the business resource quantity in the first-level account to obtain the second resource quantity. In this way, there is no need for the user to store business resources in the first-level account additionally, reducing the allocation complexity, improving the allocation success rate, and enhancing the efficiency of the resource processing and information processing processes based on ESOP.
[0041] It should be noted that in this embodiment, the product resources include but are not limited to stocks, futures, options, securities, virtual currencies, or foreign exchanges, etc.; the business resources include but are not limited to currency resources, etc., and the business resource costs include but are not limited to taxes, handling fees, etc. that should be paid for receiving product resources.
[0042] The application scenarios include but are not limited to a company allocating stocks to employees, an individual allocating stocks to others, etc.
[0043] The following elaborates in detail on various implementation details of the technical solutions of the embodiments of the present application:
[0044] Please refer to Figure 2 , Figure 2 which is a flowchart of a resource processing method based on ESOP shown according to an exemplary embodiment. This method can be applied to Figure 1 the implementation environment shown in Figure 1 and is specifically executed by the resource processing device 200 in the implementation environment shown in the embodiment.
[0045] As Figure 2 shown, in an exemplary embodiment, the resource processing method based on ESOP may include steps S110 to S150, which are introduced in detail as follows:
[0046] Step S110, obtain a resource allocation task.
[0047] The resource allocation task contains product resource allocation information to be allocated to a first-level account.
[0048] Among them, the first-level account is the account to which product resources are to be allocated, that is, the account that receives product resources and is used to store product resources, including the quantity of product resources. The first-level account includes, but is not limited to, the account corresponding to an employee, a personal account, etc. For example, in the application scenario where a company allocates stocks to employees, the first-level account can be the account corresponding to the employee. The number of first-level accounts can be flexibly set according to actual needs, including but not limited to one or more.
[0049] Product resources include, but are not limited to, virtual product resources, such as stocks, futures, options, securities, virtual currencies, funds, or foreign exchanges, etc.
[0050] The product resource allocation information contains the information corresponding to the product resources to be allocated to the first-level account. The product resource allocation information may include the product resource allocation quantity, that is, the quantity corresponding to the product resources to be allocated to the first-level account. For example, the quantity of stocks to be allocated to the first-level account, or the quantity of funds to be allocated to the first-level account.
[0051] Before performing resource processing, in this embodiment, first obtain a resource allocation task that contains the product resource allocation information to be allocated to the first-level account.
[0052] Step S120, based on the product resource allocation information, determine the first business resource cost that the first-level account needs to pay for receiving the product resources corresponding to the product resource allocation information in the ESOP system.
[0053] First of all, it should be noted that the first business resource cost is the cost that the first-level account needs to pay for receiving the product resources corresponding to the product resource allocation information in the ESOP system, and this cost is settled in the form of business resources. The first business resource cost includes, but is not limited to, at least one of taxes, handling fees, the cost of product resources, etc.
[0054] Secondly, the ESOP system is a system used to process ESOP-related businesses.
[0055] When the first-level account receives product resources, it needs to pay a certain cost, and this cost is settled in the form of business resources. For example, in the scenario where a company allocates stocks to employees, the employees who receive the stocks need to pay costs such as taxes, handling fees, and the cost of stocks, and this cost is settled in the form of currency. In order to determine how much cost is required, in this embodiment, based on the product resource allocation information, determine the first business resource cost that the first-level account needs to pay for receiving the product resources corresponding to the product resource allocation information in the ESOP system.
[0056] Among them, the specific determination method can be flexibly set according to actual needs. In one example, the business resource cost corresponding to the primary account can be determined based on one or more of the following parameters: product resource allocation information, historical conversion parameters between product resources and business resources, and historical business resource costs paid for the primary account. It should be noted that the historical conversion parameter between product resources and business resources is the conversion ratio during the historical conversion between product resources and business resources, which is used to indicate how many business resources a certain amount of product resources can be converted into during the historical conversion process. For example, in the scenario where a company allocates stocks to employees, the tax that an employee needs to pay can be estimated based on the number of stocks allocated to the employee, the historical trading price of the stocks, and the tax already paid by the employee.
[0057] Among them, the first business resource cost can be determined before converting the product resources corresponding to the product resource conversion information into business resources; or, the first business resource cost can also be determined after converting the product resources corresponding to the product resource conversion information into business resources; or, both can be carried out simultaneously. In this embodiment, the sequence of the two is not restricted.
[0058] Step S130: Determine the product resource transfer information and product resource conversion information from the product resource allocation information, and obtain the target conversion information corresponding to converting the product resources corresponding to the product resource conversion information into business resources.
[0059] Among them, the product resource transfer information is the information corresponding to the product resources that need to be transferred to the primary account, which may include the product resource transfer amount (i.e., the quantity of product resources that need to be transferred to the primary account); the product resource conversion information is the information corresponding to the product resources that need to be converted into business resources, which may include the product resource conversion amount (i.e., the quantity of product resources corresponding to those that need to be converted into business resources). In one example, the product resource allocation information includes the product resource allocation quantity, the product resource conversion information includes the product resource conversion quantity, the product resource transfer information includes the product resource transfer quantity, and the product resource allocation quantity = product resource conversion quantity + product resource transfer quantity.
[0060] The target conversion information is the information corresponding to converting the product resources corresponding to the product resource conversion information into business resources. That is to say, in this embodiment, the product resources corresponding to the product resource conversion information will be converted into business resources, and the target conversion information includes the relevant information of this conversion. The target conversion information may include at least one of the quantity of the product resources for conversion and the quantity of the business resources obtained after conversion. For example, when the product resources are stocks and the business resources are funds, the stocks corresponding to the product resource conversion information can be traded to obtain funds, and the target conversion information may include the quantity of the stocks traded and the quantity of the funds obtained from the transaction.
[0061] In this embodiment, after obtaining the product resource allocation information, the product resource transfer information and the product resource conversion information are determined from the resource allocation information. The specific determination method can be flexibly set according to actual needs. For example, the product resource conversion information can be determined according to the business resource cost.
[0062] In order to offset the business resource cost, in this embodiment, it is also necessary to obtain the resource conversion information corresponding to converting the product resources corresponding to the product resource conversion information into business resources, that is, after converting the product resources corresponding to the product resource conversion information into business resources, obtain the relevant information of this conversion as the target conversion information. Among them, the method of obtaining the target conversion information can be flexibly set according to actual needs. For example, the target conversion information can be input by the user or obtained from the conversion system. The conversion system is a system that converts product resources into business resources. For example, when the product resource is stocks and the business resource is funds, the conversion system is a trading system that supports stock trading.
[0063] Step S140, based on the product resource transfer information and the target conversion information, update the product resource quantity and the business resource quantity in the primary account to obtain the first resource quantity.
[0064] The primary account is also used to store business resources, including the business resource quantity.
[0065] After determining the product resource transfer information and the target resource conversion information, based on the product resource transfer information and the target conversion information, update the product resource quantity and the business resource quantity in the primary account to obtain the first resource quantity, thereby transferring the product resources and business resources from the secondary account to the primary account to achieve the allocation of product resources.
[0066] Among them, the secondary account is the account from which the product resources are transferred out and is used to store product resources and business resources. It includes, but is not limited to, the accounts corresponding to employees, individuals, companies, etc. For example, in the application scenario of a company allocating stocks to employees, the secondary account is the account corresponding to the company to which the employees belong.
[0067] The product resource quantity in the primary account can be updated first, and then the business resource quantity in the primary account can be updated; or, the business resource quantity in the primary account can be updated first, and then the product resource quantity in the primary account can be updated; or, the business resource quantity and the product resource quantity in the primary account can be updated simultaneously. In this embodiment, the execution order of the two is not limited.
[0068] Step S150, based on the first resource quantity and the first business resource cost, update the business resource quantity in the primary account to obtain the second resource quantity.
[0069] After updating the product resource quantity and business resource quantity in the first-level account to obtain the first resource quantity, the business resource quantity in the first-level account is updated based on the first business resource expenditure to obtain the second resource quantity, that is, on the basis of the first resource quantity, the business resource quantity corresponding to the first business resource expenditure is subtracted, so as to obtain the second resource quantity, so as to realize the deduction of the business resource expenditure.
[0070] In some examples, under the condition that the business resource is a monetary resource, step S150 includes: transferring the funds corresponding to the business resource expenditure in the first-level account to the corresponding bank account, so as to facilitate obtaining the funds transferred into the relevant account from the corresponding bank account. For example, assuming that the business resource expenditure includes taxes, the funds corresponding to the business resource expenditure in the first-level account can be transferred to the bank account corresponding to the second-level account, so as to obtain the corresponding funds from the bank account corresponding to the second-level account for tax payment.
[0071] In the solution provided by the embodiment of the present application, a resource allocation task is obtained, and the resource allocation task contains product resource allocation information to be allocated to the first-level account; based on the product resource allocation information, the first business resource expenditure to be paid for the product resources corresponding to the product resource allocation information received by the first-level account in the ESOP system is determined; the product resource transfer information and product resource conversion information are determined from the product resource allocation information, and the target conversion information corresponding to converting the product resources corresponding to the product resource conversion information into business resources is obtained; based on the product resource transfer information and the target conversion information, the product resource quantity and business resource quantity in the first-level account are updated to obtain the first resource quantity; based on the first resource quantity and the first business resource expenditure, the business resource quantity in the first-level account is updated to obtain the second resource quantity; in this way, first, the product resource transfer information and product resource conversion information are determined from the product resource allocation information to be allocated to the first-level account, the product resources corresponding to the product resource transfer information are transferred into the first-level account, and the product resources corresponding to the product resource conversion information are converted into business resources and transferred into the first-level account for deducting the first business resource expenditure, without the user storing business resources in the first-level account additionally, reducing the allocation complexity, improving the allocation success rate, and improving the efficiency of the resource processing and information processing process based on ESOP.
[0072] In an exemplary embodiment, before obtaining the target conversion information corresponding to converting the product resources corresponding to the product resource conversion information into business resources, the resource processing method based on ESOP may further include: converting the product resources corresponding to the product resource conversion information into business resources.
[0073] Among them, the product resources corresponding to the product resource conversion information in the secondary account can be converted into business resources. In this way, the conversion of resources is unified in the secondary account, which can reduce the processing complexity and improve the processing efficiency. Under the condition that the number of primary accounts is multiple and the product resources are stocks, it can also avoid bringing fluctuations to the stock market.
[0074] When the number of primary accounts is multiple, the total amount of product resource conversion can also be obtained, and the product resources corresponding to the total amount of product resource conversion in the secondary account are converted into business resources. In this way, the product resources corresponding to multiple primary accounts can be uniformly converted, which can further reduce the processing complexity and improve the processing efficiency.
[0075] In an exemplary embodiment, the number of primary accounts includes multiple. Therefore, there are multiple resource allocation information in the resource allocation task, and one primary account corresponds to one resource allocation information; in step S120, multiple first business resource expenditures are determined, and one primary account corresponds to one first business resource expenditure.
[0076] Please refer to Figure 3 , Figure 3 For the condition that the number of primary accounts includes multiple and the product resource allocation information includes the product resource allocation quantity, Figure 2 the flowchart of step S130 in the embodiment shown in Figure 3 As shown, the process of determining the resource transfer information and the resource transaction information from the product resource allocation information may include steps S210 - S240, which are introduced in detail as follows:
[0077] Step S210, obtain the total amount of product resource conversion, and sum the first business resource expenditures corresponding to multiple primary accounts to obtain the total business resource expenditure.
[0078] It should be noted that the total business resource expenditure is the sum of the first business resource expenditures corresponding to multiple primary accounts, and its calculation method can be as follows:
[0079]
[0080] Among them, fee total is the total business resource expenditure, fee i is the first business resource expenditure corresponding to the i-th primary account, n is the number of primary accounts, and i is an integer greater than or equal to 1 and less than or equal to n.
[0081] The total amount of product resource conversion is the quantity of product resources required to offset the first business resource expenses corresponding to multiple first-level accounts. Its specific acquisition method can be flexibly set according to actual needs. For example, it can be input by the user, or if the product resources corresponding to the product resource conversion information have been converted into business resources when step S210 is executed, the total amount of product resource conversion can also be obtained from the conversion system; or if the product resources corresponding to the product resource conversion information have not been converted into business resources when step S210 is executed, the total amount of product resource conversion can be determined according to parameters such as the total business resource expenses and the historical conversion parameters between product resources and business resources. That is, the quotient of the total business resource expenses and the historical unit conversion parameter can be used as the total amount of product resource conversion. To avoid the situation where the converted business resources are insufficient to cover the total business resource expenses, a certain quantity can also be added to the quotient of the total business resource expenses and the historical unit conversion parameter as the total amount of product resource conversion. For example, assuming the quotient of the total business resource expenses and the historical unit conversion parameter is 5, 2 can be added on this basis, and 7 is used as the total amount of product resource conversion; among them, the unit conversion parameter is the quantity of business resources obtained by converting a unit quantity of product resources into business resources, and the historical unit conversion parameter is the unit conversion parameter in the historical conversion process. For example, for stocks, the historical unit conversion parameter is the unit price of stocks in the historical trading process. Or, the total amount of product resource conversion can be determined according to parameters such as the total business resource expenses and the historical conversion parameters between product resources and business resources, and the adjustment instruction for the total amount of product resource conversion from relevant personnel is received, and the adjusted total amount of product resource conversion is used as the final total amount of product resource conversion.
[0082] Step S220: Calculate the ratio of the first business resource expenses corresponding to each first-level account to the total business resource expenses respectively to obtain the weight value corresponding to each first-level account.
[0083] The method of the weight value is as follows:
[0084]
[0085] Step S230: Determine the product resource conversion quantity corresponding to each first-level account according to the total amount of product resource conversion and the weight value corresponding to each first-level account, and obtain the product resource conversion information corresponding to each first-level account.
[0086] After obtaining the total amount of product resource conversion and the weight value corresponding to each first-level account, the product resource conversion quantity corresponding to each first-level account can be determined respectively according to the total amount of product resource conversion and the weight value corresponding to each first-level account, and the product resource conversion quantity is used as the product resource conversion information of the corresponding first-level account. In this way, determining the product resource conversion quantity according to the proportion of the first business resource expenses can improve the fairness of the allocation.
[0087] Among them, the specific determination method can be flexibly set according to actual needs.
[0088] For example, in an exemplary embodiment, step S230 may include: first, calculate the product of the total product resource conversion amount and the weight value corresponding to each first-level account respectively, and use the obtained products as the product resource conversion amounts corresponding to each first-level account.
[0089] Or, in another exemplary embodiment, in step S230, the process of determining the product resource conversion amounts corresponding to each first-level account according to the total product resource conversion amount and the weight values corresponding to each first-level account may include steps S231 - S235, which are introduced in detail as follows:
[0090] Step S231, calculate the product of the weight value corresponding to each first-level account and the total product resource conversion amount to obtain the initial product resource conversion amounts corresponding to each first-level account.
[0091] Among them, the calculation method of the initial product resource conversion amount is as follows:
[0092]
[0093] Where S i is the initial product resource conversion amount corresponding to the i-th first-level account, and Q is the total product resource conversion amount.
[0094] It should be noted that since the product of the weight value corresponding to the first-level account and the total product resource conversion amount may not be an integer, for the convenience of calculation, a preset number of decimal places can be retained; in one example, it can be rounded to retain 2 decimal places, that is, the third decimal place is rounded, so as to retain two decimal places. For example, assuming that the product of the weight value corresponding to the first-level account and the total product resource conversion amount is 2.875, the value is taken as 2.88. If the product of the weight value corresponding to the first-level account and the total product resource conversion amount is 3.66435, the value is taken as 3.66.
[0095] Under the condition of retaining a preset number of decimal places, in order to ensure that the total product resource conversion amount is equal to the sum of the initial product resource conversion amounts corresponding to multiple first-level accounts, for the initial product resource conversion amount corresponding to the n-th first-level account, its calculation method can be as follows:
[0096]
[0097] Step S232, sum the integer parts of the initial product resource conversion amounts corresponding to multiple first-level accounts to obtain a first value, and obtain the difference between the total product resource conversion amount and the first value, and use the determined difference as the second value.
[0098] It should be noted that the calculation method of the second value is as follows:
[0099]
[0100] where q is the second value, and S′ i is the integer part of the initial product resource conversion amount corresponding to the i-th primary account.
[0101] Step S233: Sort the decimal parts of the initial product resource conversion amounts corresponding to multiple primary accounts in descending order.
[0102] The calculation method of the decimal part of the initial product resource conversion amount is as follows:
[0103] d i = S i - S′ i
[0104] where d i is the decimal part of the initial product resource conversion amount corresponding to the i-th primary account.
[0105] To ensure that q is the sum of the decimal parts of the initial product resource conversion amounts corresponding to multiple primary accounts, for the decimal part of the initial product resource conversion amount corresponding to the n-th primary account, its calculation method can be as follows:
[0106]
[0107] Then, sort d 1 - d n in descending order.
[0108] Step S234: If the serial number of the decimal part of the initial product resource conversion amount is less than or equal to the second value, then use the value obtained by adding one to the integer part of the initial product resource conversion amount as the product resource conversion amount of the corresponding primary account.
[0109] If the serial number of the decimal part of the initial product resource conversion amount is less than or equal to the second value, that is, the position of the decimal part of the initial product resource conversion amount is among the first q, then add one to the integer part of the initial product resource conversion amount, and use the value after adding one as the product resource conversion amount of the corresponding primary account.
[0110] Step S235: If the serial number of the decimal part of the initial product resource conversion amount is greater than the second value, then use the integer part of the initial product resource conversion amount as the product resource conversion amount of the corresponding primary account.
[0111] If the serial number of the decimal part of the initial product resource conversion amount is greater than the second value, that is, the position of the decimal part of the initial product resource conversion amount is after the q-th position, then use the integer part of the initial product resource conversion amount as the product resource conversion amount of the corresponding primary account.
[0112] That is, the method for determining the product resource conversion volume is as follows:
[0113]
[0114] Among them, S″ i is the product resource conversion volume corresponding to the i-th first-level account.
[0115] For example, assume that there are 4 first-level accounts. The initial product resource conversion volume of account 1 is 2.58, the initial product resource conversion volume of account 2 is 3.68, the initial product resource conversion volume of account 3 is 9.78, and the initial product resource conversion volume of account 4 is 15.98. If q is 2, then the sorting of the decimal parts is account 4 > account 3 > account 2 > account 1. Therefore, the product resource conversion volume of account 4 is 16 (i.e., 15 + 1), the product resource conversion volume of account 3 is 10 (i.e., 9 + 1), the product resource conversion volume of account 2 is 3, and the product resource conversion volume of account 1 is 2.
[0116] In steps S231 - S235, determining the final product resource conversion volume according to the size of the decimal part of the initial product resource conversion volume can improve the fairness of distribution.
[0117] In this embodiment, the product resource conversion volume is determined according to steps S231 - S235. In other embodiments, the product resource conversion volume can also be directly specified by relevant personnel.
[0118] Step S240: Calculate the difference between the product resource allocation volume and the product resource conversion volume corresponding to each first-level account to obtain the product resource transfer volume corresponding to each first-level account, and use the obtained product resource transfer volume as the product resource transfer information corresponding to the first-level account.
[0119] The method for determining the product resource transfer volume is as follows:
[0120] H i = X i - S″ i
[0121] Among them, H i is the product resource transfer volume corresponding to the i-th first-level account, and X i is the product resource allocation volume corresponding to the i-th first-level account.
[0122] In this embodiment, determining the product resource conversion volume and the product resource transfer volume according to the first business resource expenditure corresponding to each second-level account improves the fairness of distribution.
[0123] In an exemplary embodiment, Figure 2In step S140 of the illustrated embodiment, the process of updating the product resource quantity and the service resource quantity in the primary account based on the product resource transfer information and the target conversion information to obtain the first resource quantity may include steps S141 - S142, which are introduced in detail as follows:
[0124] Step S141, determine the service resource transfer information according to the target conversion information and the product resource conversion information.
[0125] Among them, the service resource transfer information is the information corresponding to the service resources that need to be transferred into the primary account. The service resource transfer information may include the service resource transfer quantity, that is, the quantity of the service resources that need to be transferred into the primary account.
[0126] In this embodiment, the service resource transfer information can be determined according to the resource conversion information and the product resource conversion information, and the specific determination method can be flexibly set according to actual needs.
[0127] Step S142, update the product resource quantity in the primary account according to the product resource transfer information, and update the service resource quantity in the primary account according to the service resource transfer information to obtain the first resource quantity.
[0128] After obtaining the product resource transfer information and the service resource transfer information, the product resource quantity in the primary account can be updated according to the product resource transfer information, and the service resource quantity in the primary account can be updated according to the service resource transfer information to obtain the first resource quantity.
[0129] Among them, the product resource quantity corresponding to the product resource transfer information can be increased in the primary account, and the service resource quantity corresponding to the service resource transfer information can be increased in the primary account, so as to realize the update of the service resource quantity and the product resource quantity in the primary account. Correspondingly, the product resource quantity corresponding to the product resource transfer information needs to be reduced in the secondary account, and the service resource quantity corresponding to the service resource transfer information needs to be reduced in the secondary account, so as to realize the transfer of the product resources and the service resources from the secondary account to the primary account, thus realizing the transfer of resources. For example, assume that the product resource transfer quantity included in the product resource transfer information is 1, and the service resource transfer quantity included in the service resource transfer information is 2; before the update, the product resource quantity included in the primary account is 5, the service resource quantity is 8, the product resource quantity included in the secondary account is 100, and the service resource quantity is 200. After the update, the product resource quantity included in the primary account is 6, the service resource quantity is 10, the product resource quantity included in the secondary account is 99, and the service resource quantity is 198.
[0130] In this embodiment, the service resource transfer information is determined according to the target conversion information and the product resource conversion information. The product resource quantity in the primary account is updated according to the product resource transfer information, and the service resource quantity in the primary account is updated according to the service resource transfer information to obtain the first resource quantity, thereby realizing the transfer of product resources and service resources and the allocation of product resources.
[0131] Please refer to Figure 4 , Figure 4 FIG. for a flowchart of step S141 in an exemplary embodiment when the quantity in the primary account includes multiple and the product resource conversion information includes the product resource conversion quantity. As Figure 4 shown, the process of determining the service resource transfer information according to the target conversion information and the product resource conversion information may include step S310 - step S330, which are introduced in detail as follows:
[0132] Step S310, obtain the total product resource conversion quantity and the total service resource quantity contained in the target conversion information.
[0133] The target conversion information contains the total product resource conversion quantity and the total service resource quantity. Among them, the total product resource conversion quantity is the sum of the product resource transfer quantities corresponding to multiple primary accounts, and the total service resource quantity is the service resource quantity obtained by converting the product resources corresponding to the total product resource conversion quantity into service resources.
[0134] Parse the target conversion information, and thus the total product resource conversion quantity and the total service resource quantity can be obtained.
[0135] Step S320, calculate the quotient of the total service resource quantity and the total product resource conversion quantity to obtain the unit conversion parameter.
[0136] Among them, the unit conversion parameter is the service resource quantity obtained by converting a unit of product resource into service resources; for example, when the product resource is stocks and the service resource is funds, the unit conversion parameter is the unit price of stocks, that is, the price of a unit quantity of stocks.
[0137] The calculation method of the unit conversion parameter can be as follows:
[0138]
[0139] Among them, P is the unit conversion parameter and R is the total service resource quantity.
[0140] To reduce the calculation complexity, P can only retain a certain number of decimal places, for example, 3 digits, 2 digits, etc.
[0141] Step S330: Calculate the product of the product resource conversion volume corresponding to each first-level account and the unit conversion parameter to obtain the business resource transfer volume corresponding to each first-level account, and use the obtained business resource transfer volume as the business resource transfer information corresponding to the corresponding first-level account.
[0142] The calculation method of the business resource transfer volume can be represented by Formula 1:
[0143] C i =S″ i *P…………Formula 1
[0144] Where, C i is the business resource transfer volume corresponding to the i-th first-level account.
[0145] To ensure that the total business resources are the sum of the business resource transfer volumes corresponding to multiple first-level accounts, the determination method of the business resource transfer volume corresponding to the n-th first-level account can be as follows:
[0146]
[0147] After determining the business resource transfer volume corresponding to each first-level account, use the business resource transfer volume as the business resource transfer information corresponding to the corresponding first-level account.
[0148] In this embodiment, the business resource transfer volume is determined based on Step S310 - Step S330. In other embodiments, the business resource transfer volume can also be specified by relevant personnel.
[0149] In this embodiment, reasonably determining the business resource transfer volume corresponding to each first-level account improves the fairness of the distribution.
[0150] Please refer to Figure 5 , Figure 5 which is the flowchart of Step S142 in an exemplary embodiment. As Figure 5 shown, updating the product resources in the first-level account according to the product resource transfer information and updating the business resources in the first-level account according to the business resource transfer information to obtain the first resource volume can include Step S410 - Step S420, which are introduced in detail as follows:
[0151] Step S410: If a first update instruction is received, update the product resources in the first-level account according to the product resource transfer information.
[0152] Among them, the first update instruction is an instruction used to trigger the update of the product resources in the first-level account according to the product resource transfer information, and it can be generated according to the operations of relevant personnel.
[0153] In this embodiment, after receiving the first update instruction, update the product resources in the first-level account according to the product resource transfer information.
[0154] In some embodiments, before receiving the first update instruction, the product resource conversion quantity included in the product resource conversion information can also be locked. After the locking, the first update instruction can be triggered, so as to avoid the situation that the product resource conversion quantity is changed again after the product resource quantity in the primary account is updated, resulting in data conflict. Among them, the product resource conversion quantity can be locked according to the user's instruction.
[0155] Step S420: If the second update instruction is received, update the business resource quantity in the primary account according to the business resource transfer information.
[0156] Among them, the second update instruction is an instruction used to trigger the update of the business resource quantity in the primary account according to the business resource transfer information, and it can be generated according to the operations of relevant personnel.
[0157] In this embodiment, after receiving the second update instruction, update the business resource quantity in the primary account according to the business resource transfer information.
[0158] In some embodiments, before receiving the second update instruction, the business resource transfer quantity included in the business resource transfer information can also be locked. After the locking, the second update instruction can be triggered, so as to avoid the situation that the business resource transfer quantity is changed again after the business resource quantity in the primary account is updated, resulting in data conflict. Among them, the business resource transfer quantity can be locked according to the user's instruction.
[0159] It should be noted that in this embodiment, the sequence of steps S410 and S420 is not limited.
[0160] In this embodiment, update the product resource quantity in the primary account according to the first update instruction, and update the business resource quantity in the primary account according to the second update instruction, so that the update of product resources and business resources can actually be arbitrarily set by the user according to actual needs, improving the flexibility of resource processing.
[0161] In an exemplary embodiment, after determining the product resource conversion quantity and the business resource transfer quantity, the resource processing method based on ESOP may further include steps S510 - S530, which are introduced in detail as follows:
[0162] Step S510: If the product resource conversion quantity is in a locked state and the business resource transfer quantity is in an unlocked state, after receiving the modification instruction for the business resource transfer quantity, modify the business resource transfer quantity according to the modification instruction.
[0163] For parameters in the unlocked state, in this embodiment, the user is supported to modify them. Therefore, under the condition that the product resource conversion volume is in the locked state and the business resource transfer volume is in the unlocked state, the modification of the business resource transfer volume is supported. For example, after determining the product resource conversion volume, it can be presented to the user, and the user can determine whether to modify it according to the actual situation. If necessary, the product resource conversion volume can be modified through the user input window.
[0164] Among them, if the number of first-level accounts is multiple, this modification can be to modify the business resource transfer volume of one of the first-level accounts, or to modify the business resource transfer volumes of at least two first-level accounts.
[0165] In this embodiment, under the condition that the product resource conversion volume is in the locked state and the business resource transfer volume is in the unlocked state, if a modification instruction for the business resource transfer volume is received, the business resource transfer volume is modified according to the modification instruction. The modification instruction can be triggered by the user.
[0166] Step S520, if the product resource conversion volume is in the unlocked state and the business resource transfer volume is in the locked state, after receiving a modification instruction for the product resource conversion volume, the product resource conversion volume is modified according to the modification instruction, and the product resource transfer volume is modified according to the modified product resource conversion volume.
[0167] Under the condition that the product resource conversion volume is in the unlocked state and the business resource transfer volume is in the locked state, the modification of the product resource conversion volume is supported. Among them, if the number of first-level accounts is multiple, this modification can be to modify the product resource conversion volume of one of the first-level accounts, or to modify the product resource conversion volumes of at least two first-level accounts. Since the product resource conversion volume will affect the product resource transfer volume, after modifying the product resource conversion volume, the product resource transfer volume also needs to be modified.
[0168] In this embodiment, under the condition that the product resource conversion volume is in the unlocked state and the business resource transfer volume is in the locked state, if a modification instruction for the product resource conversion volume is received, the product resource conversion volume is modified according to the modification instruction, and the product resource transfer volume is modified according to the modified product resource conversion volume.
[0169] Among them, the product resource allocation volume is the sum of the modified product resource conversion volume and the modified product resource transfer volume.
[0170] Step S530, if the product resource conversion volume and the business resource transfer volume are not in the locked state, after receiving a modification instruction, the product resource conversion volume and the business resource transfer volume are modified according to the modification instruction.
[0171] Under the condition that the conversion amount of product resources and the transfer amount of business resources are not in a locked state, modifications to the conversion amount of product resources and the transfer amount of business resources are supported. Among them, the user can issue only a modification instruction for the conversion amount of product resources, or only a modification instruction for the transfer amount of business resources, or also issue a modification instruction for both the conversion amount of product resources and the transfer amount of business resources. Therefore, step S530 includes the following three cases:
[0172] First: If the conversion amount of product resources and the transfer amount of business resources are not in a locked state, after receiving a modification instruction for the conversion amount of product resources, modify the conversion amount of product resources according to the modification instruction, and modify the transfer amount of product resources and the transfer amount of business resources according to the modified conversion amount of product resources.
[0173] It should be noted that if the received modification instruction is for the conversion amount of product resources, then modify the conversion amount of product resources according to the modification instruction. Since the conversion amount of product resources will affect the transfer amount of product resources and the transfer amount of business resources, it is also necessary to modify the transfer amount of product resources and the transfer amount of business resources according to the modified conversion amount of product resources. For example, if the user only modifies the conversion amount of product resources, then the transfer amount of product resources and the transfer amount of business resources can be modified based on the modified conversion amount of product resources.
[0174] Among them, for the method of modifying the transfer amount of product resources according to the modified conversion amount of product resources, please refer to step S520. For the method of modifying the transfer amount of business resources according to the modified conversion amount of product resources, it can be modified according to the aforementioned formula 1, so that the relationship between the modified conversion amount of product resources and the modified transfer amount of business resources corresponds to formula 1.
[0175] Second: If the conversion amount of product resources and the transfer amount of business resources are not in a locked state, after receiving a modification instruction for the transfer amount of business resources, modify the transfer amount of business resources according to the modification instruction.
[0176] After modifying the transfer amount of business resources, the conversion amount of product resources and the transfer amount of product resources can be modified according to the modified transfer amount of business resources.
[0177] Among them, for the method of modifying the conversion amount of product resources according to the modified transfer amount of business resources, it can be modified according to the aforementioned formula 1, so that the relationship between the modified transfer amount of business resources and the modified conversion amount of product resources corresponds to formula 1.
[0178] Third: If the conversion amount of product resources and the transfer amount of business resources are not in a locked state, after receiving a modification instruction for both the transfer amount of business resources and the conversion amount of product resources, modify the transfer amount of business resources and the conversion amount of product resources according to the modification instruction.
[0179] For example, if the user modifies both the volume of business resource transfer and the volume of product resource conversion, the volume of business resource transfer and the volume of product resource conversion can be determined based on the user's modifications.
[0180] In this embodiment, the user's modification of the volume of product resource conversion and the volume of business resource transfer is supported, thereby realizing the user's review of the volume of product resource conversion and the volume of business resource transfer, and improving the accuracy of data.
[0181] Please refer to Figure 6 , Figure 6 which is a flowchart of a resource processing method based on ESOP shown according to another exemplary embodiment. As Figure 6 shown, the method further includes steps S160 - S170, which are introduced in detail as follows:
[0182] Step S160: Obtain the conversion parameter of the unit product resource and the business resource on the target date, and determine the second business resource expense corresponding to the first-level account according to the obtained conversion parameter.
[0183] It should be noted that the unit product resource is the product resource in unit quantity, and the conversion parameter of the unit product resource and the business resource on the target date. The target date is the date when the product resource volume in the first-level account is updated, that is, the date when the product resource corresponding to the product resource transfer information is transferred to the first-level account.
[0184] The conversion parameter of the unit product resource and the business resource on the target date includes the conversion ratio of the unit virtual resource and the business resource on the target date; for example, for stocks, the conversion parameter of the unit product resource and the business resource on the target date can be the closing price of the unit quantity of virtual resources on the target date.
[0185] It should be noted that there will be a difference between the first business resource expense determined in step S120 and the actually payable business resource expense. The actually payable business resource expense is usually determined based on the conversion parameter of the product resource and the business resource on the target date. Therefore, in this embodiment, the conversion parameter of the unit product resource and the business resource on the target date can be obtained, and the second business resource expense corresponding to the first-level account can be determined according to the obtained conversion parameter. For example, assuming that the product resource is stocks and the business resource is funds, obtain the closing price of the unit quantity of stocks on the target date, and determine the tax, etc. corresponding to the first-level account according to the obtained price, and use the obtained tax, etc. as the second business resource expense. Among them, the specific method for determining the second business resource expense can be flexibly set according to actual needs.
[0186] In one implementation, to improve the accuracy of the second business resource cost, step S160 may include: calculating the business resource cost to be paid by the primary account according to the obtained conversion parameters; auditing the calculated business resource cost, and using the audited business resource cost as the second business resource cost. Among them, the auditing method may be manual auditing. During the auditing process, if the calculated business resource cost is incorrect, the calculated business resource cost can be adjusted.
[0187] Step S170, after updating the business resource amount in the primary account based on the first resource amount and the first business resource cost to obtain the second resource amount, adjust the business resource amount in the primary account according to the first business resource cost and the second business resource cost corresponding to the primary account.
[0188] After determining the second business resource cost corresponding to the primary account, and updating the business resource amount in the primary account based on the first resource amount and the first business resource cost to obtain the second resource amount, in this embodiment, the business resource amount in the primary account is adjusted according to the second business resource cost and the first business resource cost corresponding to the primary account. The adjustment strategy is to make up for the difference. For example, if the second business resource cost is greater than the first business resource cost, obtain the difference obtained by subtracting the first business resource cost from the second business resource cost, and deduct the business resource amount corresponding to the difference from the primary account; if the second business resource cost is equal to the first business resource cost, no processing is required; if the second business resource cost is less than the first business resource cost, obtain the difference obtained by subtracting the second business resource cost from the first business resource cost, and transfer the business resource corresponding to the difference to the primary account. Among them, the business resource amount corresponding to the difference can be transferred from the secondary account to the primary account, or the business resource amount corresponding to the difference can also be transferred from the bank account corresponding to the secondary account to the primary account.
[0189] In this embodiment, the first business resource cost is estimated first, then the second business resource cost is determined, and the business resource amount in the primary account is adjusted according to the second business resource cost and the first business resource cost corresponding to the primary account, so that the allocation method is more flexible.
[0190] In an exemplary embodiment, step S110 includes steps S111 - S112, which are introduced in detail as follows:
[0191] Step S111, receive a first allocation request from a user device, create a resource allocation task according to the first allocation request, and send the task identifier corresponding to the resource allocation task to the user device.
[0192] Among them, the first allocation request is used to request the allocation of ESOP-based resources to a specified account, and the task identifier is the identifier corresponding to the resource allocation task created according to the first allocation request. Among them, the task identifier can be the id (Identity document) assigned to the corresponding resource allocation task.
[0193] In this embodiment, after receiving the first allocation request, a resource allocation task will be created according to the first allocation request, and the task identifier corresponding to the resource allocation task will be sent to the user device.
[0194] To avoid the situation of repeatedly creating resource allocation tasks for the same allocation request, in one implementation, step S111 may include: receiving the first allocation request from the user device, obtaining the request identifier from the first allocation request, and searching for the request identifier in the task database; if the request identifier is not found in the task database, creating the resource allocation task corresponding to the first allocation request and the task identifier of the resource allocation task, storing the mapping relationship between the request identifier, the created resource allocation task, and the task identifier in the task database, and sending the created task identifier to the user device; if the request identifier is found in the task database, sending the task identifier corresponding to the request identifier to the user device. In this way, through the comparison of the request identifiers, it can be quickly determined whether there is a corresponding resource allocation task in the task database, preventing the situation where the resource allocation tasks corresponding to the same allocation request are repeatedly created and executed.
[0195] Among them, the first allocation request contains a request identifier, which is used to uniquely identify the first allocation request, and it includes but is not limited to the id of the first allocation request.
[0196] The task database stores the mapping relationship between the created resource allocation tasks, task identifiers, and request identifiers.
[0197] Step S112, receiving the second allocation request from the user device, and obtaining the resource allocation task according to the second allocation request.
[0198] The second allocation request is generated by the user device according to the received task identifier. The second allocation request contains the task identifier, so that the allocation system can obtain the corresponding resource allocation task according to the task identifier contained in the second allocation request and perform corresponding processing. In this way, through two requests, the resource allocation tasks of the user device and the allocation system are made consistent.
[0199] In an example, see Figure 7 As shown, the user device may include an ESOP system, and the ESOP-based resource processing device includes an SBA system. The SBA system is an interface platform for the unified external access of a trading system; the trading system is a system for stock trading.
[0200] The ESOP system generates an allocation request containing a request identifier (i.e., the request_id in Figure 7 ) according to the user operation, and sends the allocation request to the SBA system. The SBA system generates a resource allocation task order and a task identifier according to the allocation request, and sends the task identifier (i.e., the s_id in Figure 7 ) to the ESOP system. The ESOP system initiates a secondary confirmation based on the task identifier. The SBA system finds the corresponding resource allocation task order from the task database according to the task identifier in the secondary confirmation process and internally marks it, and returns a confirmation success message to the ESOP system. Then, the SBA system starts to process the resource allocation task order (for example, trading product resources through a trading system, etc.).
[0201] In this embodiment, through two requests, the allocation tasks of the user device and the ESOP-based resource processing device are matched, thereby improving the accuracy of allocation.
[0202] To better understand the present invention, in this embodiment, an example of a company allocating stocks to employees is used for illustration. The stocks may include RSU. Among them, RSU restricted stocks refer to a certain number of the company's own stocks granted to the incentive object by the listed company according to pre-determined conditions. The incentive object can only sell the restricted stocks and benefit therefrom when the working years or performance targets meet the conditions stipulated in the equity incentive plan.
[0203] In this embodiment, the product resource is stocks, the business resource is funds (currency), the product resource transfer volume is the stock transfer volume, the product resource conversion volume is the stock trading volume, the primary account is the account corresponding to the employee, including the employee asset depository securities account and the employee virtual securities account. Among them, the employee asset depository securities account can be a securities account established by the company or entrusted trust institution for storing the employee's assets, including stocks and funds, hereinafter referred to as the "employee large account". Employee virtual securities account: used to record the employee's assets, without storing actual assets. One employee asset depository securities account can correspond to multiple employee virtual securities accounts, hereinafter referred to as the "employee account".
[0204] The secondary account is the account corresponding to the company to which the employee belongs, including the RSU custodian securities account. Among them, the RSU custodian securities account is a securities account established by the company or entrusted trust institution in the ESOP system for storing RSU, hereinafter referred to as the "custodian account".
[0205] The ESOP-based resource processing device includes a CRM system, an SBA system, and a trading system. Among them, the CRM system is a customer relationship management system; the SBA system is an interface platform for the same external trading system; the trading system is a system for stock trading.
[0206] As Figure 8 shown, the ESOP-based resource processing method includes:
[0207] The main process, transfer process, deduction process, and tax processing process.
[0208] Among them, the main process includes 1.1 - 1.3, which are introduced in detail as follows:
[0209] 1.1: Create attribution tasks: The attribution tasks can be generated according to requests sent by user devices and can be created by the CRM system or the SBA system.
[0210] 1.2: Confirm the batch participating in the distribution this time: Confirm the batch in which the attribution tasks participate in the distribution, which can be confirmed by the CRM system or the SBA system.
[0211] 1.3: Confirm the distribution plan: Among them, the CRM system can estimate the tax for a batch of attribution tasks, confirm the total stock trading volume according to the tax, initiate a trading request to the SBA system based on the total stock trading volume, the SBA system sells the stocks corresponding to the total stock trading volume through the trading system after selling, receives the total amount of funds obtained from the transaction after selling, the CRM system can obtain the total amount of funds, and determine the distribution plan according to the total stock trading volume and the total amount of funds. The distribution plan includes the stock transfer volume and the fund transfer volume corresponding to each employee. After the administrator confirms that the stock transfer volume and the fund transfer volume are correct, the product stock transfer volume and the fund transfer volume can be locked.
[0212] It should be noted that when determining the distribution plan, the stock transfer volume and the fund transfer volume can be directly input and locked by relevant personnel, or they can also be calculated by the distribution system according to the total stock trading volume and the total amount of funds. Among them, relevant personnel can only input the stock transfer volume, or only input the fund transfer volume, or input the stock transfer volume and the fund transfer volume, or neither the stock transfer volume nor the fund transfer volume is input. If relevant personnel only input the stock transfer volume, the fund transfer volume can be determined according to the aforementioned formula 1; if relevant personnel only input the fund transfer volume, the stock transfer volume can be calculated according to the aforementioned steps S210 - step S240; if relevant personnel input the stock transfer volume and the fund transfer volume, the stock transfer volume and the fund transfer volume can be locked; if relevant personnel do not input the stock transfer volume and the fund transfer volume, the stock transfer volume and the fund transfer volume can be calculated according to the aforementioned steps S210 - step S240 and formula 1. It should be noted that the stock transfer volume is input here, and in other examples, the stock conversion volume can also be input.
[0213] The transfer process includes executing stock distribution. After the administrator confirms the stock transfer volume and locks the stock transfer volume, the administrator can trigger the execution of the stock distribution process. Among them, the execution of the stock distribution process includes:
[0214] The CRM system sends a stock transfer instruction to the SBA system to transfer the stocks corresponding to the stock transfer volume from the custody account to the employee master account, and add the stocks of the stock transfer volume to the employee account.
[0215] The deduction process includes executing fund allocation. After the administrator confirms the fund transfer volume and locks the fund transfer volume, the administrator can trigger the execution of fund allocation. The execution of the fund allocation process includes:
[0216] (1) The CRM system sends a fund transfer to the SBA system, and the SBA system transfers the funds corresponding to the fund transfer volume from the RSU custody securities account to the employee master account.
[0217] (2) The SBA system adds the corresponding amount of the fund transfer volume to the employee account.
[0218] (3) The SBA system deducts the RSU cost from the employee account and the employee master account.
[0219] (4) The SBA system deducts the RSU handling fee from the employee account and the employee master account.
[0220] (5) The SBA system pre-withholds the RSU tax from the employee account and the employee master account.
[0221] (6) The administrator imports the cost into the company's bank account through an offline channel and marks in the CRM system that the cost has been deposited into the company.
[0222] The tax review process includes: after the close of trading on the vesting date (the date when the stocks are transferred to the employee's corresponding account), obtaining the closing price of the stocks on the vesting date, then calculating the tax based on the closing price, the HR reviews the tax, makes up for any over-withheld or under-withheld tax, the administrator imports the tax into the company's bank account through an offline channel and marks in the system that the cost has been deposited into the company. That is to say, in this embodiment, the tax can be pre-withheld, and after the stocks are transferred to the employee's corresponding account, the actual tax is adjusted with any over-withheld or under-withheld tax.
[0223] In this embodiment, the transfer process, the deduction process, and the tax processing process do not affect each other, and can be flexibly processed according to actual needs, improving the flexibility of allocation.
[0224] Figure 9The block diagram of the ESOP-based resource processing device shown in an exemplary embodiment of the present application. The device includes: an acquisition module 901, configured to acquire a resource allocation task, where the resource allocation task contains product resource allocation information to be allocated to a first-level account; a first determination module 902, configured to determine, based on the product resource allocation information, a first service resource cost that the first-level account needs to pay for the product resources corresponding to the received product resource allocation information in the ESOP system; a second determination module 903, configured to determine product resource transfer information and product resource conversion information from the product resource allocation information, and obtain target conversion information corresponding to converting the product resources corresponding to the product resource conversion information into service resources; a first update module 904, configured to update the product resource quantity and service resource quantity in the first-level account based on the product resource transfer information and the target conversion information to obtain a first resource quantity; a second update module 905, configured to update the service resource quantity in the first-level account based on the first resource quantity and the first service resource cost to obtain a second resource quantity.
[0225] In another exemplary embodiment, the device further includes:
[0226] A third determination module, configured to acquire a conversion parameter of unit product resources and service resources on a target date, and determine a second service resource cost corresponding to the first-level account according to the acquired conversion parameter; the target date is the date for updating the product resource quantity in the first-level account.
[0227] An adjustment module, configured to, after updating the service resource quantity in the first-level account based on the first resource quantity and the first service resource cost to obtain a second resource quantity, adjust the service resource quantity in the first-level account according to the first service resource cost and the second service resource cost corresponding to the first-level account.
[0228] In another exemplary embodiment, the third determination module includes:
[0229] An overhead calculation module, configured to calculate the service resource cost that the first-level account needs to pay according to the acquired conversion parameter.
[0230] An overhead determination module, configured to review the calculated service resource cost and use the reviewed service resource cost as the second service resource cost.
[0231] In another exemplary embodiment, the first update module 904 includes:
[0232] A fourth determination module, configured to determine service resource transfer information according to the target conversion information and the product resource conversion information.
[0233] A resource update module, configured to update the product resource quantity in the first-level account according to the product resource transfer information, and update the service resource quantity in the first-level account according to the service resource transfer information to obtain a first resource quantity.
[0234] In another exemplary embodiment, when the number of first-level accounts is multiple and the product resource conversion information includes the product resource conversion quantity, the fourth determination module includes:
[0235] A data acquisition module, configured to acquire the total product resource conversion quantity and the total business resource quantity included in the target conversion information; wherein, the total product resource conversion quantity is the sum of the product resource conversion quantities corresponding to multiple first-level accounts, and the total business resource quantity is the business resource quantity obtained by converting the product resources corresponding to the total product resource conversion quantity into business resources.
[0236] A parameter acquisition module, configured to calculate the quotient of the total business resource quantity and the total product resource conversion quantity to obtain a unit conversion parameter.
[0237] A business resource information acquisition module, configured to calculate the product of the product resource conversion quantity corresponding to each first-level account and the unit conversion parameter to obtain the business resource transfer quantity corresponding to each first-level account, and use the obtained business resource transfer quantity as the business resource transfer information corresponding to the corresponding first-level account.
[0238] In another exemplary embodiment, the resource update module includes:
[0239] A product update module, configured to update the product resource quantity in the first-level account according to the product resource transfer information if a first update instruction is received.
[0240] A business update module, configured to update the business resource quantity in the first-level account according to the business resource transfer information if a second update instruction is received.
[0241] In another exemplary embodiment, when the number of first-level accounts is multiple and the product resource conversion information includes the product resource conversion quantity, the second determination module 903 includes:
[0242] An information acquisition module, configured to acquire the total product resource conversion quantity and sum the first business resource expenses corresponding to multiple first-level accounts to obtain the total business resource expense;
[0243] A weight value acquisition module, configured to calculate the ratio of the first business resource expense corresponding to each first-level account to the total business resource expense respectively to obtain the weight value corresponding to each first-level account;
[0244] A conversion information acquisition module, configured to determine the product resource conversion quantity corresponding to each first-level account according to the total product resource conversion quantity and the weight value corresponding to each first-level account to obtain the product resource conversion information corresponding to each first-level account;
[0245] A transfer information acquisition module is configured to calculate the difference between the product resource allocation amount and the product resource conversion amount corresponding to each first-level account, obtain the product resource transfer amount corresponding to each first-level account, and use the obtained product resource transfer amount as the product resource transfer information of the corresponding first-level account.
[0246] It should be noted that the ESOP-based resource processing device provided in the above embodiment and the ESOP-based resource processing method provided in the above embodiment belong to the same concept. The specific manners in which each module and unit perform operations have been described in detail in the method embodiment, and will not be elaborated here.
[0247] An embodiment of the present application further provides an electronic device, including: one or more processors; a storage device configured to store one or more programs, and when the one or more programs are executed by the one or more processors, enable the electronic device to implement the ESOP-based resource processing method provided in each of the above embodiments.
[0248] Figure 10 FIG. shows a schematic structural diagram of a computer system of an electronic device suitable for implementing an embodiment of the present application.
[0249] It should be noted that Figure 10 the computer system 1600 of the electronic device shown is only an example, and should not impose any limitations on the functions and usage scope of the embodiments of the present application.
[0250] As Figure 10 shown, the computer system 1600 includes a central processing unit (CPU) 1601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1602 or the program loaded from the storage section 1608 into the random access memory (RAM) 1603, such as executing the method in the above embodiment. In the RAM 1603, various programs and data required for system operation are also stored. The CPU 1601, ROM 1602, and RAM 1603 are connected to each other through a bus 1604. The input / output (I / O) interface 1605 is also connected to the bus 1604.
[0251] The following components are connected to the I / O interface 1605: an input section 1606 including a keyboard, a mouse, etc.; an output section 1607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and a speaker, etc.; a storage section 1608 including a hard disk, etc.; and a communication section 1609 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1609 performs communication processing via a network such as the Internet. The drive 1610 is also connected to the I / O interface 1605 as required. A removable medium 1611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on the drive 1610 as required so that a computer program read from it is installed into the storage section 1608 as required.
[0252] Specifically, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for performing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication section 1609, and / or installed from the removable medium 1611. When the computer program is executed by a central processing unit (CPU) 1601, various functions defined in the system of the present application are executed.
[0253] It should be noted that the computer-readable medium shown in the embodiments of the present application can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable computer program is carried. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, and this computer-readable medium can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted by any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0254] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present application. Among them, each block in the flowchart or block diagram can represent a module, a program segment, or a part of code, and the above module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, as well as the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0255] The units involved in the embodiments described in this application can be implemented in software or in hardware, and the described units can also be provided in a processor. Among them, the names of these units do not constitute a limitation to the units themselves in some cases.
[0256] Another aspect of this application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned ESOP-based resource processing method is implemented. The computer-readable storage medium can be included in the electronic device described in the above embodiments, or can exist alone without being assembled into the electronic device.
[0257] Another aspect of this application also provides a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the ESOP-based resource processing method provided in the above embodiments.
[0258] The above content is only a preferred exemplary embodiment of this application and is not used to limit the implementation of this application. Those of ordinary skill in the art can easily make corresponding adaptations or modifications according to the main ideas and spirits of this application. Therefore, the protection scope of this application should be subject to the protection scope required by the claims.
Claims
1. A resource processing method based on the Employee Stock Ownership Plan (ESOP), characterized in that, the method includes: Obtain a resource allocation task, which contains product resource allocation information to be allocated to a first-level account; Based on the product resource allocation information, determine the first business resource cost that the first-level account needs to pay for receiving the product resources corresponding to the product resource allocation information in the ESOP system; Determine product resource transfer information and product resource conversion information from the product resource allocation information, and obtain target conversion information corresponding to converting the product resources corresponding to the product resource conversion information into business resources; Based on the product resource transfer information and the target conversion information, update the product resource quantity and business resource quantity in the first-level account to obtain a first resource quantity; Based on the first resource quantity and the first business resource cost, update the business resource quantity in the first-level account to obtain a second resource quantity; Obtain the conversion parameter of unit product resources and business resources on the target date, and determine the second business resource cost corresponding to the first-level account according to the obtained conversion parameter; the target date is the date when the product resource quantity in the first-level account is updated; After updating the business resource quantity in the first-level account based on the first resource quantity and the first business resource cost to obtain a second resource quantity, adjust the business resource quantity in the first-level account according to the first business resource cost and the second business resource cost corresponding to the first-level account.
2. The method according to claim 1, characterized in that, the determining the second business resource cost corresponding to the first-level account according to the obtained conversion parameter includes: Calculate the business resource cost that the first-level account needs to pay according to the obtained conversion parameter; Audit the calculated business resource cost, and use the audited business resource cost as the second business resource cost.
3. The method according to claim 1, characterized in that, the updating the product resource quantity and business resource quantity in the first-level account based on the product resource transfer information and the target conversion information to obtain a first resource quantity includes: Determine business resource transfer information according to the target conversion information and the product resource conversion information; Update the product resource quantity in the first-level account according to the product resource transfer information, and update the business resource quantity in the first-level account according to the business resource transfer information to obtain a first resource quantity.
4. The method according to claim 3, characterized in that, the number of the first-level accounts is multiple, and the product resource conversion information includes product resource conversion quantity; the determining the business resource transfer information according to the target conversion information and the product resource conversion information includes: Obtain the total product resource conversion quantity and total business resource quantity contained in the target conversion information; wherein, the total product resource conversion quantity is the sum of the product resource conversion quantities corresponding to multiple first-level accounts, and the total business resource quantity is the business resource quantity obtained by converting the product resources corresponding to the total product resource conversion quantity into business resources; Calculate the quotient of the total amount of business resources and the total amount of product resource conversion to obtain a unit conversion parameter; Calculate the product of the product resource conversion amount corresponding to each first-level account and the unit conversion parameter to obtain the business resource transfer amount corresponding to each first-level account, and use the obtained business resource transfer amount as the business resource transfer information of the corresponding first-level account.
5. The method according to claim 3, characterized in that, The updating the product resources in the first-level account according to the product resource transfer information and updating the business resources in the first-level account according to the business resource transfer information includes: If a first update instruction is received, update the product resources in the first-level account according to the product resource transfer information; If a second update instruction is received, update the business resources in the first-level account according to the business resource transfer information.
6. The method according to claim 1, characterized in that, The number of first-level accounts includes multiple; the product resource allocation information includes the product resource allocation amount; the determining the product resource transfer information and the product resource conversion information from the product resource allocation information includes: Obtain the total amount of product resource conversion, and sum the first business resource expenses corresponding to multiple first-level accounts to obtain the total business resource expense; Calculate the ratio of the first business resource expense corresponding to each first-level account to the total business resource expense respectively to obtain the weight value corresponding to each first-level account; Determine the product resource conversion amount corresponding to each first-level account according to the total amount of product resource conversion and the weight value corresponding to each first-level account to obtain the product resource conversion information corresponding to each first-level account; Calculate the difference between the product resource allocation amount and the product resource conversion amount corresponding to each first-level account to obtain the product resource transfer amount corresponding to each first-level account, and use the obtained product resource transfer amount as the product resource transfer information of the corresponding first-level account.
7. A resource processing device based on ESOP, characterized in that, The device includes: An acquisition module, configured to acquire a resource allocation task, where the resource allocation task contains product resource allocation information to be allocated to a first-level account; A first determination module, configured to determine, based on the product resource allocation information, the first business resource expense that the first-level account needs to pay for receiving the product resources corresponding to the product resource allocation information in the ESOP system; A second determination module, configured to determine product resource transfer information and product resource conversion information from the product resource allocation information, and acquire target conversion information corresponding to converting the product resources corresponding to the product resource conversion information into business resources; A first update module, configured to update the product resources and business resources in the first-level account based on the product resource transfer information and the target conversion information to obtain a first resource amount; A second update module, configured to update the business resources in the first-level account based on the first resource amount and the first business resource expense to obtain a second resource amount; A third determination module, configured to obtain a conversion parameter of the unit product resource and the service resource on a target date, and determine a second service resource expense corresponding to the first-level account according to the obtained conversion parameter; the target date is the date when the product resource quantity in the first-level account is updated; An adjustment module, configured to, after updating the service resource quantity in the first-level account based on the first resource quantity and the first service resource expense to obtain a second resource quantity, adjust the service resource quantity in the first-level account according to the first service resource expense and the second service resource expense corresponding to the first-level account.
8. An electronic device characterized in that it includes one or more processors; a storage device, configured to store one or more programs, and when the one or more programs are executed by the one or more processors, enable the electronic device to implement the ESOP-based resource processing method according to any one of claims 1-6.
9. A computer-readable storage medium characterized in that computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, cause the computer to execute the ESOP-based resource processing method according to any one of claims 1-6.
Citation Information
Patent Citations
Service resource allocation method and device, electronic equipment and storage medium
CN112598382A