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

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

Info

Publication number
CN114185900B
CN114185900B CN202111559129.2A CN202111559129A CN114185900B CN 114185900 B CN114185900 B CN 114185900B CN 202111559129 A CN202111559129 A CN 202111559129A CN 114185900 B CN114185900 B CN 114185900B
Authority
CN
China
Prior art keywords
task
preset
processed
instruction
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.)
Active
Application number
CN202111559129.2A
Other languages
Chinese (zh)
Other versions
CN114185900A (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a business data processing method, a business data processing device, 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 preset calling requirements; 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 task data, and 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 into a preset database; if a preset click command is received, executing a current node corresponding to the current processing command; and if the 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 the preset instruction configuration table until the end. The embodiment of the application can improve the processing efficiency of the service data.

Description

Service data processing method, device, computer equipment and storage medium
Technical Field
The present invention relates to the field of artificial intelligence technologies, and in particular, to a service data processing method, apparatus, computer device, and storage medium.
Background
As corporate financial informatization expands in coverage, so does the number of systems for corporate financial services, such as budget systems, accounting systems, clearing systems, funds systems, and so forth. For group enterprises, some systems for sharing services can be used by all sub-companies under the group, but personnel logging in the system to process the services are managed by all the sub-companies respectively, and each sub-company of the sharing services needs to be processed by special personnel, so that the labor cost is greatly increased. Some group enterprises can establish a shared service centralized operation center for saving labor cost, and operators need to log in different systems to finish different business tasks although the labor cost is saved, so that the operation is complex and the efficiency is low. Moreover, the statistical analysis of the service data is inconvenient, the service data is scattered, the analysis report is collected from each system manually and then is arranged, the efficiency is low, and errors are easy to occur.
Disclosure of Invention
The embodiment of the invention provides a service data processing method, a device, computer equipment and a storage medium, which aim to solve the problem of low efficiency of the existing service data processing.
In a first aspect, an embodiment of the present invention provides a service data processing method, which 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 into a preset database;
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 into the preset database and corresponding to the task to be processed;
if a preset click command is received, executing the current node corresponding to the current processing command;
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, including:
the first acquisition unit is used for acquiring task data and service data sent by the service system through a preset task interface according to preset calling requirements if the preset calling requirements sent by the service system are 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 into a preset database;
the second acquisition unit is used for matching a target flow corresponding to the task to be processed from a preset flow library according to the 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 into 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 the 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 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 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 method when executing the computer program.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method.
The embodiment of the invention provides a service data processing method, a 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 into a preset database; 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 into the preset database and corresponding to the task to be processed; if a preset click command is received, executing the current node corresponding to the current processing command; 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, tasks to be processed are generated according to task data and business data, target processes corresponding to the tasks to be processed are matched according to task codes, and finally task processing instructions are generated and executed one by step through step disassembly of the target processes, so that the task data and the business data sent by a plurality of business systems can be processed in parallel, and the processing efficiency of the business data is improved; the operation personnel can not log in a plurality of service systems to perform service operation, and the operation is simpler; and meanwhile, statistics and monitoring of service data can be facilitated.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
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 schematic sub-flowchart of a service data processing method according to an embodiment of the present invention;
fig. 3 is a flow chart of a service data processing method according to another embodiment of the present invention;
fig. 4 is a flow chart of a service data processing method according to still another embodiment of the present invention;
fig. 5 is a flow chart 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 device 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 following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "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 this specification 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 the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Referring to fig. 1, fig. 1 is a flow chart of a service data processing method according to an embodiment of the invention. The business data processing method provided by 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 business data is improved. As shown in fig. 1, the method includes the following steps S100 to S140.
S100, 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.
In the embodiment of the invention, the 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 call demand, the financial unified centralized operation platform receives the preset call demand and acquires task data and service data sent by the service system through the preset task interface according to the preset call demand, wherein the task data comprises data such as task codes, task descriptions and the like, and the service data comprises data such as service data ID, service settlement date, to-be-compared amount and the like. It should be noted that, in the embodiment of the present invention, the service system includes a preset system, an accounting system, a clearing and counting system, an invoice system, a fund system, an evaluation system, and the like.
S110, generating a task to be processed according to the task data and the service data, and storing the task to be processed into a preset database.
In the embodiment of the invention, after the financial unified centralized operation platform acquires the task data and the service data sent by the service system through the preset task interface, a task to be processed is generated according to the task data and the service data, and the task to be processed is stored in a preset database, and the service data of the task data set is stored in 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 characterize whether the task data and the service data are completed, and also to facilitate the use of multithreading to process the task to be processed.
S120, matching a target flow corresponding to the task to be processed 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 into the preset database and corresponding to the task to be processed.
In the embodiment of the invention, after the task to be processed is stored in a preset database, the unified financial centralized operation platform matches a target flow corresponding to the task to be processed from a preset flow base 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 flow matched from the preset flow base is step one and position input; checking the balance of the bank; step three, generating an estimation table; step four, checking transaction data; and fifthly, confirming the net value. After the unified financial centralized operation platform obtains the target flow, obtaining 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 into 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 a001.
Referring to fig. 2, in an embodiment, for example, in the embodiment of the present invention, the step S120 includes the following steps S121-S122.
S121, detecting whether the type of task codes in the task data is a preset code type;
s122, 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 the embodiment of the invention, after the task to be processed is stored in a preset database, the unified financial centralized operation platform firstly detects whether the type of task codes in the task data is a preset code type, wherein the preset code is 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, which indicates that the type of the task code is not a character type, for example, an integer type, a prompt that the type detection of the task code is not passed is sent to the service system.
And S130, if a preset click command is received, executing the current node corresponding to the current processing command.
In the embodiment of the present invention, when the operator clicks the current processing instruction, clicking may be double clicking or right clicking 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 current node position entry is executed.
And S140, 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 the embodiment of the invention, after the position input is completed, an operator saves the position input data and triggers the sending of a preset completion instruction, the unified financial centralized operation platform receives the preset completion instruction, sets the processing instruction corresponding to the position input as the instruction completion, takes the next node in the target flow as the current node, and in practical application, for example, checks the bank balance of the second step as the current node, returns to execute the current processing instruction A002 corresponding to the current node in the target flow, and acquires the current processing instruction A002 from the preset instruction configuration table, and repeatedly circulates until the execution of the steps in the target flow is completed, namely, the net value confirmation of the fifth step is executed. It should be noted that, in the embodiment of the present invention, the last step in the target flow is completed in the service system, and the service system may be configured to send a service confirmation result to the unified financial centralized operation platform, where the unified financial centralized operation platform receives the service confirmation result and sets a processing instruction corresponding to the last step in the target flow as an instruction completion; the service system can also set the service confirmation result not to be sent to the financial uniform centralized operation platform, and at the moment, after the preset time, an operator can manually set the processing instruction corresponding to the last step in the target flow as the instruction completion.
Fig. 3 is a flow chart of a service data processing method according to another embodiment of the present invention, as shown in fig. 3, in this embodiment, the method includes steps S100 to S150. That is, in this embodiment, the method further includes step S150 before step S130 of the above embodiment.
And 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, when an operator inputs a user name and a password and clicks a login button, a preset login instruction is triggered to be sent, the unified financial centralized operation platform receives the preset login instruction, acquires the user name and the password input by the operator, checks the user name and the password to obtain a check result, if the check result is successful, logs in a task query page, clicks a query button of the task query page, and acquires and displays the current processing instruction corresponding to the task to be processed from the preset database so as to be processed by the operator; otherwise, if the verification result is that the verification fails, indicating that the user name or the password input by the operator is wrong, sending a prompt of the user name or the password is wrong.
Fig. 4 is a flow chart of a service data processing method according to still another embodiment of the present invention, as shown in fig. 4, in this embodiment, the method includes steps S100-S163. That is, in the present embodiment, the method further includes steps S160 to S163 after step S140 of the above embodiment.
S160, acquiring set task starting time and task ending time;
s161, calculating task execution time according to the task starting time and the task ending time, and storing the task execution time into a task time field in the preset database and corresponding to the task to be processed;
s162, comparing the task execution time consumption with the expected time consumption to obtain a comparison result;
s163, setting the task state of the task to be processed according to the comparison result.
In the embodiment of the invention, after the execution of the target flow is completed, acquiring a set task start time and a task end time, wherein the task start time is the time when the first step in the target flow starts to be executed, and the task end time is the time when the last step in the target flow is completed; subtracting the task starting time from the task ending time to obtain task execution time, and after calculating the task execution time, storing the task execution time into a task time field in the preset database and corresponding to the task to be processed; comparing the task execution time consumption with the expected time consumption to obtain a comparison result, setting the task state of the task to be processed according to the comparison result, for example, the task execution time consumption is 5 minutes, the expected time consumption is 4 minutes, 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 to be a task completed in a time-out manner, otherwise, setting the task state to be completed in a time-out manner if the comparison result is that the task execution time consumption is less than or equal to the expected time consumption, and the task state is a task completed in time.
Fig. 5 is a flow chart of a service data processing method according to another embodiment of the present invention, as shown in fig. 5, in this embodiment, the method includes steps S100-S167. That is, in the present embodiment, the method further includes steps S164 to S167 after step S163 of the above embodiment.
S164, acquiring the warehouse-in time of the task to be processed, the task state of which is unprocessed, according to a preset updating period, wherein the warehouse-in time is the time for storing the task to be processed into the preset database;
s165, modifying the task state of the task to be processed, which is unprocessed, according to the warehouse-in time and the preset completion time;
s166, if a statistical query instruction is received, acquiring the task execution time consumption of all processed tasks from the preset database, and displaying the time consumption;
and S167, if a monitoring query instruction is received, acquiring all tasks which are not completed in an over period from the preset database, and displaying the tasks.
In the embodiment of the invention, the warehouse-in time of the task to be processed, the task state of which is unprocessed, is obtained according to a preset updating period, wherein the warehouse-in time is the time for storing the task to be processed into the preset database, and the preset updating period is one week or one month; and modifying the task state of the task to be processed, wherein the task state of the task to be processed is unprocessed, according to the warehousing time and the preset completion time. Specifically, assuming that the warehouse-in 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 out-of-date task, and if the current update time is 11 months and 3 days, the task state of the task to be processed is understandably unchanged. It should be noted that, in other embodiments, the preset update period may be set as required, for example, 10 days, half a month, etc. In practical application, when a job manager inputs a user name and a password and clicks a login button, a preset login instruction is triggered to be sent, the unified financial centralized operation platform receives the preset login instruction, acquires the user name and the password input by the job manager, checks the user name and the password to obtain a check result, if the check result is successful, logs in a statistics page or a monitoring page, and if a statistics query instruction is received, indicates that the job manager logs in the statistics page, the time consumption of executing the tasks of all processed tasks is acquired from the preset database, and is displayed so that the job manager can check the tasks; if a monitoring query instruction is received, indicating that an operation manager logs in a monitoring page, acquiring all tasks which are not completed in an excessive period from the preset database, and displaying the tasks so as to enable the operation manager to monitor the tasks to be processed; understandably, if the verification result is that the verification fails, which indicates that the user name or the password input by the job manager is wrong, a prompt of 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 also 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 above-described service data processing method, and the apparatus may be configured in a server. Specifically, referring to fig. 6, the service data processing apparatus 200 includes a first acquiring unit 201, a saving unit 202, a second acquiring unit 203, a first executing unit 204, and a second executing unit 205.
The first obtaining unit 201 is configured to obtain task data and service data sent by the service system through a preset task interface according to a preset call requirement if the preset call requirement sent by the service system is received; the storage unit 202 is configured to generate a task to be processed according to the task data and the service data, and store the task to be processed in a preset database; the second obtaining unit 203 is configured to match a target flow corresponding to the task to be processed from a preset flow library according to a task code in the task data, obtain a current processing instruction corresponding to a current node in the target flow 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 execution unit 205 is configured to take a next node in the target flow as the current node if a preset completion instruction is received, and return to executing the step of obtaining a 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 end instruction is received.
In some embodiments, for example, in the present embodiment, the second obtaining unit 203 includes a detecting unit 2031 and a matching subunit 2032.
Wherein, the detecting unit 2031 is configured to detect whether a type of task code in the task data is a preset code type; the matching subunit 2032 is configured to match, if the type of the task code is a preset code type, 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 the present 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 obtain, if a preset query instruction is received, the current processing instruction corresponding to the task to be processed from the preset database and display the current processing instruction; the fourth obtaining unit 270 is configured to obtain the set task start time and 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 field in the preset database and correspond to the task to be processed; the comparison unit 272 is configured to compare the task execution time consumption with the expected time consumption 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 time for storing the task to be processed in the preset database, where the time for storing the task to be processed is not processed; the modifying unit 275 is configured to modify a task state of the task to be processed, where the task state is unprocessed, according to the warehouse-in time and a preset completion time; the sixth obtaining unit 276 is configured to obtain time consuming task execution of all the processed tasks from the preset database and display the time consuming task execution if a statistical query instruction is received; the seventh obtaining unit 278 is configured to obtain, if a monitoring query instruction is received, all tasks that are not completed in an over-period from the preset database, and display the tasks.
The specific implementation manner of the service data processing device 200 in the embodiment of the present invention corresponds to the above service data processing method, and is not described herein again.
The above-described traffic data processing apparatus may be implemented in the form of a computer program which 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 be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
Referring to fig. 7, the computer device 300 includes a processor 302, a memory, and a network interface 305 connected by a system bus 301, wherein the memory may include a storage medium 303 and an internal memory 304.
The storage medium 303 may store an operating system 3031 and a computer program 3032. The computer program 3032, when executed, may cause 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 execution of a computer program 3032 in the storage medium 303, which computer program 3032, when executed by the processor 302, causes the processor 302 to perform a business 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 a portion of the architecture in connection with the present application and is not intended to limit the computer device 300 to which the present application is applied, and that a particular computer device 300 may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 302 is configured to execute a computer program 3032 stored in a 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 into a preset database; 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 into the preset database and corresponding to the task to be processed; if a preset click command is received, executing the current node corresponding to the current processing command; 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 target process step corresponding to the task to be processed is matched from a preset process library according to the task code in the task data, the processor 302 specifically implements the following steps: detecting whether the type of task codes in the task data is a preset code type or not; 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 the step of executing the current node corresponding to the current processing instruction if the preset click command is received, 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, after implementing the step of taking the next node in the target flow as the current node if the 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 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 the expected time consumption to obtain a comparison result; setting the task state of the task to be processed according to the comparison result; acquiring the warehouse-in time of the task to be processed, the task state of which is unprocessed, according to a preset updating period, wherein the warehouse-in time is the time for storing the task to be processed into the preset database; modifying the task state of the task to be processed, which is unprocessed, according to the warehousing time and the preset completion time; if a statistical query instruction is received, acquiring the task execution time consumption of all the processed tasks from the preset database, and displaying the time consumption; and if a monitoring query instruction is received, acquiring all tasks which are not completed in an excessive period from the preset database, and displaying the tasks.
It should be appreciated that in embodiments of the present application, the processor 302 may be a central processing unit (Central Processing Unit, CPU), the processor 302 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSPs), application specific integrated circuits (Application Specific Integrated Circuit, ASICs), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that all or part of the flow in a method embodying the above described embodiments may be accomplished by computer programs instructing the relevant hardware. The computer program may be stored in a storage medium that 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 U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, or other various computer-readable storage media that can store program codes.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above 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, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed.
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 combined, divided and deleted according to actual needs. In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The integrated unit may be stored in a storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a terminal, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and for those portions of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (10)

1. A method for processing service data, comprising:
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 into a preset database;
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 into the preset database and corresponding to the task to be processed;
if a preset click command is received, executing the current node corresponding to the current processing command;
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 the target process corresponding to the task to be processed from a preset process library according to the task code in the task data includes:
detecting whether the type of task codes in the task data is a preset code type or not;
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 before executing the current node corresponding to the current processing instruction if a preset click command is received, 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 flow as the current node, and returning to the step of executing the step of acquiring, from a preset instruction configuration table, a current processing instruction corresponding to the current node in the target flow, 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;
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 task execution time based on the task start time and the task end time and saving the task execution time to a task time field in the preset database and corresponding to the task to be processed, further comprising:
comparing the task execution time consumption with the 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 setting the task state of the task to be processed according to the comparison result, further comprises:
acquiring the warehouse-in time of the task to be processed, the task state of which is unprocessed, according to a preset updating period, wherein the warehouse-in time is the time for storing the task to be processed into the preset database;
and modifying the task state of the task to be processed, wherein the task state of the task to be processed is unprocessed, according to the warehousing time and the preset completion time.
7. The method of claim 6, wherein after modifying the task state of the task to be processed, which is the task state to be unprocessed, according to the warehouse entry time and the preset completion time, further comprises:
if a statistical query instruction is received, acquiring the task execution time consumption of all the processed tasks from the preset database, and displaying the time consumption;
and if a monitoring query instruction is received, acquiring all tasks which are not completed in an excessive period from the preset database, and displaying the tasks.
8. A traffic data processing apparatus, comprising:
the first acquisition unit is used for acquiring task data and service data sent by the service system through a preset task interface according to preset calling requirements if the preset calling requirements sent by the service system are 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 into a preset database;
the second acquisition unit is used for matching a target flow corresponding to the task to be processed from a preset flow library according to the 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 into 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 the 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 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.
9. A computer device, characterized in that it comprises a memory on which a computer program is stored and a processor which, when executing the computer program, implements the method according to any of claims 1-7.
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 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 CN114185900A (en) 2022-03-15
CN114185900B true 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)

Families Citing this family (2)

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

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分公司为例;沈霞;;中国总会计师;20200915(第09期);全文 *

Also Published As

Publication number Publication date
CN114185900A (en) 2022-03-15

Similar Documents

Publication Publication Date Title
CN114185900B (en) Service data processing method, device, computer equipment and storage medium
CN109885786B (en) Data caching processing method and device, electronic equipment and readable storage medium
US10824548B1 (en) System and method for performance regression detection
CN110633977A (en) Payment exception processing method and device and terminal equipment
CN111679968A (en) Interface calling abnormity detection method and device, computer equipment and storage medium
CN112288400A (en) Multi-system data interaction method and device, computer equipment and storage medium
CN108646965B (en) Service line processing method, terminal device and medium
CN115437933A (en) Automatic testing method and device, computer equipment and storage medium
CN111309743A (en) Report pushing method and device
CN108429636B (en) Method and device for positioning abnormal system and electronic equipment
CN113821254A (en) Interface data processing method, device, storage medium and equipment
US20180285102A1 (en) Client-side survey control
CN109597819B (en) Method and apparatus for updating a database
US20230049322A1 (en) Information processing method, device, system, and computer-readable storage medium
CN114185804A (en) Interface testing method and device and terminal equipment
CN110309211B (en) Method for positioning ETL process problem and related equipment
CN112950138B (en) Collaborative development state management method, device and server
US9536222B2 (en) Progress information in a service-oriented architecture
US8321844B2 (en) Providing registration of a communication
CN111045983A (en) Nuclear power station electronic file management method and device, terminal equipment and medium
CN110609790A (en) Analytic program test method, device, medium and computer equipment
CN113010365A (en) System running state monitoring method, system running state detection device, electronic equipment and storage medium
EP3208758A1 (en) Systems and methods for electronic mail communication based data management
CN114222004B (en) Service data distribution execution method, device, computer equipment and storage medium
CN116028731B (en) Display method of target event completion degree and related products

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