CN110827025A - Asset clearing method and system - Google Patents

Asset clearing method and system Download PDF

Info

Publication number
CN110827025A
CN110827025A CN201910977885.3A CN201910977885A CN110827025A CN 110827025 A CN110827025 A CN 110827025A CN 201910977885 A CN201910977885 A CN 201910977885A CN 110827025 A CN110827025 A CN 110827025A
Authority
CN
China
Prior art keywords
rule
clearing
asset
path
superposition
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
CN201910977885.3A
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.)
HAINAN XINRUAN SOFTWARE Co Ltd
Original Assignee
HAINAN XINRUAN SOFTWARE 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 HAINAN XINRUAN SOFTWARE Co Ltd filed Critical HAINAN XINRUAN SOFTWARE Co Ltd
Priority to CN201910977885.3A priority Critical patent/CN110827025A/en
Publication of CN110827025A publication Critical patent/CN110827025A/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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/387Payment using discounts or coupons
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/381Currency conversion
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/405Establishing or using transaction specific rules

Abstract

The invention discloses an asset clearing method and a system, wherein the method comprises the following steps: the method comprises the steps of obtaining an asset clearing request of a user from a customization layer, configuring clearing conditions of asset clearing at root, obtaining an initial asset clearing rule after combining the clearing conditions, and updating the initial asset clearing rule according to the updated clearing conditions indicated in the asset clearing updating request obtained from the customization layer to obtain the asset clearing rule. And acquiring asset transaction data from the service layer, and performing asset clearing on the asset transaction data of the user according to asset clearing rules. Compared with the prior art, the method and the system have the advantages that the basic asset clearing rules are established by configuring the clearing conditions, when one clearing condition in the basic asset clearing rules needs to be replaced, only the updated clearing condition needs to be replaced with the clearing condition in the original rule, the basic asset clearing rules are updated, when the clearing condition needs to be updated, the whole system does not need to be adjusted, the code maintenance is simpler, and the updating and the maintenance of the system are facilitated.

Description

Asset clearing method and system
Technical Field
The invention relates to the field of digital asset transaction, in particular to an asset clearing method and an asset clearing system.
Background
The digital asset exchange is a physical platform for all traders to buy or sell digital assets and exchange them for other assets, and is a bridge connecting the primary and secondary markets of digital asset investment. The clearing refers to a processing procedure of calculating the net amount due and payable of the assets and funds of each settlement participant according to a determined principle according to transaction data and non-transaction data. The clearing system usually adopts a two-stage clearing mode, and Global internal clearing is internal clearing of a dealer, namely clearing between the dealer and a client; the central clearing refers to cross-site clearing of Global, japanese, korean and the like, and is clearing among dealers, i.e., clearing among dealers. At present, asset clearing is carried out by placing Global internal clearing, central clearing logic and maintenance in a large architecture, and in the same architecture, as long as a small rule of a local station is modified, the whole system needs to be adjusted, which brings great difficulty to code maintenance and is not beneficial to updating and maintaining the system.
Disclosure of Invention
The invention aims to provide an asset clearing method and an asset clearing system, which aim to solve the problems that the existing asset clearing is to place Global internal clearing, central clearing logic and maintenance in a large framework, and the whole system needs to be adjusted as long as a small rule of a local station is modified in the same framework, so that great difficulty is brought to code maintenance, and the updating and the maintenance of the system are not facilitated.
In one aspect, an embodiment of the present invention provides an asset clearing method, where the method includes: acquiring a user's asset clearing request from a custom layer, wherein the asset clearing request is used for indicating the user's asset clearing business type; according to the service type of the asset liquidation, allocating liquidation conditions of the asset liquidation; combining the clearing conditions to obtain an asset clearing initial rule; acquiring a user's asset clearing update request from a custom layer, wherein the asset clearing update request is used for indicating to update the clearing condition; updating the asset clearing initial rule according to the updated clearing condition to obtain an asset clearing rule; acquiring asset transaction data of a user from a service layer; and performing asset clearing on the asset transaction data of the user according to the asset clearing rule.
With reference to the first aspect, in a first possible implementation manner, the clearing condition includes: the system comprises a rate rule, a preferential scheme rule and a longest path mode, wherein the rate rule is used for indicating a basic rate parameter, the preferential scheme rule is used for indicating a discount full-reduction parameter, and the longest path mode is used for indicating an overlapping rule.
With reference to the first possible implementation manner, in a second possible implementation manner, the updating the initial asset clearing rule according to the updated clearing condition, and obtaining the asset clearing rule includes: recombining the basic rate parameter and the discount full-reduction parameter in the initial asset clearing rule according to the updated superposition rule to obtain an asset clearing rule; or updating the initial asset clearing rule according to the updated basic rate parameter or the updated discount full-reduction parameter to obtain an asset clearing rule; or updating the initial asset clearing rule according to the updated basic rate parameter and the updated discount full-reduction parameter to obtain the asset clearing rule.
With reference to the first possible implementation manner, in a third possible implementation manner, the rate rule includes: flat rate and flat rate, the base rate parameters including: flat rate parameters and step rate parameters.
With reference to the first possible implementation manner, in a fourth possible implementation manner, the offer scheme rule includes: the discount parameters comprise discount rules, full deduction rules and deduction currency configuration rules, wherein the discount full deduction parameters comprise: the discount rules, the full deduction rules and the deduction currency configuration rules comprise various rules, and the discount parameters, the full deduction parameters and the discount currency configuration parameters comprise various parameters.
With reference to the fourth possible implementation manner, in a fifth possible implementation manner, the combining the liquidation conditions to obtain the asset liquidation initial rule includes: and combining the basic rate parameter and at least one of the plurality of discount parameters, at least one of the plurality of full discount parameters and one of the plurality of deduction currency configuration rules according to the superposition rule to obtain the initial asset clearing rule.
With reference to the first possible implementation manner, in a sixth possible implementation manner, the method includes a plurality of types of the overlay rules, and the method further includes a path use priority rule, where the path use priority rule is used to determine priorities of the plurality of types of the overlay rules; combining the clearing conditions to obtain the initial asset clearing rule comprises the following steps: selecting the superposition rule with the highest priority from the multiple superposition rules according to the path use priority rule; and combining the basic rate parameter and the discount full-reduction parameter according to the superposition rule with the highest priority to obtain an initial rule for clearing the assets.
With reference to the sixth possible implementation manner, in a seventh possible implementation manner, the stacking rule is provided with a path effective time and a path validity period, where the path effective time is earlier than the path validity period, and the combining the liquidation conditions to obtain the asset liquidation initial rule includes: judging whether the current system time is later than the path effective time and earlier than the path effective period, and if the current system time is later than the path effective time and earlier than the path effective period, taking the superposition rule as an alternative superposition rule; if the current system time is earlier than the path effective time or later than the path effective period, discarding the superposition rule; selecting the superposition rule with the highest priority from the alternative superposition rules according to the path use priority rule; and combining the basic rate parameter and the discount full-reduction parameter according to the superposition rule with the highest priority to obtain an initial rule for clearing the assets.
In a second aspect of the disclosed embodiments, there is provided an asset clearing system, the system comprising:
the system comprises an asset clearing request acquisition module, a service type determination module and a service type management module, wherein the asset clearing request acquisition module is used for acquiring an asset clearing request of a user from a customization layer, and the asset clearing request is used for indicating the service type of asset clearing of the user;
the rule configuration module is used for configuring the clearing conditions of the asset clearing according to the service type of the asset clearing;
the rule combination module is used for combining the clearing conditions to obtain an asset clearing initial rule;
the asset clearing updating request acquisition module is used for acquiring an asset clearing updating request of a user from a customization layer, and the asset clearing updating request is used for indicating to update the clearing condition;
the asset clearing rule updating module is used for updating the asset clearing initial rule according to the updated clearing condition to obtain an asset clearing rule;
the data acquisition module is used for acquiring asset transaction data of a user from the service layer;
and the asset clearing module is used for carrying out asset clearing on the asset transaction data of the user according to the asset clearing rule.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the clearing condition includes: the system comprises a rate rule, a preferential scheme rule and a longest path mode, wherein the rate rule is used for indicating a basic rate parameter, the preferential scheme rule is used for indicating a discount full-reduction parameter, the longest path mode is used for indicating a superposition rule, the system comprises a plurality of superposition rules, the system further comprises a path using priority rule, and the path using priority rule is used for judging the priority of the plurality of superposition rules;
the rule combination module comprises:
the first superposition rule selection submodule is used for selecting the superposition rule with the highest priority from the multiple superposition rules according to the path use priority rule;
and the first rule combination submodule is used for combining the basic rate parameter and the discount full-reduction parameter according to the superposition rule with the highest priority to obtain an initial rule for clearing assets.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the overlay rule is provided with a path validation time and a path validity period, the path validation time is earlier than the path validity period,
the rule combination module comprises:
the judging submodule is used for judging whether the current system time is later than the path effective time and earlier than the path effective period or not, and if the current system time is later than the path effective time and earlier than the path effective period, the superposition rule is used as an alternative superposition rule;
if the current system time is earlier than the path effective time or later than the path effective period, discarding the superposition rule;
the second superposition rule selection submodule is used for selecting the superposition rule with the highest priority from the alternative superposition rules according to the path use priority rule;
and the second rule combination submodule combines the basic rate parameter and the discount full-reduction parameter according to the superposition rule with the highest priority.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the method is applied to a business layer, a user's asset clearing request is obtained from a customization layer, the asset clearing request is used for indicating the business type of user asset clearing, the clearing condition of asset clearing is configured according to the indicated business type of asset clearing, the initial rule of asset clearing is obtained after the configured clearing conditions are combined, the initial rule of asset clearing is a basic rule, and the initial rule of asset clearing is updated according to the updated clearing condition indicated in the request after the user's asset clearing update request is obtained from the customization layer, so that the final asset clearing rule is obtained. And acquiring the asset transaction data of the user from the service layer, and performing asset clearing on the asset transaction data of the user according to the asset clearing rule. Compared with the prior art, the system is divided into three layers, namely a customization layer, a business layer and a service layer, so that data acquisition, business rule configuration and a clearing engine are stripped, and then a basic asset clearing rule is established by configuring clearing conditions.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a flow chart of an asset clearing method provided by an embodiment of the present application;
FIG. 2 is a flow diagram of an initial rule set for asset clearing provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of a basic rate configuration provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a clearing condition configuration provided by an embodiment of the present application;
FIG. 5 is a diagram illustrating stacking rule combination clearing conditions provided by an embodiment of the present application;
FIG. 6 is a block diagram of an asset clearing system provided by an embodiment of the present application;
fig. 7 is a block diagram of a rule combination module according to an embodiment of the present disclosure;
FIG. 8 is a block diagram of a rule combination module according to another embodiment of the present application;
fig. 9 is a schematic diagram of an asset clearing system provided by an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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 invention.
Referring to fig. 1, there is shown a flow chart of an asset clearing method of the present invention, the method comprising the steps of:
step 101, acquiring a user's asset clearing request from a custom layer, wherein the asset clearing request is used for indicating the user's asset clearing business type.
The clearing system generally adopts a two-stage clearing mode, wherein the first-stage clearing or central clearing is the clearing among the dealers (namely the clearing between the dealers), and the second-stage clearing is the clearing inside the dealers (namely the clearing between the dealers and the clients). Due to long-time service iteration, all service clearing logics are stored in the same clearing module, and primary and secondary clearing boundary distinction is not clear. The method and the system firstly divide the whole clearing system into the primary clearing and the secondary clearing so that the primary clearing boundary and the secondary clearing boundary are more distinguished, and therefore updating and maintenance of the clearing system are facilitated. Meanwhile, the first-level clearing and the second-level clearing are divided into three layers: a custom layer, a business layer, and a service layer. The custom layer is used for front-end display, actually is a layer for interaction between a user and the system, the custom layer displays an interface of the system for the user, the user sends an asset clearing request to the custom layer through the custom layer, and the request mode can be that a clearing button is arranged on the interface of the system and a login interface can also be arranged. The user enters the own asset clearing interface through the login interface, and the user triggers an asset clearing request through the clearing button.
The business layer is used for clearing condition configuration, and obtains the asset clearing request of the user from the customization layer, wherein the asset clearing request can contain account information of the user and the type of business needing asset clearing. After the user logs in the system, all the service types of the user can be displayed to the user through an interface, wherein the service types can comprise spot transactions, OTC legal tender transactions, contract transactions and the like. The account which each user can have a plurality of service types, and all the service types which the user has can be displayed on the interface. For example, after a user logs in the system through a login interface, the system automatically pops up buttons of all service types owned by the user, and the user selects the button of the service type needing asset clearing according to actual requirements, namely, sends out an asset clearing request.
And 102, configuring the clearing condition of the asset clearing according to the service type of the asset clearing. Wherein the clearing conditions include: the system comprises a rate rule, a preferential scheme rule and a longest path mode, wherein the rate rule is used for indicating a basic rate parameter, the preferential scheme rule is used for indicating a discount full-reduction parameter, and the longest path mode is used for indicating an overlapping rule.
The rate rules may include: flat rate and flat rate, the base rate parameters including: flat rate parameters and step rate parameters. A single service type can be configured with a plurality of rate rules at the same time, for example, two rate rules of fixed rate and step rate can be configured at the same time. And after rate rules are configured, carrying out subsequent clearing process by using the basic rate parameters.
The preference scheme rules include: the discount parameters comprise discount rules, full deduction rules and deduction currency configuration rules, wherein the discount full deduction parameters comprise: the discount rules, the full deduction rules and the deduction currency configuration rules comprise various rules, and the discount parameters, the full deduction parameters and the discount currency configuration parameters comprise various parameters. The discount rules may include a variety of discount schemes: discount scheme a, discount scheme B …, the full reduction rule may also include multiple full reduction schemes: the full subtraction scheme a, the full subtraction scheme B …, and the refund currency allocation rules may also include a plurality of refund currencies: resisting coin type 1 and resisting coin type 2 ….
And 103, combining the clearing conditions to obtain an asset clearing initial rule. Specifically, the method comprises the following steps: and combining the basic rate parameter and at least one of the plurality of discount parameters, at least one of the plurality of full discount parameters and one of the plurality of deduction currency configuration rules according to the superposition rule to obtain the initial asset clearing rule. The superposition rule refers to a combined path of the commission cost preferential scheme which is configured and supported to appear, and a plurality of superposition rules can be created by a single service type. Based on the above-mentioned types of clearing conditions, it may be, for example, an initial rule for obtaining a clearing of the property according to the superposition rule 1, which may be a flat rate parameter, a discount scheme a, a full-reduction scheme B, and a deduction currency 3. Or may be an initial rule for combining tiered rates, discount scheme C, and deduction of currency 2 to obtain an asset clearance according to stacking rule 2.
The method comprises a plurality of superposition rules and further comprises a path use priority rule, wherein the path use priority rule is used for judging the priority of the plurality of superposition rules; combining the clearing conditions to obtain the initial asset clearing rule comprises the following steps: selecting the superposition rule with the highest priority from the multiple superposition rules according to the path use priority rule; and combining the basic rate parameter and the discount full-reduction parameter according to the superposition rule with the highest priority to obtain an initial rule for clearing the assets. The priority rules may be in a specified order or in terms of offer size. For example, the system has the stacking rule 1 and the stacking rule 2 …, and the user can select the stacking rule combination clearing condition according to the personalized customization requirement and the designated sequence. Rules for obtaining the liquidation of the property may also be in accordance with the preferential size, for example, the above-mentioned superposition rule 1 may be the initial rule 1 for obtaining the liquidation of the property by the combination flat rate parameter, the discount scheme a, the full reduction scheme B, and the deduction currency 3. Or may be an initial rule 2 for combining tiered rates, discount scheme C, and deduction of currency 2 to obtain an asset clearance according to the stacking rule 2. And if the clearing data A is larger than the clearing data B, the preferential size of the superposition rule 1 is larger than that of the superposition rule 1, so that a superposition rule 1 combination clearing condition is selected, and finally the initial rule 1 of the asset clearing is utilized to carry out the asset clearing.
In addition, the overlay rule may further include a path validation time and a path validity period, where the path validation time is earlier than the path validity period, the path validation time refers to an available time of the overlay rule, and the path validity period refers to a deadline at which the overlay rule is available. The superposition rule is not usable when the current time is earlier than the effective time of the path, and the superposition rule is not usable when the current time is later than the effective period of the path.
Based on the above scheme, as shown in fig. 2, combining the clearing conditions to obtain the initial asset clearing rule includes:
step 301, judging whether the current system time is later than the path effective time and earlier than the path effective time, and if the current system time is later than the path effective time and earlier than the path effective time, taking the superposition rule as an alternative superposition rule; if the current system time is earlier than the path effective time or later than the path effective period, discarding the superposition rule;
step 302, selecting the superposition rule with the highest priority from the alternative superposition rules according to the path use priority rule;
step 303, combining the basic rate parameter and the discount full-reduction parameter according to the superposition rule with the highest priority to obtain an initial rule for clearing assets.
For example, if the time of the current system is 2019, month 9 and day 30, the set path effective date of the superposition rule 1 is 2019, month 10 and day 1, the path validity period of the superposition rule 1 is 2019, month 10 and day 10, and the path validity period of the superposition rule 1 is 2019, month 9 and day 1, the superposition rule 1 can only be selected under the current system time condition, the superposition rules of all composite conditions are obtained in this way, and the superposition rules are used as alternative superposition rules. And finally, selecting the superposition rule which is most advanced or most preferential in the designated sequence from the alternative superposition rules according to the path priority rule as a final superposition rule. And combining the basic rate parameter and the discount full-reduction parameter according to the selected final superposition rule to obtain an initial rule of asset clearing.
And 104, acquiring a user's asset clearing update request from the customization layer, wherein the asset clearing update request is used for indicating to update the clearing condition. And 105, updating the asset clearing initial rule according to the updated clearing condition to obtain the asset clearing rule.
The process set forth above is a process of creating an initial, i.e., base, asset clearing rule. The user may need to update the initial rules for asset clearing after the creation is complete. The method can be used for updating the just created asset clearing initial rule or calling a common asset clearing initial rule from a service layer for updating. An update button may be provided on the custom layer interface to generate a user's request for a liquidation update. And the business layer acquires the asset clearing and updating request of the user from the customization layer. The asset liquidation update request is for indicating that the liquidation condition is updated.
Recombining the basic rate parameter and the discount full-reduction parameter in the initial asset clearing rule according to the updated superposition rule to obtain an asset clearing rule; for example, the initial asset clearing rule 2 combines the step rate, the discount scheme C and the deduction currency 2 according to the stacking rule 2, after the user calls the initial asset clearing rule 2, the stacking rule needs to be changed to change the stacking rule 2 to the stacking rule 1, and if the other clearing conditions are not changed, the updated asset clearing rule is updated to combine the step rate, the discount scheme C and the deduction currency 2 according to the stacking rule 1.
Or updating the initial asset clearing rule according to the updated basic rate parameter or the updated discount full-reduction parameter to obtain an asset clearing rule; for example, the initial rules for asset clearance 2 combine the step rate, the discount scheme C, and the deduction currency 2 according to the stacking rules 2, after the user calls the initial rules for asset clearance 2, the rate rules need to be changed, that is, the basic rate parameters are updated, the step rate is changed to the fixed 0.2% rate, and the other clearance conditions are not changed, so that the updated initial rules for asset clearance combine the fixed 0.2% rate, the discount scheme C, and the deduction currency 2 according to the stacking rules 2.
Or updating the initial asset clearing rule according to the updated basic rate parameter and the updated discount full-reduction parameter to obtain the asset clearing rule. In addition to updating the base rate parameter and the discount full-reduction parameter separately, the base rate parameter and the discount full-reduction parameter may also be updated simultaneously. The initial rules for clearing assets 2 combine the step rate, the discount scheme C and the deduction currency 2 according to the superposition rules 2, after the user calls the initial rules for clearing assets 2, the basic rate parameters and the discount full-reduction parameters need to be updated simultaneously, the step rate is changed into the fixed 0.2% rate, the discount scheme C is changed into the discount scheme B, and the discount currency 2 is changed into the discount currency 3, so that a new rule for clearing assets is formed.
Step 106, asset transaction data of the user is obtained from the service layer.
And 107, performing asset clearing on the asset transaction data of the user according to the asset clearing rule.
For further explaining the technical scheme of the application, the operation flow page of the system is schematically shown as follows:
referring to fig. 3, a user's asset clearing request is obtained from the customization layer, the asset clearing request indicating the type of business for the user's asset clearing, which may be selected as a spot transaction. Supporting a single service type to configure a plurality of basic rates, such as: a fixed 0.2% rate scheme is configured, and a step rate scheme is configured. Referring to fig. 4, the liquidation condition of the asset liquidation is configured according to the service type of the asset liquidation. Configuring a plurality of rate offer schemes through different conditions and the selection of crowds, such as: card-counting deduction, discount of commission fee, full discount of commission fee, etc. The path setting (superposition rule) mainly realizes the superposition combination of the basic rate and the commission discount scheme. After the combined clearing conditions are overlaid, initial rules of asset clearing, such as path one and path two of fig. 5, can be obtained. And acquiring a user's asset clearing update request from the customization layer, wherein the asset clearing update request is used for indicating to update the clearing condition. The selectable clearing conditions can be placed on the interface, when the user needs to update the clearing conditions, the selected and replaced clearing conditions are directly dragged into a dialog box with the longest path configuration (superposition rule) to update the clearing rules, so that the updated asset clearing rules are obtained, and the establishment and the update of various clearing rules can be quickly realized through the method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the method is applied to a business layer, a user's asset clearing request is obtained from a customization layer, the asset clearing request is used for indicating the business type of user asset clearing, the clearing condition of asset clearing is configured according to the indicated business type of asset clearing, the initial rule of asset clearing is obtained after the configured clearing conditions are combined, the initial rule of asset clearing is a basic rule, and the initial rule of asset clearing is updated according to the updated clearing condition indicated in the request after the user's asset clearing update request is obtained from the customization layer, so that the final asset clearing rule is obtained. And acquiring the asset transaction data of the user from the service layer, and performing asset clearing on the asset transaction data of the user according to the asset clearing rule. Compared with the prior art, the system is divided into three layers, namely a customization layer, a business layer and a service layer, so that data acquisition, business rule configuration and a clearing engine are stripped, and then a basic asset clearing rule is established by configuring clearing conditions.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
In addition, as an implementation of the foregoing embodiments, an asset clearing system is further provided in an embodiment of the present disclosure, where the asset clearing system is located in a terminal, and as shown in fig. 6, the asset clearing system includes:
an asset clearing request obtaining module 10, configured to obtain an asset clearing request of a user from a custom layer, where the asset clearing request is used to indicate a service type of asset clearing of the user;
a rule configuration module 20 for configuring the clearing condition of the asset clearing according to the service type of the asset clearing;
a rule combination module 30, configured to combine the liquidation conditions to obtain an asset liquidation initial rule;
an asset clearing update request obtaining module 40, configured to obtain an asset clearing update request of the user from the customization layer, where the asset clearing update request is used to indicate that the clearing condition is updated;
an asset clearing rule updating module 50, configured to update the asset clearing initial rule according to the updated clearing condition, so as to obtain an asset clearing rule;
a data acquisition module 60 for acquiring asset transaction data of a user from a service layer;
and the asset clearing module 70 is used for carrying out asset clearing on the asset transaction data of the user according to the asset clearing rule.
Wherein the clearing conditions include: the system comprises a rate rule, a preferential scheme rule and a longest path mode, wherein the rate rule is used for indicating a basic rate parameter, the preferential scheme rule is used for indicating a discount full-reduction parameter, the longest path mode is used for indicating a superposition rule, the system comprises a plurality of superposition rules, the system further comprises a path using priority rule, and the path using priority rule is used for judging the priorities of the plurality of superposition rules.
As shown in fig. 7, the rule combining module 30 includes:
a first stacking rule selecting sub-module 310, configured to select, according to the path usage priority rule, the stacking rule with the highest priority from the multiple stacking rules;
and a first rule combination submodule 320, configured to combine the basic rate parameter and the discount full-reduction parameter according to the stacking rule with the highest priority, so as to obtain an initial rule for asset clearing.
The superposition rule is provided with a path validation time and a path validity period, where the path validation time is earlier than the path validity period, as shown in fig. 8, the rule combining module 30 may further include:
a determining sub-module 311, configured to determine whether the current system time is later than the path validation time and earlier than the path validity period, and if the current system time is later than the path validation time and earlier than the path validity period, take the overlay rule as an alternative overlay rule;
if the current system time is earlier than the path effective time or later than the path effective period, discarding the superposition rule;
the second stacking rule selecting sub-module 321 is configured to select, according to the path use priority rule, the stacking rule with the highest priority from the candidate stacking rules;
and a second rule combining sub-module 331 for combining the basic rate parameter and the discount full-reduction parameter according to the stacking rule with the highest priority.
The asset clearing system provided by the embodiment of the disclosure is provided with a customization layer, a business layer and a service layer, wherein the business layer acquires an asset clearing request of a user from the customization layer, the asset clearing request is used for indicating the business type of the asset clearing of the user, clearing conditions of the asset clearing are configured according to the indicated business type of the asset clearing, initial rules of the asset clearing are obtained after the configured clearing conditions are combined, the initial rules of the asset clearing are basic rules, and the initial rules of the asset clearing are updated according to the updated clearing conditions indicated in the request after the asset clearing update request of the user is acquired from the customization layer, so that final asset clearing rules are obtained. And acquiring the asset transaction data of the user from the service layer, and performing asset clearing on the asset transaction data of the user according to the asset clearing rule. Compared with the prior art, the system is divided into three layers, namely a customization layer, a business layer and a service layer, so that data acquisition, business rule configuration and a clearing engine are stripped, and then a basic asset clearing rule is established by configuring clearing conditions.
FIG. 9 is a schematic diagram of an asset clearing system provided by an embodiment of the present application. As shown in fig. 9, the asset clearing system provided by the embodiment of the present application includes a processor 91 and a memory 92; the memory 92 for storing an executable program of the processor; the processor 91 is configured to obtain a user's asset clearing request from the customization layer, where the asset clearing request is used to indicate a service type of user's asset clearing, configure a clearing condition of asset clearing according to the indicated service type of asset clearing, and combine the configured clearing conditions to obtain an initial asset clearing rule, where the initial asset clearing rule is a basic rule, and after obtaining a user's asset clearing update request from the customization layer, update the initial asset clearing rule according to an updated clearing condition indicated in the request to obtain a final asset clearing rule. And acquiring the asset transaction data of the user from the service layer, and performing asset clearing on the asset transaction data of the user according to the asset clearing rule.
The application is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (11)

1. An asset clearing method, for use in a business layer, comprising:
acquiring a user's asset clearing request from a custom layer, wherein the asset clearing request is used for indicating the user's asset clearing business type;
according to the service type of the asset liquidation, allocating liquidation conditions of the asset liquidation;
combining the clearing conditions to obtain an asset clearing initial rule;
acquiring a user's asset clearing update request from a custom layer, wherein the asset clearing update request is used for indicating to update the clearing condition;
updating the asset clearing initial rule according to the updated clearing condition to obtain an asset clearing rule;
acquiring asset transaction data of a user from a service layer;
and performing asset clearing on the asset transaction data of the user according to the asset clearing rule.
2. The method of claim 1, wherein the clearing conditions comprise: the system comprises a rate rule, a preferential scheme rule and a longest path mode, wherein the rate rule is used for indicating a basic rate parameter, the preferential scheme rule is used for indicating a discount full-reduction parameter, and the longest path mode is used for indicating an overlapping rule.
3. The method of claim 2, wherein updating the initial asset clearing rule according to the updated clearing condition comprises:
recombining the basic rate parameter and the discount full-reduction parameter in the initial asset clearing rule according to the updated superposition rule to obtain an asset clearing rule;
or updating the initial asset clearing rule according to the updated basic rate parameter or the updated discount full-reduction parameter to obtain an asset clearing rule;
or updating the initial asset clearing rule according to the updated basic rate parameter and the updated discount full-reduction parameter to obtain the asset clearing rule.
4. The method of claim 2, wherein the rate rules comprise: flat rate and flat rate, the base rate parameters including: flat rate parameters and step rate parameters.
5. The method of claim 2, wherein the offer scheme rules comprise: the discount parameters comprise discount rules, full deduction rules and deduction currency configuration rules, wherein the discount full deduction parameters comprise: the discount rules, the full deduction rules and the deduction currency configuration rules comprise various rules, and the discount parameters, the full deduction parameters and the discount currency configuration parameters comprise various parameters.
6. The method of claim 5, wherein combining the liquidation conditions to derive an initial rules for asset liquidation comprises:
and combining the basic rate parameter and at least one of the plurality of discount parameters, at least one of the plurality of full discount parameters and one of the plurality of deduction currency configuration rules according to the superposition rule to obtain the initial asset clearing rule.
7. The method of claim 2, wherein the method comprises a plurality of the overlay rules, and further comprising a path usage priority rule for determining a priority of the plurality of the overlay rules;
combining the clearing conditions to obtain the initial asset clearing rule comprises the following steps:
selecting the superposition rule with the highest priority from the multiple superposition rules according to the path use priority rule;
and combining the basic rate parameter and the discount full-reduction parameter according to the superposition rule with the highest priority to obtain an initial rule for clearing the assets.
8. The method of claim 7, wherein the stacking rule is provided with a path validation time and a path validity period, the path validation time is earlier than the path validity period, and combining the clearing conditions to obtain an initial asset clearing rule comprises:
judging whether the current system time is later than the path effective time and earlier than the path effective period, and if the current system time is later than the path effective time and earlier than the path effective period, taking the superposition rule as an alternative superposition rule;
if the current system time is earlier than the path effective time or later than the path effective period, discarding the superposition rule;
selecting the superposition rule with the highest priority from the alternative superposition rules according to the path use priority rule;
and combining the basic rate parameter and the discount full-reduction parameter according to the superposition rule with the highest priority to obtain an initial rule for clearing the assets.
9. An asset clearing system, said system comprising:
the system comprises an asset clearing request acquisition module, a service type determination module and a service type management module, wherein the asset clearing request acquisition module is used for acquiring an asset clearing request of a user from a customization layer, and the asset clearing request is used for indicating the service type of asset clearing of the user;
the rule configuration module is used for configuring the clearing conditions of the asset clearing according to the service type of the asset clearing;
the rule combination module is used for combining the clearing conditions to obtain an asset clearing initial rule;
the asset clearing updating request acquisition module is used for acquiring an asset clearing updating request of a user from a customization layer, and the asset clearing updating request is used for indicating to update the clearing condition;
the asset clearing rule updating module is used for updating the asset clearing initial rule according to the updated clearing condition to obtain an asset clearing rule;
the data acquisition module is used for acquiring asset transaction data of a user from the service layer;
and the asset clearing module is used for carrying out asset clearing on the asset transaction data of the user according to the asset clearing rule.
10. The system of claim 9, wherein the clearing conditions comprise: the system comprises a rate rule, a preferential scheme rule and a longest path mode, wherein the rate rule is used for indicating a basic rate parameter, the preferential scheme rule is used for indicating a discount full-reduction parameter, the longest path mode is used for indicating a superposition rule, the system comprises a plurality of superposition rules, the system further comprises a path using priority rule, and the path using priority rule is used for judging the priority of the plurality of superposition rules;
the rule combination module comprises:
the first superposition rule selection submodule is used for selecting the superposition rule with the highest priority from the multiple superposition rules according to the path use priority rule;
and the first rule combination submodule is used for combining the basic rate parameter and the discount full-reduction parameter according to the superposition rule with the highest priority to obtain an initial rule for clearing assets.
11. The system according to claim 10, wherein the overlay rule is provided with a path validation time and a path validity period, the path validation time being earlier than the path validity period;
the rule combination module comprises:
the judging submodule is used for judging whether the current system time is later than the path effective time and earlier than the path effective period or not, and if the current system time is later than the path effective time and earlier than the path effective period, the superposition rule is used as an alternative superposition rule;
if the current system time is earlier than the path effective time or later than the path effective period, discarding the superposition rule;
the second superposition rule selection submodule is used for selecting the superposition rule with the highest priority from the alternative superposition rules according to the path use priority rule;
and the first rule combination submodule combines the basic rate parameter and the discount full-reduction parameter according to the superposition rule with the highest priority.
CN201910977885.3A 2019-10-15 2019-10-15 Asset clearing method and system Pending CN110827025A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910977885.3A CN110827025A (en) 2019-10-15 2019-10-15 Asset clearing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910977885.3A CN110827025A (en) 2019-10-15 2019-10-15 Asset clearing method and system

Publications (1)

Publication Number Publication Date
CN110827025A true CN110827025A (en) 2020-02-21

Family

ID=69549356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910977885.3A Pending CN110827025A (en) 2019-10-15 2019-10-15 Asset clearing method and system

Country Status (1)

Country Link
CN (1) CN110827025A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060038991A (en) * 2003-07-11 2006-05-04 오엠엑스 테크놀로지 에이비 An automated method and a system for clearing and settling trades in a csd-system
CN101188012A (en) * 2006-11-16 2008-05-28 中国银联股份有限公司 A transaction data liquidation system and liquidation method
CN108090755A (en) * 2017-12-18 2018-05-29 深圳市快付通金融网络科技服务有限公司 Billing model defines method, data system for settling account and computer readable storage medium
CN108734561A (en) * 2018-05-31 2018-11-02 康键信息技术(深圳)有限公司 Electronic device, order data processing method and computer readable storage medium
CN109584068A (en) * 2018-11-02 2019-04-05 深圳市快付通金融网络科技服务有限公司 A kind of distribution of funds formula liquidation method, apparatus and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060038991A (en) * 2003-07-11 2006-05-04 오엠엑스 테크놀로지 에이비 An automated method and a system for clearing and settling trades in a csd-system
CN101188012A (en) * 2006-11-16 2008-05-28 中国银联股份有限公司 A transaction data liquidation system and liquidation method
CN108090755A (en) * 2017-12-18 2018-05-29 深圳市快付通金融网络科技服务有限公司 Billing model defines method, data system for settling account and computer readable storage medium
CN108734561A (en) * 2018-05-31 2018-11-02 康键信息技术(深圳)有限公司 Electronic device, order data processing method and computer readable storage medium
CN109584068A (en) * 2018-11-02 2019-04-05 深圳市快付通金融网络科技服务有限公司 A kind of distribution of funds formula liquidation method, apparatus and system

Similar Documents

Publication Publication Date Title
US20230394402A1 (en) Autonomic Discrete Business Activity Management Method
US6134536A (en) Methods and apparatus relating to the formulation and trading of risk management contracts
CN103748602A (en) Paying non-settlement transactions
Banga et al. COVID-19 and disruption of the digital economy; evidence from low and middle-income countries
CA2895911A1 (en) Systems and methods for indentifying and remedying account error events in networked computer systems
EP0701717B1 (en) Methods and apparatus relating to the formulation and trading of risk management contracts
CN106296320A (en) Information broadcasting method based on terminal applies APP and device
US9875513B2 (en) Method and system for venture capital raising for startup via award and reality television show
US20230289692A1 (en) Risk management system interface
WO2016012217A1 (en) Computer systems and methods for balancing indexes
CN110489705B (en) Method, device, terminal equipment and storage medium for calculating brokerage fee
CN110633966A (en) Block chain-based contract securitization method and device
CN110827025A (en) Asset clearing method and system
CN109087201A (en) Data processing method, server and the storage medium of virtual resource
CN113034183A (en) Pricing processing method and device, electronic equipment and storage medium
JP5831989B2 (en) Information presenting apparatus, information presenting system, information presenting method, and information presenting program
JP5868692B2 (en) Algorithmic trading matching system and algorithmic trading integrated matching system provided with the same
CN111222924A (en) Internet trading platform uncertainty evaluation filtering system based on normal distribution probability density function
US20230267450A1 (en) Fractional non-fungible token trading marketplace
KR20130048341A (en) Settlement method and system for the know-how contents transaction
JP4589718B2 (en) Financial product providing system and method
Bräuninger et al. Taxing the digital economy
On Industry
CN116823471A (en) Transaction policy return method and device, electronic equipment and storage medium
CN111325623A (en) Information processing method and device, equipment and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200221