CN114022282A - Process configuration method, device, equipment and storage medium - Google Patents

Process configuration method, device, equipment and storage medium Download PDF

Info

Publication number
CN114022282A
CN114022282A CN202111317360.0A CN202111317360A CN114022282A CN 114022282 A CN114022282 A CN 114022282A CN 202111317360 A CN202111317360 A CN 202111317360A CN 114022282 A CN114022282 A CN 114022282A
Authority
CN
China
Prior art keywords
scheduling
order
flow
product
type number
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
CN202111317360.0A
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
Original Assignee
China Construction Bank Corp
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 filed Critical China Construction Bank Corp
Priority to CN202111317360.0A priority Critical patent/CN114022282A/en
Publication of CN114022282A publication Critical patent/CN114022282A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06312Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Marketing (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Data Mining & Analysis (AREA)
  • Technology Law (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a process configuration method, a device, equipment and a storage medium, relates to the technical field of computers, and is used for improving the development efficiency of product transaction programs. The method comprises the following steps: generating a first scheduling index according to the product order information; acquiring a first scheduling rule matched with the first scheduling index from a preset first scheduling rule table; acquiring a second scheduling rule corresponding to each flow step according to the calling sequence corresponding to each flow step; and executing the flow steps corresponding to the flow nodes according to the second scheduling rules corresponding to the flow steps.

Description

Process configuration method, device, equipment and storage medium
Technical Field
The application relates to the technical field of computers, and provides a flow configuration method, a flow configuration device, a flow configuration equipment and a storage medium.
Background
At present, in a large-scale banking system, financial products are various in categories, such as funds, financing, securities, insurance, real funds, account commodities, agent funds, and the like, under a normal condition, a personal asset management component can perform intelligent configuration on products of a whole bank according to an investment strategy in combination with a customer spending mode, and further, when purchasing each type of products, a purchase transaction flow for each type of products needs to be acquired, so that problems of large workload for developing purchase transaction programs, complex transactions, time-consuming transaction registration, non-functional performance bottlenecks, and the like occur. In addition, when purchasing the same kind of product, there is also a problem that different purchase transaction flows need to be invoked due to the inconsistency of parameters of specific products. Moreover, when the product attributes of the purchased products are inconsistent, the request attributes sent are also greatly different. Furthermore, the current personal asset management component needs to develop the intelligently configured order purchase transaction service individually for specific product categories, and meanwhile, for products of different models in the same product category, the individual development is also needed. Thus, a large amount of repeated development of purchase transaction programs is caused, resulting in low work efficiency.
Therefore, how to improve the development efficiency of the product transaction program becomes an urgent problem to be solved.
Disclosure of Invention
The embodiment of the application provides a flow configuration method, a flow configuration device and a storage medium, which are used for improving the development efficiency of a product transaction program.
In one aspect, a flow configuration method is provided, and the method includes:
generating a first scheduling index according to the product order information; the product order information comprises order related information when a user conducts product transaction;
acquiring a first scheduling rule matched with the first scheduling index from a preset first scheduling rule table; the preset first scheduling rule table is used for representing a mapping relation between each first scheduling index and each first scheduling rule, and the first scheduling rules comprise flow steps corresponding to each flow node during product transaction and a calling sequence of the flow steps corresponding to each flow node;
acquiring a second scheduling rule corresponding to each flow step according to the calling sequence corresponding to each flow step; wherein, for one of the flow steps, the second scheduling rule includes an execution parameter and an execution mode required for executing the one flow step;
and executing the flow steps corresponding to the flow nodes according to the second scheduling rules corresponding to the flow steps.
In one aspect, an apparatus for text recognition is provided, the apparatus comprising:
the first scheduling index generating unit is used for generating a first scheduling index according to the product order information; the product order information comprises order related information when a user conducts product transaction;
a first scheduling rule obtaining unit, configured to obtain, from a preset first scheduling rule table, a first scheduling rule matching the first scheduling index; the preset first scheduling rule table is used for representing a mapping relation between each first scheduling index and each first scheduling rule, and the first scheduling rules comprise flow steps corresponding to each flow node during product transaction and a calling sequence of the flow steps corresponding to each flow node;
a second scheduling rule obtaining unit, configured to obtain, according to the call sequence corresponding to each flow step, a second scheduling rule corresponding to each flow step; wherein, for one of the flow steps, the second scheduling rule includes an execution parameter and an execution mode required for executing the one flow step;
and the flow step executing unit is used for executing the flow steps corresponding to the flow nodes according to the second scheduling rules corresponding to the flow steps.
Optionally, the first scheduling index generating unit is specifically configured to:
according to the product order information, determining an order transaction type number, a transaction channel type number, an order operation type number, an order type number and an order product type number corresponding to the product order;
and assembling the order transaction type number, the transaction channel type number, the order operation type number, the order type number and the order product type number to generate the first scheduling index.
Optionally, the second scheduling rule obtaining unit is specifically configured to:
for one of the flow steps, determining the position of the flow step in a calling sequence according to the first scheduling rule;
generating a second scheduling index corresponding to the flow step according to the product order information and the position of the flow step in the calling sequence;
acquiring a second scheduling rule matched with the second scheduling index from a preset second scheduling rule table; and the preset second scheduling rule table is used for representing the mapping relation between each second scheduling index and each second scheduling rule.
Optionally, the apparatus further includes a second scheduling index generating unit; wherein the second scheduling index generating unit is configured to:
according to the product order information and the position of the flow step in the calling sequence, determining an order transaction type number, a transaction channel type number, an order operation type number, an order product type number and a scheduling mark number corresponding to the calling sequence of the flow step, wherein the order transaction type number, the transaction channel type number, the order operation type number, the order type number and the order product type number correspond to the product order;
and assembling the order transaction type number, the transaction channel type number, the order operation type number, the order product type number and the position number corresponding to the position of the flow step in a calling sequence to generate the second scheduling index.
Optionally, the flow step executing unit is specifically configured to:
for one of the process steps, determining an execution parameter and an execution mode required when the one process step is executed according to a second scheduling rule corresponding to the one process step;
executing the one flow step according to the execution parameters and the execution mode;
acquiring an execution result after executing the one flow step;
acquiring a second scheduling rule corresponding to a next process step adjacent to the one process step according to the execution result; wherein, the execution result includes the identifier of the next flow step.
Optionally, the apparatus further includes a scheduling rule storage unit; wherein the scheduling rule storage unit is configured to:
when product transaction is carried out for the first time, a plurality of first scheduling rules and a plurality of second scheduling rules are obtained from a database;
storing the plurality of first scheduling rules and the plurality of second scheduling rules in an order scheduler;
then, the obtaining the first scheduling rule matched with the first scheduling index from the preset first scheduling rule table includes:
and acquiring a first scheduling rule matched with the first scheduling index from a preset first scheduling rule table stored by the order scheduler.
In one aspect, a computer device is provided, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of the above aspect when executing the computer program.
In one aspect, a computer storage medium is provided having computer program instructions stored thereon that, when executed by a processor, implement the steps of the method of the above aspect.
In the embodiment of the application, a first scheduling index may be generated according to product order information, and then, a first scheduling rule matched with the first scheduling index may be acquired from a preset first scheduling rule table, and then, a second scheduling rule corresponding to each flow step may be acquired according to a calling sequence corresponding to each flow step; therefore, the process steps corresponding to the process nodes are executed according to the second scheduling rules corresponding to the process steps. It can be seen that, in the embodiment of the present application, the product transaction flow is abstracted as the first scheduling rule, and the flow steps corresponding to each flow node included in the first scheduling rule can be abstracted as the second scheduling rule, so that the product transaction flows are unified, and further, no matter what type and quantity of products are in the product transaction order, the technical scheme provided by the embodiment of the present application can be adopted to perform product transaction, and it is not necessary to write corresponding product transaction programs for each product transaction process, thereby greatly improving the development efficiency of the product transaction programs. And is also easy to expand when supporting other products subsequently.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or related technologies, the drawings needed to be used in the description of the embodiments or related technologies are briefly introduced below, it is obvious that the drawings in the following description are only the embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of a personal asset management integration interface provided by an embodiment of the present application;
fig. 3 is a schematic flowchart of a flow configuration method according to an embodiment of the present application;
FIG. 4 is a schematic view of a process configuration for creating an order according to an embodiment of the present application;
fig. 5 is a schematic flowchart of acquiring a second scheduling rule according to an embodiment of the present application;
fig. 6 is a flowchart illustrating a process of executing a second scheduling rule according to an embodiment of the present application;
fig. 7 is a schematic flow chart diagram illustrating a flow configuration method according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a process configuration apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. In the present application, the embodiments and features of the embodiments may be arbitrarily combined with each other without conflict. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
At present, when each type of product is purchased, a purchase transaction flow for each type of product needs to be acquired, and further, problems of large workload for developing a purchase transaction program, complex transaction, time-consuming transaction registration, non-functional performance bottleneck and the like occur. In addition, when purchasing the same kind of product, there is also a problem that different purchase transaction flows need to be invoked due to the inconsistency of parameters of specific products. Moreover, when the product attributes of the purchased products are inconsistent, the request attributes sent are also greatly different. Furthermore, the current personal asset management component needs to develop the intelligently configured order purchase transaction service individually for specific product categories, and meanwhile, for products of different models in the same product category, the individual development is also needed. Thus, a large amount of repeated development of purchase transaction programs is caused, resulting in low work efficiency.
Based on this, in the embodiment of the application, a first scheduling index may be generated according to the product order information, and then, a first scheduling rule matched with the first scheduling index may be acquired from a preset first scheduling rule table, and then, a second scheduling rule corresponding to each flow step may be acquired according to a call sequence corresponding to each flow step; therefore, the process steps corresponding to the process nodes are executed according to the second scheduling rules corresponding to the process steps. It can be seen that, in the embodiment of the present application, the product transaction flow is abstracted as the first scheduling rule, and the flow steps corresponding to each flow node included in the first scheduling rule can be abstracted as the second scheduling rule, so that the product transaction flows are unified, and further, no matter what type and quantity of products are in the product transaction order, the technical scheme provided by the embodiment of the present application can be adopted to perform product transaction, and it is not necessary to write corresponding product transaction programs for each product transaction process, thereby greatly improving the development efficiency of the product transaction programs. And is also easy to expand when supporting other products subsequently.
After introducing the design concept of the embodiment of the present application, some simple descriptions are provided below for application scenarios to which the technical solution of the embodiment of the present application can be applied, and it should be noted that the application scenarios described below are only used for describing the embodiment of the present application and are not limited. In a specific implementation process, the technical scheme provided by the embodiment of the application can be flexibly applied according to actual needs.
As shown in fig. 1, an application scenario schematic diagram provided in the embodiment of the present application is provided, where the application scenario configured by the process may include a process configuration device 10 and a user terminal device 11.
The process configuration apparatus 10 may be a computer apparatus with certain processing capability, for example, a Personal Computer (PC), a notebook computer, or a server. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, middleware service, a domain name service, a security service, a CDN, and a big data and artificial intelligence platform, but is not limited thereto. The process configuration device 10 may include one or more processors 101, memory 102, and I/O interfaces 103 to interact with other devices, etc. In addition, the flow configuration device 10 may further configure a database 104, and the database 104 may be configured to store data such as the first scheduling rule table and the second scheduling rule table related in the scheme provided in the embodiment of the present application. The memory 102 of the process configuration device 10 may store program instructions of the process configuration method provided in the embodiment of the present application, and when the program instructions are executed by the processor 101, the program instructions can be used to implement the steps of the process configuration method provided in the embodiment of the present application, so as to improve the development efficiency of the product transaction program.
The user terminal device 11 has a function of performing product transaction and placing a product order, and may be a mobile phone, a tablet computer, a notebook computer, a personal computer, or the like.
In the embodiment of the present application, when the I/O interface 103 detects the product order information input from the user terminal device 11, the program instructions of the flow configuration method stored in the memory 102 are called, and the processor 101 executes the program instructions, so as to perform flow configuration on the product transaction process performed by the user, and improve the development efficiency of the product transaction program while completing the flow configuration, and the first scheduling index, the second scheduling index, and the execution result generated during the execution of the program instructions are stored in the database 104.
As shown in fig. 2, a schematic diagram of a personal asset management integrated interface provided in the embodiment of the present application is shown, wherein the personal asset management integrated interface 20 may be composed of an order interface 201, an order processor 202, an order scheduler 203, and a Bean pool 204.
The order interface 201 may be used to package order request data when a user trades a product, and to transmit all data that may be needed for later process configuration via "Key: the way of Value "is put into Map. The Map runs through the whole order creating and executing process to store various attributes, parameters, result flags and other information required in the process configuration process.
An order processor 202 may be used to process the order request data. For example, order request data in a Map may be extracted and integrated into a scheduling index, and after a Bean chain is obtained, individual Bean nodes in the Bean chain may be scheduled in sequence.
The order scheduler 203 may be configured to store a plurality of order scheduling rules. The order scheduling rule is a fixed index table, and the order processor 203 may query a Bean chain to be operated next according to the order scheduling index, and may query some incoming parameters and configuration information of the user through a Bean node or according to the scheduling rule.
And the Bean pool can be used for storing all the Bean nodes for executing specific operations. Each Bean node performs an operation corresponding to a smaller granularity, and the order processor 202 may serially invoke the Bean nodes in the Bean pool to complete a complete service function.
In one possible embodiment, as shown in fig. 2, after the order interface 201 receives a product order request from a user, the order interface 201 will send packaged product order information to the order processor 202, further, the order processor 202 generates a first scheduling index based on the received product order information, and according to the first scheduling index, the corresponding first scheduling rule is inquired from the order scheduler 203, further, for the first scheduling rule, the order processor 202 generates a second scheduling index, finding out the corresponding Bean node from the Bean pool according to the second scheduling index, therefore, the second scheduling rule corresponding to the Bean node is queried from the order scheduler 203, and executing the flow steps corresponding to the Bean nodes according to the second scheduling rule, thereby completing the flow configuration of the business flow and improving the development efficiency of the product transaction program.
Of course, the method provided in the embodiment of the present application is not limited to be used in the application scenario shown in fig. 1, and may also be used in other possible application scenarios, and the embodiment of the present application is not limited. The functions that can be implemented by each device in the application scenario shown in fig. 1 will be described in the following method embodiments, and will not be described in detail herein. Hereinafter, the method of the embodiment of the present application will be described with reference to the drawings.
As shown in fig. 3, a flowchart of a flow configuration method provided in this embodiment of the present application is schematically illustrated, and the method may be performed by the flow configuration apparatus 10 in fig. 1, where the flow of the method is described as follows.
Step 301: and generating a first scheduling index according to the product order information.
In an embodiment of the present application, the product order information includes order related information when the user conducts a product transaction.
In practical application, a user may perform product transaction on the user terminal device 11, that is, place a product order, and each user generally performs product transaction according to the needs of the user, so that the generated product order may include various types of products, and the purchase quantity of each type of product may be different, and therefore, in order to describe the product order more comprehensively, the product order information should include information such as product type, product data, order amount, and the like.
Step 302: and acquiring a first scheduling rule matched with the first scheduling index from a preset first scheduling rule table.
In this embodiment of the application, the preset first scheduling rule table is used to indicate a mapping relationship between each first scheduling index and each first scheduling rule, and the first scheduling rule includes a flow step corresponding to each flow node during product transaction and a call sequence of the flow step corresponding to each flow node.
When actually applied, the first scheduling rule may be represented by a Bean chain. As shown in fig. 4, which is a schematic view of a flow configuration for creating an order according to an embodiment of the present application, a Bean chain may be composed of a plurality of Bean nodes, wherein, each Bean node can be stored in the Bean pool, each Bean node can represent a process node, each Bean node can correspond to a process step, as shown in fig. 4, these Bean nodes may be represented by letters such as A, B, C, D, the process steps may be to determine if the "field is empty", perform "data filtering and mapping", "query database", and "process outbound requests", etc., wherein, the flow steps corresponding to the Bean node C can be set to judge whether the field is empty, the flow steps corresponding to the Bean node A can be set to carry out data filtering and mapping, and the like, of course, the setting can be performed according to the preference and the requirement of the user.
Furthermore, after the first scheduling index is obtained, according to a mapping relationship between the first scheduling index and the first scheduling rule, that is, a mapping relationship between the first scheduling index and a Bean chain, the Bean chain matched with the first scheduling index may be obtained from the order scheduler 203. For example, the first schedule index is "1 |7|0038|20090038| Y1| 08", and from the order scheduler, a Bean chain like "CAHFJJA" may be acquired. The flow step corresponding to the flow node C is the first bit in the call sequence, that is, the first flow step corresponding to the flow node C is called in the Bean chain. Similarly, the flow step corresponding to the flow node a is the second bit in the call sequence, that is, in the Bean chain, the flow step corresponding to the flow node a is called the second, and so on.
Step 303: and acquiring a second scheduling rule corresponding to each flow step according to the calling sequence corresponding to each flow step.
In this embodiment of the application, for one of the process steps, the second scheduling rule includes an execution parameter and an execution mode required for executing the one process step.
In practical application, as shown in fig. 4, after the first scheduling rule matching the first scheduling index is obtained, that is, after the Bean chain is obtained, according to the Bean chain, the flow steps corresponding to the flow nodes in the product transaction included in the Bean chain and the calling sequence of the flow steps corresponding to each flow node can be known from the Bean pool.
Furthermore, according to the calling order corresponding to each flow step, a second scheduling rule corresponding to each flow step may be obtained from the order scheduler 203, as shown in fig. 4, where the second scheduling rule may be rule i.0, rule i.1, rule i.2, and so on.
Step 304: and executing the flow steps corresponding to the flow nodes according to the second scheduling rules corresponding to the flow steps.
In actual application, after the second scheduling rule corresponding to each flow step is obtained, the flow step corresponding to each flow node can be executed according to the second scheduling rule corresponding to each flow step. For example, for a flow node C in the Bean chain, the flow step corresponding to the flow node C is to determine whether the "field is empty", and the corresponding second scheduling rule is "rule i.0", and since the "rule i.0" includes information such as parameters and calculation rules required for the flow step corresponding to the flow node C to determine whether the "field is empty", the flow step corresponding to the flow node C is executed to determine whether the "field is empty" according to the required information such as the parameters and the calculation rules.
In a possible implementation manner, in order to better describe the order related information, in the embodiment of the present application, information such as a product type, product data, an order amount, and the like included in the product order information may be specifically divided into the following 6 types:
(1) type of order operation
In practical application, the order operation types can be specifically classified into 2 types: 1. creating an order; 2. the order is executed. Wherein, "1" and "2" are order operation type numbers corresponding to the order operation types.
(2) Type of order
In practical applications, the order types can be specifically classified into 7 types: 1. a product order; 2. an investment portfolio order; 3. a sales opportunity order; 4. a demand order; 5. a marketing business order; 6. a resource management plan order; 7. and (5) helping agricultural orders. Wherein, "1", "2", … … and "7" are order type numbers corresponding to the order types.
(3) Type of order channel
In practical application, the types of order channels can be specifically classified into 2 types: 0038. a customer manager; 0123. and (3) helping agriculture APP. Wherein, "0038" and "0123" are order operation type numbers corresponding to the order channel types.
(4) Transaction initiation channel categories
In practical application, the transaction initiation channel categories can be specifically classified into 2 categories: 20090038, customer manager; 20490123, Help agricultural APP. Wherein, "20090038" and "20490123" are the transaction initiation channel category numbers corresponding to the transaction initiation channel categories.
(5) Type of order transaction
In practical applications, the types of order transactions can be specifically classified into 3 types: y1, cash remittance; y2, helping farmers withdraw money; y3, transfer money transfer. Wherein, "Y1", "Y2" and "Y3" are order transaction type numbers corresponding to the order transaction types.
(6) Adapted for the type of product
In practical application, the types of applicable products can be specifically classified into 9 types: 01. saving the national debt; 02. open-ended fund; 03. a financial product; 04. agent insurance; 05. an agent trust; 06. managing money by a special user; 07. personal precious metal; 08. an accounting class; 09. paying a fee on behalf of the user. Wherein, "01", "02", … … "and" 09 "are applicable product type numbers corresponding to the applicable product types.
Furthermore, after the order transaction type number, the transaction channel type number, the order operation type number, the order type number and the order product type number corresponding to the product order are determined according to the product order information, the first scheduling index can be generated by assembling the order transaction type number, the transaction channel type number, the order operation type number, the order type number and the order product type number.
For example, if an order for a turn-by-turn period transfer is created with a channel number of 20490123, the corresponding first scheduling index for the service is "1 |7|0123|20490123| T1| 08".
In a possible implementation manner, as shown in fig. 5, a schematic flowchart of a process for acquiring the second scheduling rule provided in the embodiment of the present application may be specifically executed by the process configuration device 10 in fig. 1, and the process is described as follows.
Step 501: and determining the position of the flow step A in the calling sequence according to a first scheduling rule aiming at the flow step A in each flow step.
For example, as shown in fig. 4, assuming that the first scheduling rule is "CAHFJJA", the flow step "assigned a default value" corresponding to the Bean node H is located at the 3 rd call position in the Bean chain, that is, the 3 rd called flow step.
Step 502: and generating a second scheduling index corresponding to the flow step A according to the product order information and the position of the flow step A in the calling sequence.
In the embodiment of the present application, the position of the flow step in the calling order may be represented by a "position number", where the setting may be performed according to the calling order of the flow step, for example, 0, and the position in the calling order is the first bit; 1. the position in the calling order is the second bit; 2. the position in the calling sequence is the third bit; 3. the position in the calling order is the fourth position; and so on.
Further, after the position of the flow step in the calling sequence is determined, an order transaction type number, a transaction channel type number, an order operation type number, an order product type number, and a position number corresponding to the position of the flow step a in the calling sequence may be determined according to the product order information and the position of the flow step a in the calling sequence. And then, assembling the order transaction type number, the transaction channel type number, the order operation type number, the order product type number and the position number corresponding to the position of one flow step in the calling sequence to generate a second scheduling index.
For example, if an order for a turn-by-turn period transfer is created with a channel number of 20490123 and the flow step corresponding to the second Bean node in the Bean chain is invoked, the corresponding second scheduling index for the service is "1 |7|0123|20490123| T1|08| 1".
Step 503: and acquiring a second scheduling rule matched with the second scheduling index from a preset second scheduling rule table.
In this embodiment of the present application, the preset second scheduling rule table is used to indicate a mapping relationship between each second scheduling index and each second scheduling rule.
For example, as shown in fig. 4, each second scheduling rule, such as rule i.0, rule i.1, rule i.2, rule i.3, etc., may be included in the second scheduling rule table, and continuing with the above example, assuming that the corresponding second scheduling index of the service is "1 |7|0123|20490123| T1|08| 1", then the second scheduling rule matching the second scheduling index may be obtained as rule i.1 according to the second scheduling rule table.
In a possible implementation manner, a serial calling manner may be adopted to call each second scheduling rule, so as to complete a complete service function. Since the execution process of each flow step is the same, the following takes the execution of the flow step B as an example to specifically describe, as shown in fig. 6, a schematic flow diagram for executing the second scheduling rule provided in the embodiment of the present application is provided, and the flow description is as follows.
Step 601: and determining an execution parameter and an execution mode required when the flow step B is executed according to a second scheduling rule corresponding to the flow step B aiming at the flow step B in each flow step.
In practical applications, if the flow step B is determined as "whether the field is a date", then it is necessary to know "those execution parameters need to be applied in the determination" and "what execution mode to determine" when executing the flow step B, so that the execution parameters and the execution mode together form a specific execution process of the flow step B. For example, if the flow step B is "1 + 2", the required execution parameters are "1" and "2" when the flow step B is executed, the required execution mode is addition operation "+", and the execution parameters "1" and "2" can be processed by "+".
Step 602: and executing the flow step B according to the execution parameters and the execution mode.
Continuing with the above example, assuming that the required execution parameters are "1" and "2" and the required execution mode is "plus" when executing the flow step B, after knowing the execution parameters and the execution mode of the flow step B, the flow step B can be executed according to the execution parameters of "1" and "2" and the execution mode "+".
Step 603: and acquiring an execution result after the step B of the flow is executed.
Continuing with the above example, assuming that the required execution parameters are "1" and "2" and the required execution mode is "+" when executing the flow step B, an execution result "3" can be obtained after executing the flow step B "1 + 2".
Step 604: and acquiring a second scheduling rule corresponding to the next flow step adjacent to the flow step B according to the execution result.
In the embodiment of the present application, in order to accurately process the next process step, the execution result may include an identifier of the next process step. Of course, the next flow step in the execution result may correspond to the identifier of the flow node to accurately find the next flow node to be processed.
In practical application, after the next flow node is found according to the identifier of the next flow step included in the execution result, the second scheduling index corresponding to the next flow step can be generated according to the product order information and the position of the next flow step in the calling sequence, so that the second scheduling rule matched with the second scheduling index corresponding to the next flow step is obtained from the preset second scheduling rule table.
In one possible embodiment, in order to speed up the query speed for the first scheduling rule and the second scheduling rule, when the product transaction program is loaded for the first time, all records in the database about the first scheduling rule and the second scheduling rule may be added to the order scheduler 203, so that the scheduling rules used later are all obtained from the local memory of the order scheduler 203 to speed up the query speed.
Specifically, when a product transaction is first performed, the plurality of first scheduling rules and the plurality of second scheduling rules may be obtained from the database, and the plurality of first scheduling rules and the plurality of second scheduling rules may be stored in the order scheduler. Furthermore, when the first scheduling rule table is obtained, the first scheduling rule matching the first scheduling index is obtained from a preset first scheduling rule table stored by the order scheduler. Similarly, when the second scheduling rule is obtained, the second scheduling rule matching the second scheduling index is also obtained from a preset second scheduling rule table stored by the order scheduler.
To further explain the technical solution of the present application, the following describes the process configuration method provided in the embodiment of the present application by taking a process configuration process with 2 Bean nodes as an example, as shown in fig. 7, which is a schematic flow diagram illustrating the process configuration method provided in the embodiment of the present application,
step 701: acquiring a plurality of first scheduling rules and a plurality of second scheduling rules from a database; and stores the plurality of first scheduling rules and the plurality of second scheduling rules in the order scheduler 203.
Step 702: after receiving a user product transaction request for a class I order from a user, the order interface 201 processes product order information according to the user product transaction request, and sends the processed product order information to the order processor 202.
Step 703: the order processor 202 generates a first scheduling index according to the processed product order information, and obtains a Bean chain matched with the first scheduling index from a preset first scheduling rule table in the order scheduler 203.
Step 704: the order processor 202 obtains the first Bean node of the Bean chain, Bean a, from the Bean pool.
Step 705: and aiming at the Bean A, generating a second scheduling index by using the processed product order information and the position of the Bean A in the calling sequence, and acquiring a second scheduling rule rule.I.0 matched with the second scheduling index from a preset second scheduling rule table in the order scheduler 203.
Step 706: and determining the required execution parameters and execution modes when the flow step corresponding to the Bean A is executed from the second scheduling rule.
Step 707: after the execution of the flow step corresponding to Bean a is completed, the execution result of Bean a is fed back to the order processor 202.
Step 708: the order processor 202 obtains the first Bean node of the Bean chain, Bean B, from the Bean pool.
Step 709: and aiming at the Bean B, generating a second scheduling index by using the processed product order information and the position of the Bean B in the calling sequence, and acquiring a second scheduling rule rule.I.1 matched with the second scheduling index from a preset second scheduling rule table in the order scheduler 203.
Step 710: and determining the required execution parameters and execution modes when the flow step corresponding to the Bean B is executed from the second scheduling rule.
Step 711: after the execution of the flow step corresponding to Bean B is completed, the execution result of Bean B is fed back to the order processor 202.
Step 712: the order processor 202 feeds back the execution result of Bean a and the execution result of Bean B to the order interface 201 for the user to view.
In summary, in the embodiment of the present application, the product transaction process is abstracted as the first scheduling rule, and the process steps corresponding to each process node included in the first scheduling rule can be abstracted as the second scheduling rule, so that the product transaction processes are unified, and further, no matter what type and quantity of products are in the product transaction order, the technical solution provided by the embodiment of the present application can be used for product transaction, and it is not necessary to write corresponding product transaction programs for each product transaction process, thereby greatly improving the development efficiency of the product transaction programs. And is also easy to expand when supporting other products subsequently.
As shown in fig. 8, based on the same inventive concept, an embodiment of the present application provides a process configuration apparatus 80, including:
a first scheduling index generating unit 801, configured to generate a first scheduling index according to the product order information; the product order information comprises order related information when a user conducts product transaction;
a first scheduling rule obtaining unit 802, configured to obtain a first scheduling rule matching the first scheduling index from a preset first scheduling rule table; the preset first scheduling rule table is used for representing the mapping relation between each first scheduling index and each first scheduling rule, and the first scheduling rule comprises the flow steps corresponding to each flow node during product transaction and the calling sequence of the flow steps corresponding to each flow node;
a second scheduling rule obtaining unit 803, configured to obtain, according to the call sequence corresponding to each flow step, a second scheduling rule corresponding to each flow step; wherein, aiming at one of the flow steps, the second scheduling rule comprises an execution parameter and an execution mode required for executing the flow step;
a flow step executing unit 804, configured to execute the flow step corresponding to each flow node according to the second scheduling rule corresponding to each flow step.
Optionally, the first scheduling index generating unit 801 is specifically configured to:
determining an order transaction type number, a transaction channel type number, an order operation type number, an order type number and an order product type number corresponding to a product order according to the product order information;
assembling the order transaction type number, the transaction channel type number, the order operation type number, the order type number and the order product type number to generate a first scheduling index.
Optionally, the second scheduling rule obtaining unit 803 is specifically configured to:
determining the position of one flow step in a calling sequence according to a first scheduling rule aiming at one flow step in all the flow steps;
generating a second scheduling index corresponding to a flow step according to the product order information and the position of the flow step in the calling sequence;
acquiring a second scheduling rule matched with the second scheduling index from a preset second scheduling rule table; and the preset second scheduling rule table is used for representing the mapping relation between each second scheduling index and each second scheduling rule.
Optionally, the apparatus further includes a second scheduling index generating unit 805; wherein the second schedule index generating unit is configured to:
according to the product order information and the position of a flow step in a calling sequence, determining an order transaction type number, a transaction channel type number, an order operation type number, an order product type number and a scheduling mark number corresponding to the calling sequence of the flow step, wherein the order transaction type number, the transaction channel type number, the order operation type number, the order type number and the order product type number correspond to the product order;
assembling the order transaction type number, the transaction channel type number, the order operation type number, the order product type number and the position number corresponding to the position of one process step in the calling sequence to generate a second scheduling index.
Optionally, the flow step executing unit 804 is specifically configured to:
aiming at one of the process steps, determining an execution parameter and an execution mode required when the process step is executed according to a second scheduling rule corresponding to the process step;
executing a flow step according to the execution parameters and the execution mode;
obtaining an execution result after executing a flow step;
according to the execution result, acquiring a second scheduling rule corresponding to the next process step adjacent to one process step; wherein, the execution result includes the identifier of the next flow step.
Optionally, the apparatus further comprises a scheduling rule storage unit 806; wherein the scheduling rule storage unit is configured to:
when product transaction is carried out for the first time, a plurality of first scheduling rules and a plurality of second scheduling rules are obtained from a database;
storing the plurality of first scheduling rules and the plurality of second scheduling rules into an order scheduler;
then, obtaining a first scheduling rule matched with the first scheduling index from a preset first scheduling rule table, including:
and acquiring a first scheduling rule matched with the first scheduling index from a preset first scheduling rule table stored by the order scheduler.
The apparatus may be configured to execute the methods described in the embodiments shown in fig. 3 to fig. 7, and therefore, for functions and the like that can be realized by each functional module of the apparatus, reference may be made to the description of the embodiments shown in fig. 3 to fig. 7, which is not repeated here. It should be noted that the functional units shown by the dashed boxes in fig. 8 are unnecessary functional units of the apparatus.
Referring to fig. 9, based on the same technical concept, the embodiment of the present application further provides a computer device 90, which may include a memory 901 and a processor 902.
The memory 901 is used for storing computer programs executed by the processor 902. The memory 901 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to use of the computer device, and the like. The processor 902 may be a Central Processing Unit (CPU), a digital processing unit, or the like. The specific connection medium between the memory 901 and the processor 902 is not limited in the embodiments of the present application. In the embodiment of the present application, the memory 901 and the processor 902 are connected through the bus 903 in fig. 9, the bus 903 is represented by a thick line in fig. 9, and the connection manner between other components is merely illustrative and is not limited. The bus 903 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 9, but this does not indicate only one bus or one type of bus.
Memory 901 may be a volatile memory (volatile memory), such as a random-access memory (RAM); the memory 901 may also be a non-volatile memory (non-volatile memory) such as, but not limited to, a read-only memory (rom), a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD), or the memory 901 may be any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 901 may be a combination of the above memories.
A processor 902 for executing the method performed by the device in the embodiments shown in fig. 3 to fig. 7 when calling the computer program stored in the memory 901.
In some possible embodiments, various aspects of the methods provided herein may also be implemented in the form of a program product including program code for causing a computer device to perform the steps of the methods according to various exemplary embodiments of the present application described above in this specification when the program product is run on the computer device, for example, the computer device may perform the methods as described in the embodiments shown in fig. 3-7.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method for process configuration, the method comprising:
generating a first scheduling index according to the product order information; the product order information comprises order related information when a user conducts product transaction;
acquiring a first scheduling rule matched with the first scheduling index from a preset first scheduling rule table; the preset first scheduling rule table is used for representing a mapping relation between each first scheduling index and each first scheduling rule, and the first scheduling rules comprise flow steps corresponding to each flow node during product transaction and a calling sequence of the flow steps corresponding to each flow node;
acquiring a second scheduling rule corresponding to each flow step according to the calling sequence corresponding to each flow step; wherein, for one of the flow steps, the second scheduling rule includes an execution parameter and an execution mode required for executing the one flow step;
and executing the flow steps corresponding to the flow nodes according to the second scheduling rules corresponding to the flow steps.
2. The method of claim 1, wherein generating a first scheduling index based on product order information comprises:
according to the product order information, determining an order transaction type number, a transaction channel type number, an order operation type number, an order type number and an order product type number corresponding to the product order;
and assembling the order transaction type number, the transaction channel type number, the order operation type number, the order type number and the order product type number to generate the first scheduling index.
3. The method according to claim 1, wherein the obtaining, according to the call sequence corresponding to each of the process steps, a second scheduling rule corresponding to each of the process steps includes:
for one of the flow steps, determining the position of the flow step in a calling sequence according to the first scheduling rule;
generating a second scheduling index corresponding to the flow step according to the product order information and the position of the flow step in the calling sequence;
acquiring a second scheduling rule matched with the second scheduling index from a preset second scheduling rule table; and the preset second scheduling rule table is used for representing the mapping relation between each second scheduling index and each second scheduling rule.
4. The method of claim 3, wherein generating the second scheduling index corresponding to the one process step according to the product order information and the position of the one process step in the calling order comprises:
according to the product order information and the position of the flow step in the calling sequence, determining an order transaction type number, a transaction channel type number, an order operation type number, an order product type number corresponding to the product order and a position number corresponding to the position of the flow step in the calling sequence;
and assembling the order transaction type number, the transaction channel type number, the order operation type number, the order product type number and the position number corresponding to the position of the flow step in a calling sequence to generate the second scheduling index.
5. The method of claim 1, wherein the process steps corresponding to the process nodes are executed according to the second scheduling rule corresponding to the process steps, and the method further comprises:
for one of the process steps, determining an execution parameter and an execution mode required when the one process step is executed according to a second scheduling rule corresponding to the one process step;
executing the one flow step according to the execution parameters and the execution mode;
acquiring an execution result after executing the one flow step;
acquiring a second scheduling rule corresponding to a next process step adjacent to the one process step according to the execution result; wherein, the execution result includes the identifier of the next flow step.
6. The method of claim 1, wherein prior to generating the first scheduling index from the product order information, the method further comprises:
when product transaction is carried out for the first time, a plurality of first scheduling rules and a plurality of second scheduling rules are obtained from a database;
storing the plurality of first scheduling rules and the plurality of second scheduling rules in an order scheduler;
then, the obtaining the first scheduling rule matched with the first scheduling index from the preset first scheduling rule table includes:
and acquiring a first scheduling rule matched with the first scheduling index from a preset first scheduling rule table stored by the order scheduler.
7. A process configuration apparatus, the apparatus comprising:
the first scheduling index generating unit is used for generating a first scheduling index according to the product order information; the product order information comprises order related information when a user conducts product transaction;
a first scheduling rule obtaining unit, configured to obtain, from a preset first scheduling rule table, a first scheduling rule matching the first scheduling index; the preset first scheduling rule table is used for representing a mapping relation between each first scheduling index and each first scheduling rule, and the first scheduling rules comprise flow steps corresponding to each flow node during product transaction and a calling sequence of the flow steps corresponding to each flow node;
a second scheduling rule obtaining unit, configured to obtain, according to the call sequence corresponding to each flow step, a second scheduling rule corresponding to each flow step; wherein, for one of the flow steps, the second scheduling rule includes an execution parameter and an execution mode required for executing the one flow step;
and the flow step executing unit is used for executing the flow steps corresponding to the flow nodes according to the second scheduling rules corresponding to the flow steps.
8. The apparatus of claim 7, wherein the apparatus further comprises a second scheduling index generating unit; wherein the second scheduling index generating unit is configured to:
according to the product order information and the position of the flow step in the calling sequence, determining an order transaction type number, a transaction channel type number, an order operation type number, an order product type number and a scheduling mark number corresponding to the calling sequence of the flow step, wherein the order transaction type number, the transaction channel type number, the order operation type number, the order type number and the order product type number correspond to the product order;
and assembling the order transaction type number, the transaction channel type number, the order operation type number, the order product type number and the position number corresponding to the position of the flow step in a calling sequence to generate the second scheduling index.
9. Computer apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein,
the processor, when executing the computer program, realizes the steps of the method of any one of claims 1 to 6.
10. A computer storage medium having computer program instructions stored thereon, wherein,
the computer program instructions, when executed by a processor, implement the steps of the method of any one of claims 1 to 6.
CN202111317360.0A 2021-11-09 2021-11-09 Process configuration method, device, equipment and storage medium Pending CN114022282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111317360.0A CN114022282A (en) 2021-11-09 2021-11-09 Process configuration method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111317360.0A CN114022282A (en) 2021-11-09 2021-11-09 Process configuration method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114022282A true CN114022282A (en) 2022-02-08

Family

ID=80062551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111317360.0A Pending CN114022282A (en) 2021-11-09 2021-11-09 Process configuration method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114022282A (en)

Similar Documents

Publication Publication Date Title
CN108764911B (en) Transaction method and system for internet points
US11481822B2 (en) Systems and methods for improving invoice management using enhanced analytical insight
CN109194495B (en) Server, message processing method, and computer-readable storage medium
US20150161280A1 (en) Method and system for centralized issue tracking
US20120030223A1 (en) Extensibility of business process and application logic
CN112330181A (en) Enterprise credit evaluation method and device based on block chain
TWM613935U (en) E-commerce platform server that assists suppliers in obtaining loans
US8285612B2 (en) Systems and methods for data processing
CN111680995A (en) Payment chain construction method and device, computer equipment and readable storage medium
CN105302556A (en) Calculation realization method and system and server apparatus
CN107301550B (en) Acquisition method of credit information and establishment method and device of credit management and control rule
CN113128998B (en) Service processing method, device and system of block chain system
CN112181628A (en) Resource transfer method, device and system and electronic equipment
CN111782262A (en) Data dynamic publishing method, device, system, equipment and storage medium
US11816020B2 (en) Online query execution using a big data framework
CN111209283A (en) Data processing method and device
TWI685808B (en) Management method and system for credit line
EP2249294A2 (en) Using abstraction layers to facilitate communication between systems
CN114022282A (en) Process configuration method, device, equipment and storage medium
CN114881739A (en) Order event processing method and device, electronic equipment and storage medium
CN109214911A (en) The treating method and apparatus of bill reconciliation exception
EP3646294A2 (en) Systems and methods for payment transaction coding and management
CN111429125B (en) Account management method and device, storage medium and electronic equipment
CN113436018A (en) Asset hosting business processing method and device, storage medium and electronic equipment
TWM619584U (en) E-commerce platform server that assists in rolling adjustment of financing conditions

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