Search

CN-117216104-B - Conditional single call method, device, apparatus and storage medium

CN117216104BCN 117216104 BCN117216104 BCN 117216104BCN-117216104-B

Abstract

The invention relates to the technical field of data processing and discloses a conditional single-call method, device, equipment and storage medium, wherein the method comprises the steps of traversing a strategy delegation main table according to a delegation trigger instruction when the delegation trigger instruction is received, and obtaining a main delegation number corresponding to the delegation trigger instruction; and carrying out entrusting and calling on the combined condition list to obtain a flow record of the calling process, and storing the flow record into an entrusting flow water meter. According to the invention, different condition sheets can be associated by combining the condition sheets, so that the condition sheets are not used by individual soldiers any more, the application scene of the condition sheets is greatly enriched, and the complicated operation of successfully executing the previous condition sheet and then creating the next condition sheet is avoided, thereby improving the execution efficiency.

Inventors

  • ZHONG CHAOQUN
  • QIU LUDA
  • Lai Jiangtao

Assignees

  • 深圳市金证科技股份有限公司

Dates

Publication Date
20260505
Application Date
20230830

Claims (7)

  1. 1. A conditional single call method, the conditional single call method comprising: when a delegation trigger instruction is received, traversing a strategy delegation main table according to the delegation trigger instruction to obtain a main delegation number corresponding to the delegation trigger instruction, wherein the strategy delegation main table stores triggering conditions, delegation prices and quantity of various condition sheets, the main delegation number is a number corresponding to various condition sheets in the strategy delegation main table, and one piece of strategy delegation data corresponds to a plurality of pieces of combined condition sheet detail data; inquiring in a combined condition list detail table according to the main consignment number to obtain a combined condition list corresponding to the consignment triggering instruction; The combined condition list is subjected to entrusting and calling, a flow record of a calling process is obtained, and the flow record is stored in an entrusting flow water meter; The step of delegation calling the combined condition list to obtain a flow record of a calling process and storing the flow record into a delegation flow water meter comprises the following steps: Extracting a strategy type and a condition detail of the combined condition list, wherein the strategy type comprises a father-son type and a mutual exclusion type, the father-son type is a type that a father condition list can be triggered before a son condition list is triggered, and the mutual exclusion type is a type that other condition lists are automatically cancelled after a stroke of condition list is triggered; Determining a father-son execution sequence corresponding to the entrusting trigger instruction based on the father-son condition list and the son condition list, entrusting and calling the father-son condition list and the son condition list according to the condition detail according to the father-son execution sequence to obtain a running water record of a calling process, and storing the running water record into an entrusting flow water meter; And/or when the policy type is a mutual exclusion type, determining a mutual exclusion condition list in the combined condition list according to the mutual exclusion type, determining a mutual exclusion execution sequence corresponding to the entrusting trigger instruction based on the mutual exclusion condition list, entrusting and calling the mutual exclusion condition list according to the condition detail according to the mutual exclusion execution sequence, obtaining a running water record of a calling process, and storing the running water record to an entrusting flow water meter.
  2. 2. The conditional single call method as claimed in claim 1, wherein said delegation of said parent and child condition sheets according to said condition details in said parent and child execution order, obtaining a flow record of a call procedure, and saving said flow record in a delegation flow meter, comprises: judging whether the father condition list generates a father running water record according to the father-son execution sequence; When the father condition list generates father running record, entrusting and calling the child condition list according to the condition detail, obtaining the child running record of the calling process, and storing the child running record and the father running record into an entrusting running water meter.
  3. 3. The conditional single call method of claim 1, wherein said delegating call to said mutually exclusive conditional ticket according to said condition details in said mutually exclusive execution order, obtaining a flow record of a call procedure, and saving said flow record to a delegation flow meter, comprises: judging whether a mutually exclusive flow record exists in the mutually exclusive condition list according to the condition detail; When the mutual exclusion condition list has mutual exclusion flow records, canceling the entrusting call of the entrusting trigger instruction according to the mutual exclusion execution sequence, and storing the mutual exclusion flow records to an entrusting flow meter.
  4. 4. A conditional single method as claimed in any one of claims 1 to 3, wherein said combined condition list detail table stores condition details, trigger conditions and policy types of combined condition lists.
  5. 5. A conditional single call apparatus that performs implementing the conditional single call method of claim 1, the apparatus comprising: The number acquisition module is used for traversing the strategy delegation main table according to the delegation trigger instruction when the delegation trigger instruction is received, and acquiring a main delegation number corresponding to the delegation trigger instruction; The condition list combination module is used for inquiring in a combination condition list detail table according to the main consignment number to obtain a combination condition list corresponding to the consignment triggering instruction; and the consignment calling module is used for consignment calling the combined condition list, obtaining a flow record of the calling process and storing the flow record into a consignment flow water meter.
  6. 6. A conditional single call device comprising a memory, a processor and a conditional single call program stored on the memory and executable on the processor, the conditional single call program being configured to implement the steps of the conditional single call method according to any one of claims 1 to 4.
  7. 7. A storage medium having stored thereon a conditional single call program which when executed by a processor implements the steps of the conditional single call method of any one of claims 1 to 4.

Description

Conditional single call method, device, apparatus and storage medium Technical Field The present invention relates to the field of data processing technologies, and in particular, to a conditional single call method, device, apparatus, and storage medium. Background The condition list is a policy delegation type supported in transaction service, a certain condition can be preset, and delegation is triggered after the condition is met. In the financial field, the condition sheet may support a variety of conditions such as pricing trade, anti-profit and anti-loss, rebound trade, fall back and sell, fall back and fall, etc. All the condition orders in the traditional condition order system are generally stored through a strategy delegation table, delegation is triggered after the condition is met, but if a scene such as buying before selling is to be realized, a buying condition order is created first, and a selling condition order is created after buying is successful, so that the operation mode is complicated, and the execution efficiency is low. The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art. Disclosure of Invention The invention mainly aims to provide a conditional single-service method, a device, equipment and a storage medium, and aims to solve the technical problem that in a traditional conditional list system, the conditional list is stored through a policy delegated list and the operation is complex in a mode of triggering delegation, so that the execution efficiency is low. To achieve the above object, the present invention provides a conditional single call method comprising the steps of: when a delegation trigger instruction is received, traversing a strategy delegation main table according to the delegation trigger instruction to obtain a main delegation number corresponding to the delegation trigger instruction; inquiring in a combined condition list detail table according to the main consignment number to obtain a combined condition list corresponding to the consignment triggering instruction; And carrying out entrusting and calling on the combined condition list, obtaining a flow record of the calling process, and storing the flow record into an entrusting flow water meter. Optionally, the delegation calling is performed on the combined condition list, a flow record of a calling process is obtained, and the flow record is saved in a delegation flow water meter, including: Extracting a strategy type and a condition detail of the combined condition list, wherein the strategy type comprises a parent-child type and a mutual exclusion type; determining an execution sequence corresponding to the entrusting trigger instruction according to the strategy type; and according to the condition details, entrusting and calling the combined condition list according to the execution sequence, obtaining a flow record of a calling process, and storing the flow record into an entrusting flow water meter. Optionally, when the policy type is a parent-child type, determining, according to the policy type, an execution order corresponding to the delegated trigger instruction includes: Determining a parent condition list and a child condition list of the combined condition list according to the parent-child type; determining a parent-child execution sequence corresponding to the entrusted trigger instruction based on the parent condition list and the child condition list; Correspondingly, the step of delegation calling the combined condition list according to the condition details and the execution sequence to obtain a flow record of a calling process, and storing the flow record into a delegation flow water meter comprises the following steps: and according to the father-son execution sequence, entrusting and calling the father condition list and the son condition list according to the condition details, obtaining a flow record of a calling process, and storing the flow record into an entrusting flow water meter. Optionally, the step of delegating and calling the parent condition list and the child condition list according to the condition details according to the parent-child execution sequence, obtaining a flow record of a calling process, and storing the flow record in a delegation flow water meter, includes: judging whether the father condition list generates a father running water record according to the father-son execution sequence; When the father condition list generates father running record, entrusting and calling the child condition list according to the condition detail, obtaining the child running record of the calling process, and storing the child running record and the father running record into an entrusting running water meter. Optionally, when the policy type is a mutual exclusion type, the determining, according to the policy type, an ex