CN114185900A - Service data processing method and device, computer equipment and storage medium - Google Patents

Service data processing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114185900A
CN114185900A CN202111559129.2A CN202111559129A CN114185900A CN 114185900 A CN114185900 A CN 114185900A CN 202111559129 A CN202111559129 A CN 202111559129A CN 114185900 A CN114185900 A CN 114185900A
Authority
CN
China
Prior art keywords
task
preset
instruction
processed
received
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.)
Granted
Application number
CN202111559129.2A
Other languages
Chinese (zh)
Other versions
CN114185900B (en
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.)
Pingan Payment Technology Service Co Ltd
Original Assignee
Pingan Payment Technology Service 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 Pingan Payment Technology Service Co Ltd filed Critical Pingan Payment Technology Service Co Ltd
Priority to CN202111559129.2A priority Critical patent/CN114185900B/en
Publication of CN114185900A publication Critical patent/CN114185900A/en
Application granted granted Critical
Publication of CN114185900B publication Critical patent/CN114185900B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • 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/12Accounting
    • G06Q40/125Finance or payroll
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the invention discloses a method and a device for processing service data, computer equipment and a storage medium. The invention relates to the technical field of artificial intelligence, which comprises the following steps: acquiring task data and service data sent by a service system through a preset task interface according to a preset calling requirement; generating a task to be processed according to the task data and the service data; matching a target flow from a preset flow library according to task codes in the task data, acquiring a current processing instruction corresponding to a current node in the target flow from a preset instruction configuration table, and storing the current processing instruction in the preset database; if a preset click instruction is received, executing a current node corresponding to the current processing instruction; and if the preset finishing instruction is received, taking the next node in the target flow as the current node, and returning to execute the step of acquiring the current processing instruction corresponding to the current node in the target flow from the preset instruction configuration table until the step is finished. The embodiment of the application can improve the processing efficiency of the service data.

Description

Service data processing method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of artificial intelligence technologies, and in particular, to a method and an apparatus for processing service data, a computer device, and a storage medium.
Background
With the wider financial information coverage of enterprises, the number of systems of enterprise financial services, such as budget systems, accounting systems, settlement systems, funding systems, and the like, is increasing. For a group type enterprise, although some service sharing systems can be used by all sub-companies under the group, the personnel logging in the system to process the service are respectively managed by all the sub-companies, and each sub-company of the service sharing needs to be specially processed, so that the labor cost is greatly increased. In order to save labor cost, some group-type enterprises can establish a shared service centralized operation center, and although labor cost is saved, operators need to log in different systems to complete different business tasks, so that operation is complex and efficiency is low. Moreover, the statistical analysis of the business data is not convenient, the business data is scattered, analysis reports need to be manually collected from each system and then are sorted out, the efficiency is low, and errors are easy to occur.
Disclosure of Invention
The embodiment of the invention provides a business data processing method and device, computer equipment and a storage medium, aiming at solving the problem of low processing efficiency of the existing business data.
In a first aspect, an embodiment of the present invention provides a method for processing service data, where the method includes:
if a preset calling requirement sent by a service system is received, acquiring task data and service data sent by the service system through a preset task interface according to the preset calling requirement;
generating a task to be processed according to the task data and the service data, and storing the task to be processed to a preset database;
matching a target flow corresponding to the task to be processed from a preset flow library according to a task code in the task data, acquiring a current processing instruction corresponding to a current node in the target flow from a preset instruction configuration table, and storing the current processing instruction to the preset database and corresponding to the task to be processed;
if a preset click instruction is received, executing the current node corresponding to the current processing instruction;
and if a preset completion instruction is received, taking the next node in the target flow as the current node, and returning to execute the step of acquiring the current processing instruction corresponding to the current node in the target flow from a preset instruction configuration table until a service confirmation result returned by the service system is received or a preset task ending instruction is received.
In a second aspect, an embodiment of the present invention further provides a service data processing apparatus, which includes:
the first obtaining unit is used for obtaining task data and service data sent by a service system through a preset task interface according to a preset calling requirement if the preset calling requirement sent by the service system is received;
the storage unit is used for generating a task to be processed according to the task data and the service data and storing the task to be processed to a preset database;
a second obtaining unit, configured to match a target process corresponding to the task to be processed from a preset process library according to a task code in the task data, obtain a current processing instruction corresponding to a current node in the target process from a preset instruction configuration table, and store the current processing instruction in the preset database and corresponding to the task to be processed;
the first execution unit is used for executing the current node corresponding to the current processing instruction if a preset click instruction is received;
and the second execution unit is used for taking the next node in the target flow as the current node if a preset completion instruction is received, and returning to execute the step of acquiring the current processing instruction corresponding to the current node in the target flow from a preset instruction configuration table until a service confirmation result returned by the service system is received or a preset task ending instruction is received.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the above method when executing the computer program.
In a fourth aspect, the present invention further provides a computer-readable storage medium, where the storage medium stores a computer program, and the computer program, when executed by a processor, implements the above method.
The embodiment of the invention provides a service data processing method, a service data processing device, computer equipment and a storage medium. Wherein the method comprises the following steps: if a preset calling requirement sent by a service system is received, acquiring task data and service data sent by the service system through a preset task interface according to the preset calling requirement; generating a task to be processed according to the task data and the service data, and storing the task to be processed to a preset database; matching a target flow corresponding to the task to be processed from a preset flow library according to a task code in the task data, acquiring a current processing instruction corresponding to a current node in the target flow from a preset instruction configuration table, and storing the current processing instruction to the preset database and corresponding to the task to be processed; if a preset click instruction is received, executing the current node corresponding to the current processing instruction; and if a preset completion instruction is received, taking the next node in the target flow as the current node, and returning to execute the step of acquiring the current processing instruction corresponding to the current node in the target flow from a preset instruction configuration table until a service confirmation result returned by the service system is received or a preset task ending instruction is received. According to the technical scheme of the embodiment of the invention, the task to be processed is generated according to the task data and the service data, the target flow corresponding to the task to be processed is matched according to the task code, and finally, the target flow is disassembled step by step to generate and execute the task processing instruction one by one, so that the task data and the service data sent by a plurality of service systems can be processed in parallel, and the processing efficiency of the service data is improved; the operation personnel can also carry out the operation without logging in a plurality of service systems, and the operation is simpler; meanwhile, the statistics and monitoring of the service data can be facilitated.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a service data processing method according to an embodiment of the present invention;
fig. 2 is a sub-flow diagram of a service data processing method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a service data processing method according to another embodiment of the present invention;
fig. 4 is a flowchart illustrating a service data processing method according to yet another embodiment of the present invention;
fig. 5 is a schematic flowchart of a service data processing method according to another embodiment of the present invention;
fig. 6 is a schematic block diagram of a service data processing apparatus according to an embodiment of the present invention; and
fig. 7 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a service data processing method according to an embodiment of the present invention. The business data processing method of the embodiment of the invention can be applied to a server, and the business data processing method is realized through an application program installed on the server, so that the processing efficiency of the business data is improved. As shown in fig. 1, the method includes the following steps S100-S140.
S100, if a preset calling requirement sent by a service system is received, task data and service data sent by the service system through a preset task interface are obtained according to the preset calling requirement.
In the embodiment of the invention, a server is a financial unified centralized operation platform, the financial unified centralized operation platform provides a callable preset task interface for a service system, the service system calls the preset task interface and triggers the sending of a preset calling requirement, the financial unified centralized operation platform receives the preset calling requirement and acquires task data and service data sent by the service system through the preset task interface according to the preset calling requirement, wherein the task data comprises data such as task codes and task descriptions, and the service data comprises data such as service data ID, service settlement date and money to be compared. It should be noted that, in the embodiment of the present invention, the business system includes a presetting system, an accounting system, a settlement system, an invoice system, a fund system, an evaluation system, and the like.
And S110, generating a task to be processed according to the task data and the service data, and storing the task to be processed to a preset database.
In the embodiment of the invention, after acquiring the task data and the service data sent by the service system through a preset task interface, the unified financial centralized operation platform generates the task to be processed according to the task data and the service data, stores the task to be processed into a preset database, and conceivably stores the service data of the task data set into the preset database and corresponds to the task to be processed. It should be noted that, in the embodiment of the present invention, the task to be processed is generated to represent whether the task data and the service data are completed, and it is also convenient to process the task to be processed using multiple threads.
And S120, matching a target process corresponding to the task to be processed from a preset process library according to the task code in the task data, acquiring a current processing instruction corresponding to a current node in the target process from a preset instruction configuration table, and storing the current processing instruction to the preset database and corresponding to the task to be processed.
In the embodiment of the present invention, after the task to be processed is stored in a preset database, the unified and centralized financial operation platform matches a target process corresponding to the task to be processed from a preset process library according to a task code in the task data, for example, assuming that the task system is an estimation system, the task code is T001, the service data is estimation data, and the target process matched from the preset process library is step one and position entry; step two, bank balance checking; step three, generating an estimation table; step four, checking transaction data; and step five, net value confirmation. And after the unified and centralized financial operation platform acquires the target flow, acquiring a current processing instruction corresponding to a current node in the target flow from a preset instruction configuration table, and storing the current processing instruction to the preset database and corresponding to the task to be processed, wherein the preset instruction configuration table can represent the mapping relation among the task code, the steps in the target flow and the processing instruction. For example, the task code is T001, the current node is step one, and the current processing instruction is a 001.
Referring to fig. 2, in an embodiment, for example, in the embodiment of the present invention, the step S120 includes the following steps S121 to S122.
S121, detecting whether the type of a task code in the task data is a preset code type;
and S122, if the type of the task code is a preset code type, matching a target process corresponding to the task to be processed from a preset process library according to the task code.
In the embodiment of the invention, after the task to be processed is stored in a preset database, the financial unified centralized operation platform firstly detects whether the type of a task code in the task data is a preset code type, wherein the preset code is a character type; if the type of the task code is a preset code type, indicating that the type of the task code is a character type, matching a target flow corresponding to the task to be processed from a preset flow library according to the task code; otherwise, if the type of the task code is not the preset code type, indicating that the type of the task code is not a character type, for example, an integer type, sending a prompt that the type detection of the task code fails to pass to the service system.
And S130, if a preset click instruction is received, executing the current node corresponding to the current processing instruction.
In the embodiment of the present invention, if the operator clicks the current processing instruction, the click may be a double click or a right click to select to process the task, the current node corresponding to the current processing instruction is executed, for example, if the current processing instruction is a001, the position entry of the current node is executed.
And S140, if a preset completion instruction is received, taking the next node in the target process as the current node, and returning to execute the step of obtaining the current processing instruction corresponding to the current node in the target process from the preset instruction configuration table until a service confirmation result returned by the service system is received or a preset task ending instruction is received.
In the embodiment of the present invention, after the position entry is completed, an operator stores the position entered data, and then triggers sending of a preset completion instruction, the financial unified centralized operation platform receives the preset completion instruction, sets a processing instruction corresponding to the position entry as instruction completion, and takes a next node in the target flow as the current node, in practical applications, for example, the bank balance in step two is checked as the current node, and returns to execute, acquire, from the preset instruction configuration table, a current processing instruction a002 corresponding to the current node in the target flow, and the operation is repeatedly circulated until the execution of the steps in the target flow is completed, that is, the net worth confirmation in step five is executed. It should be noted that, in the embodiment of the present invention, the last step in the target process is all completed in the business system, the business system may set to send a business confirmation result to the financial unified centralized operation platform, and the financial unified centralized operation platform receives the business confirmation result and sets a processing instruction corresponding to the last step in the target process as an instruction completion; the business system can also set that a business confirmation result is not sent to the financial unified centralized operation platform, and at the moment, after the preset time, an operator can manually set a processing instruction corresponding to the last step in the target process to be an instruction completion.
Fig. 3 is a schematic flow chart of a service data processing method according to another embodiment of the present invention, and as shown in fig. 3, in this embodiment, the method includes steps S100 to S150. That is, in the present embodiment, the method further includes step S150 before step S130 of the above embodiment.
S150, if a preset query instruction is received, acquiring the current processing instruction corresponding to the task to be processed from the preset database and displaying the current processing instruction.
In the embodiment of the invention, an operator inputs a user name and a password and clicks a login button, and then sends a preset login instruction, the financial unified centralized operation platform receives the preset login instruction, acquires the user name and the password input by the operator, verifies the user name and the password to obtain a verification result, if the verification result is successful, logs in a task query page, clicks the query button of the task query page, and then acquires and displays the current processing instruction corresponding to the task to be processed from the preset database so as to facilitate the operator to process; otherwise, if the verification result is verification failure, which indicates that the user name or the password input by the operator is wrong, a prompt that the user name or the password is wrong is sent.
Fig. 4 is a flowchart illustrating a service data processing method according to still another embodiment of the present invention, and as shown in fig. 4, in this embodiment, the method includes steps S100 to S163. That is, in the present embodiment, the method further includes steps S160-S163 after step S140 of the above-described embodiment.
S160, acquiring the set task starting time and the set task ending time;
s161, calculating task execution time consumption according to the task starting time and the task ending time, and storing the task execution time consumption into a task time consumption field in the preset database and corresponding to the task to be processed;
s162, comparing the task execution time consumption with expected time consumption to obtain a comparison result;
and S163, setting the task state of the task to be processed according to the comparison result.
In the embodiment of the present invention, after the target process is executed, acquiring a set task starting time and a set task ending time, where the task starting time is a time when a first step in the target process starts to be executed, and the task ending time is a time when a last step in the target process is executed; subtracting the task starting time from the task ending time to obtain task execution time consumption, and after the task execution time consumption is obtained through calculation, storing the task execution time consumption into a task time consumption field in the preset database and corresponding to the task to be processed; comparing the task execution time consumption with an expected time consumption to obtain a comparison result, and setting the task state of the task to be processed according to the comparison result, for example, if the task execution time consumption is 5 minutes and the expected time consumption is 4 minutes, and if the comparison result is that the task execution time consumption is greater than the expected time consumption, setting the task state of the task to be processed as a task completed overtime, otherwise, if the comparison result is that the task execution time consumption is less than or equal to the expected time consumption, the task state is a task completed on time.
Fig. 5 is a schematic flow chart of a service data processing method according to another embodiment of the present invention, and as shown in fig. 5, in this embodiment, the method includes steps S100 to S167. That is, in the present embodiment, the method further includes steps S164 to S167 after step S163 of the above-described embodiment.
S164, acquiring warehousing time of the to-be-processed task with the task state unprocessed according to a set preset updating period, wherein the warehousing time is the time for storing the to-be-processed task to the preset database;
s165, modifying the task state of the to-be-processed task with the unprocessed task state according to the warehousing time and the preset completion time;
s166, if a statistical query instruction is received, acquiring task execution time consumption of all processed tasks from the preset database, and displaying;
and S167, if the monitoring query instruction is received, acquiring all tasks which are not finished in the overdue period from the preset database, and displaying.
In the embodiment of the invention, the warehousing time of the task to be processed with the unprocessed task state is obtained according to a preset updating period, wherein the warehousing time is the time for storing the task to be processed in the preset database, and the preset updating period is one week or one month; and modifying the task state of the to-be-processed task with the unprocessed task state according to the warehousing time and the preset completion time. Specifically, assuming that the warehousing time of a certain task to be processed is 11 months and 2 days, the preset completion time is 3 days, and the current update time is 11 months and 6 days, the task state of the task to be processed is modified into an overdue incomplete task, and understandably, if the current update time is 11 months and 3 days, the task state of the task to be processed is unchanged. It should be noted that, in other embodiments, the preset updating period may also be set according to the need, for example, 10 days, half a month, etc. In practical application, an operation manager inputs a user name and a password and clicks a login button, and then sends a preset login instruction, the financial unified centralized operation platform receives the preset login instruction, acquires the user name and the password input by the operation manager, verifies the user name and the password to obtain a verification result, if the verification result is successful, a statistical page or a monitoring page is logged in, and if a statistical query instruction is received, which indicates that the operation manager logs in the statistical page, time consumed for executing tasks of all processed tasks is acquired from the preset database, and the time consumed for executing tasks of all processed tasks is displayed so that the operation manager can check the tasks; if a monitoring query instruction is received and the operation management personnel logs in a monitoring page, acquiring all tasks which are not completed in an overdue period from the preset database and displaying the tasks so that the operation personnel can monitor the tasks to be processed; understandably, if the verification result is verification failure, which indicates that the user name or the password input by the operation manager is wrong, a prompt that the user name or the password is wrong is sent.
Fig. 6 is a schematic block diagram of a service data processing apparatus 200 according to an embodiment of the present invention. As shown in fig. 6, the present invention further provides a service data processing apparatus 200 corresponding to the above service data processing method. The service data processing apparatus 200 includes a unit for performing the service data processing method described above, and the apparatus may be configured in a server. Specifically, referring to fig. 6, the service data processing apparatus 200 includes a first obtaining unit 201, a saving unit 202, a second obtaining unit 203, a first executing unit 204, and a second executing unit 205.
The first obtaining unit 201 is configured to, if a preset call requirement sent by a service system is received, obtain task data and service data sent by the service system through a preset task interface according to the preset call requirement; the saving unit 202 is configured to generate a to-be-processed task according to the task data and the service data, and save the to-be-processed task to a preset database; the second obtaining unit 203 is configured to match a target process corresponding to the task to be processed from a preset process library according to a task code in the task data, obtain a current processing instruction corresponding to a current node in the target process from a preset instruction configuration table, and store the current processing instruction to the preset database and corresponding to the task to be processed; the first execution unit 204 is configured to execute the current node corresponding to the current processing instruction if a preset click instruction is received; the second executing unit 205 is configured to, if a preset completing instruction is received, take a next node in the target flow as the current node, and return to execute the step of obtaining the current processing instruction corresponding to the current node in the target flow from the preset instruction configuration table until a service confirmation result returned by the service system is received or a preset task ending instruction is received.
In some embodiments, for example, in this embodiment, the second obtaining unit 203 includes a detecting unit 2031 and a matching subunit 2032.
The detecting unit 2031 is configured to detect whether a type of a task code in the task data is a preset code type; the matching subunit 2032 is configured to match, according to the task code, a target process corresponding to the task to be processed from a preset process library if the type of the task code is a preset code type.
In some embodiments, for example, in this embodiment, the service data processing apparatus 200 further includes a third obtaining unit 206, a fourth obtaining unit 270, a calculating unit 271, a comparing unit 272, a setting unit 273, a fifth obtaining unit 274, a modifying unit 275, a sixth obtaining unit 276, and a seventh obtaining unit 278.
The third obtaining unit 206 is configured to, if a preset query instruction is received, obtain the current processing instruction corresponding to the to-be-processed task from the preset database and display the current processing instruction; the fourth obtaining unit 270 is configured to obtain a set task start time and a set task end time; the calculating unit 271 is configured to calculate a task execution time according to the task start time and the task end time, and store the task execution time into a task time consumption field in the preset database and corresponding to the task to be processed; the comparing unit 272 is configured to compare the task execution time with an expected time to obtain a comparison result; the setting unit 273 is configured to set a task state of the task to be processed according to the comparison result; the fifth obtaining unit 274 is configured to obtain, according to a preset update period, a warehousing time of the to-be-processed task whose task state is unprocessed, where the warehousing time is a time for saving the to-be-processed task to the preset database; the modification unit 275 is configured to modify the task state of the to-be-processed task whose task state is unprocessed according to the warehousing time and a preset completion time; the sixth obtaining unit 276 is configured to, if a statistical query instruction is received, obtain task execution time consumption of all processed tasks from the preset database, and display the task execution time consumption; the seventh obtaining unit 278 is configured to, if the monitoring query instruction is received, obtain all tasks that are not completed in an overdue period from the preset database, and display the tasks.
The specific implementation manner of the service data processing apparatus 200 according to the embodiment of the present invention corresponds to the service data processing method described above, and is not described herein again.
The service data processing apparatus may be implemented in the form of a computer program that is executable on a computer device as shown in fig. 7.
Referring to fig. 7, fig. 7 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 300 is a server, and specifically, the server may be an independent server, or may also be a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), and a big data and artificial intelligence platform.
Referring to fig. 7, the computer device 300 includes a processor 302, a memory, which may include a storage medium 303 and an internal memory 304, and a network interface 305 connected by a system bus 301.
The storage medium 303 may store an operating system 3031 and computer programs 3032. The computer program 3032, when executed, causes the processor 302 to perform a business data processing method.
The processor 302 is used to provide computing and control capabilities to support the operation of the overall computer device 300.
The internal memory 304 provides an environment for the running of the computer program 3032 in the storage medium 303, and the computer program 3032, when executed by the processor 302, causes the processor 302 to execute a service data processing method.
The network interface 305 is used for network communication with other devices. Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing device 300 to which the disclosed aspects apply, as a particular computing device 300 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 302 is configured to run a computer program 3032 stored in the memory to implement the following steps: if a preset calling requirement sent by a service system is received, acquiring task data and service data sent by the service system through a preset task interface according to the preset calling requirement; generating a task to be processed according to the task data and the service data, and storing the task to be processed to a preset database; matching a target flow corresponding to the task to be processed from a preset flow library according to a task code in the task data, acquiring a current processing instruction corresponding to a current node in the target flow from a preset instruction configuration table, and storing the current processing instruction to the preset database and corresponding to the task to be processed; if a preset click instruction is received, executing the current node corresponding to the current processing instruction; and if a preset completion instruction is received, taking the next node in the target flow as the current node, and returning to execute the step of acquiring the current processing instruction corresponding to the current node in the target flow from a preset instruction configuration table until a service confirmation result returned by the service system is received or a preset task ending instruction is received.
In some embodiments, for example, in this embodiment, when the processor 302 implements the target process step corresponding to the task to be processed, which is matched from a preset process library according to the task code in the task data, the following steps are specifically implemented: detecting whether the type of a task code in the task data is a preset code type; and if the type of the task code is a preset code type, matching a target flow corresponding to the task to be processed from a preset flow library according to the task code.
In some embodiments, for example, in this embodiment, before implementing that, if the preset click instruction is received, the processor 302 executes the current node step corresponding to the current processing instruction, the specific implementation further includes the following steps: and if a preset query instruction is received, acquiring the current processing instruction corresponding to the task to be processed from the preset database and displaying the current processing instruction.
In some embodiments, for example, in this embodiment, when implementing that, if the preset completion instruction is received, the processor 302 uses the next node in the target flow as the current node, and returns to execute the step of obtaining the current processing instruction corresponding to the current node in the target flow from the preset instruction configuration table, until a service confirmation result returned by the service system is received or a preset task end instruction is received, the specific implementation further includes the following steps: acquiring set task starting time and task ending time; calculating task execution time consumption according to the task starting time and the task ending time, and storing the task execution time consumption into a task time consumption field in the preset database and corresponding to the task to be processed; comparing the task execution time consumption with expected time consumption to obtain a comparison result; setting the task state of the task to be processed according to the comparison result; acquiring warehousing time of the to-be-processed task of which the task state is unprocessed according to a set preset updating period, wherein the warehousing time is the time for storing the to-be-processed task to the preset database; modifying the task state of the to-be-processed task with the unprocessed task state according to the warehousing time and the preset completion time; if a statistical query instruction is received, acquiring task execution time consumption of all processed tasks from the preset database, and displaying; and if a monitoring query instruction is received, acquiring all tasks which are not completed in the overdue period from the preset database, and displaying.
It should be understood that, in the embodiment of the present Application, the Processor 302 may be a Central Processing Unit (CPU), and the Processor 302 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. The computer program, when executed by a processor, causes the processor to perform any of the embodiments of the business data processing method described above.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, while the invention has been described with respect to the above-described embodiments, it will be understood that the invention is not limited thereto but may be embodied with various modifications and changes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for processing service data is characterized by comprising the following steps:
if a preset calling requirement sent by a service system is received, acquiring task data and service data sent by the service system through a preset task interface according to the preset calling requirement;
generating a task to be processed according to the task data and the service data, and storing the task to be processed to a preset database;
matching a target flow corresponding to the task to be processed from a preset flow library according to a task code in the task data, acquiring a current processing instruction corresponding to a current node in the target flow from a preset instruction configuration table, and storing the current processing instruction to the preset database and corresponding to the task to be processed;
if a preset click instruction is received, executing the current node corresponding to the current processing instruction;
and if a preset completion instruction is received, taking the next node in the target flow as the current node, and returning to execute the step of acquiring the current processing instruction corresponding to the current node in the target flow from a preset instruction configuration table until a service confirmation result returned by the service system is received or a preset task ending instruction is received.
2. The method according to claim 1, wherein the matching out the target process corresponding to the task to be processed from a preset process library according to the task code in the task data comprises:
detecting whether the type of a task code in the task data is a preset code type;
and if the type of the task code is a preset code type, matching a target flow corresponding to the task to be processed from a preset flow library according to the task code.
3. The method according to claim 1, wherein if a preset click command is received, before executing the current node corresponding to the current processing command, further comprising:
and if a preset query instruction is received, acquiring the current processing instruction corresponding to the task to be processed from the preset database and displaying the current processing instruction.
4. The method according to claim 1, wherein if a preset completion instruction is received, taking a next node in the target process as the current node, and returning to execute the step of obtaining the current processing instruction corresponding to the current node in the target process from a preset instruction configuration table until a service confirmation result returned by the service system is received or a preset task end instruction is received, further comprising:
acquiring set task starting time and task ending time;
and calculating task execution time consumption according to the task starting time and the task ending time, and storing the task execution time consumption into a task time consumption field in the preset database and corresponding to the task to be processed.
5. The method according to claim 4, wherein after calculating the task execution time according to the task start time and the task end time and saving the task execution time into a task time field in the preset database and corresponding to the task to be processed, the method further comprises:
comparing the task execution time consumption with expected time consumption to obtain a comparison result;
and setting the task state of the task to be processed according to the comparison result.
6. The method according to claim 5, wherein after the setting the task state of the task to be processed according to the comparison result, the method further comprises:
acquiring warehousing time of the to-be-processed task of which the task state is unprocessed according to a set preset updating period, wherein the warehousing time is the time for storing the to-be-processed task to the preset database;
and modifying the task state of the to-be-processed task with the unprocessed task state according to the warehousing time and the preset completion time.
7. The method according to claim 6, wherein after the modifying the task state of the to-be-processed task whose task state is unprocessed according to the warehousing time and the preset completion time, the method further comprises:
if a statistical query instruction is received, acquiring task execution time consumption of all processed tasks from the preset database, and displaying;
and if a monitoring query instruction is received, acquiring all tasks which are not completed in the overdue period from the preset database, and displaying.
8. A service data processing apparatus, comprising:
the first obtaining unit is used for obtaining task data and service data sent by a service system through a preset task interface according to a preset calling requirement if the preset calling requirement sent by the service system is received;
the storage unit is used for generating a task to be processed according to the task data and the service data and storing the task to be processed to a preset database;
a second obtaining unit, configured to match a target process corresponding to the task to be processed from a preset process library according to a task code in the task data, obtain a current processing instruction corresponding to a current node in the target process from a preset instruction configuration table, and store the current processing instruction in the preset database and corresponding to the task to be processed;
the first execution unit is used for executing the current node corresponding to the current processing instruction if a preset click instruction is received;
and the second execution unit is used for taking the next node in the target flow as the current node if a preset completion instruction is received, and returning to execute the step of acquiring the current processing instruction corresponding to the current node in the target flow from a preset instruction configuration table until a service confirmation result returned by the service system is received or a preset task ending instruction is received.
9. A computer arrangement, characterized in that the computer arrangement comprises a memory having stored thereon a computer program and a processor implementing the method according to any of claims 1-7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method according to any one of claims 1-7.
CN202111559129.2A 2021-12-20 2021-12-20 Service data processing method, device, computer equipment and storage medium Active CN114185900B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111559129.2A CN114185900B (en) 2021-12-20 2021-12-20 Service data processing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111559129.2A CN114185900B (en) 2021-12-20 2021-12-20 Service data processing method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114185900A true CN114185900A (en) 2022-03-15
CN114185900B CN114185900B (en) 2024-04-09

Family

ID=80605609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111559129.2A Active CN114185900B (en) 2021-12-20 2021-12-20 Service data processing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114185900B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114841570A (en) * 2022-05-07 2022-08-02 金腾科技信息(深圳)有限公司 Data processing method, device, equipment and medium for customer relationship management system
CN115564372A (en) * 2022-09-07 2023-01-03 广州市玄武无线科技股份有限公司 Processing method and device for terminal visit flow

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109815013A (en) * 2019-01-02 2019-05-28 深圳壹账通智能科技有限公司 Business data processing method, device, computer equipment and storage medium
CN110389748A (en) * 2019-06-17 2019-10-29 平安银行股份有限公司 Business data processing method and terminal device
CN111737270A (en) * 2019-11-12 2020-10-02 北京京东尚科信息技术有限公司 Data processing method and system, computer system and computer readable medium
WO2021203260A1 (en) * 2020-04-08 2021-10-14 云图技术有限公司 Node matching method, apparatus, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109815013A (en) * 2019-01-02 2019-05-28 深圳壹账通智能科技有限公司 Business data processing method, device, computer equipment and storage medium
CN110389748A (en) * 2019-06-17 2019-10-29 平安银行股份有限公司 Business data processing method and terminal device
CN111737270A (en) * 2019-11-12 2020-10-02 北京京东尚科信息技术有限公司 Data processing method and system, computer system and computer readable medium
WO2021203260A1 (en) * 2020-04-08 2021-10-14 云图技术有限公司 Node matching method, apparatus, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
沈霞;: "基于流程自动化的分布式光伏业务智能财务平台探讨――以国网Y分公司为例", 中国总会计师, no. 09, 15 September 2020 (2020-09-15) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114841570A (en) * 2022-05-07 2022-08-02 金腾科技信息(深圳)有限公司 Data processing method, device, equipment and medium for customer relationship management system
CN114841570B (en) * 2022-05-07 2023-07-25 金腾科技信息(深圳)有限公司 Data processing method, device, equipment and medium for customer relationship management system
CN115564372A (en) * 2022-09-07 2023-01-03 广州市玄武无线科技股份有限公司 Processing method and device for terminal visit flow
CN115564372B (en) * 2022-09-07 2023-10-24 广州市玄武无线科技股份有限公司 Terminal visit flow processing method and device

Also Published As

Publication number Publication date
CN114185900B (en) 2024-04-09

Similar Documents

Publication Publication Date Title
US7548920B2 (en) Systems and methods of accessing and updating recorded data via an inter-object proxy
CN114185900B (en) Service data processing method, device, computer equipment and storage medium
CN108492005B (en) Project data processing method and device, computer equipment and storage medium
US20070239800A1 (en) Update manager for database system
US20070005623A1 (en) Process oriented message driven workflow programming model
US10824548B1 (en) System and method for performance regression detection
CN111667334B (en) Audit failure order processing method and device, computer equipment and storage medium
CN112288400A (en) Multi-system data interaction method and device, computer equipment and storage medium
CN113760476A (en) Task dependency processing method and related device
CN115437933A (en) Automatic testing method and device, computer equipment and storage medium
US9639593B2 (en) Sequence engine
US8286181B2 (en) Supporting administration of a multi-application landscape
CN113238815A (en) Interface access control method, device, equipment and storage medium
US20220276901A1 (en) Batch processing management
CN114693116A (en) Method and device for detecting code review validity and electronic equipment
CN114153438A (en) API automatic generation system
CN113239064A (en) Database updating method and device, electronic equipment and storage medium
US8321844B2 (en) Providing registration of a communication
CN111782527A (en) Interface testing method and device, computer equipment and storage medium
CN111427543A (en) Processing method and device for software product development
CN110609790A (en) Analytic program test method, device, medium and computer equipment
US20200004837A1 (en) Front-end validation of data files requiring processing by multiple computing systems
CN112950138B (en) Collaborative development state management method, device and server
US20220237021A1 (en) Systems and methods of telemetry diagnostics
US20210397445A1 (en) Implementing a distributed register to verify the stability of an application server environment for software development and testing

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
GR01 Patent grant
GR01 Patent grant