Task execution method and device, electronic equipment and storage medium

Through a task execution method, the calculation of initial margin is solved by using historical market data, the problem of failure to fully utilize historical data in the prior art is solved, and the data support and flexibility of initial margin calculation for uncontracted counterparties is achieved.

CN119579311APending Publication Date: 2025-03-07CHINA CONSTRUCTION BANK +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411628148.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-14
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

The prior art fails to make full use of historical data when calculating initial margin, resulting in insufficient flexibility, especially for counterparties without contract agreements, which cannot meet their needs, and the initial margin calculation system cannot flexibly select the types of transactions and products that need to be calculated.

Method used

A task execution method is proposed. By responding to the client's initial margin trial task request, the configuration interface is displayed to obtain target transaction information, trial date and measurement model, and the initial margin is calculated in the historical market quotation and transaction data of the specified date, and the results are stored and returned.

Benefits of technology

The initial margin calculation based on historical data is realized, providing diverse and reliable data support, especially suitable for uncontracted counterparties, improving the flexibility and accuracy of initial margin calculations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119579311A_ABST
    Figure CN119579311A_ABST
Patent Text Reader

Abstract

The invention provides a task execution method and device, electronic equipment and a storage medium, and the method comprises the steps: responding to an initial margin trial task request initiated by a client, displaying a configuration interface, and generating and returning a trial task number to the client; aiming at the operation of the client on the configuration interface, acquiring configured target transaction information, a trial calculation date and a metering model; inputting the target transaction information, the historical market quotation data corresponding to the trial calculation date and the historical market transaction data into a measurement model to obtain an initial deposit trial calculation result; and the initial deposit trial result and the trial task number are associated and stored in a trial result library, and if a request for calling the initial deposit trial result initiated by the client is responded, the initial deposit trial result is returned to the configuration interface and displayed, so that the initial deposit under different transaction conditions can be calculated, and the transaction efficiency is improved. And diversified and reliable data are provided for subsequent signing of the deposit agreement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a task execution method, device, electronic device and storage medium. Background Art

[0002] At present, the initial margin is usually calculated based on all transactions of existing counterparties and current market data (various quotes). However, this method does not take into account historical data, so it is impossible to calculate the historical initial margin through historical data. For counterparties that have not signed an agreement, it is not flexible and cannot meet the requirements of counterparties that have not signed an agreement. In the process of calculating the initial margin, the general initial margin calculation system can only measure the initial margin of all transactions under this category according to the product category. However, this method cannot flexibly select the transaction and product type that needs to be calculated. Summary of the invention

[0003] The present application aims to solve one of the technical problems in the related art at least to some extent.

[0004] To this end, the first purpose of this application is to propose a task execution method to call historical market quotation data, calculate historical initial margin, provide a large amount of data support for unsigned counterparties, and provide diverse and reliable data for counterparties when they subsequently sign margin agreements.

[0005] The second objective of this application is to provide a task execution device.

[0006] The third objective of the present application is to provide an electronic device.

[0007] A fourth objective of the present application is to provide a computer-readable storage medium.

[0008] A fifth object of the present application is to provide a computer program product.

[0009] To achieve the above-mentioned purpose, the first aspect of the present application proposes a task execution method, including: in response to an initial margin trial calculation task request initiated by a client, displaying a configuration interface for the client to configure the initial margin trial calculation task, and generating a trial calculation task number for the initial margin trial calculation task and returning it to the client; wherein the configuration interface includes: target transaction information, trial calculation date and measurement model required for trial calculation of the initial margin; obtaining the configured target transaction information, trial calculation date and measurement model in response to the client's operation on the configuration interface; inputting the target transaction information, the historical market quotation data corresponding to the trial calculation date and the historical market transaction data into the measurement model to obtain the initial margin trial calculation result; storing the initial margin trial calculation result in association with the trial calculation task number in a trial calculation result library, and in response to the request for retrieving the initial margin trial calculation result initiated by the client, returning the initial margin trial calculation result to the configuration interface and displaying it.

[0010] To achieve the above-mentioned purpose, the second embodiment of the present application proposes a task execution device, including: a display module, which is used to respond to the initial margin trial calculation task request initiated by the client, display the configuration interface for the client to configure the initial margin trial calculation task, and generate and return the trial calculation task number for the initial margin trial calculation task to the client; wherein the configuration interface includes: target transaction information, trial calculation date and measurement model required for trial calculation of the initial margin; a first acquisition module, which is used to obtain the configured target transaction information, trial calculation date and measurement model according to the operation of the configuration interface by the client; a first determination module, which is used to input the target transaction information, the historical market quotation data corresponding to the trial calculation date and the historical market transaction data into the measurement model to obtain the initial margin trial calculation result; a storage and return module, which is used to associate the initial margin trial calculation result with the trial calculation task number and store it in the trial calculation result library, and in response to the request for retrieving the initial margin trial calculation result initiated by the client, return the initial margin trial calculation result to the configuration interface and display it.

[0011] To achieve the above-mentioned purpose, the third aspect embodiment of the present application proposes an electronic device, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the task execution method as described in the above-mentioned embodiment of the present disclosure.

[0012] To achieve the above objectives, the fourth aspect embodiment of the present application proposes a computer-readable storage medium. When the instructions in the computer-readable storage medium are executed by the processor of an electronic device, the electronic device can execute the task execution method described in the above embodiment of the present disclosure.

[0013] To achieve the above objectives, the fifth aspect of the present application proposes a computer program product, a computer program, which, when executed by a processor, implements the task execution method described in the above embodiments of the present disclosure.

[0014] The task execution method, device, electronic device and storage medium provided in the present application respond to the initial margin trial calculation task request initiated by the client, display a configuration interface for the client to configure the initial margin trial calculation task, and generate a trial calculation task number for the initial margin trial calculation task and return it to the client; wherein the configuration interface includes: target transaction information, trial calculation date and measurement model required for trial calculation of the initial margin; obtaining the configured target transaction information, trial calculation date and measurement model in response to the client's operation on the configuration interface; and converting the target transaction information, historical market quotation data corresponding to the trial calculation date and historical market transaction data into a single unit ... and Input into the measurement model to obtain the initial margin trial calculation result; store the initial margin trial calculation result in association with the trial calculation task number in the trial calculation result library; and in response to the request for retrieving the initial margin trial calculation result initiated by the client, return the initial margin trial calculation result to the configuration interface and display it. Therefore, the trial calculation date is set in the configuration interface. Based on the trial calculation date, the historical market quotation data can be called to calculate the initial margin of the historical market. This can not only provide historical data for reference for the contracted counterparties, but also, especially for the non-contracted counterparties, to provide a large amount of data support for the non-contracted counterparties.

[0015] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0017] Figure 1 A flowchart of a task execution method provided in an embodiment of the present application Figure 1 ;

[0018] Figure 2 A flowchart of a task execution method provided in an embodiment of the present application Figure 2 ;

[0019] Figure 3 A flowchart of a task execution method provided in an embodiment of the present application Figure 3 ;

[0020] Figure 4 It is a structural diagram of a task execution device provided in an embodiment of the present application;

[0021] Figure 5 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0022] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0023] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards.

[0024] Among them, it should be noted that the acquisition, transmission, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of relevant laws and regulations. In the embodiments of this application, certain software, components, models, and other existing solutions in the industry may be mentioned. They should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of this application, but it does not mean that the applicant has or will necessarily use the solution.

[0025] The following describes the task execution method, device, electronic device and storage medium of the embodiments of the present application with reference to the accompanying drawings.

[0026] Figure 1 A flowchart of a task execution method provided in an embodiment of the present application Figure 1 .

[0027] To address this problem, the present application provides a task execution method, such as Figure 1 As shown, the task execution method includes the following steps:

[0028] Step 101, in response to the initial margin trial calculation task request initiated by the client, displays a configuration interface for the client to configure the initial margin trial calculation task, and generates a trial calculation task number for the initial margin trial calculation task and returns it to the client; wherein, the configuration interface includes: target transaction information, trial calculation date and measurement model required for trial calculation of the initial margin.

[0029] It should be noted that the task execution method provided in the embodiment of the present application can be executed by a task execution device (also referred to as an initial margin calculator), wherein the task execution device can be implemented by software and / or hardware. The task execution device can be an electronic device, or can be configured in an electronic device to implement the initial margin calculation function. The embodiment of the present application is described by taking the task execution method configured in an electronic device as an example.

[0030] Among them, the electronic device can be any device with computing capabilities, such as a personal computer, a mobile terminal, a server, etc. The mobile terminal can be, for example, a vehicle-mounted device, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, and other hardware devices with various operating systems, touch screens and / or display screens.

[0031] It can be understood that the configuration interface can be a graphical configuration interface, so that the configuration operation of the target transaction information, trial calculation date and measurement model required for calculating the initial margin can be completed by checking and dragging.

[0032] It can be understood that the target transaction information at least includes the target transaction counterparty and the target transaction product.

[0033] It should be noted that the trial date can be any time point before the current time, which is determined based on the actual needs of the client. For example, the trial date can be April 3, 2023.

[0034] It should be noted that the specific configuration of the metering model is determined according to the actual needs of the client.

[0035] In this example, when displaying the configuration interface for the client to configure the initial margin trial calculation task, the task status corresponding to the initial margin trial calculation task is updated to "trial calculation started".

[0036] It can be understood that for different initial margin trial calculation tasks, the trial calculation task numbers obtained are different, and there is a one-to-one correspondence between the initial margin trial calculation tasks and the trial calculation task numbers.

[0037] It should be understood that since the process of calculating the initial margin is generally time-consuming and requires asynchronous calculation, in order to save the client's time, a unique trial calculation task number is provided to the client so that the client can check the task status of the initial margin trial calculation task at any time according to the trial calculation task number, and then understand the initial margin trial calculation result.

[0038] Step 102, based on the client's operation on the configuration interface, obtain the configured target transaction information, trial calculation date and measurement model.

[0039] In this example, the configuration operations for the target transaction information, trial date, and measurement model may include operations of checking, dragging, and keyboard input to configure the target transaction information, trial date, and measurement model.

[0040] It should be noted that the specific configuration operation for the target transaction information can be configured according to actual needs, and this embodiment does not make any specific limitation.

[0041] It should be noted that the specific configuration operation for the metering model can be configured according to actual needs, and this embodiment does not specifically limit it.

[0042] For example, two measurement models for calculating the initial margin can be provided for the measurement model, namely the Standard Initial Margin Model (SIMM) model and the GRID model. The configuration operation of the measurement model can be performed by checking the operation. The client checks the SIMM model on the configuration interface and uses the SIMM model as the measurement model configured on the configuration interface.

[0043] Step 103, input the target transaction information, the historical market quotation data corresponding to the trial calculation date, and the historical market transaction data into the measurement model to obtain the initial margin trial calculation result.

[0044] In this example, when the target transaction information, historical market quotation data, and historical market transaction data are input into the measurement model and no initial margin calculation result is obtained, the task status corresponding to the initial margin calculation task is updated to "calculating".

[0045] In order to obtain complete and accurate initial margin calculation results, as a possible implementation method, the target transaction information, historical market quotation data and historical market transaction data are input into the measurement model to obtain the valuation results for calculating the initial margin, and the initial margin calculation results are obtained based on the valuation results.

[0046] As an example, based on the target transaction information, determine the historical transaction market that the target transaction counterparty has historically paid attention to; obtain the target transaction market that the client pays attention to; if the historical transaction market is consistent with the target transaction market, obtain the historical market quotation data and historical market transaction data of the target transaction market on the trial calculation date according to the trial calculation date; input the target transaction information, historical market quotation data and historical market transaction data into the measurement model to obtain the valuation result for trial calculation of the initial margin; based on the valuation result, determine the initial margin; based on the valuation result and the initial margin, determine the initial margin trial calculation result.

[0047] It should be noted that the valuation result is the intermediate calculation data required in the process of calculating the initial margin through the measurement model, such as the transaction amount, which will not be repeated in this embodiment.

[0048] Step 104, the initial margin trial calculation result is associated with the trial calculation task number and stored in the trial calculation result library, and in response to the request for retrieving the initial margin trial calculation result initiated by the client, the initial margin trial calculation result is returned to the configuration interface and displayed.

[0049] In this example, when the target transaction information, historical market quotation data and historical market transaction data are input into the measurement model and the initial margin calculation results are obtained, the task status corresponding to the initial margin calculation task is updated to "Calculation successful" and a prompt message is pushed to the client.

[0050] It should be noted that the prompt information can be pushed to the client in the form of a prompt box or a text message, which is not specifically limited in this embodiment.

[0051] It can be understood that the trial calculation result library is pre-set and can be used to store the initial margin trial calculation results and the associated trial calculation task numbers.

[0052] The task execution method provided in the present application responds to the initial margin trial calculation task request initiated by the client, displays a configuration interface for the client to configure the initial margin trial calculation task, and generates a trial calculation task number for the initial margin trial calculation task and returns it to the client; wherein the configuration interface includes: target transaction information, trial calculation date and measurement model required for trial calculation of the initial margin; obtaining the configured target transaction information, trial calculation date and measurement model in response to the client's operation on the configuration interface; inputting the target transaction information, historical market quotation data corresponding to the trial calculation date and historical market transaction data into the measurement model The initial margin trial calculation result is obtained in the model; the initial margin trial calculation result is associated with the trial calculation task number and stored in the trial calculation result library; and in response to the request for retrieving the initial margin trial calculation result initiated by the client, the initial margin trial calculation result is returned to the configuration interface and displayed. Therefore, the trial calculation date is set in the configuration interface. Based on the trial calculation date, the historical market quotation data can be called to calculate the initial margin of the historical market. It can not only provide historical data for reference for the contracted counterparties, but also, especially for the uncontracted counterparties, to provide a large amount of data support for the uncontracted counterparties.

[0053] In the embodiment of the present application, the target transaction information includes at least the target transaction counterparty and the target transaction product. In order to clearly understand the operation of the client on the configuration interface and obtain the configured target transaction information, the following is combined with Figure 2 A possible implementation method for obtaining configured target transaction information by operating a configuration interface by a client is described exemplarily. Figure 2 A process for providing a task execution method for the embodiment of the present application Figure 2 This embodiment further refines the task execution method.

[0054] like Figure 2 As shown, the task execution method may include the following steps:

[0055] Step 201, in response to the initial margin trial calculation task request initiated by the client, displays a configuration interface for the client to configure the initial margin trial calculation task, and generates a trial calculation task number for the initial margin trial calculation task and returns it to the client; wherein, the configuration interface includes: target transaction information, trial calculation date and measurement model required for trial calculation of the initial margin.

[0056] Step 202: Based on the configuration operation for the transaction counterparty, a plurality of candidate transaction counterparties corresponding to the transaction counterparty are displayed on the configuration interface.

[0057] In this example, there are multiple candidate trading counterparties corresponding to the trading counterparty. The multiple candidate trading counterparties can be determined based on actual conditions, and the multiple candidate trading counterparties can be pre-entered into the background database associated with the configuration interface. Correspondingly, the multiple candidate trading counterparties corresponding to the trading counterparty can be displayed on the configuration interface.

[0058] Step 203: According to the selection operation on the multiple candidate transaction counterparties, a target transaction counterparty is determined from the multiple candidate transaction counterparties.

[0059] It should be noted that the selection operation for multiple candidate transaction counterparties can be performed according to the actual needs of the client, and this embodiment does not make any specific limitation.

[0060] For example, two candidate trading contestants may be provided for the configuration operation of the trading counterparty, namely candidate trading contestant A and candidate trading contestant B. For the selection operation of candidate trading contestant A and candidate trading contestant B, the client selects candidate trading contestant A on the configuration interface and uses candidate trading contestant A as the target trading counterparty configured on the configuration interface.

[0061] Step 204: based on the target trading counterparty, call at least one candidate trading product pre-set under the target trading counterparty, and display at least one candidate trading product corresponding to the trading product on the configuration interface.

[0062] It should be noted that the pre-set candidate trading products are not the same for different trading counterparties.

[0063] Among them, it should be noted that at least one pre-set candidate trading product is a candidate trading product pre-set in the task execution device and can be changed. For example, the candidate trading product can be candidate trading product A, candidate trading product B, or candidate trading product C, etc. In actual applications, specific candidate trading products can be set according to actual needs, and this embodiment does not make specific limitations on this.

[0064] It is important to understand that, in actual situations, there is a large amount of data on transactions in the trading market every day, and the types of transactions are also diverse. Under different trading conditions, the initial margin will change differently. Therefore, in order to consider the trading products in multiple dimensions and obtain the initial margin under the different trading products traded by the counterparty, the trading products can be flexibly configured in the configuration interface to determine the initial margin for all transactions under the target trading products.

[0065] Step 205: According to the selection operation on the candidate trading varieties, a target trading variety is determined from at least one candidate trading variety.

[0066] It should be noted that the specific configuration operations for the transaction products can be configured according to actual needs, and this embodiment does not make any specific limitations.

[0067] For example, three candidate trading varieties may be provided for the trading varieties, namely candidate trading variety A, candidate trading variety B, or candidate trading variety C. For the selection operation of candidate trading variety A, candidate trading variety B, or candidate trading variety C, the client selects candidate trading variety C on the configuration interface and uses candidate trading variety C as the target trading variety configured on the configuration interface.

[0068] It should be noted that the candidate trading instruments pre-set under the candidate trading counterparties are set based on actual historical conditions. However, the candidate trading instruments set on the configuration interface are not comprehensive. It is possible that there is no candidate trading instrument that is consistent with the trading instrument that the client is concerned about among the candidate trading instruments corresponding to the trading instruments displayed on the configuration interface.

[0069] In order to meet the actual needs of the client for trading products, as a possible implementation method, when there is no candidate trading product consistent with the trading product that the client is concerned about among the candidate trading products corresponding to the trading products displayed on the configuration interface, when the first input control collects the trading product number, the trading product that matches the trading product number in the preset trading system will be used as the target trading product.

[0070] As an example, a first input control is displayed for obtaining the trading variety number corresponding to the trading variety that the client is interested in; when the first input control collects the trading variety number, a matching search is performed in the preset trading system based on the trading variety number to determine the trading variety corresponding to the trading variety number; wherein the preset trading system includes at least one trading variety and a corresponding trading variety number; the trading variety corresponding to the trading variety number is used as the target trading variety.

[0071] It should be noted that the preset transaction system can be determined by the staff from the existing transaction system, which will not be described in detail in this embodiment.

[0072] Step 206, obtaining the configured trial calculation date and measurement model in response to the client's operation on the configuration interface.

[0073] Step 207, input the target transaction information, the historical market quotation data corresponding to the trial calculation date, and the historical market transaction data into the measurement model to obtain the initial margin trial calculation result.

[0074] Step 208, the initial margin trial calculation result is associated with the trial calculation task number and stored in the trial calculation result library, and in response to the request for retrieving the initial margin trial calculation result initiated by the client, the initial margin trial calculation result is returned to the configuration interface and displayed.

[0075] It should be noted that the execution process of step 201 and steps 206 to 208 can be implemented in any way in the embodiments of the present application, and the embodiments of the present application do not limit this and will not be repeated.

[0076] In this embodiment, according to the configuration operation on the counterparty, multiple candidate counterparties corresponding to the counterparty are displayed on the configuration interface; according to the selection operation on the multiple candidate counterparties, a target counterparty is determined from the multiple candidate counterparties, and based on the target counterparty, at least one candidate trading product pre-set under the target counterparty is called, and at least one candidate trading product corresponding to the trading product is displayed on the configuration interface; according to the selection operation on the candidate trading product, the target trading product is determined from at least one candidate trading product. Therefore, by setting the candidate trading products on the configuration interface, the trading products can be flexibly selected, and the initial margin can be calculated in multiple dimensions, so that based on the selected target trading product, the changes in the initial margin under different trading conditions can be understood, and diverse and reliable data can be provided to the contracted counterparties, or to the uncontracted counterparties when they subsequently sign a margin agreement.

[0077] In the embodiment of the present application, in order to clearly understand the return of the initial margin trial result to the client, the following is combined with Figure 3 A possible implementation method of returning the initial margin calculation result to the client is described by way of example. Figure 3 A process for providing a task execution method for the embodiment of the present application Figure 3 This embodiment further refines the task execution method.

[0078] like Figure 3 As shown, the task execution method may include the following steps:

[0079] Step 301, in response to the initial margin trial calculation task request initiated by the client, displays a configuration interface for the client to configure the initial margin trial calculation task, and generates a trial calculation task number for the initial margin trial calculation task and returns it to the client; wherein, the configuration interface includes: target transaction information, trial calculation date and measurement model required for trial calculation of the initial margin.

[0080] Step 302, based on the client's operation on the configuration interface, obtain the configured target transaction information, trial calculation date and measurement model.

[0081] Step 303, input the target transaction information, the historical market quotation data corresponding to the trial calculation date, and the historical market transaction data into the measurement model to obtain the initial margin trial calculation result.

[0082] Step 304, associate the initial margin trial calculation result with the trial calculation task number and store it in the trial calculation result library.

[0083] Step 305, in response to the request for retrieving the initial margin trial calculation result initiated by the client, display a second input control for obtaining the trial calculation task number associated with the initial margin trial calculation result, and call the trial calculation result library.

[0084] It can be understood that the trial calculation result library includes the initial margin trial calculation results obtained in historical response to the initial margin trial calculation task request initiated by the client and the trial calculation task number associated with the initial margin trial calculation result.

[0085] Step 306, when the second input control collects the trial calculation task number, based on the trial calculation task number, a query is performed in the trial calculation result library to determine the initial margin trial calculation result associated with the trial calculation task number, and the initial margin trial calculation result is returned to the configuration interface and displayed.

[0086] In this embodiment, in response to a request initiated by the client to retrieve the initial margin trial calculation result, a second input control for obtaining the trial calculation task number associated with the initial margin trial calculation result is displayed, and a trial calculation result library is called. When the second input control collects the trial calculation task number, a query is performed in the trial calculation result library based on the trial calculation task number to determine the initial margin trial calculation result associated with the trial calculation task number, and the initial margin trial calculation result is returned to the configuration interface and displayed. Thus, a trial calculation task number is assigned to the client so that the client can check the task status and the initial margin trial calculation result at any time. By storing the initial margin trial calculation result in association with the trial calculation task number, the initial margin trial calculation result is prevented from being contaminated by a variety of initial margin trial calculation tasks that may exist.

[0087] In order to implement the above embodiment, the present application also proposes a task execution device.

[0088] Figure 4 A schematic diagram of the structure of a task execution device provided in an embodiment of the present application.

[0089] like Figure 4 As shown, the task execution device 400 includes: a display module 401 , a first acquisition module 402 , a first determination module 403 , and a storage and return module 404 .

[0090] The display module 401 is used to respond to the initial margin trial calculation task request initiated by the client, display the configuration interface for the client to configure the initial margin trial calculation task, and generate a trial calculation task number for the initial margin trial calculation task and return it to the client; wherein the configuration interface includes: target transaction information, trial calculation date and measurement model required for trial calculation of the initial margin;

[0091] The first acquisition module 402 is used to acquire the configured target transaction information, trial calculation date and measurement model according to the operation of the client on the configuration interface;

[0092] The first determination module 403 is used to input the target transaction information, the historical market quotation data corresponding to the trial calculation date, and the historical market transaction data into the measurement model to obtain the initial margin trial calculation result;

[0093] The storage and return module 404 is used to associate the initial margin trial calculation result with the trial calculation task number and store it in the trial calculation result library, and in response to the request for retrieving the initial margin trial calculation result initiated by the client, return the initial margin trial calculation result to the configuration interface and display it.

[0094] In one embodiment of the present application, the target transaction information at least includes a target transaction counterparty and a target transaction product. The first acquisition module 402 is specifically used to:

[0095] According to the configuration operation on the counterparty, multiple candidate counterparties corresponding to the counterparty are displayed on the configuration interface;

[0096] According to the selection operation on the multiple candidate transaction counterparties, a target transaction counterparty is determined from the multiple candidate transaction counterparties;

[0097] Based on the target trading counterparty, calling at least one candidate trading product pre-set under the target trading counterparty, and displaying at least one candidate trading product corresponding to the trading product on the configuration interface;

[0098] According to the selection operation on the candidate trading varieties, a target trading variety is determined from at least one candidate trading variety.

[0099] In one embodiment of the present application, the first acquisition module 402 is further specifically configured to:

[0100] Displays the first input control for obtaining the trading instrument number corresponding to the trading instrument that the client is interested in;

[0101] When the first input control collects the transaction type number, a matching search is performed in the preset trading system based on the transaction type number to determine the transaction type corresponding to the transaction type number; wherein the preset trading system includes at least one transaction type and a corresponding transaction type number;

[0102] The trading symbol corresponding to the trading symbol number is used as the target trading symbol.

[0103] In one embodiment of the present application, the first determining module 403 is specifically configured to:

[0104] Based on the target transaction information, determine the historical transaction markets that the target transaction counterparty has historically focused on;

[0105] Get the target trading market that the client is interested in;

[0106] If the historical trading market is consistent with the target trading market, the historical market quotation data and historical market trading data of the target trading market on the trial calculation date are obtained according to the trial calculation date;

[0107] Input the target transaction information, historical market quotation data and historical market transaction data into the measurement model to obtain the initial margin calculation results.

[0108] In one embodiment of the present application, the device further includes an updating module, which is specifically configured to:

[0109] When displaying the configuration interface for the client to configure the initial margin trial calculation task, the task status corresponding to the initial margin trial calculation task is updated to "trial calculation started";

[0110] When the target transaction information, historical market quotation data and historical market transaction data are input into the measurement model and the initial margin trial calculation result is not obtained, the task status corresponding to the initial margin trial calculation task is updated to "trial calculation in progress";

[0111] When the target transaction information, historical market quotation data and historical market transaction data are input into the measurement model and the initial margin calculation result is obtained, the task status corresponding to the initial margin calculation task is updated to "calculation successful" and a prompt message is pushed to the client.

[0112] In one embodiment of the present application, the storage and return module 404 is specifically used to:

[0113] In response to a request initiated by a client to retrieve an initial margin trial calculation result, a second input control for obtaining a trial calculation task number associated with the initial margin trial calculation result is displayed, and a trial calculation result library is called;

[0114] When the second input control collects the trial calculation task number, a query is performed in the trial calculation result library based on the trial calculation task number to determine the initial margin trial calculation result associated with the trial calculation task number, and the initial margin trial calculation result is returned to the configuration interface for display.

[0115] It should be noted that the above explanation of the task execution method embodiment is also applicable to the task execution device of this embodiment, and will not be repeated here.

[0116] The task execution device provided by the present application responds to the initial margin trial calculation task request initiated by the client, displays a configuration interface for the client to configure the initial margin trial calculation task, and generates a trial calculation task number for the initial margin trial calculation task and returns it to the client; wherein the configuration interface includes: a method for trial calculating the target transaction information, trial calculation date and measurement model required for the initial margin; obtaining the configured target transaction information, trial calculation date and measurement model in response to the client's operation on the configuration interface; inputting the target transaction information, the historical market quotation data corresponding to the trial calculation date and the historical market transaction data into the measurement model The initial margin trial calculation result is obtained in the model; the initial margin trial calculation result is associated with the trial calculation task number and stored in the trial calculation result library; and in response to the request for retrieving the initial margin trial calculation result initiated by the client, the initial margin trial calculation result is returned to the configuration interface and displayed. Therefore, the trial calculation date is set in the configuration interface. Based on the trial calculation date, the historical market quotation data can be called to calculate the initial margin of the historical market. It can not only provide historical data for reference for the contracted counterparties, but also, especially for the uncontracted counterparties, to provide a large amount of data support for the uncontracted counterparties.

[0117] In an exemplary embodiment, an electronic device is also provided.

[0118] Among them, electronic equipment includes:

[0119] processor;

[0120] a memory for storing processor-executable instructions;

[0121] The processor is configured to execute instructions to implement the task execution method proposed in any of the aforementioned embodiments.

[0122] As an example, Figure 5 is a schematic diagram of the structure of an electronic device 500 shown in an exemplary embodiment of the present disclosure, such as Figure 5 As shown, the electronic device 500 may further include:

[0123] The memory 510 and the processor 520, a bus 530 connecting different components (including the memory 510 and the processor 520), the memory 510 stores a computer program, and when the processor 520 executes the program, the task execution method described in the embodiment of the present disclosure is implemented.

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

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

[0126] The memory 510 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 540 and / or cache memory 550. The server may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 560 may be used to read and write non-removable, non-volatile magnetic media ( Figure 5 not shown, often referred to as a "hard drive packager"). Although Figure 5 Not shown, a disk driver package for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk driver package for reading and writing a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each driver package can be connected to the bus 530 via one or more data medium interfaces. The memory 510 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.

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

[0128] The electronic device 500 may also communicate with one or more external devices 560 (e.g., keyboard, pointing device, display 591, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 500, and / or communicate with any device that enables the electronic device 500 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 592. In addition, the electronic device 500 may also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN) and / or public network, such as the Internet) through a network adapter 593. As shown, the network adapter 593 communicates with other modules of the electronic device 500 through a bus 530. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device driver package, redundant processing unit, external disk driver package array, RAID system, tape driver package, and data backup storage system, etc.

[0129] The processor 520 executes various functional applications and data processing by running the programs stored in the memory 510 .

[0130] It should be noted that the implementation process and technical principles of the electronic device of this embodiment refer to the aforementioned explanation of the task execution method of the embodiment of the present disclosure, and will not be repeated here.

[0131] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory including instructions, and the above instructions can be executed by a processor of an electronic device to complete the task execution method proposed in any of the above embodiments. Optionally, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0132] In an exemplary embodiment, a computer program product is also provided, including a computer program / instruction, wherein the computer program / instruction, when executed by a processor, implements the task execution method proposed in any of the above embodiments.

[0133] The collection, storage, access, processing, transmission, provision and disclosure of user personal information involved in this application are in compliance with relevant laws and regulations and do not violate public order and good morals.

[0134] It should be noted that personal information from users should be collected for legitimate and reasonable purposes and not shared or sold outside of these legitimate accesses. In addition, such collection / sharing should be carried out after receiving the user's informed consent, including but not limited to notifying the user to read the user agreement / user notice before the user accesses the function, and signing the agreement / authorization including authorization of relevant user information. In addition, any necessary steps should be taken to protect and safeguard access to such personal information data and ensure that others who have access to personal information data comply with its privacy policy and procedures.

[0135] The present application is expected to provide an implementation scheme for users to selectively block access to or access to personal information data. That is, the present disclosure is expected to provide hardware and / or software to prevent or block access to such personal information data. Once the personal information data is no longer needed, the risk can be minimized by limiting data collection and deleting the data. In addition, when applicable, such personal information is de-identified to protect the privacy of the user.

[0136] In the description of the aforementioned embodiments, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0137] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0138] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0139] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0140] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or accessed as an independent product, it may also be stored in a computer-readable storage medium.

[0141] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A task execution method, characterized in that: The following steps are involved: In response to an initial margin trial calculation task request initiated by a client, a configuration interface for the client to configure the initial margin trial calculation task is displayed, and a trial calculation task number is generated for the initial margin trial calculation task and returned to the client; wherein the configuration interface includes: target transaction information, trial calculation date, and measurement model required for trial calculation of the initial margin; According to the operation of the client on the configuration interface, the configured target transaction information, trial calculation date and measurement model are obtained; Inputting the target transaction information, the historical market quotation data corresponding to the trial calculation date, and the historical market transaction data into the measurement model to obtain the initial margin trial calculation result; The initial margin trial calculation result is associated with the trial calculation task number and stored in a trial calculation result library, and in response to a request for retrieving the initial margin trial calculation result initiated by the client, the initial margin trial calculation result is returned to the configuration interface and displayed.

2. The method according to claim 1, characterized in that The target transaction information at least includes a target transaction counterparty and a target transaction product. The step of obtaining the configured target transaction information in response to the client's operation on the configuration interface includes: According to the configuration operation for the transaction counterparty, a plurality of candidate transaction counterparties corresponding to the transaction counterparty are displayed on the configuration interface; According to the selection operation on the plurality of candidate transaction counterparties, determining the target transaction counterparty from the plurality of candidate transaction counterparties; Based on the target trading counterparty, calling at least one candidate trading product pre-set under the target trading counterparty, and displaying at least one candidate trading product corresponding to the trading product on the configuration interface; According to the selection operation on the candidate transaction varieties, the target transaction variety is determined from at least one of the candidate transaction varieties.

3. The method according to claim 2, characterized in that If there is no candidate trading variety that is consistent with the trading variety concerned by the client among the candidate trading varieties corresponding to the trading varieties displayed on the configuration interface, the method includes: Display a first input control for obtaining the trading product number corresponding to the trading product that the client is interested in; When the first input control collects the transaction variety number, a matching search is performed in a preset trading system based on the transaction variety number to determine the transaction variety corresponding to the transaction variety number; wherein the preset trading system includes at least one transaction variety and a corresponding transaction variety number; The transaction type corresponding to the transaction type number is used as the target transaction type.

4. The method according to claim 1, characterized in that: The step of inputting the target transaction information, the historical market quotation data corresponding to the trial calculation date, and the historical market transaction data into the measurement model to obtain the initial margin trial calculation result includes: Based on the target transaction information, determining the historical transaction market that the target transaction counterparty has historically focused on; Acquire the target trading market that the client is interested in; If the historical trading market is consistent with the target trading market, obtaining the historical market quotation data and historical market trading data of the target trading market on the trial calculation date according to the trial calculation date; The target transaction information, the historical market quotation data and the historical market transaction data are input into the measurement model to obtain the initial margin calculation result.

5. The method according to any one of claims 1 to 4, characterized in that: The method comprises: When displaying the configuration interface for the client to configure the initial margin trial calculation task, updating the task status corresponding to the initial margin trial calculation task to "trial calculation started"; When the target transaction information, the historical market quotation data and the historical market transaction data are input into the measurement model and no initial margin trial calculation result is obtained, the task status corresponding to the initial margin trial calculation task is updated to "trial calculation in progress"; When the target transaction information, the historical market quotation data and the historical market transaction data are input into the measurement model and the initial margin calculation result is obtained, the task status corresponding to the initial margin calculation task is updated to "calculation successful" and a prompt message is pushed to the client.

6. The method according to any one of claims 1 to 4, characterized in that: The associating the initial margin trial calculation result with the trial calculation task number and storing it in the trial calculation result library, and in response to the request for retrieving the initial margin trial calculation result initiated by the client, returning the initial margin trial calculation result to the configuration interface and displaying it, including: In response to the request for retrieving the initial margin trial calculation result initiated by the client, displaying a second input control for obtaining the trial calculation task number associated with the initial margin trial calculation result, and calling the trial calculation result library; When the second input control collects the trial calculation task number, a query is performed in the trial calculation result library based on the trial calculation task number to determine the initial margin trial calculation result associated with the trial calculation task number, and the initial margin trial calculation result is returned to the configuration interface for display.

7. A task execution device, characterized in that: include: A display module, for responding to an initial margin trial calculation task request initiated by a client, displaying a configuration interface for the client to configure the initial margin trial calculation task, and generating a trial calculation task number for the initial margin trial calculation task and returning it to the client; wherein the configuration interface includes: target transaction information, trial calculation date, and measurement model required for trial calculation of the initial margin; A first acquisition module, configured to acquire the configured target transaction information, trial calculation date and measurement model according to the operation of the client on the configuration interface; A first determination module is used to input the target transaction information, the historical market quotation data corresponding to the trial calculation date, and the historical market transaction data into the measurement model to obtain an initial margin trial calculation result; A storage and return module is used to associate the initial margin trial calculation result with the trial calculation task number and store it in a trial calculation result library, and in response to a request for retrieving the initial margin trial calculation result initiated by the client, return the initial margin trial calculation result to the configuration interface and display it.

8. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 6 when executed by a processor.

10. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 6 when being executed by a processor.

Citation Information

Patent Citations

  • Electric power transaction risk management system and method for electricity selling company

    CN111080138A

  • Financial product transaction management method and device

    CN111583034A

  • Transaction deposit determination method and device and electronic equipment

    CN115239501A

  • Curve trial calculation method and device, electronic equipment, medium and program product

    CN116664181A

  • Security deposit transaction data processing method and device, equipment and storage medium

    CN116823461A