Accounting estimation method, device and equipment and storage medium

By adopting distributed technology in asset custody business, the scheduling unit and calculation unit of target shards process the accounting valuation task, the problem of high pressure on the database is solved and the efficiency and accuracy of accounting valuation is improved.

CN119887416APending Publication Date: 2025-04-25INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411968245.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In the prior art, the accounting and valuation tasks of asset custody business are concentrated in one database, resulting in high pressure on the database data and affecting normal operation.

Method used

Using distributed technology, the accounting and valuation tasks are analyzed and calculated by determining target shards (including scheduling units and calculation units) to reduce database pressure.

Benefits of technology

Improves the efficiency and accuracy of accounting valuations, reduces the load on the database, and meets the growing business needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119887416A_ABST
    Figure CN119887416A_ABST
Patent Text Reader

Abstract

The invention discloses an accounting valuation method, device and equipment and a storage medium, and relates to the technical field of finance, and the method comprises the steps: determining a target fragment corresponding to an accounting valuation task, and the target fragment comprises a scheduling unit and a calculation unit; analyzing the accounting valuation task based on the scheduling unit of the target fragment, and determining parameter information of the accounting valuation task; and on the basis of a calculation list configured in the calculation unit of the target fragment, respectively calculating the parameter information of the accounting valuation task to obtain an accounting valuation result of the accounting valuation task. According to the technical scheme, accounting valuation of assets hosted by the asset hosting business corresponding to the accounting valuation task is realized based on the target fragment corresponding to the accounting valuation task, and the pressure of a database corresponding to the asset hosting business is reduced while the accounting valuation efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of big data technology, and in particular to an accounting valuation method, device, equipment and storage medium. Background Art

[0002] With the rapid development of asset custody business in the financial industry, the scope and volume of asset valuation processing are increasing day by day. A large number of assets need to be calculated and valued every day, which places high demands on the transaction processing capabilities of financial enterprises.

[0003] In the prior art, the custody and accounting and valuation of assets are often concentrated in one database, and the accounting and valuation tasks are also processed through the database. This processing method will cause a lot of data pressure on the database and affect the normal operation of the database.

[0004] Therefore, this application proposes a calculation and valuation method to solve the above problems. Summary of the invention

[0005] The present invention provides an accounting and valuation method, device, equipment and storage medium to realize accounting and valuation of assets based on distributed technology, improve the efficiency and accuracy of accounting and valuation, and reduce database pressure.

[0006] In a first aspect, an embodiment of the present invention provides a method for calculating valuation, including:

[0007] Determine a target shard corresponding to the accounting valuation task, wherein the target shard includes a scheduling unit and a computing unit;

[0008] The scheduling unit based on the target slice analyzes the calculation and valuation task to determine parameter information of the calculation and valuation task;

[0009] Based on the calculation list configured in the calculation unit of the target shard, the parameter information of the calculation and valuation task is calculated respectively to obtain the calculation and valuation result of the calculation and valuation task.

[0010] The technical solution of an embodiment of the present invention provides a method for accounting valuation, including: determining a target shard corresponding to an accounting valuation task, wherein the target shard includes a scheduling unit and a computing unit; parsing the accounting valuation task based on the scheduling unit of the target shard to determine parameter information of the accounting valuation task; and calculating the parameter information of the accounting valuation task respectively based on a calculation list configured in the computing unit of the target shard to obtain an accounting valuation result of the accounting valuation task. The above technical scheme, after constructing an accounting and valuation task based on the assets entrusted by the asset custody business that need to be accounted and valued, can first determine the shard for accounting and valuation of the assets according to the asset type of the assets entrusted by the asset custody business corresponding to the accounting and valuation task. The shard is the shard for accounting and valuation of the assets entrusted by the asset custody business corresponding to the accounting and valuation task, thereby determining the target shard corresponding to the accounting and valuation task, and then determining the parameter information of the accounting and valuation task through the scheduling unit of the target shard, and calculating the parameter information of the accounting and valuation task based on the calculation list configured in the calculation unit of the target shard, so as to account and value the assets entrusted by the asset custody business corresponding to the accounting and valuation task, and realize the accounting and valuation of the assets entrusted by the asset custody business corresponding to the accounting and valuation task based on the target shard corresponding to the accounting and valuation task, thereby improving the efficiency of accounting and valuation while reducing the pressure on the database corresponding to the asset custody business.

[0011] Furthermore, the target shard corresponding to the valuation task is determined, including:

[0012] Determine the asset type of the asset to be valued corresponding to the valuation task;

[0013] The target shard corresponding to the accounting and valuation task is determined according to the asset type configured for each shard and the asset type of the to-be-accounted and valued asset corresponding to the accounting and valuation task.

[0014] Furthermore, the target shard further includes a storage unit. Accordingly, after determining the parameter information of the calculation and valuation task, it further includes:

[0015] The storage unit based on the target shard stores parameter information of the calculation and valuation task.

[0016] Furthermore, the target slice further includes a message unit. Accordingly, after the scheduling unit based on the target slice parses the calculation and valuation task, it further includes:

[0017] The message unit of the target shard sends the calculation valuation task to the computing unit of the target shard in the form of a message.

[0018] Furthermore, before respectively calculating the parameter information of the accounting valuation task, it also includes:

[0019] The calculation valuation task is determined based on the computing unit of the target shard consuming the message sent by the message unit.

[0020] Further, based on the calculation list configured in the calculation unit of the target shard, the parameter information of the calculation valuation task is calculated respectively, including:

[0021] Determining parameter information of the calculation and valuation task in the storage unit based on the message unit of the target slice;

[0022] Based on the calculation list configured in the calculation unit of the target shard, the parameter information of the calculation and valuation task is calculated respectively to obtain the calculation and valuation result of the calculation and valuation task.

[0023] In a second aspect, an embodiment of the present invention further provides a calculation and valuation device, including:

[0024] A determination module, used to determine a target shard corresponding to the accounting and valuation task according to the asset type of the to-be-accounted and valued asset corresponding to the accounting and valuation task, wherein the target shard includes a scheduling unit and a computing unit;

[0025] A parsing module, configured to parse the calculation and valuation task based on the scheduling unit of the target slice, and determine parameter information of the calculation and valuation task;

[0026] The calculation unit is used to calculate the parameter information of the accounting valuation task based on the calculation list configured in the calculation unit of the target shard, so as to obtain the accounting valuation result of the accounting valuation task.

[0027] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:

[0028] at least one processor; and a memory communicatively coupled to the at least one processor;

[0029] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the accounting valuation method as described in any one of the first aspects.

[0030] In a fourth aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute the accounting valuation method as described in any one of the first aspects.

[0031] In a fifth aspect, the present application provides a computer program product, which includes computer instructions. When the computer instructions are executed on a computer, the computer executes the accounting valuation method provided in the first aspect.

[0032] It should be noted that the above-mentioned computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer-readable storage medium may be packaged together with the processor of the accounting and valuation device, or may be packaged separately from the processor of the accounting and valuation device, and this application does not limit this.

[0033] The description of the second, third, fourth and fifth aspects in this application can refer to the detailed description of the first aspect; and the beneficial effects of the description of the second, third, fourth and fifth aspects can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.

[0034] In this application, the name of the above-mentioned accounting and valuation device does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of this application, they fall within the scope of the claims of this application and their equivalent technologies.

[0035] These and other aspects of the present application will become more apparent from the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0037] Figure 1 A flowchart of a method for calculating valuation provided by an embodiment of the present invention;

[0038] Figure 2 A schematic diagram of a target shard in a method for calculating valuation provided by an embodiment of the present invention;

[0039] Figure 3 A flowchart of another method for calculating valuation provided by an embodiment of the present invention;

[0040] Figure 4 A schematic diagram of the structure of a calculation and valuation device provided by an embodiment of the present invention;

[0041] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0042] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0043] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0044] The terms "first" and "second" and the like in the specification and drawings of this application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.

[0045] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0046] It should be mentioned before discussing exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe various operations (or steps) as sequential processes, many operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of various operations can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to methods, functions, procedures, subroutines, subprograms, etc. In addition, the embodiments in the present invention and the features in the embodiments can be combined with each other without conflict.

[0047] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0048] In the description of the present application, unless otherwise specified, “plurality” means two or more.

[0049] Figure 1 A flowchart of an accounting and valuation method provided in an embodiment of the present invention is provided. This embodiment is applicable to the situation where it is necessary to separate the accounting and valuation of assets from the database used for asset custody. The method can be executed by an accounting and valuation device, such as Figure 1 As shown, the specific steps include:

[0050] Step 110: Determine the target shard corresponding to the valuation task.

[0051] Figure 2 A schematic diagram of a target slice in a method for calculating valuation provided by an embodiment of the present invention, such as Figure 2 As shown, the target slice includes a scheduling unit and a computing unit.

[0052] The accounting and valuation tasks can be understood as the accounting and valuation tasks for the assets corresponding to various asset custody businesses. Asset custody business refers to the business in which a commercial bank with certain qualifications, as a custodian, signs an entrusted asset custody contract with the entrustor in accordance with relevant laws and regulations, safely keeps the entrusted investment assets, and performs the relevant duties of the custodian. There are many types of assets that can be entrusted, including securities investment funds, entrusted assets, social security funds, enterprise annuities, trust assets, rural social security funds, basic pension insurance personal account funds, supplementary medical insurance funds, income and expenditure accounts, qualified foreign institutional investors, and valuables.

[0053] The target shard can be understood as a server in a distributed cluster. The distributed cluster consists of multiple servers, and each server can be used to calculate and value different assets.

[0054] Specifically, when it is necessary to perform accounting and valuation on the assets managed by the asset custody business, an accounting and valuation task can be constructed based on the assets managed by the asset custody business, and the task identifier of the accounting and valuation task can be determined at the same time. Then, the corresponding target shard of the accounting and valuation task can be determined according to the task identifier of the accounting and valuation task. Specifically, the task identifier of the accounting and valuation task can be hashed to obtain the calculation result, and various calculation results of the hashing operation correspond to the shards in the distributed cluster. Therefore, after the task identifier of the accounting and valuation task is hashed to obtain the calculation result, the target shard corresponding to the accounting and valuation task can be determined according to the calculation result.

[0055] It should be noted that after determining the target shard corresponding to the accounting and valuation task, the accounting and valuation task can be distributed to the corresponding target shard. Through the distributed cluster, the accounting and valuation task can be separated from the database for asset custody business, thereby decoupling the asset custody business and the accounting and valuation task, and reducing the pressure on the database corresponding to the asset custody business.

[0056] In an embodiment of the present invention, after constructing an accounting and valuation task based on the assets entrusted by the asset custody business that require accounting and valuation of the assets entrusted by the asset custody business, the shard for accounting and valuation of the assets is determined according to the task identifier of the accounting and valuation task, thereby determining the target shard corresponding to the accounting and valuation task.

[0057] Step 120: The scheduling unit based on the target slice analyzes the calculation and valuation task to determine parameter information of the calculation and valuation task.

[0058] The scheduling unit of the target shard is used to parse the calculation and valuation tasks distributed to the target shard and determine the parameter information of the calculation and valuation tasks.

[0059] Specifically, the accounting valuation task can be parsed based on the scheduling unit of the target shard, and specifically, the code of the accounting valuation task can be parsed to determine the parameter information of the accounting valuation task. The parameter information here includes at least user information, date information, region information, asset type and investment type.

[0060] In the embodiment of the present invention, the parameter information of the accounting and valuation task is determined by the scheduling unit of the target slice corresponding to the accounting and valuation task, so as to determine the parameter information required for accounting and valuing the assets corresponding to the asset custody business corresponding to the accounting and valuation task.

[0061] Step 130: Based on the calculation list configured in the calculation unit of the target shard, the parameter information of the calculation and valuation task is calculated respectively to obtain the calculation and valuation result of the calculation and valuation task.

[0062] Among them, a calculation list for accounting and valuing assets of corresponding types is configured in the calculation unit of the target shard, and the calculation list may include at least one calculation formula, which are all determined and pre-configured by the asset type corresponding to the asset custody business corresponding to the accounting and valuation task.

[0063] Specifically, after the scheduling unit of the target shard determines the parameter information of the accounting valuation task, the parameter information of the accounting valuation task can be sent to the calculation unit of the target shard. The calculation unit of the target shard can calculate the parameters of the accounting valuation task based on the calculation formulas in the configured calculation list, and the accounting valuation result of the accounting valuation task can be determined according to the calculation result, that is, the accounting valuation result of the asset corresponding to the asset custody business corresponding to the accounting valuation task can be determined.

[0064] In the embodiment of the present invention, the accounting and valuation of the assets entrusted by the asset custody business corresponding to the accounting and valuation task is realized based on the target shard corresponding to the accounting and valuation task, thereby improving the efficiency of the accounting and valuation while reducing the pressure on the database corresponding to the asset custody business.

[0065] The accounting valuation method provided by an embodiment of the present invention includes: determining a target shard corresponding to a accounting valuation task, wherein the target shard includes a scheduling unit and a computing unit; parsing the accounting valuation task based on the scheduling unit of the target shard to determine parameter information of the accounting valuation task; and calculating the parameter information of the accounting valuation task based on a calculation list configured in the computing unit of the target shard to obtain an accounting valuation result of the accounting valuation task. The above technical scheme, after constructing an accounting and valuation task based on the assets entrusted by the asset custody business that need to be accounted and valued, can first determine the shard for accounting and valuation of the assets according to the asset type of the assets entrusted by the asset custody business corresponding to the accounting and valuation task. The shard is the shard for accounting and valuation of the assets entrusted by the asset custody business corresponding to the accounting and valuation task, thereby determining the target shard corresponding to the accounting and valuation task, and then determining the parameter information of the accounting and valuation task through the scheduling unit of the target shard, and calculating the parameter information of the accounting and valuation task based on the calculation list configured in the calculation unit of the target shard, so as to account and value the assets entrusted by the asset custody business corresponding to the accounting and valuation task, and realize the accounting and valuation of the assets entrusted by the asset custody business corresponding to the accounting and valuation task based on the target shard corresponding to the accounting and valuation task, thereby improving the efficiency of accounting and valuation while reducing the pressure on the database corresponding to the asset custody business.

[0066] Figure 3 This is a flow chart of another method for calculating valuation provided by an embodiment of the present invention. This embodiment is specific based on the above embodiment. Figure 3 As shown, in this embodiment, the method may further include:

[0067] Step 310: Determine the target shard corresponding to the valuation task.

[0068] like Figure 2 As shown, the target slice includes a scheduling unit, a computing unit, a storage unit and a computing unit.

[0069] In one implementation, step 310 may specifically include:

[0070] Determine the asset type of the to-be-valued asset corresponding to the accounting and valuation task; and determine the target shard corresponding to the accounting and valuation task according to the asset type configured for each shard and the asset type of the to-be-valued asset corresponding to the accounting and valuation task.

[0071] Each server constituting a distributed cluster can be used to calculate and value different types of assets, and the asset types that can be calculated and valued by each server are pre-configured, and the servers and the asset types that can be calculated and valued can be stored in the form of a relational table in a database for asset custody services.

[0072] Specifically, when it is necessary to perform accounting and valuation on the assets managed by the asset custody business, an accounting and valuation task can be constructed based on the assets managed by the asset custody business. Of course, the asset type of the assets managed by the asset custody business can also be determined. Assets of different asset types can be accounted and valued in different shards of the distributed cluster, and the corresponding relationship table between such asset types and shards in the distributed cluster has been pre-stored in the database for the asset custody business. Therefore, after constructing the accounting and valuation task based on the assets managed by the asset custody business, the shard for accounting and valuation of the assets can be determined according to the asset type of the assets managed by the asset custody business corresponding to the accounting and valuation task, that is, the target shard corresponding to the accounting and valuation task can be determined.

[0073] Similarly, after determining the target shard corresponding to the accounting and valuation task, the accounting and valuation task can be distributed to the corresponding target shard. Through the distributed cluster, the accounting and valuation task can be separated from the database for asset custody business, thereby decoupling the asset custody business and the accounting and valuation task, and reducing the pressure on the database corresponding to the asset custody business.

[0074] In an embodiment of the present invention, after constructing an accounting and valuation task based on the assets entrusted by the asset custody business that require accounting and valuation of the assets entrusted by the asset custody business, the shard for accounting and valuation of the assets is determined according to the asset type of the assets entrusted by the asset custody business corresponding to the accounting and valuation task, thereby determining the target shard corresponding to the accounting and valuation task.

[0075] Step 320: The scheduling unit based on the target slice analyzes the calculation and valuation task to determine parameter information of the calculation and valuation task.

[0076] As described in the previous embodiment, the accounting valuation task can be parsed based on the scheduling unit of the target slice to determine the parameter information of the accounting valuation task. For example, the user information, date information, region information, asset type and investment type of the accounting valuation task can be determined.

[0077] In the embodiment of the present invention, the parameter information of the accounting and valuation task is determined by the scheduling unit of the target slice corresponding to the accounting and valuation task, so as to determine the parameter information required for accounting and valuing the assets corresponding to the asset custody business corresponding to the accounting and valuation task.

[0078] Step 330: The storage unit based on the target slice stores parameter information of the calculation and valuation task.

[0079] Specifically, after the scheduling unit based on the target slice determines the parameter information of the accounting valuation task, the parameter information can be stored in the storage unit of the target slice, that is, the parameter information of the accounting valuation task can be stored correspondingly based on the storage unit of the target slice.

[0080] In the embodiment of the present invention, distributed storage of parameter information required for performing accounting and valuation on assets corresponding to the asset custody business corresponding to the accounting and valuation task is implemented.

[0081] Step 340: Based on the message unit of the target shard, the calculation and valuation task is sent to the computing unit of the target shard in the form of a message.

[0082] Specifically, the message unit based on the target shard can also send the accounting valuation task to the computing unit of the target shard in the form of a message, so as to realize the accounting queuing of the accounting valuation task.

[0083] Step 350: Determine the calculation valuation task based on the consumption of the message sent by the message unit by the computing unit of the target shard.

[0084] Specifically, the computing unit of the target shard may consume the messages sent by the message unit in sequence to determine the current accounting valuation task that needs to be calculated and valued.

[0085] In an embodiment of the present invention, after determining the parameter information of the accounting valuation task, the message unit of the target shard can send the accounting valuation task to the computing unit of the target shard in the form of a message. The computing unit of the target shard consumes the messages sent by the message unit in sequence to determine the accounting valuation task that the computing unit currently needs to perform accounting valuation.

[0086] Step 360: Based on the calculation list configured in the calculation unit of the target shard, the parameter information of the calculation and valuation task is calculated respectively to obtain the calculation and valuation result of the calculation and valuation task.

[0087] In one implementation, step 360 may specifically include:

[0088] The message unit based on the target shard determines the parameter information of the accounting valuation task in the storage unit; based on the calculation list configured in the calculation unit of the target shard, the parameter information of the accounting valuation task is calculated respectively to obtain the accounting valuation result of the accounting valuation task.

[0089] Specifically, after the computing unit of the target shard determines the accounting valuation task that currently needs to be calculated and valued, it can determine the parameter information of the accounting valuation task in the storage unit, and then send the parameter information of the accounting valuation task from the storage unit to the computing unit through the message unit. The computing unit can calculate the parameter information of the accounting valuation task respectively through the calculation list configured therein, and obtain the accounting valuation result of the accounting valuation task, thereby realizing the accounting valuation result of the assets entrusted by the asset custody business corresponding to the accounting valuation task.

[0090] like Figure 2 As shown, the target shard also includes a data write back unit. After the target shard determines the accounting valuation results of the assets entrusted by the asset custody business corresponding to the accounting valuation based on the calculation unit, the target shard can write the accounting valuation results back to the database corresponding to the asset custody business based on the data write back unit, so as to facilitate the downstream system of the database to call the accounting valuation results.

[0091] In the embodiment of the present invention, the accounting and valuation of the assets entrusted by the asset custody business corresponding to the accounting and valuation task is realized based on the target shard corresponding to the accounting and valuation task, thereby improving the efficiency of the accounting and valuation while reducing the pressure on the database corresponding to the asset custody business.

[0092] The accounting valuation method provided by the embodiment of the present invention includes: determining the target shard corresponding to the accounting valuation task; parsing the accounting valuation task based on the scheduling unit of the target shard to determine the parameter information of the accounting valuation task; storing the parameter information of the accounting valuation task correspondingly based on the storage unit of the target shard; sending the accounting valuation task to the computing unit of the target shard as a message based on the message unit of the target shard; consuming the message sent by the message unit based on the computing unit of the target shard to determine the accounting valuation task; and calculating the parameter information of the accounting valuation task based on the calculation list configured in the computing unit of the target shard to obtain the accounting valuation result of the accounting valuation task. The above technical scheme, after constructing an accounting and valuation task based on the assets entrusted by the asset custody business that need to be accounted and valued, can first determine the shard for accounting and valuation of the assets according to the asset type of the assets entrusted by the asset custody business corresponding to the accounting and valuation task. The shard is the shard for accounting and valuation of the assets entrusted by the asset custody business corresponding to the accounting and valuation task, thereby determining the target shard corresponding to the accounting and valuation task, and then determining the parameter information of the accounting and valuation task through the scheduling unit of the target shard, and storing the parameter information in the storage unit of the target shard, thereby realizing the determination and distributed storage of the parameter information required for accounting and valuation of the assets corresponding to the asset custody business corresponding to the accounting and valuation task, based on After the scheduling unit of the target shard determines the parameter information of the accounting valuation task, the message unit based on the target shard sends the accounting valuation task to the computing unit of the target shard in the form of a message. The computing unit of the target shard consumes the messages sent by the message unit in sequence to determine the accounting valuation task that the computing unit currently needs to perform accounting and valuation. The computing unit of the target shard calculates the parameter information of the accounting valuation task based on the configured calculation list to perform accounting and valuation on the assets entrusted by the asset custody business corresponding to the accounting and valuation task. Based on the target shard corresponding to the accounting and valuation task, the accounting and valuation of the assets entrusted by the asset custody business corresponding to the accounting and valuation task is realized, thereby improving the efficiency of the accounting and valuation while reducing the pressure on the database corresponding to the asset custody business.

[0093] In addition, through distributed clusters, the accounting and valuation tasks of the assets under custody of the asset custody business are separated from the corresponding database of the asset custody business. Distributed technology is used to effectively ensure the fast, accurate and efficient processing of accounting and valuation tasks, effectively reduce the pressure on the corresponding database of the asset custody business, and meet the growing business needs.

[0094] Figure 4This is a schematic diagram of the structure of an accounting and valuation device provided by an embodiment of the present invention, which can be applied to the need to separate the accounting and valuation of assets from the database used for asset custody. The device can be implemented by software and / or hardware and is generally integrated in an electronic device, such as a computer device.

[0095] like Figure 4 As shown, the device comprises:

[0096] A determination module 410 is used to determine a target shard corresponding to the accounting and valuation task according to the asset type of the asset to be accounted and valued corresponding to the accounting and valuation task, wherein the target shard includes a scheduling unit and a computing unit;

[0097] A parsing module 420, configured to parse the calculation and valuation task based on the scheduling unit of the target slice, and determine parameter information of the calculation and valuation task;

[0098] The calculation module 430 is used to calculate the parameter information of the calculation and valuation task based on the calculation list configured in the calculation unit of the target slice, and obtain the calculation and valuation result of the calculation and valuation task.

[0099] The accounting and valuation device provided in this embodiment determines a target shard corresponding to an accounting and valuation task, wherein the target shard includes a scheduling unit and a computing unit; the scheduling unit based on the target shard analyzes the accounting and valuation task to determine parameter information of the accounting and valuation task; and the parameter information of the accounting and valuation task is calculated respectively based on a calculation list configured in the computing unit of the target shard to obtain an accounting and valuation result of the accounting and valuation task. The above technical scheme, after constructing an accounting and valuation task based on the assets entrusted by the asset custody business that need to be accounted and valued, can first determine the shard for accounting and valuation of the assets according to the asset type of the assets entrusted by the asset custody business corresponding to the accounting and valuation task. The shard is the shard for accounting and valuation of the assets entrusted by the asset custody business corresponding to the accounting and valuation task, thereby determining the target shard corresponding to the accounting and valuation task, and then determining the parameter information of the accounting and valuation task through the scheduling unit of the target shard, and calculating the parameter information of the accounting and valuation task based on the calculation list configured in the calculation unit of the target shard, so as to account and value the assets entrusted by the asset custody business corresponding to the accounting and valuation task, and realize the accounting and valuation of the assets entrusted by the asset custody business corresponding to the accounting and valuation task based on the target shard corresponding to the accounting and valuation task, thereby improving the efficiency of accounting and valuation while reducing the pressure on the database corresponding to the asset custody business.

[0100] Based on the above embodiment, the determination module 410 is specifically used for:

[0101] Determine the asset type of the to-be-valued asset corresponding to the accounting and valuation task; and determine the target shard corresponding to the accounting and valuation task according to the asset type configured for each shard and the asset type of the to-be-valued asset corresponding to the accounting and valuation task.

[0102] Based on the above embodiment, the target slice further includes a storage unit, and accordingly, the device further includes:

[0103] A storage module is used to store the parameter information of the accounting valuation task in correspondence with the storage unit of the target slice after determining the parameter information of the accounting valuation task.

[0104] On the basis of the above embodiment, the target segment further includes a message unit, and accordingly, the device further includes:

[0105] A sending module is used to send the accounting valuation task to the computing unit of the target shard in the form of a message based on the message unit of the target shard.

[0106] Based on the above embodiment, the calculation module 430 is specifically used for:

[0107] The computing unit of the target shard consumes the message sent by the message unit to determine the accounting valuation task; the message unit of the target shard determines the parameter information of the accounting valuation task in the storage unit; based on the calculation list configured in the computing unit of the target shard, the parameter information of the accounting valuation task is calculated respectively to obtain the accounting valuation result of the accounting valuation task.

[0108] The accounting and valuation device provided in the embodiment of the present invention can execute the accounting and valuation method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the accounting and valuation method.

[0109] It is worth noting that in the embodiment of the above-mentioned accounting and valuation device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0110] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 5 A block diagram of an exemplary electronic device 5 suitable for implementing embodiments of the present invention is shown. Figure 5 The electronic device 5 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0111] like Figure 5 As shown, the electronic device 5 is in the form of a general purpose computing electronic device. The components of the electronic device 5 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).

[0112] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0113] The electronic device 5 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 5, including volatile and non-volatile media, removable and non-removable media.

[0114] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 5 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 5 not shown, usually called a "hard drive"). Although Figure 5 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0115] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described herein.

[0116] The electronic device 5 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), one or more devices that enable a user to interact with the electronic device 5, and / or any device that enables the electronic device 5 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed via an input / output (I / O) interface 22. Furthermore, the electronic device 5 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 20. Figure 5 As shown, the network adapter 20 communicates with other modules of the electronic device 5 via the bus 18. It should be understood that although Figure 5 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 5, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0117] The processing unit 16 executes various functional applications and page displays by running the programs stored in the system memory 28, for example, implementing the accounting valuation method provided in the embodiment of the present invention, which includes:

[0118] Determine a target shard corresponding to the accounting valuation task, wherein the target shard includes a scheduling unit and a computing unit;

[0119] The scheduling unit based on the target slice analyzes the calculation and valuation task to determine parameter information of the calculation and valuation task;

[0120] Based on the calculation list configured in the calculation unit of the target shard, the parameter information of the calculation and valuation task is calculated respectively to obtain the calculation and valuation result of the calculation and valuation task.

[0121] Of course, those skilled in the art can understand that the processor can also implement the technical solution of the calculation and valuation method provided by any embodiment of the present invention.

[0122] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, for example, a calculation and valuation method provided in an embodiment of the present invention is implemented. The method includes:

[0123] Determine a target shard corresponding to the accounting valuation task, wherein the target shard includes a scheduling unit and a computing unit;

[0124] The scheduling unit based on the target slice analyzes the calculation and valuation task to determine parameter information of the calculation and valuation task;

[0125] Based on the calculation list configured in the calculation unit of the target shard, the parameter information of the calculation and valuation task is calculated respectively to obtain the calculation and valuation result of the calculation and valuation task.

[0126] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: 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 or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0127] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0128] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0129] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0130] It should be understood by those skilled in the art that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented by a program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0131] In addition, the acquisition, storage, use, and processing of data in the technical solution of the present invention are in compliance with the relevant provisions of national laws and regulations.

[0132] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A method for calculating valuation, characterized in that: include: Determine a target shard corresponding to the accounting valuation task, wherein the target shard includes a scheduling unit and a computing unit; The scheduling unit based on the target slice analyzes the calculation and valuation task to determine parameter information of the calculation and valuation task; Based on the calculation list configured in the calculation unit of the target shard, the parameter information of the calculation and valuation task is calculated respectively to obtain the calculation and valuation result of the calculation and valuation task.

2. The method for calculating and valuing according to claim 1, characterized in that: Determine the target shard corresponding to the valuation task, including: Determine the asset type of the asset to be valued corresponding to the valuation task; The target shard corresponding to the accounting and valuation task is determined according to the asset type configured for each shard and the asset type of the to-be-accounted and valued asset corresponding to the accounting and valuation task.

3. The method for calculating and valuing according to claim 1, characterized in that: The target shard further includes a storage unit. Accordingly, after determining the parameter information of the calculation and valuation task, the target shard further includes: The storage unit based on the target shard stores parameter information of the calculation and valuation task.

4. The method for calculating and valuing according to claim 3, characterized in that: The target slice further includes a message unit. Accordingly, after the scheduling unit based on the target slice parses the calculation and valuation task, it further includes: The message unit of the target shard sends the calculation valuation task to the computing unit of the target shard in the form of a message.

5. The method for calculating and valuing according to claim 4, characterized in that: Before respectively calculating the parameter information of the accounting and valuation tasks, the method further includes: The calculation valuation task is determined based on the computing unit of the target shard consuming the message sent by the message unit.

6. The method for calculating and valuing according to claim 4, characterized in that: Based on the calculation list configured in the calculation unit of the target shard, the parameter information of the calculation valuation task is calculated respectively, including: Determining parameter information of the calculation and valuation task in the storage unit based on the message unit of the target slice; Based on the calculation list configured in the calculation unit of the target shard, the parameter information of the calculation and valuation task is calculated respectively to obtain the calculation and valuation result of the calculation and valuation task.

7. A calculation and valuation device, characterized in that: include: A determination module, used to determine a target shard corresponding to the accounting and valuation task according to the asset type of the to-be-accounted and valued asset corresponding to the accounting and valuation task, wherein the target shard includes a scheduling unit and a computing unit; A parsing module, configured to parse the calculation and valuation task based on the scheduling unit of the target slice, and determine parameter information of the calculation and valuation task; The calculation module is used to calculate the parameter information of the calculation and valuation task based on the calculation list configured in the calculation unit of the target shard, so as to obtain the calculation and valuation result of the calculation and valuation task.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the accounting valuation method as described in any one of claims 1-7.

9. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to perform the accounting valuation method as described in any one of claims 1-7 when executed by a computer processor.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements the calculation and valuation method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method and device for distributed processing of insurance business, storage medium and terminal

    CN108961080A

  • Method, system and application for real-time evaluation of fund asset based on distribute data stream

    CN109165863A

  • Credit data accounting method, device and system and computer storage medium

    CN109670932A

  • Big data financial asset real-time valuation method and device and readable medium

    CN112862526A

  • Distributed task scheduling method, device and system and electronic equipment

    CN115827197A