Transaction risk control system and transaction risk control method
By comparing the customer's product list and transaction product types in the transaction risk control system, and using the risk calculation unit and position update unit to process mismatched and matching product types, the time-consuming problem of data access in the traditional trading system is solved, and the Faster transaction completion.
Patent Information
- Application Number
- CN202010883554.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-28
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-08-28
AI Technical Summary
When calculating the risk value and margin amount, traditional trading systems require frequent access to the database, which results in a time-consuming data access process and affects the rapid completion of transactions.
A transaction risk control system is designed, which includes a customer product database, an order receiving module, a database management module and a risk inspection module. By comparing the customer product list and transaction product types, data access delays are reduced and repeated readings are avoided. The customer product database uses a risk calculation unit and a location update unit to handle unmatched and matching product types respectively.
It enables quick comparison of the types of trading commodities in orders, reduces data access delays, improves the response speed of the trading system, and enables customers to complete transactions more quickly.
Smart Images

Figure CN114118650B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to a control system and a control method, and in particular to a transaction risk control system and a transaction risk control method. Background Art
[0002] Generally speaking, in securities or futures trading, customers need to open a personal account at the business premises of the securities or futures dealer and deposit a considerable amount of money in the personal account before they can start trading. For example, if a customer wants to buy or sell a specific commodity, the customer needs to submit a commission order first, and then the securities or futures dealer's trading system will check whether the remaining amount in the customer's personal account is sufficient to buy or sell the specified commodity. When the remaining amount in the customer's personal account is insufficient, the securities or futures dealer's trading system will not allow the customer to trade, so as to avoid taking excessive risks.
[0003] In practice, after receiving a client's order, the trading system of a securities firm or futures firm will first check what kind of entrusted product is to be traded in the order, and then calculate various risk values and the margin amount required for the client to buy or sell the entrusted product. However, when calculating the risk value and margin amount, the traditional trading system needs to repeatedly obtain the relevant data of the entrusted product from the database, making the data access process very time-consuming. Therefore, the industry needs a new trading risk control system and method to further shorten the time the trading system takes to compare entrusted products in order to quickly complete transactions. Summary of the invention
[0004] In view of this, the main purpose of this application is to provide a transaction risk control system that can reduce the delay in data access so that customers can complete transactions more quickly after submitting an order.
[0005] The present application provides a trading risk control system, including a customer commodity database, a commission order receiving module, a database management module and a risk verification module. The customer commodity database is used to maintain a customer commodity list, and the customer commodity list records N commodity types associated with the customer account. The commission order receiving module is used to receive the commission order content, and the commission order content is associated with at least one trading commodity type. The database management module is electrically connected to the customer commodity database and the commission order receiving module to compare whether the N commodity types are the same as the trading commodity types. The risk verification module is electrically connected to the database management module, including a risk calculation unit and a position update unit. When the i-th commodity type among the N commodity types is not the same as the trading commodity type, the risk calculation unit performs a front-end processing procedure on the i-th commodity type. When the j-th commodity type among the N commodity types is the same as the trading commodity type, the position update unit performs a position update on the j-th commodity type. The front-end processing procedure is at least associated with one margin calculation parameter, N is a natural number, and i and j are natural numbers not greater than N.
[0006] In some embodiments, after the database management module compares all the N commodity types in the customer commodity list with the transaction commodity type, the risk calculation unit performs a front-end processing procedure on the j-th commodity type. In addition, the database management module sequentially compares whether the N commodity types in the customer commodity list are the same as the transaction commodity type. In addition, when the risk calculation unit performs a front-end processing procedure on the i-th commodity type, the database management module simultaneously compares whether the i+1-th commodity type in the N commodity types is the same as the transaction commodity type, and i+1 is not greater than N.
[0007] In some embodiments, the transaction risk control system includes a total commodity database, which is electrically connected to the database management module to maintain a total commodity list, and the total commodity list records all commodity types. In addition, when the transaction commodity type does not exist in the N commodity types in the customer commodity list, the database management module compares all the N commodity types in the customer commodity list with the transaction commodity type, loads the transaction commodity type from the total commodity list, and first performs a position update on the loaded transaction commodity type by the position update unit, and then performs a front-end processing procedure on the loaded transaction commodity type by the risk calculation unit. In addition, the risk calculation unit temporarily stores the results of the front-end processing procedure for the N commodity types in the customer commodity list, and the position update unit temporarily stores the customer commodity list after the position update.
[0008] The present application provides a transaction risk control method that can reduce the delay in data access, so that customers can complete transactions more quickly after submitting an order.
[0009] The present application provides a transaction risk control method, comprising the following steps. First, maintain a customer commodity list, which records N commodity types associated with the customer account. Receive a commission order content, which is associated with at least one trading commodity type. Compare whether the N commodity types are the same as the trading commodity type. When the i-th commodity type among the N commodity types is not the same as the trading commodity type, the i-th commodity type is subjected to a front-end processing procedure. When the j-th commodity type among the N commodity types is the same as the trading commodity type, the position of the j-th commodity type is updated. The front-end processing procedure is at least associated with one margin calculation parameter, N is a natural number, and i and j are natural numbers not greater than N.
[0010] In some embodiments, the transaction risk control method includes comparing all the N commodity types in the customer commodity list with the transaction commodity type, and then performing a front-end processing procedure on the j-th commodity type. In addition, in the step of comparing whether the N commodity types are the same as the transaction commodity type, the N commodity types in the customer commodity list are compared in sequence to see if they are the same as the transaction commodity type. In addition, when performing the front-end processing procedure on the i-th commodity type, the i+1-th commodity type in the N commodity types is also compared to see if it is the same as the transaction commodity type.
[0011] In some embodiments, the transaction risk control method includes maintaining a total commodity list, which records all commodity types. In addition, when the transaction commodity type does not exist in the N commodity types in the customer commodity list, the transaction risk control method includes loading the transaction commodity type from the total commodity list after comparing all the N commodity types in the customer commodity list with the transaction commodity type. Then, the loaded transaction commodity type is updated and the loaded transaction commodity type is processed by a front-end processing procedure.
[0012] In summary, the transaction risk control system and transaction risk control method provided by the present application can quickly compare whether the transaction commodity type in the entrustment order exists in the customer commodity database. In addition, the commodities in the customer commodity database that do not match the transaction commodity type are first subjected to the front-end processing procedure, and the commodities in the customer commodity database that match the transaction commodity type are first subjected to the position update. Finally, the commodities in the customer commodity database that match the transaction commodity type are first subjected to the front-end processing procedure. In this way, the transaction risk control system and transaction risk control method provided by the present application do not need to repeatedly read data from the customer commodity database, which can reduce the delay in data access, so that the customer can complete the transaction more quickly after submitting the entrustment order.
[0013] The details of other effects and embodiments of the present application are described as follows with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0015] Figure 1 is a functional block diagram of a transaction risk control system according to an embodiment of the present application;
[0016] Figure 2 is a schematic diagram illustrating the operation of a transaction risk control system according to an embodiment of the present application;
[0017] Figure 3 is a schematic diagram illustrating the operation of a transaction risk control system according to another embodiment of the present application;
[0018] Figure 4 FIG. 4 is a flowchart illustrating the steps of a transaction risk control method according to an embodiment of the present application.
[0019] Explanation of symbols
[0020] 1 Transaction risk control system 10 Customer product database
[0021] 12 Order receiving module 14 Database management module
[0022] 16 Risk Check Module 18 Total Product Database
[0023] S20~S28 Steps DETAILED DESCRIPTION
[0024] The following is a detailed description of the implementation methods and effects achieved by the present application, and an embodiment is provided with accompanying drawings.
[0025] See also Figure 1 , Figure 1 FIG. 2 is a functional block diagram of a transaction risk control system according to an embodiment of the present application. Figure 1As shown, the transaction risk control system 1 of this embodiment can be used in some financial transactions, such as trading securities or futures, so that customers can complete the purchase or sale of goods through the transaction risk control system 1. Here, the transaction risk control system 1 can include a customer commodity database 10, an order receiving module 12, a database management module 14, a risk verification module 16 and a total commodity database 18. The risk verification module 16 can also include a risk calculation unit 160 and a position update unit 162. Here, the customer commodity database 10, the order receiving module 12, the risk verification module 16 and the total commodity database 18 are electrically connected to the database management module 14, respectively. This embodiment does not limit the number of modules included in the transaction risk control system 1. For example, the transaction risk control system 1 can also include other unillustrated order sending modules and market price washing modules, or modules for calculating margin, etc. In an example, the transaction risk control system 1 can be set in a computer or server, or it can be a cloud device or a distributed system, which is not limited in this embodiment. The following describes respectively Figure 1 The modules in the transaction risk control system 1 are shown.
[0026] The customer commodity database 10 is used to maintain a customer commodity list, and the customer commodity list records the commodity types associated with a specific customer account. In this embodiment, it is assumed that there are N commodity types held by the customer account, and the content of the customer commodity list will include N commodity types recorded in sequence. In practice, the customer commodity database 10 can be stored in a storage device. This embodiment does not limit the location of the storage device. For example, it may be the same as the transaction risk control system 1 and distributed in different computers, devices or clouds. In other words, the customer commodity database 10 does not necessarily have a clear hardware device. In an example, the customer commodity list can also record the commodity types held by multiple customer accounts at the same time. For example, the customer commodity list can record that the first customer account has bought 1 commodity A and sold 2 commodities B, and the second customer account has sold 1 commodity A and bought 2 commodities C. From the above, it can be seen that all commodity types recorded in the customer commodity list are A, B, and C (that is, the aforementioned N is equal to 3), and the current status of the three commodities A, B, and C is also recorded. In addition, the customer product list may not only record all product types held by the corresponding customer account, but may also record product information corresponding to each product type. For example, the customer product list may also record that the market price of product A is 50 points per lot, the market price of product B is 10,000 points per lot, and the market price of product C is 40 points per lot.
[0027] The order receiving module 12 is used to receive the order content, and the order content is associated with at least one type of transaction commodity. In practice, the order receiving module 14 can be an application or a web page, or a computer device that provides users with transaction instructions. In other words, the order receiving module 12 can receive transaction instructions associated with the order content. In an example, a user can trade commodities as the first customer account through the order receiving module 14. At this time, the order receiving module 14 will receive the transaction instructions associated with the order content, and the commodity to be traded recorded in the order content is the transaction commodity type. In addition, when the database management module 14 receives the order content, it will read the customer commodity list from the customer commodity database 10, and will compare whether all commodity types in the customer commodity list are the same as the transaction commodity type. It is worth noting that the database management module 14 will not frequently request data from the customer commodity database 10, which will be explained later.
[0028] Next, when the database management module 14 determines that the i-th commodity type among the N commodity types is not the same as the transaction commodity type, the risk calculation unit 160 in the risk verification module 16 performs a front-end processing procedure on the i-th commodity type. When the database management module 14 determines that the j-th commodity type among the N commodity types is the same as the transaction commodity type, the position update unit 162 in the risk verification module 16 performs a position update on the j-th commodity type. The front-end processing procedure is associated with at least one margin calculation parameter. To illustrate the above example, please refer to Figure 1 and Figure 2 , Figure 2 FIG. 2 is a schematic diagram illustrating the operation of a transaction risk control system according to an embodiment of the present application. Figure 2 In the example shown, the database management module 14 first determines whether the first commodity type among the N commodity types is the same as the transaction commodity type, which corresponds to the above example where i is equal to 1, and is represented by block A1. When the first commodity type is not the same as the transaction commodity type, the risk calculation unit 160 in the risk check module 16 performs a front-end processing procedure on the first commodity type, and is represented by block B1.
[0029] Depend on Figure 2It can be seen that when the risk calculation unit 160 in the risk check module 16 performs the front-end processing procedure on the first commodity type, the database management module 14 will then determine whether the next (i.e., the second, corresponding to the above example where i is equal to 2) commodity type is the same as the transaction commodity type, which is represented by block A2. Moreover, when the second commodity type is not the same as the transaction commodity type, the risk calculation unit 160 in the risk check module 16 will perform the front-end processing procedure on the second commodity type again, which is represented by block B2. In practice, the database management module 14 can compare the transaction commodity types according to the order of the customer commodity list (i.e., the order of N commodity types), which is also convenient for the administrator to control the database management module 14. Here, the front-end processing procedure executed by the risk calculation unit 160 may include multiple subroutines, such as but not limited to the common calculations in the standardized portfolio risk analysis (SPAN), the risk calculation of the cross-month spread position, the price detection risk calculation, the hedging value calculation between commodities, the minimum risk calculation of the short option, etc. Since how the parameters in SPAN are calculated is not the focus of this application, this embodiment will not be discussed in depth. However, it is worth noting that after the calculation of the above-mentioned front-end processing procedures in blocks B1, B2, etc. is completed, the transaction risk control system 1 of this embodiment will not store the calculation results back to the customer product database 10 in real time, but will continue to retain the calculation results in the risk calculation unit 160 for iterative update. In other words, the data (calculation results) in the risk calculation unit 160 demonstrated in this embodiment can be kept in the latest state, which also saves the loading time or delay time of storing back to the customer product database 10.
[0030] Next, when the database management module 14 detects that the j-th commodity type is the same as the transaction commodity type, it is represented by block Aj. The risk calculation unit 160 in the risk verification module 16 will not immediately perform the front-end processing procedure on the j-th commodity type, but the position update unit 162 will perform the position update on the j-th commodity type (such as block Cj). Those with general knowledge in the relevant technical field can know that the position update of the j-th commodity type can be regarded as updating the inventory number and other information, but does not involve the parameter calculation in SPAN. Of course, as mentioned above, when the risk calculation unit 160 performs the front-end processing procedure on the j-th commodity type, the database management module 14 will continue to determine whether the j+1-th commodity type is the same as the transaction commodity type, which is represented by block Aj+1. Similarly, after the database management module 14 checks the last (e.g., Nth) commodity type (such as block AN), if the last commodity type is different from the transaction commodity type, the risk calculation unit 160 in the risk verification module 16 performs a front-end processing procedure on the Nth commodity type (such as block BN).
[0031] In practice, after the database management module 14 has finished comparing the transaction commodity type with the N commodity types in the customer commodity list, the risk calculation unit 160 should have performed the front-end processing procedure on all non-transaction commodity types (e.g., all commodity types except the jth one), and the data (calculation results) in the risk calculation unit 160 are in the latest state. At this time, the risk calculation unit 160 in the risk verification module 16 will perform the front-end processing procedure on the jth commodity type, which is represented by block Bj. Figure 2 It can be seen that the transaction risk control system 1 demonstrated in this embodiment introduces multi-task processing. The database management module 14 and the risk verification module 16 can compare different commodity types and perform front-end processing procedures at the same frequency, making the transaction risk control system 1 more efficient. In addition, the risk calculation unit 160 processes the front-end processing procedures that match the transaction commodity type at the end, allowing the transaction commodity type to be calculated based on the latest SPAN parameters.
[0032] Figure 2 The example is that the database management module 14 matches the transaction commodity type in the customer commodity list. If the transaction commodity type does not exist in the customer commodity list, please refer to Figures 1 to 3 , Figure 3 FIG. 2 is a schematic diagram illustrating the operation of a transaction risk control system according to another embodiment of the present application. Figure 2 The difference is, Figure 3It is demonstrated that after the database management module 14 has compared the transaction commodity type with the N commodity types in the customer commodity list, no situation that matches the transaction commodity type is found. That is to say, the risk calculation unit 160 in the risk verification module 16 will first perform the front-end processing procedure on the N commodity types in sequence (such as block B1 to block BN). As mentioned above, because the risk calculation unit 160 has been iteratively updated, when block BN is completed, the risk calculation unit 160 should have the latest SPAN parameters. Subsequently, the database management module 14 will load the transaction commodity type (such as block Ax) from the total commodity database. In practice, the total commodity data can maintain the total commodity list, and the total commodity list records all commodity types. Then, the position update unit 162 performs a position update on the transaction commodity type (such as block Cx), and finally the risk calculation unit 160 performs a front-end processing procedure on the transaction commodity type (such as block Bx). Similar to the previous embodiment, the risk calculation unit 160 of this embodiment also processes the front-end processing program that matches the trading commodity type at the end, so that the trading commodity type can be calculated based on the latest SPAN parameters. In one example, after the front-end processing program of all commodity types is completed, there will be a back-end processing program in practice. This embodiment defines the back-end processing program as a program for calculating the original margin associated with the order content. However, since the calculation of the original margin associated with the order content is not the focus of this application, this embodiment will not be discussed in depth.
[0033] In order to facilitate understanding of the transaction risk control method provided by this application, the following will be explained using the aforementioned transaction risk control system. Figure 1 and Figure 4 , Figure 4 1 is a flowchart illustrating the steps of a transaction risk control method according to an embodiment of the present application. In step S20, the customer commodity database 10 maintains a customer commodity list, and the customer commodity list records N commodity types associated with the customer account. In step S22, the order receiving module 12 can receive the order content, and the order content is associated with at least one transaction commodity type. In step S24, the database management module 14 can compare whether the N commodity types are the same as the transaction commodity type. In step S26, when the i-th commodity type among the N commodity types is not the same as the transaction commodity type, the risk calculation unit 160 in the risk verification module 16 performs a front-end processing procedure on the i-th commodity type. In step S28, when the j-th commodity type among the N commodity types is the same as the transaction commodity type, the position update unit 162 in the risk verification module 16 performs a position update on the j-th commodity type. The other steps of the transaction risk control method have been fully described in the aforementioned embodiment of the transaction risk control system, and will not be repeated in this embodiment.
[0034] In summary, the transaction risk control system and transaction risk control method provided by the present application can quickly compare whether the transaction commodity type in the entrustment order exists in the customer commodity database. In addition, the commodities in the customer commodity database that do not match the transaction commodity type are first subjected to the front-end processing procedure, and the commodities in the customer commodity database that match the transaction commodity type are first subjected to the position update. Finally, the commodities in the customer commodity database that match the transaction commodity type are first subjected to the front-end processing procedure. In this way, the transaction risk control system and transaction risk control method provided by the present application do not need to repeatedly read data from the customer commodity database, which can reduce the delay in data access, so that the customer can complete the transaction more quickly after submitting the entrustment order.
[0035] The embodiments and / or implementation methods described above are only used to illustrate the preferred embodiments and / or implementation methods for realizing the technology of the present application, and are not intended to limit the implementation methods of the technology of the present application in any form. Any technical personnel in this field may make slight changes or modifications to other equivalent embodiments without departing from the scope of the technical means disclosed in the content of this application, but they should still be regarded as technologies or embodiments that are essentially the same as those of the present application.
Claims
1. A transaction risk control system, characterized in that: Include: A customer product database for maintaining a customer product list, which records N product types associated with a customer account; An order receiving module, used for receiving an order content, the order content is associated with at least one transaction commodity type; a database management module, electrically connected to the customer commodity database and the order receiving module, for comparing whether the N commodity types are the same as the transaction commodity type; as well as a risk checking module, electrically connected to the database management module, comprising a risk calculation unit and a position updating unit, wherein when the i-th commodity type among the N commodity types is different from the transaction commodity type, the risk calculation unit performs a front-end processing procedure on the i-th commodity type, and when the j-th commodity type among the N commodity types is the same as the transaction commodity type, the position updating unit performs a position update on the j-th commodity type; The front-end processing program is at least associated with a margin calculation parameter, N is a natural number, and i and j are natural numbers not greater than N; After the database management module compares all the N commodity types in the customer commodity list with the transaction commodity type, the risk calculation unit performs the front-end processing procedure on the j-th commodity type; The calculation result after the risk calculation unit performs the front-end processing procedure is retained in the risk calculation unit for iterative update.
2. The transaction risk control system according to claim 1, characterized in that: The database management module sequentially compares the N commodity types in the customer commodity list to see whether they are the same as the transaction commodity type.
3. The transaction risk control system according to claim 2, characterized in that: When the risk calculation unit performs the front-end processing procedure on the i-th commodity type, the database management module simultaneously compares whether the i+1-th commodity type among the N commodity types is the same as the transaction commodity type, and i+1 is not greater than N.
4. The transaction risk control system according to claim 1, characterized in that: It includes a total commodity database, which is electrically connected to the database management module and is used to maintain a total commodity list. The total commodity list records all commodity types.
5. The transaction risk control system according to claim 4, characterized in that: When the transaction commodity type does not exist in the N commodity types in the customer commodity list, the database management module compares all the N commodity types in the customer commodity list with the transaction commodity type, loads the transaction commodity type from the total commodity list, and firstly performs a position update on the loaded transaction commodity type by the position update unit, and then performs the front-end processing procedure on the loaded transaction commodity type by the risk calculation unit.
6. The transaction risk control system according to claim 1, characterized in that: The risk calculation unit temporarily stores the result of the front-end processing procedure for the N commodity types in the customer commodity list, and the position updating unit temporarily stores the customer commodity list after the position is updated.
7. A transaction risk control method, characterized in that: Include: A customer product database maintains a customer product list, which records N product types associated with a customer account; A commission order receiving module receives commission order content, where the commission order content is associated with at least one transaction commodity type; A database management module compares the N commodity types to see whether they are the same as the transaction commodity type; When the i-th commodity type among the N commodity types is different from the transaction commodity type, a risk calculation unit performs a front-end processing procedure on the i-th commodity type; as well as When the j-th commodity type among the N commodity types is the same as the transaction commodity type, a position updating unit performs a position update on the j-th commodity type; The front-end processing program is at least associated with a margin calculation parameter, N is a natural number, and i and j are natural numbers not greater than N; After all the N commodity types in the customer's commodity list are compared with the transaction commodity type, the front-end processing procedure is performed on the j-th commodity type; The calculation result after the risk calculation unit performs the front-end processing procedure is retained in the risk calculation unit for iterative update.
8. The transaction risk control method according to claim 7, characterized in that: In the step of comparing whether the N commodity types are the same as the transaction commodity type, the N commodity types in the customer commodity list are compared in sequence to see whether they are the same as the transaction commodity type.
9. The transaction risk control method according to claim 8, characterized in that: Include: When the front-end processing procedure is performed on the i-th commodity type, a comparison is simultaneously made as to whether the i+1-th commodity type among the N commodity types is the same as the transaction commodity type.
10. The transaction risk control method according to claim 7, characterized in that: Include: Maintain a total product list that records all product types.
11. The transaction risk control method according to claim 10, characterized in that: When the transaction commodity type does not exist in the N commodity types in the customer commodity list, the transaction risk control method includes: After all the N commodity types in the customer commodity list are compared with the transaction commodity type, the transaction commodity type is loaded from the total commodity list; Update the position of the loaded trading commodity type; and The front-end processing procedure is performed on the loaded transaction commodity type.
