[go: up one dir, main page]

CN116630042A - Transaction configuration method, device, equipment, storage medium and product - Google Patents

Transaction configuration method, device, equipment, storage medium and product Download PDF

Info

Publication number
CN116630042A
CN116630042A CN202310605798.1A CN202310605798A CN116630042A CN 116630042 A CN116630042 A CN 116630042A CN 202310605798 A CN202310605798 A CN 202310605798A CN 116630042 A CN116630042 A CN 116630042A
Authority
CN
China
Prior art keywords
transaction
transaction operation
sequence information
identifier
execution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310605798.1A
Other languages
Chinese (zh)
Inventor
李召军
张宝婷
吕雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202310605798.1A priority Critical patent/CN116630042A/en
Publication of CN116630042A publication Critical patent/CN116630042A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3604Analysis of software for verifying properties of programs
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/43Checking; Contextual analysis
    • G06F8/433Dependency analysis; Data or control flow analysis
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Software Systems (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a transaction configuration method, a transaction configuration device, transaction configuration equipment, a transaction configuration storage medium and a transaction configuration product, which can be used in the field of financial science and technology. The method is applied to the server and comprises the following steps: acquiring transaction operation sequence information to be configured and sent by a user terminal and a corresponding transaction identifier; the execution sequence comprises the following steps: parallel execution, and/or serial execution; performing dependency detection on transaction operation sequence information to be configured according to the dependency relationship among all transaction operations which are configured in advance; if the fact that the dependency detection is passed is determined, the transaction operation sequence information to be configured and the corresponding transaction identification are stored in an associated mode, and the transaction operation sequence information to be configured is tested; if the test of the transaction operation sequence information to be configured is confirmed, the enabling state of the corresponding transaction identifier is confirmed to be enabled, and the configuration of the transaction to be configured is completed. The development flow of the transaction is simplified through the collocation development of the transaction operation, the development speed and the development quality are improved, and the maintenance time cost of the transaction is reduced.

Description

Transaction configuration method, device, equipment, storage medium and product
Technical Field
The present application relates to the field of financial science and technology, and in particular, to a transaction configuration method, apparatus, device, storage medium and product.
Background
The processing of the online transaction of the financial transaction may include: data preprocessing operations, access token transaction checking operations, customer card status checking operations, degraded transaction checking operations, verification of secret auxiliary information, blacklist checking operations, customer/card/account status checking operations, single or current day line checking operations (abbreviated as limit times checking), anti-fraud checking operations, etc., which are "financial transaction checking chains" and which are in loop-to-loop correspondence and can cause financial transaction processing failure as long as one of the checking processes fails.
At present, the financial transaction checking chains are usually arranged in the codes in a sequential manner, the codes of the corresponding checking chains are developed every time the financial transaction business is newly added or changed, and the changed or newly added transaction can be released on line only by the deployment version, so that the efficiency of configuring the financial transaction business is lower, and the coding capability requirement on personnel configuring the financial transaction business is higher.
Disclosure of Invention
The application provides a transaction configuration method, a device, equipment, a storage medium and a product, which are used for solving the problems that the efficiency of configuring the financial transaction service is lower and the coding capability requirement on personnel configuring the financial transaction service is higher because the corresponding financial transaction checking chains are required to be arranged into codes in a sequential mode in the codes for newly adding or changing the financial transaction service.
In a first aspect, the present application provides a transaction configuration method, applied to a server, including:
acquiring transaction operation sequence information to be configured and sent by a user terminal and a corresponding transaction identifier; the transaction operation sequence information to be configured comprises: at least one transaction operation identifier and an execution sequence among the transaction operations; the transaction operation identification and the corresponding codes are stored in advance; the execution sequence between the transaction operations comprises the following steps: parallel execution, and/or serial execution;
performing dependency detection on transaction operation sequence information to be configured according to the dependency relationship among all transaction operations which are configured in advance;
if the dependency detection is confirmed to pass, storing the transaction operation sequence information to be configured and the corresponding transaction identification in a correlated manner, and testing the transaction operation sequence information to be configured;
and if the test of the transaction operation sequence information to be configured is confirmed, the enabling state of the corresponding transaction identifier is confirmed to be enabled so as to complete the configuration of the transaction to be configured.
In a second aspect, the present application provides a transaction configuration method, applied to a user terminal, including:
responding to the opening operation of a user on a transaction configuration operation interface, and displaying each transaction operation element and a corresponding transaction operation name; the transaction operation elements are interface elements capable of carrying out drag operation and are in one-to-one correspondence with transaction operation identifiers;
Determining an execution sequence of the dragged transaction operation in response to a drag operation of the user on at least one transaction operation element;
responding to the triggering operation of a user on the configuration control, generating transaction operation sequence information to be configured based on the transaction operation identification of the dragged transaction operation element and the execution sequence of the dragged transaction operation element, acquiring the corresponding transaction identification, and sending the transaction operation sequence information to be configured and the corresponding transaction identification to the server.
In a third aspect, the present application provides a transaction configuration device, applied to a server, including:
the acquisition module is used for acquiring the transaction operation sequence information to be configured and the corresponding transaction identification sent by the user terminal; the transaction operation sequence information to be configured comprises: at least one transaction operation identifier and an execution sequence among the transaction operations; the transaction operation identification and the corresponding codes are stored in advance; the execution sequence between the transaction operations comprises the following steps: parallel execution, and/or serial execution;
the detection module is used for carrying out dependency detection on the transaction operation sequence information to be configured according to the dependency relationship among the pre-configured transaction operations;
the storage module is used for storing the transaction operation sequence information to be configured and the corresponding transaction identification in an associated mode if the dependency detection is confirmed to be passed;
The testing module is used for testing the transaction operation sequence information to be configured;
and the starting module is used for determining the starting state of the corresponding transaction identifier as started if the test of the transaction operation sequence information to be configured is passed, so as to complete the configuration of the transaction to be configured.
In a fourth aspect, the present application provides a transaction configuration device, applied to a user terminal, including:
the display module is used for responding to the opening operation of the user on the transaction configuration operation interface and displaying each transaction operation element and the corresponding transaction operation name; the transaction operation elements are interface elements capable of carrying out drag operation and are in one-to-one correspondence with transaction operation identifiers;
a determining module, configured to determine an execution order of the dragged transaction operations in response to a drag operation of the user on at least one transaction operation element;
the generation module is used for responding to the triggering operation of the user on the configuration control, generating transaction operation sequence information to be configured based on the transaction operation identification of the dragged transaction operation element and the execution sequence of the dragged transaction operation element, and acquiring the corresponding transaction identification;
and the sending module is used for sending the transaction operation sequence information to be configured and the corresponding transaction identification to the server.
In a fifth aspect, the present application provides a server comprising: a processor, and a memory and transceiver communicatively coupled to the processor;
the memory stores computer-executable instructions; the transceiver is used for receiving and transmitting data;
the processor executes the computer-executable instructions stored in the memory to implement the transaction configuration method described in the first aspect.
In a sixth aspect, the present application provides a user terminal, including: a processor, and a memory and transceiver communicatively coupled to the processor;
the memory stores computer-executable instructions; the transceiver is used for receiving and transmitting data;
the processor executes computer-executable instructions stored in the memory to implement the transaction configuration method described in the second aspect above.
In a seventh aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, are adapted to carry out the transaction configuration method of the first or second aspects described above.
In an eighth aspect, the present application provides a computer program product comprising computer-executable instructions which, when executed by a processor, implement the transaction configuration method of the first or second aspects above.
The application provides a transaction configuration method, a device, equipment, a storage medium and a product, which are applied to a server and comprise the following steps: acquiring transaction operation sequence information to be configured and sent by a user terminal and a corresponding transaction identifier; the transaction operation sequence information to be configured comprises: at least one transaction operation identifier and an execution sequence among the transaction operations; the transaction operation identification and the corresponding codes are stored in advance; the execution sequence between the transaction operations comprises the following steps: parallel execution, and/or serial execution; performing dependency detection on transaction operation sequence information to be configured according to the dependency relationship among all transaction operations which are configured in advance; if the dependency detection is confirmed to pass, storing the transaction operation sequence information to be configured and the corresponding transaction identification in a correlated manner, and testing the transaction operation sequence information to be configured; and if the test of the transaction operation sequence information to be configured is confirmed, the enabling state of the corresponding transaction identifier is confirmed to be enabled so as to complete the configuration of the transaction to be configured. The transaction development flow is simplified through the collocation development of transaction operation, the development speed and quality of financial transaction can be improved on the basis of not reducing check logic, and the maintenance time cost of the transaction is reduced, so that clients have better real-time use experience and quick satisfaction of business requirements.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
FIG. 1 is a schematic diagram of a network architecture according to the present application;
FIG. 2 is a flow chart of a transaction configuration method according to a first embodiment of the present application;
FIG. 3 is a flowchart of another transaction configuration method according to an embodiment of the present application;
FIG. 4 is a flow chart of a transaction configuration method according to a second embodiment of the present application;
FIG. 5 is a schematic diagram of a transaction configuration interface according to the present application;
fig. 6 is a schematic structural diagram of a transaction configuration device according to a third embodiment of the present application;
fig. 7 is a schematic structural diagram of a transaction configuration device according to a fourth embodiment of the present application;
fig. 8 is a schematic structural diagram of a server according to a fifth embodiment of the present application;
fig. 9 is a schematic structural diagram of a user terminal according to a fifth embodiment of the present application.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
The terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. In the following description of the embodiments, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
First, the prior art to which the present application relates will be described in detail and analyzed.
For a financial transaction, complex processing logic and validation rules are typically implemented, including a financial transaction checking chain. Parameters of the card-related products and card media information are typically acquired prior to processing of the financial transaction verification chain, which is then followed by processing.
The data preprocessing operation in the financial transaction checking chain mainly comprises the steps of identifying and identifying the source of the transaction, distinguishing the transaction of different channels and judging the source of the transaction; an access token transaction checking operation for checking information such as an access token transaction checking allowance, an access token validity period mapping state, and the like; the degradation transaction checking operation is used for checking information such as the initiating source of the transaction, the type of card media and the like; auxiliary information verification operation for verifying the correctness of the secret key through the security system and accumulating the error verification times; the blacklist checking operation is used for checking some related blacklists; the card state checking operation is used for checking the state, the blocking code and other information of the card, and some arrears or blocking codes are not allowed to make related transactions; checking the limit number of times, namely checking the information such as the current limit and the current limit of the card according to the product type of the card; an anti-fraud verification operation for identifying a fraudulent customer that is not permitted to conduct transactions if the customer is a potentially fraudulent customer.
The code maintenance is complex due to the fact that the whole logic chain is long, the maintenance cost is high, the updating iteration of a service system is slow, the higher maintenance cost is needed, and if other correct service logics are influenced due to manual errors, the customer experience is seriously influenced; and part of financial transactions have higher requirements on transaction response time, system development time, development quality and maintenance cost.
The inventor finds out in the research that the development of a plurality of related checking and checking operation programs can be carried out simultaneously by adopting a collocation method on the basis of not reducing the number and the complexity of transaction checking operations, and the transaction operations without dependency relationship can be parallelized. The application provides a transaction configuration method, which can acquire the transaction operation sequence information to be configured and the corresponding transaction identification sent by the user terminal; the execution sequence between transaction operations includes: parallel execution, and/or serial execution; performing dependency detection on transaction operation sequence information to be configured according to the dependency relationship among all transaction operations which are configured in advance; if the fact that the dependency detection is passed is determined, the transaction operation sequence information to be configured and the corresponding transaction identification are stored in an associated mode, and the transaction operation sequence information to be configured is tested; if the test of the transaction operation sequence information to be configured is confirmed, the enabling state of the corresponding transaction identifier is confirmed to be enabled so as to complete the configuration of the transaction to be configured.
Fig. 1 is a schematic diagram of a network architecture of the present application, as shown in fig. 1, including a user terminal 1 and a server 2; the user can configure the transaction operation and execution sequence included in the transaction in the user terminal 1, and generate the transaction operation sequence information to be configured; after receiving the transaction operation sequence information to be configured and the corresponding transaction identifier, the server 2 can perform dependency detection and test on the transaction operation sequence information to be configured, and after determining that the dependency detection and test pass, can determine to enable the transaction corresponding to the transaction identifier, so as to complete the configuration of the transaction.
In a financial scenario, there are typically a core system and a peripheral system, where the transaction configuration device provided in the embodiment of the present application is typically located in a server corresponding to the core system, and the peripheral system typically includes a card media management system, a parameter system, a receipt system, a 8583 message conversion system, an anti-fraud system, a collection system, a security system, etc., and different systems are typically deployed on different service units and machines, and if the systems are smaller, may also be deployed on the same machine. Interaction and data acquisition are performed between different systems through HTTP/HTTPS requests. The current financial systems are all network services, and use databases to store a series of information such as card media information, account information, customer information, etc., if the database tables involved are relatively large, the response speed of the transaction will necessarily be relatively slow, due to the storage and complex logic.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or fully authorized by each party, and the collection, use and processing of the related data need to comply with related laws and regulations and standards, and provide corresponding operation entries for the user to select authorization or rejection.
It should be noted that the transaction configuration method, apparatus, device and storage medium of the present application may be used in the field of financial technology, and may be used in any field other than the field of financial technology.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Example 1
Fig. 2 is a flowchart of a transaction configuration method provided by an embodiment of the present application, which aims at solving the problem that a corresponding financial transaction checking chain needs to be arranged in a code in a sequential manner in the code to newly add or change a financial transaction service, resulting in lower efficiency of configuring the financial transaction service and higher requirement on coding capability of personnel configuring the financial transaction service. The method in this embodiment is applied to a transaction configuration device, which may be located in a server. Wherein the server may be a digital computer representing various forms. Such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers.
As shown in fig. 2, the method specifically comprises the following steps:
step S101, obtaining transaction operation sequence information to be configured and sent by a user terminal and corresponding transaction identification.
The transaction operation sequence information to be configured comprises: at least one transaction operation identifier and an execution sequence between the transaction operations. The transaction operation identification and the corresponding code are stored in advance. The execution sequence between transaction operations includes: parallel execution, and/or serial execution.
In the embodiment of the application, various operations which can be performed in the transaction process are divided into transaction operations in advance, and the identification of each transaction operation and the corresponding code are stored in a certain storage space in advance.
In the process of checking the anti-fraud of the transaction, a part of anti-fraud checking needs the checking result of the rest of checking operations in the financial transaction checking chain, and the other part of anti-fraud checking only needs the transaction product parameters, card information, customer information and the like, so that the anti-fraud checking can be split into a first anti-fraud checking operation and a second anti-fraud checking operation, wherein the first anti-fraud checking operation can be executed in parallel with the rest of checking operations in the financial transaction checking chain, the second anti-fraud checking operation can be executed in series with the rest of checking operations in the financial transaction checking chain, and the time consumption of the first anti-fraud checking operation can be saved.
Specifically, when the user adds or changes the transaction service and configures the transaction service, the user terminal can select the transaction operation and the execution sequence executed when the transaction service is performed, and the user terminal generates the transaction operation sequence information to be configured and sends the transaction operation sequence information to be configured and the corresponding transaction identifier to the server.
Wherein the transaction identifier is a unique identifier of the configured transaction service.
Step S102, dependency detection is carried out on the transaction operation sequence information to be configured according to the dependency relationship among the pre-configured transaction operations.
It should be appreciated that there may be a dependency between transaction operations, such as a customer card status check operation depending on a data acquisition operation; the transaction operations may also be independent of each other, such as a customer status check operation and a customer amount check operation.
In the embodiment of the application, since the operation of some transaction operations depends on the output of other transaction operations, the transaction operations have a dependency relationship. The dependency relationship between the transaction operations may be preconfigured and stored in a certain storage space.
Specifically, after the transaction operation sequence information to be configured is obtained, whether the execution sequence among all the transaction operations in the transaction operation sequence information to be configured meets the dependency relationship among the transaction operations can be determined; if it is determined that the dependency relationship between the transaction operations is satisfied, it is determined that the step S103 of storing the transaction operation order information to be configured may be performed through the dependency detection; if the dependency relationship among the transaction operations is not satisfied, the transaction operation sequence information to be configured is determined not to pass through the dependency detection, and the transaction operation sequence information to be configured is not stored.
Step S103, if the fact that the dependency detection is passed is determined, the transaction operation sequence information to be configured and the corresponding transaction identification are stored in a correlated mode, and the transaction operation sequence information to be configured is tested.
The enabling state of the transaction identifier is used for controlling whether the transaction service corresponding to the transaction identifier can be invoked or not.
Optionally, after the dependency detection is determined, the transaction operation sequence information to be configured and the corresponding transaction identifier association may be stored in the transaction configuration table, a record corresponding to the transaction identifier is added in the transaction switch state table, and the enabling state of the corresponding transaction identifier in the transaction switch state table is determined to be not enabled. And reading and writing of the starting state are facilitated.
In the embodiment of the application, the starting state of the corresponding transaction identifier can be stored, the corresponding starting state can be maintained through a page or a monitoring means, and if the problems such as error reporting and the like occur in the transaction corresponding to the transaction identifier, the transaction can be closed in time, so that the purpose of rollback is achieved, the effect of safety and controllability is achieved, and the expansion is avoided.
Step S104, if the test of the transaction operation sequence information to be configured is determined, the enabling state of the corresponding transaction identifier is determined to be enabled so as to complete the configuration of the transaction to be configured.
Specifically, after storing the transaction operation sequence information to be configured and determining the enabling state of the corresponding transaction identifier as not enabled, further testing the transaction operation sequence information to be configured; if it is determined that the test passes, step S104 may be performed to determine the enabled status as enabled; if the test is determined not to pass, the corresponding enabled state may be determined to be not enabled.
The embodiment of the application does not limit the mode of testing the transaction operation sequence information to be configured. For example, the transaction operation sequence information to be configured may be sent to the test terminal, so as to prompt a tester to test the transaction operation sequence information to be configured; and the transaction operation sequence information to be configured can be tested according to a preset test strategy.
The test of the transaction operation sequence information to be configured can comprise performance test, functional test and the like.
The transaction configuration method provided by the embodiment of the application obtains the transaction operation sequence information to be configured and the corresponding transaction identification sent by the user terminal; the transaction operation sequence information to be configured includes: at least one transaction operation identifier and an execution sequence among the transaction operations; transaction operation identification and corresponding codes are stored in advance; performing dependency detection on transaction operation sequence information to be configured according to the dependency relationship among all transaction operations which are configured in advance; if the fact that the dependency detection is passed is determined, the transaction operation sequence information to be configured and the corresponding transaction identification are stored in an associated mode, and the transaction operation sequence information to be configured is tested; if the test of the transaction operation sequence information to be configured is confirmed, the enabling state of the corresponding transaction identifier is confirmed to be enabled so as to complete the configuration of the transaction to be configured. The transaction development flow is simplified through the collocation development of transaction operation, the development speed and quality of financial transaction can be improved on the basis of not reducing check logic, and the maintenance time cost of the transaction is reduced, so that clients have better real-time use experience and quick satisfaction of business requirements.
Optionally, the user terminal or the service server may invoke the configured transaction service through the transaction identifier, which may specifically include:
step S201, a transaction request is received.
In the embodiment of the application, the transaction request comprises a target transaction identifier and target transaction data, and the transaction request is used for requesting to execute target transaction according to the target transaction data. The target transaction is a transaction that is determined to be executed when a transaction service is performed. The target transaction data is data adopted by the target transaction when the target transaction is executed.
Step S202, acquiring a target transaction operation sequence corresponding to the target transaction identifier and loading a code corresponding to the target transaction operation identifier.
Wherein the target transaction operation identifier is a transaction operation identifier included in the target transaction operation sequence.
Step S203, executing codes corresponding to the target transaction operation identifiers according to the target transaction operation sequence and the target transaction data so as to complete the target transaction.
Specifically, the identification of each transaction operation and the corresponding code are pre-stored in a certain storage space; after the transaction request is acquired, whether the enabling state corresponding to the target transaction identifier is enabled or not can be determined; if yes, acquiring a target transaction operation sequence corresponding to the target transaction identifier and loading a code corresponding to the target transaction operation identifier; if not, a prompt message indicating that the transaction is not enabled can be returned. After the codes corresponding to the target transaction operation identifiers are obtained, the target transaction data can be input into the codes corresponding to the target transaction operation identifiers and executed according to the target transaction operation sequence.
Currently, for a financial transaction, complex processing logic and verification rules are typically implemented. Lengthy verification and processing logic necessarily results in a linear increase in transaction time. Stringent transaction scenarios may be required for some transactions, potentially resulting in transaction failure.
The transaction configuration method provided by the embodiment of the application can determine the mutually independent transaction operations as parallel execution when the transaction operation sequence included in the transaction is configured; after receiving the transaction request, the target transaction operation is executed according to the pre-configured target transaction operation sequence, so that the transaction processing efficiency is improved, and the response speed to the transaction request is improved.
The transaction configuration method provided by the embodiment of the present application is described below with reference to a specific example, and fig. 3 is a flowchart of another transaction configuration method provided by the embodiment of the present application, as shown in fig. 3, including the following steps:
step 301, in response to a transaction operation identifier obtaining request sent by the user terminal, sending each transaction operation identifier and a corresponding transaction operation name to the user terminal.
Specifically, the user terminal may send a transaction operation identifier acquisition request to the server; after receiving the transaction operation identifier acquisition request, the server can send each transaction operation identifier and the corresponding transaction operation name to the user terminal; the user terminal may display each transaction operation identifier and the corresponding transaction operation name.
In the embodiment of the application, each transaction operation identifier and the corresponding transaction operation name are sent to the user terminal, so that the user can determine the function of the transaction operation according to the corresponding transaction operation name, thereby being convenient for the user to select the transaction operation identifier included in the transaction operation sequence information to be configured and determine the execution sequence among the transaction operations.
Step S302, obtaining transaction operation sequence information to be configured and sent by a user terminal and corresponding transaction identification.
Step S303, determining whether all transaction operations before the execution sequence among the transaction operations in the transaction operation sequence information to be configured comprise the dependent transaction operations so as to determine whether the dependency detection is passed.
Where dependent transaction operations are transaction operations that must be performed prior to execution. For example, the input of a certain transaction operation is the output of the transaction operation on which it depends, or it is determined whether the transaction operation can be executed according to the execution result of the transaction operation on which the certain transaction operation depends.
Specifically, whether the execution sequence among the transaction operations in the transaction operation sequence information to be configured includes the transaction operations that the transaction operations depend on is sequentially determined, if the execution sequence among the transaction operations in the transaction operation sequence information to be configured includes the transaction operations that the transaction operations depend on, determining that the execution sequence among the transaction operations in the transaction operation sequence information to be configured passes the dependency detection, and executing step S305; if it is determined that the execution sequence between any transaction operations in the transaction operation sequence information to be configured does not include the transaction operation on which the execution sequence is dependent, determining that the execution sequence does not pass the dependency detection, and executing step S305 to send prompt information to the user terminal that the execution sequence does not pass the dependency detection, so as to prompt the user terminal to update the transaction operation sequence information to be configured.
Illustratively, the transaction operation sequence information to be configured is determined to include a transaction operation B1, and the transaction operation B1 is determined to depend on the transaction operation A1 based on the dependency relationship among the transaction operations configured in advance; if the transaction operation A1 is not included before the transaction operation B1 is determined in the execution order in the transaction operation order information to be configured, it may be determined that the dependency detection is not passed.
According to the transaction configuration method provided by the embodiment of the application, the dependency detection can be carried out on the transaction operation sequence information to be configured by judging whether the transaction operation before the execution sequence among the transaction operations comprises the dependent transaction operation or not; if the execution sequence among the transaction operations in the transaction operation sequence information to be configured is determined to include the transaction operations which depend on the execution sequence, the processing caused by the fact that the dependent transaction operations are not executed can be avoided through the determination of the dependency detection. Failure of
Step S304, if the fact that the dependent transaction operation is not included is determined, prompt information which does not pass through the dependency detection is sent to the user terminal, so that the user terminal is prompted to update the transaction operation sequence information to be configured.
In the embodiment of the application, the prompt information which does not pass the dependency detection can comprise the transaction operation identification which does not accord with the dependency relationship.
Step S305, carrying out concurrency detection on the transaction operation sequence information to be configured based on the maximum preset parallel number.
Specifically, determining whether the concurrent execution of the transaction operations in the transaction operation sequence information to be configured is greater than a preset maximum parallel number; if the number of parallel messages is determined to be greater than the preset maximum number of parallel messages, determining that the parallel messages do not pass the concurrent detection, and executing step S306 to send prompt information of the failed concurrent detection to the user terminal; if it is determined that the number of parallel operations is not greater than the maximum number of parallel operations configured in advance, it is determined that the parallel detection is passed, and step S306 may be performed to store the transaction operation order information to be configured.
In the embodiment of the application, the transaction operation can be executed in parallel, but the number of services of the financial transaction system is numerous, and for a deployment unit, the parallel execution transaction operation uses the multi-core resources of the CPU of the machine reused by the operating system from the program bottom layer, if the number of threads of a single transaction is not limited, when the concurrency of services is particularly large and the CPU processes the request by adopting a time division multiplexing mechanism, the CPU resources can be exhausted, and other normal transactions can be influenced, so that in the embodiment of the application, the number of transaction operations executed in parallel is limited.
According to the transaction configuration method provided by the embodiment of the application, the transaction operation sequence information to be configured is detected concurrently based on the maximum parallel number which is configured in advance, if the fact that the transaction operation sequence information to be configured passes the dependency detection is determined, the transaction operation sequence information to be configured and the corresponding transaction identification are stored in an associated mode, and the transaction operation sequence information to be configured is tested, so that the situation that the CPU resource burden of a server is overlarge, the situation that too many resources are occupied by transactions, and the performance and response speed of the server are slower due to machine or resource blocking is avoided.
And step S306, if the concurrent detection is not passed, sending prompt information of the non-passing concurrent detection to the user terminal so as to prompt the user terminal to update the number of the transaction operations executed in parallel.
In the embodiment of the application, the prompt information which does not pass the concurrent detection can comprise a preset maximum concurrent number.
In the embodiment of the application, if the dependence detection is not passed, prompt information of the dependence detection is sent to the user terminal so as to prompt the user terminal to update the transaction operation sequence information to be configured; if the concurrent detection is not passed, prompt information of the concurrent detection is sent to the user terminal so as to prompt the user terminal to update the number of the transaction operations which are executed in parallel. The method can lead the user to complete the reasons of transaction configuration, and prompt the user to conduct configuration modification in a targeted manner, thereby improving the efficiency of completing the transaction configuration.
Step S307, if the dependency detection and the concurrency detection are determined, the transaction operation sequence information to be configured and the corresponding transaction identification are stored in a correlated manner.
Step S308, executing the transaction operation according to the transaction operation sequence information to be configured so as to test the transaction operation sequence information to be configured.
Step 309, if it is determined that the test of the transaction operation sequence information to be configured is passed, determining the enabling state of the corresponding transaction identifier as enabled, so as to complete the configuration of the transaction to be configured.
Specifically, the transaction operation may be executed according to the transaction operation sequence information to be configured, if it is determined that the transaction operations in the transaction operation sequence information to be configured are all completed, it may be determined that the corresponding transaction identifier is enabled to complete the configuration of the transaction by testing the transaction operation sequence information to be configured, and step S309 may be executed; if the transaction operation in the transaction operation sequence information to be configured fails to be executed, it can be determined that the test of the transaction operation sequence information to be configured is not passed, and codes corresponding to the transaction operation can be manually debugged or the transaction operation sequence information can be reconfigured.
Optionally, the enabling state of the corresponding transaction identifier may also be determined to be enabled based on an opening instruction sent by the user terminal.
In the embodiment of the application, the transaction operation is executed according to the transaction operation sequence information to be configured so as to test the transaction operation sequence information to be configured. The method can avoid the fact that the transaction which cannot be executed is put into practical use, and can reduce the probability of reporting errors to the transaction request.
When a new transaction is newly added, the method provided by the embodiment of the application can be used for determining the transaction operation to be executed according to the transaction scene and the transaction rule configuration and selecting parallel or serial execution according to the expected sequence; saving this order to a database; after the test is passed, a transaction configuration is completed by manual pushing or timed refreshing into the system operating environment.
Example two
Fig. 4 is a flow chart of a transaction configuration method provided by a second embodiment of the present application, which provides a transaction configuration method for solving the problem that a corresponding financial transaction checking chain needs to be sequentially arranged in a code to the code to configure financial transaction services, resulting in lower efficiency of configuring financial transaction services and higher requirement on coding capability of personnel configuring financial transaction services. The method in this embodiment is applied to a transaction configuration device, which may be located in a user terminal. The user terminal may be a digital computer or a mobile terminal representing various forms. Such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers.
As shown in fig. 4, the method specifically comprises the following steps:
step S401, responding to the opening operation of the user to the transaction configuration operation interface, and displaying each transaction operation element and the corresponding transaction operation name.
The transaction configuration operation interface is used for configuring transaction operation corresponding to the transaction. In the embodiment of the application, the transaction operation elements are interface elements which can carry out drag operation and are in one-to-one correspondence with the transaction operation identifiers.
The embodiment of the application does not limit the mode of displaying each transaction operation element and the corresponding transaction operation name. For example, each transaction operation identifier, element and corresponding transaction operation name may be stored locally in advance, and after determining that the user opens the transaction configuration operation interface, each transaction operation identifier and corresponding element corresponding to the transaction operation name may be obtained and displayed locally. And responding to the opening operation of the user on the transaction configuration operation interface, sending a transaction operation identifier acquisition request to a server to acquire each transaction operation identifier and the corresponding transaction operation name, generating each transaction operation element, and displaying each transaction operation element and the corresponding transaction operation name.
Step S402, responding to the drag operation of at least one transaction operation element by a user, and determining the execution sequence of the drag transaction operation.
In the embodiment of the application, the user can select the transaction operation elements needed by the transaction based on the transaction operation names, arrange the transaction operation elements according to the expected sequence and select to execute the transaction operation in parallel or in series.
For example, the execution order of the dragged trade operations may be determined based on the positions of the trade operation elements after the dragging. The transaction operation elements may also be connected by lines having directionality, thereby determining the execution order of the dragged transaction operations.
Step S403, responding to the triggering operation of the user on the configuration control, generating transaction operation sequence information to be configured based on the transaction operation identification of the dragged transaction operation element and the execution sequence of the dragged transaction operation element, acquiring the corresponding transaction identification, and sending the transaction operation sequence information to be configured and the corresponding transaction identification to the server.
Specifically, the corresponding transaction identifier may be generated based on a preset policy, and the transaction identifier input by the user may also be obtained.
In the embodiment of the application, after the user finishes dragging the transaction operation elements and determines the execution sequence, the configuration control can be triggered; the user terminal can generate transaction operation sequence information to be configured and send the transaction operation sequence information to be configured and the corresponding transaction identification to the server; so that the server stores the transaction operation sequence information to be configured and the corresponding transaction identification.
According to the transaction configuration method provided by the embodiment of the application, each transaction operation element and the corresponding transaction operation name are displayed in response to the opening operation of a user on the transaction configuration operation interface; the transaction operation elements are interface elements capable of carrying out drag operation and are in one-to-one correspondence with the transaction operation identifiers; determining an execution sequence of the dragged transaction operation in response to a drag operation of the user on at least one transaction operation element; responding to the triggering operation of a user on the configuration control, generating transaction operation sequence information to be configured based on the transaction operation identification of the dragged transaction operation element and the execution sequence of the dragged transaction operation element, acquiring the corresponding transaction identification, and sending the transaction operation sequence information to be configured and the corresponding transaction identification to the server. The user can configure the transaction by dragging the transaction operation element, so that the coding capability requirement on the user is reduced, and the transaction configuration efficiency is improved.
Optionally, after the user performs the drag operation on at least one transaction operation element and determines the execution sequence of the drag transaction operation, the execution sequence may be preliminarily verified. The transaction operations may include: the primary transaction operation, the secondary transaction operation and the tertiary transaction operation can be sequentially executed, and a user can cut off the transaction operation of the same-level tag without dependency into parallel execution, so that the transaction response time is improved.
An alternative implementation manner for performing preliminary verification on the execution sequence may specifically include:
step S501, determining whether the execution sequence of the primary transaction operation precedes the secondary transaction operation or the tertiary transaction operation.
Specifically, if it is determined that the execution sequence of the primary transaction operation is executed after the secondary transaction operation or the tertiary transaction operation or in parallel with the secondary transaction operation or the tertiary transaction operation, determining that the execution sequence is wrong, and displaying execution sequence error prompt information; if it is determined that the order of execution of the primary transaction operations precedes the secondary transaction operations or the tertiary transaction operations, step S502 may be performed to determine whether the order of execution between the secondary transaction operations precedes the tertiary transaction operations.
Step S502, determining whether the execution sequence between the secondary transaction operations is before the tertiary transaction operation.
Specifically, if the execution sequence of the secondary transaction operation is determined to be executed after the tertiary transaction operation or in parallel with the tertiary transaction operation, determining that the execution sequence is wrong, and displaying execution sequence wrong prompt information; if it is determined that the execution sequence between the secondary transaction operations is before the tertiary transaction operations, the preliminary verification may be determined to pass, and step S403 may be performed to send the transaction operation sequence information to be configured and the corresponding transaction identifier to the server.
Illustratively, after determining the execution sequence of the dragged transaction operation by the user on the drag operation of at least one transaction operation element, a screen as shown in fig. 5 may be displayed in the transaction configuration operation interface. Wherein A001 is a transaction operation identifier corresponding to a primary transaction operation, B001, B002, B004, B005 and B006 are transaction operation identifiers corresponding to a secondary transaction operation, and C001 is a transaction operation identifier corresponding to a tertiary transaction operation. One-level parallel labels can be added to the transaction operation sequence information to be configured, namely B001, B004 and B005: parallel 1, adding a primary parallel label to B002 and B006: parallel 2, the transaction operation added with the primary parallel label is executed in parallel; adding a two-level parallel tag to B004: parallel 1.1, add two-level parallel tag to B005: parallel 1.2, the transaction operation added with the secondary parallel labels is executed in parallel.
Example III
Fig. 6 is a schematic structural diagram of a transaction configuration device according to a third embodiment of the present application. The transaction configuration device provided by the embodiment of the application can execute the processing flow provided by the embodiment of the transaction configuration method. As shown in fig. 6, the transaction arrangement device 60 includes: the device comprises an acquisition module 601, a detection module 602, a storage module 603, a test module 604 and an enabling module 605.
Specifically, an acquiring module 601 is configured to acquire transaction operation sequence information to be configured and a corresponding transaction identifier, which are sent by a user terminal; the transaction operation sequence information to be configured includes: at least one transaction operation identifier and an execution sequence among the transaction operations; transaction operation identification and corresponding codes are stored in advance; the execution sequence between transaction operations includes: parallel execution, and/or serial execution.
The detection module 602 is configured to perform dependency detection on the transaction operation sequence information to be configured according to the dependency relationship between the pre-configured transaction operations.
And the storage module 603 is configured to store the transaction operation sequence information to be configured and the corresponding transaction identifier in association if the dependency detection is determined to pass.
And the testing module 604 is used for testing the transaction operation sequence information to be configured.
And an enabling module 605, configured to determine, if it is determined that the test of the transaction operation sequence information to be configured is passed, an enabling state of the corresponding transaction identifier as enabled, so as to complete the configuration of the transaction to be configured.
The apparatus provided in the embodiment of the present application may be specifically used to perform the method embodiment provided in the first embodiment, and specific functions are not described herein.
Optionally, the transaction configuration device 60 further includes: a transmitting module; the sending module is used for:
responding to a transaction operation identifier acquisition request sent by a user terminal, sending each transaction operation identifier and a corresponding transaction operation name to the user terminal, so that the user terminal displays each transaction operation identifier and the corresponding transaction operation name, prompts a user to select the transaction operation identifier included in the transaction operation sequence information to be configured, and determines the execution sequence among the transaction operations.
Optionally, the detection module 602 is specifically configured to: sequentially determining whether transaction operations before execution sequences among all transaction operations in the transaction operation sequence information to be configured comprise the dependent transaction operations so as to perform dependency detection on the transaction operation sequence information to be configured; if the execution sequence among all the transaction operations in the transaction operation sequence information to be configured is determined to comprise the transaction operation which depends on the execution sequence, the determination is made that the dependency detection is passed.
Optionally, the detection module 602 is further configured to: carrying out concurrent detection on transaction operation sequence information to be configured based on a preset maximum parallel number; the storage module 603 is configured to: and if the dependency detection and the concurrency detection are confirmed, storing the transaction operation sequence information to be configured and the corresponding transaction identification in a correlated manner.
Optionally, the sending module is further configured to: if the fact that the dependency detection is not passed is determined, prompt information of the fact that the dependency detection is not passed is sent to the user terminal, so that the user terminal is prompted to update transaction operation sequence information to be configured; if the concurrent detection is not passed, prompt information of the concurrent detection is sent to the user terminal so as to prompt the user terminal to update the number of the transaction operations which are executed in parallel.
Optionally, the test module 604 is specifically configured to: executing the transaction operation according to the transaction operation sequence information to be configured so as to test the transaction operation sequence information to be configured.
Optionally, the transaction configuration device 60 further includes: an execution module; the execution module is used for:
receiving a transaction request sent by a user terminal; the transaction request comprises a target transaction identifier and target transaction data; acquiring a target transaction operation sequence corresponding to the target transaction identifier and loading a code corresponding to the target transaction operation identifier; the target transaction operation identifier is a transaction operation identifier included in a target transaction operation sequence; executing codes corresponding to the target transaction operation identifiers according to the target transaction operation sequence and the target transaction data so as to complete target transaction; the transaction operation identification and the corresponding code are stored in advance.
The apparatus provided in the embodiment of the present application may be specifically used to execute the above method embodiment, and specific functions are not described herein.
Example IV
Fig. 7 is a schematic structural diagram of a transaction configuration device according to a fourth embodiment of the present application. The transaction configuration device provided by the embodiment of the application can execute the processing flow provided by the embodiment of the transaction configuration method. As shown in fig. 7, the transaction arrangement device 70 includes: the device comprises a display module 701, a determination module 702, a generation module 703 and a sending module 704.
Specifically, the display module 701 is configured to respond to an opening operation of the transaction configuration operation interface by a user, and display each transaction operation element and a corresponding transaction operation name; the transaction operation elements are interface elements capable of carrying out drag operation and are in one-to-one correspondence with the transaction operation identifiers.
A determining module 702, configured to determine an execution order of the dragged transaction operations in response to a drag operation of at least one transaction operation element by a user.
The generating module 703 is configured to generate, in response to a trigger operation of the configuration control by the user, transaction operation sequence information to be configured based on the transaction operation identifier of the dragged transaction operation element and the execution sequence of the dragged transaction operation element, and obtain a corresponding transaction identifier.
And the sending module 704 is configured to send the transaction operation sequence information to be configured and the corresponding transaction identifier to the server.
The apparatus provided in the embodiment of the present application may be specifically used to execute the method embodiment provided in the second embodiment, and specific functions are not described herein.
Optionally, the transaction operation includes: primary transaction operations, secondary transaction operations, tertiary transaction operations, the transaction arrangement 70 further includes: a prompting module; the prompt module is used for:
if the execution sequence of the primary transaction operation is determined to be executed after the secondary transaction operation or the tertiary transaction operation or in parallel with the secondary transaction operation or the tertiary transaction operation, determining that the execution sequence is wrong, and displaying execution sequence wrong prompt information; if the execution sequence of the secondary transaction operation is determined to be executed after the tertiary transaction operation or in parallel with the tertiary transaction operation, the execution sequence is determined to be wrong, and execution sequence wrong prompt information is displayed.
The apparatus provided in the embodiment of the present application may be specifically used to execute the above method embodiment, and specific functions are not described herein.
Example five
Fig. 8 is a schematic structural diagram of a server according to a fifth embodiment of the present application, and as shown in fig. 8, the present application further provides a server 80, including: a processor 801, and a memory 802 and a transceiver 803 communicatively coupled to the processor 801. Wherein the memory 802 stores computer-executable instructions; the transceiver 803 is used for receiving and transmitting data; processor 801 executes computer-executable instructions stored in memory 802 to implement the methods provided by any of the embodiments of the present application.
In particular, the program may include program code including computer-executable instructions. Memory 802 may comprise high-speed RAM memory or may also include non-volatile memory (non-volatile memory), such as at least one disk memory. Wherein computer-executable instructions are stored in memory 802 and are configured to be executed by processor 801 to implement the methods provided by any of the embodiments of the present application. The related descriptions and effects corresponding to the steps in the drawings can be understood correspondingly, and are not repeated here.
In the embodiment of the present application, the memory 802 and the processor 801 are connected through a bus. The bus may be an industry standard architecture (Industry Standard Architecture, abbreviated ISA) bus, an external device interconnect (Peripheral Component Interconnect, abbreviated PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 8, but not only one bus or one type of bus.
Fig. 9 is a schematic structural diagram of a ue provided in a fifth embodiment of the present application, and as shown in fig. 9, the present application further provides a ue 90, including: a processor 901, and a memory 902 and a transceiver 903 communicatively coupled to the processor 901. Wherein the memory 902 stores computer-executable instructions; the transceiver 903 is used for receiving and transmitting data; processor 901 executes computer-executable instructions stored in memory 902 to implement the methods provided by any one of the embodiments of the present application.
In particular, the program may include program code including computer-executable instructions. The memory 902 may include high-speed RAM memory or may further include non-volatile memory (non-volatile memory), such as at least one disk memory. Wherein computer-executable instructions are stored in the memory 902 and are configured to be executed by the processor 901 to implement the methods provided by any one of the embodiments of the present application. The related descriptions and effects corresponding to the steps in the drawings can be understood correspondingly, and are not repeated here.
In the embodiment of the present application, the memory 902 and the processor 901 are connected through a bus. The bus may be an industry standard architecture (Industry Standard Architecture, abbreviated ISA) bus, an external device interconnect (Peripheral Component Interconnect, abbreviated PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 9, but not only one bus or one type of bus.
The embodiment of the application also provides a computer readable storage medium, wherein computer executable instructions are stored in the computer readable storage medium, and the computer executable instructions are used for realizing the method provided by the first embodiment or the second embodiment of the application when being executed by a processor.
The embodiment of the application also provides a computer program product, which comprises computer execution instructions, and the computer execution instructions realize the method provided by the first embodiment or the second embodiment of the application when being executed by a processor.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules is merely a logical function division, and there may be additional divisions of actual implementation, e.g., multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules illustrated as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in hardware plus software functional modules.
Program code for carrying out methods of the present application may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable full path trace fusion apparatus, such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram block or blocks to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present application, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Moreover, although operations are depicted in a particular order, this should be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the application. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (15)

1. A transaction configuration method, applied to a server, comprising:
acquiring transaction operation sequence information to be configured and sent by a user terminal and a corresponding transaction identifier; the transaction operation sequence information to be configured comprises: at least one transaction operation identifier and an execution sequence among the transaction operations; the transaction operation identification and the corresponding codes are stored in advance; the execution sequence between the transaction operations comprises the following steps: parallel execution, and/or serial execution;
Performing dependency detection on transaction operation sequence information to be configured according to the dependency relationship among all transaction operations which are configured in advance;
if the dependency detection is confirmed to pass, storing the transaction operation sequence information to be configured and the corresponding transaction identification in a correlated manner, and testing the transaction operation sequence information to be configured;
and if the test of the transaction operation sequence information to be configured is confirmed, the enabling state of the corresponding transaction identifier is confirmed to be enabled so as to complete the configuration of the transaction to be configured.
2. The method of claim 1, wherein before obtaining the transaction operation sequence information to be configured and the corresponding transaction identifier sent by the user terminal, further comprises:
responding to a transaction operation identifier acquisition request sent by a user terminal, sending each transaction operation identifier and a corresponding transaction operation name to the user terminal, so that the user terminal displays each transaction operation identifier and the corresponding transaction operation name, prompts a user to select the transaction operation identifier included in the transaction operation sequence information to be configured, and determines the execution sequence among the transaction operations.
3. The method according to claim 1, wherein the performing dependency detection on the transaction operation sequence information to be configured according to the dependency relationship between each transaction operation configured in advance includes:
Sequentially determining whether transaction operations before execution sequences among all transaction operations in the transaction operation sequence information to be configured comprise the dependent transaction operations so as to perform dependency detection on the transaction operation sequence information to be configured;
and if the execution sequence among all the transaction operations in the transaction operation sequence information to be configured is determined to comprise the transaction operation which depends on the execution sequence, determining to pass the dependency detection.
4. The method of claim 1, wherein before storing the transaction sequence information to be configured and the corresponding transaction identifier in association, and testing the transaction sequence information to be configured, further comprises:
carrying out concurrent detection on transaction operation sequence information to be configured based on a preset maximum parallel number;
if the determination is passed through the dependency detection, storing the transaction operation sequence information to be configured and the corresponding transaction identifier in a correlated manner, and testing the transaction operation sequence information to be configured, including:
and if the dependency detection and the concurrency detection are confirmed to pass, storing the transaction operation sequence information to be configured and the corresponding transaction identification in a correlated mode, and testing the transaction operation sequence information to be configured.
5. The method of claim 4, wherein after the concurrent detection of the transaction sequence information to be configured based on the pre-configured maximum number of parallelism, further comprising:
if the dependency detection is determined to not be passed, prompt information of the dependency detection is sent to the user terminal so as to prompt the user terminal to update the transaction operation sequence information to be configured;
and if the concurrent detection is determined to not pass, sending prompt information of the failed concurrent detection to the user terminal so as to prompt the user terminal to update the number of the transaction operations which are executed in parallel.
6. The method of claim 1, wherein said testing the transaction sequence information to be configured comprises:
executing the transaction operation according to the transaction operation sequence information to be configured so as to test the transaction operation sequence information to be configured.
7. The method according to any one of claims 1-6, wherein after determining the enablement status of the corresponding transaction identifier as enabled to complete the configuration of the transaction to be configured, comprising:
receiving a transaction request sent by a user terminal; the transaction request comprises a target transaction identifier and target transaction data;
Acquiring a target transaction operation sequence corresponding to the target transaction identifier and loading a code corresponding to the target transaction operation identifier; the target transaction operation identifier is a transaction operation identifier included in a target transaction operation sequence;
executing codes corresponding to the target transaction operation identifiers according to the target transaction operation sequence and the target transaction data so as to complete target transaction; the transaction operation identification and the corresponding codes are stored in advance.
8. A transaction configuration method, applied to a user terminal, comprising:
responding to the opening operation of a user on a transaction configuration operation interface, and displaying each transaction operation element and a corresponding transaction operation name; the transaction operation elements are interface elements capable of carrying out drag operation and are in one-to-one correspondence with transaction operation identifiers;
determining an execution sequence of the dragged transaction operation in response to a drag operation of the user on at least one transaction operation element;
responding to the triggering operation of a user on the configuration control, generating transaction operation sequence information to be configured based on the transaction operation identification of the dragged transaction operation element and the execution sequence of the dragged transaction operation element, acquiring the corresponding transaction identification, and sending the transaction operation sequence information to be configured and the corresponding transaction identification to the server.
9. The method of claim 8, wherein the transaction operation comprises: primary transaction operation, secondary transaction operation, tertiary transaction operation; the primary transaction operation, the secondary transaction operation and the tertiary transaction operation are sequentially executed, and after the execution sequence of the dragged transaction operation is determined in response to the dragging operation of at least one transaction operation element by a user, the method further comprises the steps of:
if the execution sequence of the primary transaction operation is determined to be executed after the secondary transaction operation or the tertiary transaction operation or in parallel with the secondary transaction operation or the tertiary transaction operation, determining that the execution sequence is wrong, and displaying execution sequence wrong prompt information;
if the execution sequence of the secondary transaction operation is determined to be executed after the tertiary transaction operation or in parallel with the tertiary transaction operation, the execution sequence is determined to be wrong, and execution sequence wrong prompt information is displayed.
10. A transaction configuration device, for use with a server, comprising:
the acquisition module is used for acquiring the transaction operation sequence information to be configured and the corresponding transaction identification sent by the user terminal; the transaction operation sequence information to be configured comprises: at least one transaction operation identifier and an execution sequence among the transaction operations; the transaction operation identification and the corresponding codes are stored in advance; the execution sequence between the transaction operations comprises the following steps: parallel execution, and/or serial execution;
The detection module is used for carrying out dependency detection on the transaction operation sequence information to be configured according to the dependency relationship among the pre-configured transaction operations;
the storage module is used for storing the transaction operation sequence information to be configured and the corresponding transaction identification in an associated mode if the dependency detection is confirmed to be passed;
the testing module is used for testing the transaction operation sequence information to be configured;
and the starting module is used for determining the starting state of the corresponding transaction identifier as started if the test of the transaction operation sequence information to be configured is passed, so as to complete the configuration of the transaction to be configured.
11. A transaction configuration device, for use with a user terminal, comprising:
the display module is used for responding to the opening operation of the user on the transaction configuration operation interface and displaying each transaction operation element and the corresponding transaction operation name; the transaction operation elements are interface elements capable of carrying out drag operation and are in one-to-one correspondence with transaction operation identifiers;
a determining module, configured to determine an execution order of the dragged transaction operations in response to a drag operation of the user on at least one transaction operation element;
the generation module is used for responding to the triggering operation of the user on the configuration control, generating transaction operation sequence information to be configured based on the transaction operation identification of the dragged transaction operation element and the execution sequence of the dragged transaction operation element, and acquiring the corresponding transaction identification;
And the sending module is used for sending the transaction operation sequence information to be configured and the corresponding transaction identification to the server.
12. A server, comprising: a processor, and a memory and transceiver communicatively coupled to the processor;
the memory stores computer-executable instructions; the transceiver is used for receiving and transmitting data;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1-7.
13. A user terminal, comprising: a processor, and a memory and transceiver communicatively coupled to the processor;
the memory stores computer-executable instructions; the transceiver is used for receiving and transmitting data;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 8-9.
14. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1-7 or 8-9.
15. A computer program product comprising computer-executable instructions which, when executed by a processor, implement the method of any one of claims 1-7 or 8-9.
CN202310605798.1A 2023-05-25 2023-05-25 Transaction configuration method, device, equipment, storage medium and product Pending CN116630042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310605798.1A CN116630042A (en) 2023-05-25 2023-05-25 Transaction configuration method, device, equipment, storage medium and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310605798.1A CN116630042A (en) 2023-05-25 2023-05-25 Transaction configuration method, device, equipment, storage medium and product

Publications (1)

Publication Number Publication Date
CN116630042A true CN116630042A (en) 2023-08-22

Family

ID=87602221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310605798.1A Pending CN116630042A (en) 2023-05-25 2023-05-25 Transaction configuration method, device, equipment, storage medium and product

Country Status (1)

Country Link
CN (1) CN116630042A (en)

Similar Documents

Publication Publication Date Title
CN109474578B (en) Message checking method, device, computer equipment and storage medium
WO2018113596A1 (en) Method of processing application reviewing operation permission, device, and data storage medium
CN110995825B (en) Intelligent contract issuing method, intelligent node equipment and storage medium
CN106612204B (en) Service checking method and device
CN112579452A (en) Software automation test method, device, equipment and storage medium
CN113238930A (en) Software system testing method and device, terminal equipment and storage medium
CN111221727A (en) Test method, test device, electronic equipment and computer readable medium
CN112579453A (en) Task testing method, device, equipment and storage medium
CN117176576A (en) Network resource changing method, device, equipment and storage medium
US9612827B2 (en) Automatically complete a specific software task using hidden tags
CN113032256B (en) Automated testing method, apparatus, computer system, and readable storage medium
CN103440460A (en) Application system change validation method and system
CN110597662B (en) Backup data automatic verification method and device, user equipment and storage medium
CN111901299A (en) Application authentication method and device, electronic equipment and storage medium
CN108280024B (en) Flow distribution strategy testing method and device and electronic equipment
CN116630042A (en) Transaction configuration method, device, equipment, storage medium and product
CN117455726B (en) Offline guarantee method, device and equipment for intelligent catering system and storage medium
CN110162982B (en) Method and device for detecting illegal rights, storage medium and electronic equipment
CN113505079A (en) Application program testing method, device, equipment and medium
CN114116466B (en) Unit test method, device and medium based on operation log
CN110737426A (en) Program block creating method, program block creating device, computer equipment and storage medium
CN110348984A (en) Credit card information automation input method and relevant device under different transaction channels
CN117194259A (en) Interface testing method, system, electronic equipment and storage medium
CN116048749A (en) Interface calling method, device, electronic equipment and readable storage medium
CN114064484A (en) Interface testing method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination