CN114066644A - Annuity data tail difference processing method and device and electronic equipment - Google Patents

Annuity data tail difference processing method and device and electronic equipment Download PDF

Info

Publication number
CN114066644A
CN114066644A CN202111197730.1A CN202111197730A CN114066644A CN 114066644 A CN114066644 A CN 114066644A CN 202111197730 A CN202111197730 A CN 202111197730A CN 114066644 A CN114066644 A CN 114066644A
Authority
CN
China
Prior art keywords
data
chain
annuity
difference
calculation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111197730.1A
Other languages
Chinese (zh)
Inventor
黄美玲
张战胜
张志辉
王亚鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taikang Insurance Group Co Ltd
Taikang Pension Insurance Co Ltd
Original Assignee
Taikang Insurance Group Co Ltd
Taikang Pension Insurance Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Taikang Insurance Group Co Ltd, Taikang Pension Insurance Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN202111197730.1A priority Critical patent/CN114066644A/en
Publication of CN114066644A publication Critical patent/CN114066644A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/06Asset management; Financial planning or analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Operations Research (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Evolutionary Biology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computing Systems (AREA)
  • Game Theory and Decision Science (AREA)
  • Human Resources & Organizations (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Technology Law (AREA)
  • Probability & Statistics with Applications (AREA)
  • Marketing (AREA)
  • Algebra (AREA)
  • Economics (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides a method and a device for processing a gold data tail difference and electronic equipment. The method comprises the following steps: configuring annual fund data on a chain and receiving a data processing rule uploaded by a delegation role, wherein the delegation role comprises: one of account manager, consignor and agent; under the condition that the entrusting role is a preset role, configuring an on-chain data processing rule according to the data processing rule; and according to the on-chain data processing rule, performing data processing on the on-chain annuity data, and performing tail difference calculation on the processed data to obtain a target calculation result. According to the scheme, the problem that various data differences are caused due to the fact that the existing data processing mode is opaque and public can be avoided, data accuracy can be improved, and normal and efficient operation of annuity assets can be guaranteed.

Description

Annuity data tail difference processing method and device and electronic equipment
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a device for processing annual fund data tail difference and electronic equipment.
Background
At present, annuity management is generally based on a trust type management mode, and relates to a plurality of managers such as a consignee, an account manager, a trustee, a cast manager and the like, wherein a plurality of management mechanisms manage annuity and air defense risks together and ensure normal operation. And on the premise of doing service, a plurality of mechanisms need to cooperate with each other according to the uniform standard caliber of the property, risk and income data of the annuity, so that the accuracy and precision of multiparty checking, disclosing and investment supervision of the annuity data are realized. At present, due to different functions of multiple institutions, requirements for data processing tail difference modes are different, so that the tail difference calibers of the annuity assets of clients or agents in the annuity data of all management institutions are inconsistent, the tail difference modes are not mutually and publicly and transparently realized on line, once the related index data are different after transmission of multiple management institutions, various evidences need to be recalculated under each side line once the related index data are different, a large amount of manual intervention is needed for the subsequent annuity operation, and the timeliness and the accuracy cannot be guaranteed, so that the normal operation of the annuity is influenced.
Disclosure of Invention
The invention provides a method and a device for processing the tail difference of annuity data and electronic equipment, which are used for solving the problems that a large amount of manual intervention is needed for the operation of the annuity afterwards and the timeliness and the accuracy cannot be guaranteed due to different tail difference processing modes in the prior art to a certain extent.
In a first aspect of the present invention, a method for processing an annuity data tail difference is provided, which is applied to a block chain platform, and includes:
configuring annual fund data on a chain and receiving a data processing rule uploaded by a delegation role, wherein the delegation role comprises: one of account manager, consignor and agent;
under the condition that the entrusting role is a preset role, configuring an on-chain data processing rule according to the data processing rule;
and according to the on-chain data processing rule, performing data processing on the on-chain annuity data, and performing tail difference calculation on the processed data to obtain a target calculation result.
Optionally, the on-chain data processing rule includes: at least one of data precision, calculation formula, reserved digit, truncation mode and difference processing mode.
Optionally, configuring the annuity data on the chain includes:
receiving original fund data uploaded by a trusted role;
configuring annual fund data on a chain according to the original fund data;
wherein, the entrusted role includes: at least one of a consignee, a trustee, and an investment manager.
Optionally, when the on-chain data processing rule includes a data precision and a calculation formula, the performing data processing on the on-chain annuity data according to the on-chain data processing rule, and performing tail error calculation on the processed data to obtain a target calculation result includes:
according to the data precision, carrying out data processing on the annual fund data on the link to obtain annual fund data on a target link;
calculating the annuity data on the target chain according to the calculation formula to obtain N first calculation results, wherein N is a positive integer greater than 1;
and performing tail difference calculation on the N first calculation results to obtain the target calculation result.
Optionally, in a case that the on-chain data processing rule further includes a reserved bit number and a truncation mode, performing tail difference calculation on the N first calculation results to obtain the target calculation result, where the method includes:
and aiming at each first calculation result in the N first calculation results, carrying out tail difference processing on the first calculation result according to the truncation mode, and carrying out corresponding decimal place number retention according to the retention digit number to obtain N second calculation results.
And determining the target calculation result according to the N second calculation results.
Optionally, when the on-chain data processing rule further includes a difference processing manner, determining the target calculation result according to the N second calculation results includes:
calculating a first difference value of the annuity data on the target chain and the sum of the N second calculation results;
and performing difference processing on the first difference according to the difference processing mode to obtain the target calculation result.
Optionally, the difference processing manner includes any one of:
adding the minimum value or the maximum value of the N second calculation results to the first difference value when the annual fund data on the target chain is greater than or equal to the sum of the N second calculation results;
subtracting the first difference from the minimum value or the maximum value of the N second calculation results when the annual fund data on the target chain is smaller than the sum of the N second calculation results;
discarding the first difference.
In a second aspect of the present invention, there is provided an annuity data tail difference processing apparatus applied to a block chain platform, including:
the system comprises a first configuration module, a delegation role and a second configuration module, wherein the first configuration module is used for configuring annuity data on a chain and receiving a data processing rule uploaded by the delegation role, and the delegation role comprises: one of account manager, consignor and agent; (ii) a
The second configuration module is used for configuring the on-chain data processing rule according to the data processing rule under the condition that the entrusting role is a preset role;
and the calculation module is used for performing data processing on the annuity data on the link according to the data processing rule on the link, and performing tail difference calculation on the processed data to obtain a target calculation result.
In a third aspect of the present invention, there is also provided an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the steps in the annuity data tail difference processing method when the program stored in the memory is executed.
In a fourth aspect implemented by the present invention, there is also provided a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the annuity data tailing processing method as described above.
Aiming at the prior art, the invention has the following advantages:
in the embodiment of the invention, by configuring the annuity data on the chain and receiving the data processing rule uploaded by the commission role, under the condition that the commission role is a preset role, the data processing rule on the chain is configured according to the data processing rule, the data processing is carried out on the annuity data on the chain according to the data processing rule on the chain, and the tail difference calculation is carried out on the processed data to obtain a target calculation result; through carrying out data sharing on the annual fund data configuration chaining and configuring the data processing rule on the chain to the chaining, managers of each party can calculate various data through the data processing rule on the chain shared by the block chain, the problem of various data differences caused by the fact that the existing data processing mode is opaque and public is avoided, the data accuracy can be improved, and normal and efficient operation of annual fund assets is guaranteed.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments will be briefly described below.
Fig. 1 is a schematic flow chart of a method for processing the annual fund data tail difference according to an embodiment of the present invention;
fig. 2 is a second schematic flow chart of the annuity data tail difference processing method according to the embodiment of the invention;
fig. 3 is a third schematic flow chart of a method for processing the annual fund data tail difference according to the embodiment of the present invention;
fig. 4 is a block diagram of an annuity data end difference processing apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
At present, annuity data cannot guarantee accurate consistency, and is mainly attributed to the following:
the computer precision of each management side system is different, and the reserved service data bit number is different;
many management parties need to rely on data processing operation of other management organization parties, and the obtained results have deviation due to different processing modes of addition, subtraction, multiplication, division and tail difference among processing data;
different service scenarios require different data processing modes, such as: the operation data needs a truncation method to ensure normal treatment payment, investment supervision needs to be rounded off for data supervision, and the data result is different for standard market rate trend;
the data requirements are different according to different operation stages of the annuity, and during the period just established, the start-up operation requirements are met through various data interception methods of the annuity, and along with the fine management requirements of the annuity management stage, the data needs to be booked in a mode of combining various tail error modes, so that the data result difference is caused.
Therefore, the embodiment of the invention provides an annuity data tail difference processing method and device and electronic equipment, which can avoid the problem of various data differences caused by the fact that the existing data processing mode is opaque and public, can improve the data accuracy and guarantee normal and efficient operation of annuity assets.
Specifically, an embodiment of the present invention provides an annuity data tail difference processing method, which is applied to a block chain platform, and specifically includes:
step 101, configuring annuity data on a chain, and receiving a data processing rule uploaded by a delegation role, wherein the delegation role includes but is not limited to: one of account manager, client and agent.
Specifically, the block chain platform configures annuity data on the chain and configures data processing rules on the chain, and the annuity data on the chain and the data processing rules on the chain configured on the block chain are all shared by all management mechanisms in a public and transparent manner, so that the problem of calculation difference of various data caused by the fact that data obtained by all management mechanisms are not public and transparent can be avoided.
Wherein the on-chain annuity data comprises a plurality of types of on-chain annuity data, and each type of on-chain annuity data may include but is not limited to: at least one of a portfolio, a fund allocation proportion, and a fund allocation amount.
And 102, under the condition that the entrusted role is a preset role, configuring a data processing rule on a chain according to the data processing rule.
Specifically, the delegation role sends the configured data processing rule to the block chain platform, and before configuring the data processing rule for uplink, it needs to be determined whether the delegation role is a preset role, that is, whether the delegation role with the configuration authority is the current delegation role. If the delegate role is a preset role, the uplink data processing rule can be configured according to the received data processing rule, in other words, if the current delegate role has a configuration authority, the uplink data processing rule is configured to the received data processing rule, that is, the uplink data processing rule is configured on the block chain platform.
And if the current delegation role is not the preset role, namely the current delegation role does not have the configuration authority, prompt information of configuration failure can be given, and the fact that the current delegation role needs to be matched again is prompted.
And 103, performing data processing on the annual fund data on the link according to the data processing rule on the link, and performing tail difference calculation on the processed data to obtain a target calculation result.
Specifically, the block chain platform performs data processing on the annuity data on the chain according to the data processing rule on the chain, and performs tail difference calculation on the data after the data processing, that is, performs data processing and tail difference calculation on the annuity data on the chain according to the data processing rule on the chain, so as to obtain the chain calculation result of each management institution, that is, the target calculation result.
The above flow is illustrated by a specific example below:
as shown in fig. 2, the delegating role is exemplified by an account administrator, the delegate role is exemplified by a delegate and a trustee, the original fund data corresponding to the delegate is exemplified by payment data, pending payment data, and asset change data that need to be linked, and the original fund data corresponding to the trustee is exemplified by revenue data, asset data, and risk data that need to be linked.
Step a 1: the account manager configures the data processing rules and allocates the data processing rules to the uplink, i.e. the block chain platform is configured with the on-chain data processing rules.
And the trustee configure the corresponding original fund data to the uplink, namely configure the annual fund data on the block chain platform.
It should be noted that, the step of configuring the data processing rule on the chain and receiving the data processing rule and configuring the annuity data on the chain when the delegation role is the preset role does not limit the precedence relationship.
Step a 2: and performing data processing on the annual fund data on the link according to the data processing rule on the link, and performing tail difference calculation on the processed data to obtain a target calculation result, namely a calculation result on the link.
Specifically, in the operation process of the multiple management mechanisms, the data processing rules such as system precision, reserved digits and the like of each mechanism under each service scene are linked up through a block chain technology, the individual requirements and the common requirements of tail difference processing modes of each mechanism are combined, the correct tail difference processing mode (namely the data processing rule on the chain) is reasonably and dynamically selected, unified standardized processing of the tail differences of the data of the multiple mechanisms is guaranteed, mutual checking, disclosure and accurate reconciliation of investment supervision can be realized, the normal data operation of the annuity assets is guaranteed, efficient, convenient and accurate operation of the annuity assets can be realized, the labor cost is reduced, and the standardization and the standard of industry development are improved.
Step a 3: if the calculated target calculation result is an amount of funds on the chain, the amount of funds on the chain is displayed at the principal or agent.
In the above embodiment of the present invention, the link annuity data and the link data processing rule are configured, and according to the link data processing rule, the link annuity data is subjected to data processing, and the processed data is subjected to tail difference calculation to obtain a target calculation result; through carrying out data sharing on the annual fund data configuration chaining and configuring the data processing rule on the chain to the chaining, managers of each party can calculate various data through the data processing rule on the chain shared by the block chain, the problem of various data differences caused by the fact that the existing data processing mode is opaque and public is avoided, the data accuracy can be improved, and normal and efficient operation of annual fund assets is guaranteed.
As an optional embodiment, the configuring of the annual fund data in the step 101 may specifically include:
receiving original fund data uploaded by a trusted role;
configuring annual fund data on a chain according to the original fund data;
wherein trusted roles include, but are not limited to: at least one of a consignee, a trustee, and an investment manager.
Specifically, the trusted role first allocates the original fund data to the uplink, that is, the block chain platform is allocated with the annual fund data on the chain. The original fund data corresponding to the delegate may be: payment data required to be linked, pending payment data required to be linked, asset transition data required to be linked, and the like are not particularly limited herein. The primary fund data corresponding to the escrow person may be: revenue data requiring uplink, asset data requiring uplink, risk data requiring uplink, etc., are not specifically limited herein.
As an alternative embodiment, the on-chain data processing rule includes but is not limited to: at least one of data precision, calculation formula, reserved digit, truncation mode and difference processing mode.
Specifically, the uplink data processing rule is configured to configure the data processing rule sent by the delegation role with the uplink data processing rule on the premise that the delegation role is the preset role. Thus, data processing rules include, but are not limited to: at least one of data precision, calculation formula, reserved digit, truncation mode and difference processing mode. Wherein:
the data precision refers to: data precision of the annuity data on the chain, for example: 16 bits, 24 bits, 36 bits, etc., and may be arranged as necessary, and target calculation results calculated by different numbers of arranged bits differ.
The calculation formula refers to: and the calculation formula corresponding to each service scene needs to be calculated by adopting different formulas in different service scenes, and the target calculation results calculated by different formulas are different. .
The number of reserved bits refers to: the decimal digit of the data obtained after the annual fund data on the chain is calculated according to a calculation formula and required to be reserved is as follows, for example: 6-digit decimal, 2-digit decimal, etc., and can be configured according to the requirement, and the target calculation results calculated by different reserved digits are different.
The truncation mode refers to: the rounding processing is performed on one decimal place after the required number of decimal places is reserved, for example: rounding, four-round six-round, truncation, etc., and may be configured as required, and target calculation results calculated in different rounding modes are different.
The difference processing mode is as follows: the difference value obtained by subtracting the data processed by the above calculation formula, the number of remaining bits, the rounding method, or the like from the link annuity data may be discarded, or the difference value may be added to or subtracted from the data processed by the above calculation formula, the number of remaining bits, the rounding method, or the like, and is not particularly limited herein, and the target calculation result calculated by the difference processing method is different. Optionally, the on-chain data processing rule may further include: the service scenario, the index type, etc. are not specifically limited herein.
Wherein, the service scene refers to: business scenarios for processing annuity data on the chain, such as: calculating the amount of funds, calculating earnings, calculating net worth of units, calculating earnings, calculating shares, etc.
The index type refers to: the profit index, the asset index, the risk index, etc., are not specifically limited herein.
The following describes specific contents of the above data processing rule by a specific embodiment:
as shown in table 1, the service scenario is: and calculating the fund amount, wherein the index types are as follows: the income index has the algorithm formula as follows: and the calculation formula corresponding to the calculated fund amount has the calculation precision as follows: 16 bits, the number of reserved bits is: 2 decimal places, and the rounding mode is as follows: rounding, and the difference processing mode is as follows: the difference is discarded. The details are shown in table 1 below:
TABLE 1 data processing rules
Figure BDA0003303710850000091
After the data processing rules in table 1 are configured for uplink, it indicates that the uplink annuity data needs to be calculated according to the rules, specifically, the data precision of the uplink annuity data is 16 bits, then the uplink annuity data with 16-bit data precision is calculated by a calculation formula corresponding to the calculated fund amount, the obtained result needs to be kept at 2 bits of decimal, the third bit of decimal needs to be rounded, and the obtained result and the uplink annuity data with 16-bit data precision are subtracted to obtain a difference value which is discarded.
As an optional embodiment, in the step 103, under the condition that the on-chain data processing rule includes a data precision and a calculation formula, the data processing is performed on the on-chain annuity data according to the on-chain data processing rule, and the tail difference calculation is performed on the processed data to obtain a target calculation result, which specifically includes:
according to the data precision, carrying out data processing on the annual fund data on the link to obtain annual fund data on a target link;
calculating the annuity data on the target chain according to the calculation formula to obtain N first calculation results, wherein N is a positive integer greater than 1;
and performing tail difference calculation on the N first calculation results to obtain the target calculation result.
Specifically, if the on-chain data processing rule includes the data precision and the calculation formula, the on-chain annuity data is processed according to the data precision in the on-chain data processing rule to obtain the target on-chain annuity data, that is, the on-chain annuity data with the data precision. For example: if the data precision is 16 bits, the target on-chain annuity data is the on-chain annuity data with the 16-bit data precision.
And calculating the annuity data on the target chain according to a calculation formula in the data processing rule on the chain to obtain N first calculation results, wherein the N first calculation results are target calculation results.
As an optional embodiment, in a case that the on-chain data processing rule further includes a reserved bit number and a truncation mode, the step of performing tail difference calculation on the N first calculation results to obtain the target calculation result specifically includes:
and aiming at each first calculation result in the N first calculation results, carrying out tail difference processing on the first calculation result according to the truncation mode, and carrying out corresponding decimal place number retention according to the retention digit number to obtain N second calculation results.
And determining the target calculation result according to the N second calculation results.
Specifically, if the on-chain data processing rule includes data precision, a calculation formula, a reserved digit and a truncation mode, the on-chain annuity data is processed according to the data precision in the on-chain data processing rule to obtain target on-chain annuity data, and then the target on-chain annuity data is calculated according to the calculation formula in the on-chain data processing rule to obtain N first calculation results; then, carrying out tail difference processing on each first calculation result in the N first calculation results according to a truncation mode in the data processing rule on the chain, and carrying out corresponding decimal place number reservation according to a reserved digit number in the data processing rule on the chain, thereby obtaining N second calculation results; in other words, the reserved digits in the data processing rule on the chain are determined, and then the first decimal place after the reserved digits in each first calculation result is subjected to truncation type tail difference processing to obtain N second calculation results, wherein the N second calculation results are target calculation results.
As an optional embodiment, in a case that the on-chain data processing rule further includes a difference processing manner, the step of determining the target calculation result according to the N second calculation results specifically includes:
calculating a first difference value of the annuity data on the target chain and the sum of the N second calculation results;
and performing difference processing on the first difference according to the difference processing mode to obtain the target calculation result.
Specifically, after N second calculation results are obtained, whether the data processing rule on the link includes a difference processing mode is judged, if the data processing rule on the link includes the difference processing mode, the sum of the N second calculation results needs to be calculated, and then a first difference between the annuity data on the target link and the sum of the N second calculation results is calculated; and then performing difference processing on the first difference according to a difference processing mode in the data processing rule on the chain, thereby obtaining a target calculation result.
Further, the difference processing method includes, but is not limited to, any one of the following:
adding the minimum value or the maximum value of the N second calculation results to the first difference value when the annual fund data on the target chain is greater than or equal to the sum of the N second calculation results;
subtracting the first difference from the minimum value or the maximum value of the N second calculation results when the annual fund data on the target chain is smaller than the sum of the N second calculation results;
discarding the first difference.
Specifically, if the annuity data on the target chain is greater than the sum of the N second calculation results, the minimum value of the N second calculation results may be added with the first difference to serve as one of the target calculation results, and the maximum value of the N second calculation results may be added with the first difference to serve as one of the target calculation results. Alternatively, the first difference may be discarded, and the N calculation results may be directly used as the target calculation result. The foregoing is by way of example only and is not limiting.
If the annual fund data on the target chain is smaller than the sum of the N second calculation results, the first difference value subtracted from the minimum value of the N second calculation results can be used as one target calculation result, and the first difference value subtracted from the maximum value of the N second calculation results can be used as one target calculation result. Alternatively, the first difference may be discarded, and the N calculation results may be directly used as the target calculation result. The foregoing is by way of example only and is not limiting.
If the annuity data on the target chain is equal to the sum of the N second calculation results, the first difference is 0 and can be ignored.
It should be noted that the annuity data tail difference processing scheme can support three levels of combination, sub-planning and unified planning, dynamically selects data processing rules on different chains in different time intervals, and realizes the public transparency of a relevant tail difference mode by means of a block chain platform, thereby ensuring the unified, unique and accurate data caliber.
The above-mentioned annuity data tail difference processing procedure is explained in detail by a specific embodiment as follows:
as shown in fig. 3, the on-chain data processing rule includes: data precision, calculation formula, reserved digit, truncation mode, difference processing mode are taken as examples.
Step 31, firstly, configuring the annual fund data and the data processing rule on the chain;
step 32, acquiring investment combinations and fund allocation proportions in the annual fund data on the chain;
step 33, acquiring data precision and a calculation formula in the data processing rule on the chain;
step 34, calculating to obtain a first fund allocation amount of each combination, namely a first calculation result, according to the investment combination, the fund allocation proportion, the data precision and the calculation formula;
step 35, obtaining the reserved digits and truncation modes in the data processing rules on the chain;
step 36, performing tail difference processing on the first calculation result according to the reserved digits and the truncation mode to obtain second fund allocation amount of each combination, namely a second calculation result;
step 37, judging whether the data processing rule on the chain contains a difference value processing mode; if the difference processing mode is not included in the on-chain data processing rule, go to step 39; if the difference processing mode is included in the on-chain data processing rule, the process proceeds to step 38.
And step 38, if the data processing rule on the chain includes a difference processing mode, performing tail difference processing on the second calculation result according to the difference processing mode.
And 39, performing tail difference processing on the second calculation result according to a difference processing mode to obtain a target calculation result, wherein the target calculation result is a chain calculation result, and the target calculation result is openly and transparently displayed on a block chain platform to support real-time data sharing on each manager chain. If it is desired to check the target calculation result again, the calculation may be repeated according to the above steps 31 to 38. Or if the difference processing mode is not included in the data processing rule on the chain, ending the data processing flow and taking the second calculation result as a target calculation result.
In summary, in the above embodiments of the present invention, a plurality of management organizations configure their respective original fund data for uplink, and sharing the tail difference processing rule through the block chain platform, and transparently sharing the data on the chain of each service scene in real time, after each manager chains the data, the block chain platform carries out on-chain calculation according to on-chain data processing rules, adopts common on-chain data processing rules to intelligently combine the physics to process tail difference caliber, namely, the offline reconciliation is transferred to online reconciliation, the online public transparent reduction annuity data calculation and transmission interaction track is realized, so as to ensure the accuracy of the mutual checking, disclosure and investment supervision of the data of a plurality of management institutions, and meanwhile, normal data operation of the annuity assets is guaranteed, the annuity assets are efficiently, conveniently and accurately supported to operate, and the problem of data difference of each level caused by adjusting a tail difference processing mode during operation is solved.
As shown in fig. 4, an annuity data tail difference processing apparatus 400 provided in an embodiment of the present invention is applied to a block chain platform, and includes:
a first configuration module 401, configured to configure annuity data on a chain and receive a data processing rule uploaded by a delegation role, where the delegation role includes: one of account manager, consignor and agent; (ii) a
A second configuration module 402, configured to configure an on-chain data processing rule according to the data processing rule when the delegation role is a preset role;
and the calculating module 403 is configured to perform data processing on the annuity data on the link according to the on-link data processing rule, and perform tail difference calculation on the processed data to obtain a target calculation result.
Optionally, the on-chain data processing rule includes: at least one of data precision, calculation formula, reserved digit, truncation mode and difference processing mode.
Optionally, the first configuration module 401 includes:
receiving original fund data uploaded by a trusted role;
configuring annual fund data on a chain according to the original fund data;
wherein, the entrusted role includes: at least one of a consignee, a trustee, and an investment manager.
Optionally, in a case that the on-chain data processing rule includes a data precision and a calculation formula, the calculation module 403 includes:
the processing unit is used for carrying out data processing on the annual fund data on the link according to the data precision to obtain the annual fund data on the target link;
the calculation unit is used for calculating the annuity data on the target chain according to the calculation formula to obtain N first calculation results, wherein N is a positive integer greater than 1;
and the determining unit is used for performing tail difference calculation on the N first calculation results to obtain the target calculation result.
Optionally, in a case that the on-chain data processing rule further includes a reserved bit number and a truncation mode, the determining unit includes:
and the processing subunit is configured to perform tail difference processing on each of the N first calculation results according to the truncation manner, and perform corresponding decimal place preservation according to the preserved digit number to obtain N second calculation results.
And the determining subunit is used for determining the target calculation result according to the N second calculation results.
Optionally, in a case that the on-chain data processing rule further includes a difference processing manner, the determining subunit includes:
calculating a first difference value of the annuity data on the target chain and the sum of the N second calculation results;
and performing difference processing on the first difference according to the difference processing mode to obtain the target calculation result.
Optionally, the difference processing manner includes any one of:
adding the minimum value or the maximum value of the N second calculation results to the first difference value when the annual fund data on the target chain is greater than or equal to the sum of the N second calculation results;
subtracting the first difference from the minimum value or the maximum value of the N second calculation results when the annual fund data on the target chain is smaller than the sum of the N second calculation results;
discarding the first difference.
It should be noted that the embodiment of the annuity data tail difference processing apparatus is an apparatus corresponding to the above annuity data tail difference processing method, and all implementation manners of the embodiment of the method are applicable to the embodiment of the apparatus, and can achieve the same technical effect as that of the embodiment of the apparatus, and are not described herein again.
An embodiment of the present invention further provides an electronic device, as shown in fig. 5, including a processor 501, a communication interface 502, a memory 503 and a communication bus 504, where the processor 501, the communication interface 502 and the memory 503 complete mutual communication through the communication bus 504.
The memory 503 stores a computer program.
When the electronic device is a terminal device, the processor 501 is configured to execute the program stored in the memory 503, so as to implement the annuity data tailing processing method according to any of the embodiments.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In another embodiment of the present invention, a computer-readable storage medium is further provided, in which instructions are stored, and when the instructions are executed on a computer, the computer is enabled to execute the annuity data tailing processing method described in the above embodiment.
In yet another embodiment of the present invention, a computer program product containing instructions is further provided, which when run on a computer, causes the computer to execute the annuity data tailing processing method described in the above embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (10)

1. A kind of annuity data tail difference processing method is characterized in that it is applied to block chain platform, including:
configuring annual fund data on a chain and receiving a data processing rule uploaded by a delegation role, wherein the delegation role comprises: one of account manager, consignor and agent;
under the condition that the entrusting role is a preset role, configuring an on-chain data processing rule according to the data processing rule;
and according to the on-chain data processing rule, performing data processing on the on-chain annuity data, and performing tail difference calculation on the processed data to obtain a target calculation result.
2. The annuity data tailing processing method according to claim 1, wherein the on-chain data processing rule comprises: at least one of data precision, calculation formula, reserved digit, truncation mode and difference processing mode.
3. The annuity data tailing processing method of claim 1, wherein configuring the linked annuity data comprises:
receiving original fund data uploaded by a trusted role;
configuring annual fund data on a chain according to the original fund data;
wherein, the entrusted role includes: at least one of a consignee, a trustee, and an investment manager.
4. The annuity data tailing difference processing method according to claim 2, wherein in a case where the on-chain data processing rule includes a data precision and a calculation formula, the processing the data of the annuity data on the chain according to the on-chain data processing rule and performing tailing difference calculation on the processed data to obtain a target calculation result includes:
according to the data precision, carrying out data processing on the annual fund data on the link to obtain annual fund data on a target link;
calculating the annuity data on the target chain according to the calculation formula to obtain N first calculation results, wherein N is a positive integer greater than 1;
and performing tail difference calculation on the N first calculation results to obtain the target calculation result.
5. The annuity data tailing processing method according to claim 4, wherein in a case that the on-chain data processing rule further includes a reserved digit and a truncation manner, the performing tailing calculation on the N first calculation results to obtain the target calculation result includes:
and aiming at each first calculation result in the N first calculation results, carrying out tail difference processing on the first calculation result according to the truncation mode, and carrying out corresponding decimal place number retention according to the retention digit number to obtain N second calculation results.
And determining the target calculation result according to the N second calculation results.
6. The annuity data tailing processing method according to claim 5, wherein in a case that the on-chain data processing rule further includes a difference processing mode, the determining the target calculation result according to the N second calculation results includes:
calculating a first difference value of the annuity data on the target chain and the sum of the N second calculation results;
and performing difference processing on the first difference according to the difference processing mode to obtain the target calculation result.
7. The annuity data tailing processing method according to claim 6, wherein the difference processing mode comprises any one of the following:
adding the minimum value or the maximum value of the N second calculation results to the first difference value when the annual fund data on the target chain is greater than or equal to the sum of the N second calculation results;
subtracting the first difference from the minimum value or the maximum value of the N second calculation results when the annual fund data on the target chain is smaller than the sum of the N second calculation results;
discarding the first difference.
8. The utility model provides an annuity data tail poor processing apparatus which characterized in that is applied to block chain platform, includes:
the system comprises a first configuration module, a delegation role and a second configuration module, wherein the first configuration module is used for configuring annuity data on a chain and receiving a data processing rule uploaded by the delegation role, and the delegation role comprises: one of account manager, consignor and agent; (ii) a
The second configuration module is used for configuring the on-chain data processing rule according to the data processing rule under the condition that the entrusting role is a preset role;
and the calculation module is used for performing data processing on the annuity data on the link according to the data processing rule on the link, and performing tail difference calculation on the processed data to obtain a target calculation result.
9. An electronic device, comprising: a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete mutual communication through a communication bus;
a memory for storing a computer program;
a processor for implementing the steps of the annuity data tailing processing method according to any one of claims 1 to 7 when executing the program stored in the memory.
10. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the annuity data tailing processing method according to any one of claims 1 to 7.
CN202111197730.1A 2021-10-14 2021-10-14 Annuity data tail difference processing method and device and electronic equipment Pending CN114066644A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111197730.1A CN114066644A (en) 2021-10-14 2021-10-14 Annuity data tail difference processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111197730.1A CN114066644A (en) 2021-10-14 2021-10-14 Annuity data tail difference processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114066644A true CN114066644A (en) 2022-02-18

Family

ID=80234545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111197730.1A Pending CN114066644A (en) 2021-10-14 2021-10-14 Annuity data tail difference processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114066644A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117372166A (en) * 2023-10-26 2024-01-09 北京开科唯识技术股份有限公司 Efficient tail-end distribution processing method, device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117372166A (en) * 2023-10-26 2024-01-09 北京开科唯识技术股份有限公司 Efficient tail-end distribution processing method, device and storage medium
CN117372166B (en) * 2023-10-26 2024-03-08 北京开科唯识技术股份有限公司 Efficient tail-end distribution processing method, device and storage medium

Similar Documents

Publication Publication Date Title
US11176277B2 (en) Automatic generating analytics from blockchain data
US10937111B2 (en) Managing energy purchase agreements on a blockchain
US20180173790A1 (en) Modifying data structures to indicate derived relationships among entity data objects
CN111738844A (en) Resource allocation system, method and device based on block chain
JP2019512799A (en) System and method for bill payment using dynamic loan acceptance limit
JP7430191B2 (en) Financial product recommendation methods, devices, electronic devices and programs
AU2016345116A1 (en) Technology adapted to configure computer systems to perform management, and enable streamlined user-configuration, of complex autonomous peer-to- peer transaction frameworks
CN114862571A (en) Service simulation method, device, equipment and storage medium of ESOP system
CN109360082A (en) A kind of method for processing business of loan system, device, computer equipment and storage medium
US11095456B2 (en) Distributed tiered data exchanges within a blockchain network
CN114066644A (en) Annuity data tail difference processing method and device and electronic equipment
US20190340012A1 (en) System for efficient resource distribution
US20230289692A1 (en) Risk management system interface
CN112330448A (en) Fund management method, terminal device and storage medium
CN111209281A (en) Annuity data processing method, device, medium and electronic equipment
CN113657943B (en) Virtual asset transfer system, method, electronic equipment and storage medium
US20150261795A1 (en) Computer-based system and method of structuring a specialized database for automatically generating financial disclosure documents
CN114723239A (en) Multi-party collaborative modeling method, device, equipment, medium and program product
Scholl Debt Relief for Poor Countries: Conditionality and Effectiveness
CN111815272B (en) Application auditing method and device, electronic equipment and storage medium
US20190355064A1 (en) Systems and methods for dynamic construction and reporting of a shielded etf creation basket
CN112488857A (en) Event recognition method and device, electronic equipment and storage medium
CN111161067A (en) Method and device for determining transaction route
CN115829753B (en) Cross-border securities business exchange method and system based on blockchain
CN112862226A (en) Information processing method, information processing apparatus, information processing medium, and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination