CN110941488A - Task processing method, device, equipment and storage medium - Google Patents

Task processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN110941488A
CN110941488A CN201911270247.4A CN201911270247A CN110941488A CN 110941488 A CN110941488 A CN 110941488A CN 201911270247 A CN201911270247 A CN 201911270247A CN 110941488 A CN110941488 A CN 110941488A
Authority
CN
China
Prior art keywords
target
target task
task
scheduling rule
task scheduling
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
CN201911270247.4A
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
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 CN201911270247.4A priority Critical patent/CN110941488A/en
Publication of CN110941488A publication Critical patent/CN110941488A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a task processing method, a device, equipment and a storage medium, wherein the task processing method comprises the following steps: determining target task characteristics of target task information to be processed; matching the target task characteristics with the index relationship between the task characteristics and the task scheduling rules to obtain target task scheduling rules; executing a target step module associated with the target step identifier according to the execution sequence of the target step in the target task scheduling rule to obtain an execution result of the target task; wherein different task scheduling rules multiplex the target step modules. The embodiment of the invention realizes the determination of the target task execution step according to the target task characteristics and the index relation, and improves the processing efficiency of the target task. The step modules which can be reused are determined through the step identifiers, so that different target tasks can call the corresponding same step modules together according to the determined step identifiers, repeated development of the same step modules is reduced, and the task processing efficiency is improved.

Description

Task processing method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of internet, in particular to a task processing method, a task processing device, a task processing equipment and a storage medium.
Background
With the expansion of banking business, various products such as fund, financing, securities, insurance, real money, account goods, agent money and the like are layered endlessly, different specific parameters can be generated according to product attributes when a user purchases different products, and a bank processes a purchase order task of the user according to the corresponding parameters so as to meet the purchase demand of the user.
In the current bank system, transaction systems of various products are distributed in various transaction components of a bank, when a user purchases certain products, the corresponding transaction components are called, and the transaction components process order tasks according to a preset product purchase flow.
However, the development of the corresponding transaction component for each product causes problems of large development workload, complex purchase flow and the like, and each product also comprises specific products with different parameters, so that huge workload and difficulty are brought to the development of the transaction component. Moreover, the purchase flow of different products often includes some identical steps, and the development of the corresponding transaction component for each product causes the repeated development of identical functional steps, which results in the problem of resource waste.
Disclosure of Invention
The embodiment of the invention provides a task processing method, a device, equipment and a storage medium, which can improve the development efficiency of a purchasing system and efficiently and accurately process different order tasks by predetermining the product purchasing process steps when facing a plurality of bank products.
In a first aspect, an embodiment of the present invention provides a task processing method, including:
determining target task characteristics of target task information to be processed;
matching the target task characteristics with an index relation between the task characteristics and the task scheduling rule to obtain a target task scheduling rule;
executing a target step module associated with the target step identifier according to the execution sequence of the target step in the target task scheduling rule to obtain an execution result of the target task; wherein different task scheduling rules multiplex the target step modules.
In a second aspect, an embodiment of the present invention further provides a task processing apparatus, including:
the target task characteristic determining module is used for determining target task characteristics of target task information to be processed;
the target task scheduling rule determining module is used for matching the target task characteristics with the index relation between the task characteristics and the task scheduling rules to obtain target task scheduling rules;
the execution result determining module is used for executing the target step module associated with the target step identifier according to the execution sequence of the target step in the target task scheduling rule so as to obtain the execution result of the target task; wherein different task scheduling rules multiplex the target step modules.
In a third aspect, an embodiment of the present invention further provides a computer device, including:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the task processing method according to any embodiment of the present invention.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the task processing method according to any embodiment of the present invention.
The embodiment of the invention determines the target task scheduling rule according to the preset index relation based on the target task characteristics in the target task to be processed, and can determine the processing process of the target task and the execution sequence of the target step according to the target task scheduling rule. Namely, the target task execution steps are determined according to the target task characteristics and the index relation, and the processing efficiency of the target task is improved. And sequentially calling reusable target step modules according to the execution sequence of the target steps in the target task scheduling rule to determine a final execution result. The step modules which can be reused are determined according to the step identifiers, so that different target tasks can call the corresponding same step modules together according to the determined step identifiers, repeated development of the same step modules is reduced, resource waste is reduced, and task processing efficiency is improved.
Drawings
FIG. 1 is a flowchart of a task processing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a task processing method according to a second embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a task processing device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device in the fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a flowchart of a task processing method in an embodiment of the present invention, which is applicable to a situation where, when processing a product order task with different parameters, an object step module is multiplexed by different task scheduling rules, so as to implement efficient processing of the order task. The method may be performed by a task processing apparatus, which may be implemented in software and/or hardware, and may be configured in a computer device, for example, the computer device may be a device with communication and computing capabilities, such as a backend server. As shown in fig. 1, the method specifically includes:
step 101, determining target task characteristics of target task information to be processed.
The target task information to be processed refers to specific task information determined according to task content, and the target task information can represent specific content of a target task. For example, the target task may be an order task formed by a user purchasing a product such as fund, financing, security, insurance, real fund, account commodity or agent fund in a bank trading system, the bank needs to perform corresponding processing on the generated purchase order task, processing processes of order tasks of different products are different, and differences may be caused to the processing processes due to different product parameter attributes of different models of the same product.
The task information of the corresponding purchase order task comprises an order transaction type, a transaction channel type, an order operation type, an order product type and the like, and the purchase behavior of the user can be represented according to the task information. The target task characteristics refer to representative information extracted according to the target task information, for example, a specific field can be used to represent a corresponding information type, so that the task information can be described representatively through the target task characteristics.
Specifically, after a user purchases a corresponding product on a bank system, according to the obtained target task information, namely the purchasing behavior information of the user, the corresponding information type in the target task information is represented by using a corresponding field, namely the target task characteristic, and the target task is represented according to the target task characteristic, so that the processing process of the target task can be determined according to the target task characteristic. Illustratively, when a user purchases fund A, the obtained target task information comprises the name, the attribute, the parameters, the quantity and the like of the fund A, the target task characteristics are determined according to the target task type to comprise information of a product model field, a parameter field and the like of the fund A, and the subsequent processing process of the fund A can be uniquely determined according to the product model field and the parameter field information. The target task information is described by using the target task characteristics, so that the accuracy and efficiency of determining the subsequent execution steps of the target task can be improved.
In this embodiment, optionally, determining the target task characteristics of the target task information to be processed includes:
and determining the target task characteristics according to at least one of the transaction type, the channel type, the operation type and the product type of the target task.
The transaction type refers to a category classified according to different properties of transactions, the channel type refers to a category classified according to a channel connected with a task source, the operation type refers to a category classified according to different task operation objects, and the product type refers to a category classified according to different corresponding transaction products in a task.
Specifically, after purchasing the related product, the user uses the preset corresponding field symbol to characterize the specific information according to the specific information of the related transaction type, the channel type, the operation type and the product type generated by the purchasing behavior, so as to form the corresponding target task characteristic. The target task can be identified according to the information of the transaction type, the channel type, the operation type and the product type, and a basis is provided for a subsequent task scheduling rule.
And 102, matching the target task characteristics with the index relationship between the task characteristics and the task scheduling rule to obtain the target task scheduling rule.
The task scheduling rules refer to rules preset according to different task execution steps, and a mapping relation between the task scheduling rules and the task scheduling rules can be established according to target task characteristics. The task scheduling rule includes step information of the corresponding task when executing, and exemplarily includes function information of step execution and step execution sequence. The index relation refers to a guiding relation which is pre-established according to the mapping relation between the task characteristics and the task scheduling rules, and the index relation can provide a pointer which points to the corresponding task scheduling rules according to the task characteristics, so that the corresponding task scheduling rules can be accurately found according to the task characteristics.
Specifically, the method includes the steps of performing functional agreement according to all steps of different tasks during execution, encapsulating the steps of executing certain types of functions, presetting task scheduling rules of different tasks according to the functions completed by the encapsulated steps, and realizing the purpose of acquiring the processing process of the task according to the task scheduling rules. And an index relationship is pre-established according to the task characteristics of the corresponding tasks and the task scheduling rules, so that the corresponding task scheduling rules are determined according to the determined target task characteristics, and the task processing step flows corresponding to the target task characteristics are determined. Illustratively, when a user makes a fund A purchase, the task features for that purchase task: the corresponding index relationship is determined by the transaction type, the channel type, the operation type and the product type, and different task characteristics can be characterized by character segments, for example, PARM _ TPDS, BSMDPAM _ NM, BSMDPAM _ CMNT and PARM _ RMRK are used for representing indexes pointing to the task characteristics, and a task scheduling rule is determined according to the indexes.
By establishing an index relation with the task scheduling rule according to the target task characteristics, the task scheduling rule corresponding to the target task to be processed can be ensured to be accurately determined. The task processing steps are determined by presetting the task scheduling rules, and the efficiency of processing different tasks is improved.
103, executing a target step module associated with the target step identifier according to the execution sequence of the target step in the target task scheduling rule to obtain an execution result of the target task; wherein different task scheduling rules multiplex the target step modules.
The step identifiers are used for distinguishing the step modules, so that the corresponding step modules can be conveniently determined according to the step identifiers. Correspondingly, the task scheduling rule may include a corresponding step identifier and a step execution order. The step module is used for completing preset functions, including logic for executing the functions and required parameter information. The same step module can be called by different task scheduling rules, so that the reusability of the step module is ensured, the development workload of task processing logic is reduced, and the task execution efficiency is improved.
Specifically, step identification information included in the determined target task scheduling rule and an execution sequence of corresponding steps are obtained, target step modules associated with the step identifications are sequentially obtained according to the execution sequence, the target step modules are called and executed, an execution result is obtained, and after all the step modules are executed according to the execution sequence, a final execution result is obtained and serves as the execution result of the target task. Illustratively, the target task scheduling rule corresponding to the fund purchase includes three steps of identification information: step A, step B and step C, and the corresponding execution sequence, step A-step B-step C; and acquiring a first identifier, namely the step A, according to the execution sequence, determining corresponding step module information according to the identifier information, calling corresponding parameter execution module logic to acquire the execution result of the step A according to the execution logic and calling parameters of the modules, determining the execution result of the step A to sequentially execute the step B and the step C, and acquiring a final execution result as a processing result of the fund purchase task after the step C is executed.
By dividing the functional modules into the steps of the task processing process in advance, the general functional steps can be repeatedly called, repeated development of repeated functions is reduced, and the development efficiency of task processing logic is improved. And the step modules corresponding to the steps are called, so that the decoupling of the processing process is realized, the complexity of the task processing flow is reduced, the probability of error occurrence in the processing process is reduced, and the accuracy and the efficiency of task processing are further improved. Meanwhile, due to the independence among the step modules, the calling of other step modules is not influenced when any step module is modified, and the execution efficiency and the development efficiency are improved.
The embodiment of the invention determines the target task scheduling rule according to the preset index relation based on the target task characteristics in the target task to be processed, and can determine the processing process of the target task and the execution sequence of the target step according to the target task scheduling rule. Namely, the target task execution steps are determined according to the target task characteristics and the index relation, and the processing efficiency of the target task is improved. And sequentially calling reusable target step modules according to the execution sequence of the target steps in the target task scheduling rule to determine a final execution result. The step modules which can be reused are determined according to the step identifiers, so that different target tasks can call the corresponding same step modules together according to the determined step identifiers, repeated development of the same step modules is reduced, resource waste is reduced, and task processing efficiency is improved.
Example two
Fig. 2 is a flowchart of a task processing method in the second embodiment of the present invention, and the second embodiment further optimizes on the basis of the first embodiment, and adds a step module to a lack of a target task scheduling rule to increase processing task types. As shown in fig. 2, the method includes:
step 201, determining target task characteristics of target task information to be processed.
Step 202, matching the target task characteristics with the index relationship between the task characteristics and the task scheduling rules to obtain the target task scheduling rules.
Step 203, if the index relationship lacks a task scheduling rule matched with the target task feature, a target task scheduling rule and an index relationship between the target task feature and the target task scheduling rule are created.
Specifically, if a matching index relationship result is not found according to the target task characteristics, it is indicated that a corresponding task scheduling rule is not preset for the task corresponding to the target task characteristics. Then according to the corresponding task characteristics, a target task scheduling rule is created for the corresponding task, and the newly created target task scheduling rule can sequence the step modules according to the functions of the existing step modules so as to realize the processing of the corresponding task. And establishing an index relationship between the task characteristics of the task and the newly created target task scheduling rule. Illustratively, when a newly pushed product is purchased, if a task scheduling rule matched with the target task characteristic is not found in the task, the purchase task processing flow of the product is determined, a newly created target task scheduling rule is formed by the step module identification information and the execution sequence, and an index relationship is established so as to obtain the product purchase task, and the task scheduling rule is determined according to the index relationship corresponding to the task characteristic.
When a new target task scheduling rule is created, only the selection and the sequencing operation are needed to be carried out according to the functions of the existing step modules, so that the development workload of the processing logic of the new task is reduced, the adding efficiency of the new task is improved, and the experience of a user is improved. The advantage of encapsulating the functional steps in modules is embodied.
In a possible embodiment, optionally, if a task scheduling rule matching the target task feature is absent in the index relationship, creating a target task scheduling rule, and creating an index relationship between the target task feature and the target task scheduling rule, including:
and if the index relationship lacks a task scheduling rule matched with the target task characteristic and the step library lacks any step module required by the target task, acquiring the step module, and creating the target task scheduling rule comprising the step identifier and the index relationship between the target task characteristic and the target task scheduling rule.
The step library is a memory area for storing all step modules corresponding to the step identifiers in the task scheduling rule.
Specifically, on the basis of the above technical solution, when a new target task scheduling rule is created, if at least one step module required by a target task is not found, the information of the missing step module is determined and acquired, and the creation of the new target task scheduling rule and the establishment of an index relationship are completed. Illustratively, when a certain product purchase task is processed, if a corresponding target task scheduling rule is not found, the target task scheduling rule is created according to task features and processing logic, and the modules which need to be executed when the target task scheduling rule is created are respectively: step A, step B and step X, the step modules corresponding to the step A and the step B can be determined in the step library, and the step module corresponding to the step X in the step library acquires the missing step X and adds the missing step X into the step library to perfect the step modules contained in the step library. After the step modules of the corresponding steps are determined, the target task scheduling rule identified in the step is established, and an accurate task scheduling rule is provided for the subsequent processing of the task.
Acquiring the missing step modules in the step library, and adding the types of tasks which can be executed according to the step modules in the step library; and for the missing target task scheduling rules, only the missing step modules need to be acquired, and for the existing step modules in the step library, only the corresponding step identifiers need to be acquired, so that the efficiency of newly building the target task scheduling rules is improved.
Optionally, step 203 may be executed when a target task scheduling rule or a step module is not obtained in the corresponding system execution process; or, before the system is powered on and operated, after a new target task scheduling rule or step module is created, and the system is initialized, the corresponding steps in the first embodiment may be executed.
Step 204, according to the execution sequence of the target steps in the target task scheduling rule, executing the target step module associated with the target step identifier to obtain the execution result of the target task; wherein different task scheduling rules multiplex the target step modules.
In one possible embodiment, when the target task to be processed is a task of purchasing a product, the target task to be processed is executed and divided into two subtasks: creating a subtask and executing the subtask.
Creating the subtask refers to creating an order for the information of the purchased products submitted by the user; the execution of the subtask means that the execution of the payment operation is performed on the order created by the creation of the subtask corresponding to the payment operation of the user.
Specifically, when the created subtasks are executed, the task characteristics are determined according to the purchase information, the corresponding created target task scheduling rules are matched according to the index relationship, the tasks are processed according to the task scheduling rules, and the execution results of the created subtasks are obtained after the execution is finished. Illustratively, the execution result includes an order number, and the corresponding purchase order information may be determined according to the order number. And after the creation of the subtasks is completed, responding to the execution of the subtasks, determining a corresponding target task scheduling rule according to the task characteristics, determining corresponding order task information according to the order numbers in the created subtask execution results, and further determining the final execution results. The order purchase tasks are distinguished, decoupling of order creation and order execution is achieved, independence between the tasks is guaranteed, and the method and the system are convenient to use for operation and bank management.
Optionally, the target task to be processed further includes a cancellation subtask. The task scheduling method is used for canceling the order created by creating the subtasks and calling corresponding task scheduling rules according to corresponding task characteristics for canceling the subtasks.
The embodiment of the invention realizes the increase of the types of the processable tasks while ensuring low development amount by establishing the missing task scheduling rules in the index relationship. When the newly added task scheduling rule process is created, the missing step modules in the step library are acquired, so that the creation of the target task scheduling rule comprising the step identifier is completed, and the increase of the processable task types is completed by adding the step modules in the step library; and the newly-built task scheduling rule does not need to re-develop the existing step modules in the database, and only needs to determine the corresponding step identifiers, so that the development workload of the common step modules is reduced, and the advantage of step module reuse is embodied.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a task processing device in a third embodiment of the present invention, which is applicable to a situation where, when processing a product order task with different parameters, an object step module is multiplexed by different task scheduling rules to implement efficient processing of the order task. As shown in fig. 3, the apparatus includes:
a target task characteristic determination module 310, configured to determine a target task characteristic of target task information to be processed;
the target task scheduling rule determining module 320 is configured to match the target task characteristics with an index relationship between the task characteristics and the task scheduling rule to obtain a target task scheduling rule;
an execution result determining module 330, configured to execute the target step module associated with the target step identifier according to the execution order of the target step in the target task scheduling rule, so as to obtain an execution result of the target task; wherein different task scheduling rules multiplex the target step modules.
The embodiment of the invention determines the target task scheduling rule according to the preset index relation based on the target task characteristics in the target task to be processed, and can determine the processing process of the target task and the execution sequence of the target step according to the target task scheduling rule. Namely, the target task execution steps are determined according to the target task characteristics and the index relation, and the processing efficiency of the target task is improved. And sequentially calling reusable target step modules according to the execution sequence of the target steps in the target task scheduling rule to determine a final execution result. The step modules which can be reused are determined according to the step identifiers, so that different target tasks can call the corresponding same step modules together according to the determined step identifiers, repeated development of the same step modules is reduced, resource waste is reduced, and task processing efficiency is improved.
Optionally, the target task characteristic determining module 310 is specifically configured to:
and determining the target task characteristics according to at least one of the transaction type, the channel type, the operation type and the product type of the target task.
Optionally, the apparatus further comprises:
and the target task scheduling rule creating module is used for creating a target task scheduling rule and an index relation between the target task characteristic and the target task scheduling rule if the index relation lacks a task scheduling rule matched with the target task characteristic.
Optionally, the target task scheduling rule creating module is specifically configured to:
and if the index relationship lacks a task scheduling rule matched with the target task characteristic and the step library lacks any step module required by the target task, acquiring the step module, and creating the target task scheduling rule comprising the step identifier and the index relationship between the target task characteristic and the target task scheduling rule.
The task processing device provided by the embodiment of the invention can execute the task processing method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects for executing the task processing method.
Example four
Fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 4 is only one example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 4, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory device 28, and a bus 18 that couples various system components including the system memory device 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory device bus or memory device controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system storage 28 may include computer system readable media in the form of volatile storage, such as Random Access Memory (RAM)30 and/or cache storage 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Storage 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in storage 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, computer device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with the other modules of computer device 12 via bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by executing programs stored in the system storage device 28, for example, to implement a task processing method provided by an embodiment of the present invention, including:
determining target task characteristics of target task information to be processed;
matching the target task characteristics with an index relation between the task characteristics and the task scheduling rule to obtain a target task scheduling rule;
executing a target step module associated with the target step identifier according to the execution sequence of the target step in the target task scheduling rule to obtain an execution result of the target task; wherein different task scheduling rules multiplex the target step modules.
EXAMPLE five
The fifth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a task processing method according to the fifth embodiment of the present invention, where the computer program includes:
determining target task characteristics of target task information to be processed;
matching the target task characteristics with an index relation between the task characteristics and the task scheduling rule to obtain a target task scheduling rule;
executing a target step module associated with the target step identifier according to the execution sequence of the target step in the target task scheduling rule to obtain an execution result of the target task; wherein different task scheduling rules multiplex the target step modules.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having 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. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A task processing method, comprising:
determining target task characteristics of target task information to be processed;
matching the target task characteristics with an index relation between the task characteristics and the task scheduling rule to obtain a target task scheduling rule;
executing a target step module associated with the target step identifier according to the execution sequence of the target step in the target task scheduling rule to obtain an execution result of the target task; wherein different task scheduling rules multiplex the target step modules.
2. The method of claim 1, wherein determining target task characteristics of target task information to be processed comprises:
and determining the target task characteristics according to at least one of the transaction type, the channel type, the operation type and the product type of the target task.
3. The method of claim 1, wherein after determining the target task characteristics of the target task information to be processed, further comprising:
and if the index relation lacks a task scheduling rule matched with the target task characteristic, creating a target task scheduling rule and an index relation between the target task characteristic and the target task scheduling rule.
4. The method of claim 3, wherein creating a target task scheduling rule and the index relationship between the target task feature and the target task scheduling rule if a task scheduling rule matching the target task feature is absent from the index relationship comprises:
and if the index relationship lacks a task scheduling rule matched with the target task characteristic and the step library lacks any step module required by the target task, acquiring the step module, and creating the target task scheduling rule comprising the step identifier and the index relationship between the target task characteristic and the target task scheduling rule.
5. A task processing apparatus, comprising:
the target task characteristic determining module is used for determining target task characteristics of target task information to be processed;
the target task scheduling rule determining module is used for matching the target task characteristics with the index relation between the task characteristics and the task scheduling rules to obtain target task scheduling rules;
the execution result determining module is used for executing the target step module associated with the target step identifier according to the execution sequence of the target step in the target task scheduling rule so as to obtain the execution result of the target task; wherein different task scheduling rules multiplex the target step modules.
6. The apparatus of claim 5, wherein the target task characteristic determination module is specifically configured to:
and determining the target task characteristics according to at least one of the transaction type, the channel type, the operation type and the product type of the target task.
7. The apparatus of claim 5, further comprising:
and the target task scheduling rule creating module is used for creating a target task scheduling rule and an index relation between the target task characteristic and the target task scheduling rule if the index relation lacks a task scheduling rule matched with the target task characteristic.
8. The apparatus of claim 7, wherein the target task scheduling rule creating module is specifically configured to:
and if the index relationship lacks a task scheduling rule matched with the target task characteristic and the step library lacks any step module required by the target task, acquiring the step module, and creating the target task scheduling rule comprising the step identifier and the index relationship between the target task characteristic and the target task scheduling rule.
9. A computer device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a task processing method as recited in any of claims 1-4.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a task processing method according to any one of claims 1 to 4.
CN201911270247.4A 2019-12-11 2019-12-11 Task processing method, device, equipment and storage medium Pending CN110941488A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911270247.4A CN110941488A (en) 2019-12-11 2019-12-11 Task processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911270247.4A CN110941488A (en) 2019-12-11 2019-12-11 Task processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110941488A true CN110941488A (en) 2020-03-31

Family

ID=69910862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911270247.4A Pending CN110941488A (en) 2019-12-11 2019-12-11 Task processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110941488A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857888A (en) * 2020-07-10 2020-10-30 中国建设银行股份有限公司 Transaction processing method and device
CN111951114A (en) * 2020-08-19 2020-11-17 北京开科唯识技术有限公司 Task execution method and device, electronic equipment and readable storage medium
CN113362129A (en) * 2021-05-31 2021-09-07 北京京东振世信息技术有限公司 Task processing method and device, electronic equipment and storage medium
CN113778545A (en) * 2020-11-09 2021-12-10 北京沃东天骏信息技术有限公司 Data processing method, device, equipment and storage medium
CN114327818A (en) * 2021-12-23 2022-04-12 广州钛动科技有限公司 Algorithm scheduling method, device and equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120266176A1 (en) * 2011-04-18 2012-10-18 Microsoft Corporation Allocating Tasks to Machines in Computing Clusters
CN107180338A (en) * 2017-05-22 2017-09-19 深圳市小牛在线互联网信息咨询有限公司 Business performs method, device, storage medium and computer equipment
CN109358956A (en) * 2018-09-30 2019-02-19 上海保险交易所股份有限公司 Service calling method
CN109582301A (en) * 2018-12-03 2019-04-05 深圳前海微众银行股份有限公司 Method for processing business, device, equipment and the medium of task based access control scheduling system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120266176A1 (en) * 2011-04-18 2012-10-18 Microsoft Corporation Allocating Tasks to Machines in Computing Clusters
CN107180338A (en) * 2017-05-22 2017-09-19 深圳市小牛在线互联网信息咨询有限公司 Business performs method, device, storage medium and computer equipment
CN109358956A (en) * 2018-09-30 2019-02-19 上海保险交易所股份有限公司 Service calling method
CN109582301A (en) * 2018-12-03 2019-04-05 深圳前海微众银行股份有限公司 Method for processing business, device, equipment and the medium of task based access control scheduling system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857888A (en) * 2020-07-10 2020-10-30 中国建设银行股份有限公司 Transaction processing method and device
CN111857888B (en) * 2020-07-10 2023-11-07 中国建设银行股份有限公司 Transaction processing method and device
CN111951114A (en) * 2020-08-19 2020-11-17 北京开科唯识技术有限公司 Task execution method and device, electronic equipment and readable storage medium
CN111951114B (en) * 2020-08-19 2021-10-19 北京开科唯识技术股份有限公司 Task execution method and device, electronic equipment and readable storage medium
CN113778545A (en) * 2020-11-09 2021-12-10 北京沃东天骏信息技术有限公司 Data processing method, device, equipment and storage medium
CN113362129A (en) * 2021-05-31 2021-09-07 北京京东振世信息技术有限公司 Task processing method and device, electronic equipment and storage medium
CN113362129B (en) * 2021-05-31 2024-05-24 北京京东振世信息技术有限公司 Task processing method and device, electronic equipment and storage medium
CN114327818A (en) * 2021-12-23 2022-04-12 广州钛动科技有限公司 Algorithm scheduling method, device and equipment and readable storage medium
CN114327818B (en) * 2021-12-23 2024-03-26 广州钛动科技有限公司 Algorithm scheduling method, device, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN110941488A (en) Task processing method, device, equipment and storage medium
CN110750654A (en) Knowledge graph acquisition method, device, equipment and medium
US10158725B2 (en) Differentiated service identification in a networked computing environment
CN107862425B (en) Wind control data acquisition method, device and system and readable storage medium
CN110730097B (en) Internet technology architecture construction method and device, electronic equipment and medium
CN108460068B (en) Method, device, storage medium and terminal for importing and exporting report
CN111062813A (en) Transaction data accounting method, device, equipment and storage medium
CN110955481A (en) Label task generation method and device, storage medium and electronic equipment
CN112039975A (en) Method, device, equipment and storage medium for processing message field
CN110675249A (en) Matching method, device, server and storage medium for network lending
CN110633258B (en) Log insertion method, device, computer device and storage medium
CN117172237A (en) Data analysis method and device, electronic equipment and storage medium
CN114418398A (en) Scene task development method, device, equipment and storage medium
US10606588B2 (en) Conversion of Boolean conditions
CN110674491B (en) Method and device for real-time evidence obtaining of android application and electronic equipment
CN111897883A (en) Entity model construction method and device, electronic equipment and medium
CN111861757A (en) Financing matching method, system, equipment and storage medium
CN111639903A (en) Review processing method for architecture change and related equipment
CN106528718B (en) Method and apparatus for processing data from third party
CN111506784B (en) Asset creditor matching method, device, computer equipment and storage medium
CN111405060B (en) Service influence range determining method, device, tool and electronic equipment
CN110648219B (en) Method and device for standardizing input area of bank transaction system
CN114217790A (en) Interface scheduling method and device, electronic equipment and medium
JP2023526462A (en) Method and apparatus for processing information
CN114356884A (en) Data migration method and device

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
TA01 Transfer of patent application right

Effective date of registration: 20220920

Address after: 25 Financial Street, Xicheng District, Beijing 100033

Applicant after: CHINA CONSTRUCTION BANK Corp.

Address before: 25 Financial Street, Xicheng District, Beijing 100033

Applicant before: CHINA CONSTRUCTION BANK Corp.

Applicant before: Jianxin Financial Science and Technology Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20200331

RJ01 Rejection of invention patent application after publication