CN107784479A - A kind of business flow processing method and apparatus - Google Patents

A kind of business flow processing method and apparatus Download PDF

Info

Publication number
CN107784479A
CN107784479A CN201710083346.6A CN201710083346A CN107784479A CN 107784479 A CN107784479 A CN 107784479A CN 201710083346 A CN201710083346 A CN 201710083346A CN 107784479 A CN107784479 A CN 107784479A
Authority
CN
China
Prior art keywords
atomic operation
processing
target service
pending step
business
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710083346.6A
Other languages
Chinese (zh)
Inventor
陈彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201710083346.6A priority Critical patent/CN107784479A/en
Priority to PCT/CN2018/076662 priority patent/WO2018149396A1/en
Publication of CN107784479A publication Critical patent/CN107784479A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • 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/08Insurance

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of business flow processing method, if the failure of some step process, it is necessary to re-start business flow processing from the beginning during for solving the problems, such as business flow processing.Present invention method includes:Obtain pending target service flow;Inquiry task processing progress table corresponding with target service flow, obtain the currently pending step of the target service flow, wherein, the task processing progress table is used for the real time processing conditions of each pending step for recording the target service flow and each pending step;Obtain atomic operation corresponding with the currently pending step, and the business datum needed for the atomic operation;Perform and complete the atomic operation, wherein, if atomic operation performs failure, the log information that the atomic operation performs failure is recorded, during in order to performance objective operation flow next time, is directly performed since the atomic operation.The embodiment of the present invention also provides a kind of business flow processing device.

Description

A kind of business flow processing method and apparatus
Technical field
The present invention relates to BPM field, more particularly to a kind of business flow processing method and apparatus.
Background technology
In order to meet the needs of user and lifting service quality, more and more multiple services flow becomes complicated and become more meticulous, The strict logic of these operation flows and time-consuming longer.For example, in insurance industry, what group insured insured, and operation flow is just wrapped Include at least tens processing steps.Simultaneously as the check logic of these processing steps is complicated, at the operation flow that insure If some step process fails during reason, the processing for operation flow of insuring can only be re-started from the beginning so that operation flow Treatment effeciency is low, adds the operating cost of enterprise.
The content of the invention
The embodiments of the invention provide a kind of business flow processing method and apparatus, it is possible to increase the processing effect of operation flow Rate, reduce the operating cost of enterprise.
A kind of business flow processing method provided in an embodiment of the present invention, including:
Pending target service flow is obtained, wherein, the target service flow includes more than one pending step Suddenly, the pending step includes more than one atomic operation, and the atomic operation passes through in advance to the pending step Corresponding operation is cut and obtained;
Inquiry task processing progress table corresponding with the target service flow, obtains the current of the target service flow Pending step, wherein, the task processing progress table be used for record the target service flow each pending step and The real time processing conditions of each pending step;
Obtain atomic operation corresponding with the currently pending step, and the business datum needed for the atomic operation;
Perform and complete the atomic operation, wherein, if the atomic operation performs failure, record the atomic operation The log information of failure is performed, during in order to perform the target service flow next time, is directly held since the atomic operation OK.
Alternatively, the business flow processing method also includes:
If the atomic operation runs succeeded, the business datum exported after the atomic operation performs is stored, and according to The business datum performs follow-up atomic operation;
If all atomic operations of the currently pending step are performed both by success, the currently pending step is judged Perform completion.
Alternatively, after judging that the currently pending step performs completion, in addition to:
Determine that the next step of the target service flow is currently pending step according to the task processing progress table Suddenly, and return and perform acquisition atomic operation corresponding with the currently pending step, and needed for the atomic operation The step of business datum.
Alternatively, if the atomic operation performs failure, the daily record letter that the atomic operation performs failure is recorded Breath, it is described after the step of being performed directly since the atomic operation during in order to perform the target service flow next time Business flow processing method also includes:
The reason for atomic operation performs failure is analyzed according to the log information, obtains analysis result;
The business datum of the atomic operation is modified according to the analysis result;
The atomic operation is performed according to revised business datum.
Alternatively, the atomic operation is cut to being operated corresponding to the pending step in advance by following steps Obtain:
Detect the processing logic paragraph for belonging to independent checking procedure in being operated corresponding to the pending step;
If detecting the processing logic paragraph for belonging to independent checking procedure, the processing logical segment dropcut is segmented into one Atomic operation;
And/or
Detecting has the processing logic paragraph of data output in being operated corresponding to the pending step;
If detecting the processing logic paragraph with data output, the processing logical segment dropcut is segmented into an atom Operation;
And/or
The processing logic paragraph for meeting preparatory condition in being operated corresponding to the pending step is detected, it is described to meet to preset The processing logic paragraph of condition is that history error rate exceedes predetermined threshold value, and does not possess re-executing for logical process state Handle logic paragraph;
If detecting the processing logic paragraph for meeting preparatory condition, the processing logical segment dropcut is segmented into an atom Operation.
A kind of business flow processing device provided in an embodiment of the present invention, including:
Target service flow acquisition module, for obtaining pending target service flow, wherein, the target service stream Journey includes more than one pending step, and the pending step includes more than one atomic operation, the atomic operation By in advance being cut operation corresponding to the pending step to obtain;
Step enquiry module, for inquiring about task processing progress table corresponding with the target service flow, obtain described The currently pending step of target service flow, wherein, the task processing progress table is used to record the target service flow Each pending step and each pending step real time processing conditions;
Atomic operation acquisition module, for obtaining atomic operation corresponding with the currently pending step, and the original Business datum needed for child-operation;
Atomic operation execution module, for performing and completing the atomic operation, wherein, if the atomic operation performs mistake Lose, then record the log information that the atomic operation performs failure, during in order to perform the target service flow next time, directly Connect and performed since the atomic operation.
Alternatively, the business flow processing device also includes:
First operation executing module, if being run succeeded for the atomic operation, after storing the atomic operation execution The business datum of output, and follow-up atomic operation is performed according to the business datum;
Second operation executing module, if all atomic operations for the currently pending step are performed both by success, Judge that the currently pending step performs completion.
Alternatively, the business flow processing device also includes:
Step determining module, for determining next step of the target service flow according to the task processing progress table Suddenly it is currently pending step, and triggers the atomic operation acquisition module.
Alternatively, the business flow processing device also includes:
Analysis of causes module, for analyzing the reason for atomic operation performs failure according to the log information, obtain Analysis result;
Business datum correcting module, for being repaiied according to the analysis result to the business datum of the atomic operation Just;
Execution module again is operated, for performing the atomic operation according to revised business datum.
Alternatively, the atomic operation to being operated corresponding to the pending step by being cut in advance with lower module Obtain:
First detection module, belong to the processing of independent checking procedure in operation corresponding to the pending step for detecting Logic paragraph;
First cutting module, if belonging to the processing logic paragraph of independent checking procedure for detecting, by the processing Logical segment dropcut is segmented into an atomic operation;
And/or
Second detection module, there is the processing logic of data output for detecting in operation corresponding to the pending step Paragraph;
Second cutting module, if for detecting the processing logic paragraph with data output, by the processing logic Paragraph is cut into an atomic operation;
And/or
3rd detection module, meet the processing logic of preparatory condition in operation corresponding to the pending step for detecting Paragraph, the processing logic paragraph for meeting preparatory condition is that history error rate exceedes predetermined threshold value, and does not possess logical process The processing logic paragraph re-executed of state;
3rd cutting module, if meeting the processing logic paragraph of preparatory condition for detecting, by the processing logic Paragraph is cut into an atomic operation.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
In the embodiment of the present invention, first, pending target service flow is obtained, wherein, the target service flow bag More than one pending step is included, the pending step includes more than one atomic operation, and the atomic operation passes through Operation corresponding to the pending step is cut in advance and obtained;Then, inquire about corresponding with the target service flow Task processing progress table, obtain the currently pending step of the target service flow, wherein, the task processing progress table For recording each pending step of the target service flow and the real time processing conditions of each pending step;Obtain with Atomic operation corresponding to the currently pending step, and the business datum needed for the atomic operation;Perform and complete described Atomic operation, wherein, if the atomic operation performs failure, the log information that the atomic operation performs failure is recorded, with When being easy to perform the target service flow next time, directly performed since the atomic operation.In embodiments of the present invention, lead to Cross and each pending step respective operations of target service flow are cut into atomic operation, and stored after atomic operation is performed Its business datum exported, when performing atomic operation, if atomic operation performs failure, the target can be being performed next time During operation flow, the log information that failure is performed according to atomic operation directly performs since the atomic operation, even if so as to go out Some existing atomic operation performs the situation of failure, without handling again operation flow from the beginning, substantially increases The treatment effeciency of operation flow, reduce the operating cost of enterprise.
Brief description of the drawings
Fig. 1 is a kind of first embodiment flow chart of business flow processing method in the embodiment of the present invention;
Fig. 2 is that a kind of business flow processing method is carried out under an application scenarios to atomic operation in the embodiment of the present invention Analysis and the schematic flow sheet of amendment;
Fig. 3 is a kind of first example structure figure of business flow processing device in the embodiment of the present invention;
Fig. 4 is a kind of second example structure figure of business flow processing device in the embodiment of the present invention;
Fig. 5 is a kind of the 3rd example structure figure of business flow processing device in the embodiment of the present invention.
Embodiment
The embodiments of the invention provide a kind of business flow processing method and apparatus, if during for solving business flow processing The failure of some step process, it is necessary to the problem of re-starting business flow processing from the beginning.
To enable goal of the invention, feature, the advantage of the present invention more obvious and understandable, below in conjunction with the present invention Accompanying drawing in embodiment, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that disclosed below Embodiment be only part of the embodiment of the present invention, and not all embodiment.Based on the embodiment in the present invention, this area All other embodiment that those of ordinary skill is obtained under the premise of creative work is not made, belongs to protection of the present invention Scope.
Referring to Fig. 1, a kind of business flow processing method one embodiment includes in the embodiment of the present invention:
101st, pending target service flow is obtained;
102nd, task processing progress table corresponding with the target service flow is inquired about, obtains the target service flow Currently pending step;
103rd, atomic operation corresponding with the currently pending step, and the business number needed for the atomic operation are obtained According to;
104th, perform and complete the atomic operation, wherein, if the atomic operation performs failure, record the atom Operation performs the log information of failure, during in order to perform the target service flow next time, is directly opened from the atomic operation Begin to perform.
For above-mentioned steps 101, above-mentioned pending target service flow can be the operation flow of untreated completion, It can be the operation flow of non-start to process.When each step handles completion in an operation flow, then the business is represented Flow processing is completed.Wherein, the target service flow includes more than one pending step, and the pending step includes More than one atomic operation, and the atomic operation by advance to corresponding to the pending step operation cut and Obtain.
Further, in the present embodiment, the atomic operation can be by following three kinds of modes in advance to described pending Operation is cut to obtain corresponding to step:
Mode one:The processing logic paragraph for belonging to independent checking procedure in being operated corresponding to the pending step is detected, If detecting the processing logic paragraph for belonging to independent checking procedure, the processing logical segment dropcut is segmented into an atom behaviour Make.
Mode two:Detecting has the processing logic paragraph of data output in being operated corresponding to the pending step, if inspection The processing logic paragraph with data output is measured, then the processing logical segment dropcut is segmented into an atomic operation.
Mode three:The processing logic paragraph for meeting preparatory condition in being operated corresponding to the pending step is detected, if inspection The processing logic paragraph for meeting preparatory condition is measured, then the processing logical segment dropcut is segmented into an atomic operation.Wherein, institute State and meet that the processing logic paragraph of preparatory condition exceedes predetermined threshold value for history error rate, and do not possess logical process state can The processing logic paragraph re-executed.
In the present embodiment, can by through the above way one, in a manner of two and mode three in any one cut to obtain atom Operation, can also be used in combination mode one, mode two and mode three and be cut to being operated corresponding to each pending step, The present embodiment is not especially limited.It is understood that by the atomic operation cut out with upper type, all have relatively only Stand, there are the features such as certain result, repeatable processing.It is understood that to realize the Precise control to operation flow, will The operation of each step of the operation flow is cut into finer atomic step, in order to by the control to atomic step and Handle to realize the control and processing to operation flow.Wherein, atomic operation is cut finer, then can more accurately controlled Operation flow, but relatively its desired operational capability and disposal ability also accordingly improve.
For above-mentioned steps 102, the task processing progress table is waited to locate for recording each of the target service flow Manage the real time processing conditions of step and each pending step.It is understood that each operation flow when creating, can incite somebody to action The real time processing conditions of its each step and each step are recorded in task processing progress table, to the task processing progress table Real-time update.Before some operation flow is performed, the operation flow can be inquired about by the task processing progress table and gone to Which step, so as to obtain its currently pending step.
Further, for above-mentioned steps 102, it is specifically as follows:The task processing progress table is inquired about, according to the mesh The order for marking each step of operation flow obtains the real time processing conditions of each step, then, by what is got first Real time processing conditions are that processing failure or untreated step are defined as currently pending step.For the real-time of each step Processing state, can be divided into processing complete, processing failure and untreated.It is understood that each operation flow is when creating, Can be by the processing state recording of its each step and each step in task processing progress table, to the task processing progress Table real-time update.These steps can be once obtained according to the order of each step recorded in the task processing progress table Processing state.For example, it is assumed that the target service flow has 1,2,3,4 four step, wherein the processing state of 1,2 steps is processing Complete, the state of 3 processing is processing failure, and 4 processing state is untreated.Therefore, the processing shape that can be got successively State is:Processing is completed, processing is completed, processing failure and untreated.When getting processing state " processing failure " of step 3, The step 3 can then be determined to currently pending step.
For above-mentioned steps 103, as shown in the above, it is determined that after currently pending step, wait to locate due to each Reason step respective operations are cut for more than one atomic operation, therefore can get the atom behaviour for being currently needed for performing Make, and obtain the business datum needed for the atomic operation.It is understood that the business datum needed for the atomic operation can be come From the related data of business corresponding to the operation flow, the data of the atomic operation output of executed before can be from. In the present embodiment, the business datum after each atomic operation performs can have storage to back up, therefore, even if target service stream Journey stops, can also be from the atomic operation position or step position that the last time goes to when handling the target service flow again Continuation start to process is put, without handling again whole operation flow.In addition, after atomic operation execution, it is also possible to There is no outgoing traffic data, at this point it is possible to by related datas such as the process variable of the atomic operation implementation procedure and Operation Logs As business datum storage into database.
For above-mentioned steps 104, after the atomic operation for being currently needed for performing and required business datum is got, The atomic operation can be performed according to the business datum got.In the present embodiment, two are there may be when performing atomic operation Kind situation:Atomic operation runs succeeded performs failure with atomic operation.
If the atomic operation runs succeeded, the business datum exported after the atomic operation performs is stored, and according to The business datum performs follow-up atomic operation, when all atomic operations of currently pending step are performed both by successfully, judges The currently pending step performs completion.Further, can after judging that the currently pending step performs completion To determine the next step of the target service flow according to the task processing progress table as currently pending step, and return Receipt row step 103, so as to realize that each pending step to target service flow is handled one by one, until the target industry When institute's step to be handled of business flow handles completion, determine that the target service flow processing is completed.
If the atomic operation performs failure, for above-mentioned steps 104, the atomic operation can be recorded and perform failure Log information, during in order to perform the target service flow next time, directly performed since the atomic operation, without from the beginning Start again to handle operation flow, improve the treatment effeciency of operation flow.
Further, occur when performing atomic operation in the case of performing failure, as shown in Fig. 2 the present embodiment may be used also To carry out the analysis and amendment of atomic operation by following steps:
201st, the reason for atomic operation performs failure is analyzed according to the log information, obtains analysis result;
202nd, the business datum of the atomic operation is modified according to the analysis result;
203rd, the atomic operation is performed according to revised business datum.
For above-mentioned steps 201, it is to be understood that the log information can be recorded in atomic operation implementation procedure Each process variable, by the analysis and reasoning from logic to these process variables, the reason for atomic operation performs failure can be obtained.
For above-mentioned steps 202 and 203, after analysis obtains the reason for atomic operation performs failure, can according to point Analysis result is repaired or corrected to the business datum defect for causing atomic operation, so that revised business datum can be with Meet the requirement that atomic operation performs, and then can perform and complete the atomic operation.
It is understood that by above-mentioned steps 201~203, can after atomic operation failure the very first time to failure Atomic operation corrected, in general, after correction, the atomic operation smoothly can be performed and completed, and be reduced Target service flow because of some atomic operation must not unbroken possibility, further increase the processing of target service flow Efficiency.
In the present embodiment, especially, above-mentioned task processing progress table can also record the industry of every processing task The information of business major key, the table may be used as a schedule of tasks, by changing the currently processed step in task processing progress table Rapid field can be performed with control task since either step or any atomic operation.
In the present embodiment, on above-mentioned log information, the log information to fail is performed by recording the atomic operation, The reason for staff of enterprise or associated user can be allowed easily to check unsuccessfully and target service flow it is currently processed enter Degree, and check precision can be finely to which atomic operation of which of target service flow step.
In the present embodiment, first, pending target service flow is obtained, wherein, the target service flow includes one Pending step more than individual, the pending step include more than one atomic operation, and the atomic operation passes through advance Operation corresponding to the pending step is cut and obtained;Then, appoint corresponding with the target service flow is inquired about Business processing progress table, obtains the currently pending step of the target service flow, wherein, the task processing progress table is used for Record each pending step of the target service flow and the real time processing conditions of each pending step;Obtain with it is described Atomic operation corresponding to currently pending step, and the business datum needed for the atomic operation;Perform and complete the atom Operation, wherein, if the atomic operation performs failure, the log information that the atomic operation performs failure is recorded, in order to When performing the target service flow next time, directly performed since the atomic operation.In the present embodiment, by by target Each pending step respective operations of operation flow are cut into atomic operation, and its output is stored after atomic operation is performed Business datum, when performing atomic operation, if atomic operation performs failure, the target service flow can be being performed next time When, the log information that failure is performed according to atomic operation directly performs since the atomic operation, even if former so as to occur some Child-operation performs the situation of failure, without handling again operation flow from the beginning, substantially increases operation flow Treatment effeciency, reduce the operating cost of enterprise.
A kind of business flow processing method is essentially described above, a kind of business flow processing device will be carried out below detailed Thin description.
Fig. 3 shows a kind of first example structure figure of business flow processing device in the embodiment of the present invention.
In the present embodiment, a kind of business flow processing device includes:
Target service flow acquisition module 301, for obtaining pending target service flow, wherein, the target industry Business flow includes more than one pending step, and the pending step includes more than one atomic operation, the atom Operation to operation corresponding to the pending step by being cut to obtain in advance;
Step enquiry module 302, for inquiring about task processing progress table corresponding with the target service flow, obtain institute The currently pending step of target service flow is stated, wherein, the task processing progress table is used to record the target service stream The real time processing conditions of each pending step of journey and each pending step;
Atomic operation acquisition module 303, for obtaining atomic operation corresponding with the currently pending step, and it is described Business datum needed for atomic operation;
Atomic operation execution module 304, for performing and completing the atomic operation, wherein, if the atomic operation is held Row failure, then the log information that the atomic operation performs failure is recorded, in order to perform the target service flow next time When, directly performed since the atomic operation.
Fig. 4 shows a kind of second example structure figure of business flow processing device in the embodiment of the present invention.
As shown in figure 4, further, the business flow processing device can also include:
First operation executing module 305, if being run succeeded for the atomic operation, store the atomic operation and perform The business datum exported afterwards, and follow-up atomic operation is performed according to the business datum;
Second operation executing module 306, if all atomic operations for the currently pending step are performed both by success, Then judge that the currently pending step performs completion.
Further, the business flow processing device can also include:
Step determining module 307, for determining the next of the target service flow according to the task processing progress table Individual step is currently pending step, and triggers the atomic operation acquisition module 303.
Fig. 5 shows a kind of the 3rd example structure figure of business flow processing device in the embodiment of the present invention.
As shown in figure 5, further, the business flow processing device can also include:
Analysis of causes module 308, for analyzing the reason for atomic operation performs failure according to the log information, obtain To analysis result;
Business datum correcting module 309, for being carried out according to the analysis result to the business datum of the atomic operation Amendment;
Execution module 310 again are operated, for performing the atomic operation according to revised business datum.
Further, the atomic operation can by with lower module in advance to operated corresponding to the pending step into Row cutting obtains:
First detection module 311, belong to independent checking procedure for detecting in operation corresponding to the pending step Handle logic paragraph;
First cutting module 312, if belonging to the processing logic paragraph of independent checking procedure for detecting, by the place Reason logical segment dropcut is segmented into an atomic operation;
And/or
Second detection module 313, there is the processing of data output for detecting in operation corresponding to the pending step Logic paragraph;
Second cutting module 314, if for detecting the processing logic paragraph with data output, the processing is patrolled Collect paragraph and be cut into an atomic operation;
And/or
3rd detection module 315, meet the processing of preparatory condition in operation corresponding to the pending step for detecting Logic paragraph, the processing logic paragraph for meeting preparatory condition is that history error rate exceedes predetermined threshold value, and does not possess logic The processing logic paragraph re-executed of processing state;
3rd cutting module 316, if meeting the processing logic paragraph of preparatory condition for detecting, the processing is patrolled Collect paragraph and be cut into an atomic operation.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before Embodiment is stated the present invention is described in detail, it will be understood by those within the art that:It still can be to preceding State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these Modification is replaced, and the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

  1. A kind of 1. business flow processing method, it is characterised in that including:
    Pending target service flow is obtained, wherein, the target service flow includes more than one pending step, institute Stating pending step includes more than one atomic operation, and the atomic operation passes through in advance to corresponding to the pending step Operation is cut and obtained;
    Inquiry task processing progress table corresponding with the target service flow, obtain the current of the target service flow and wait to locate Step is managed, wherein, the task processing progress table is used for each pending step for recording the target service flow and each The real time processing conditions of pending step;
    Obtain atomic operation corresponding with the currently pending step, and the business datum needed for the atomic operation;
    Perform and complete the atomic operation, wherein, if the atomic operation performs failure, record the atomic operation and perform The log information of failure, during in order to perform the target service flow next time, directly performed since the atomic operation.
  2. 2. business flow processing method according to claim 1, it is characterised in that the business flow processing method is also wrapped Include:
    If the atomic operation runs succeeded, the business datum exported after the atomic operation performs is stored, and according to the industry Data of being engaged in perform follow-up atomic operation;
    If all atomic operations of the currently pending step are performed both by success, judge that the currently pending step performs Complete.
  3. 3. business flow processing method according to claim 2, it is characterised in that judging the currently pending step Perform after completing, in addition to:
    Determine that the next step of the target service flow is currently pending step according to the task processing progress table, and Return and perform acquisition atomic operation corresponding with the currently pending step, and the business number needed for the atomic operation According to the step of.
  4. 4. business flow processing method according to claim 1, it is characterised in that if the atomic operation performs mistake Lose, then record the log information that the atomic operation performs failure, during in order to perform the target service flow next time, directly After connecing the step of being performed since the atomic operation, the business flow processing method also includes:
    The reason for atomic operation performs failure is analyzed according to the log information, obtains analysis result;
    The business datum of the atomic operation is modified according to the analysis result;
    The atomic operation is performed according to revised business datum.
  5. 5. business flow processing method according to any one of claim 1 to 4, it is characterised in that the atomic operation In advance operation corresponding to the pending step is cut to obtain by following steps:
    Detect the processing logic paragraph for belonging to independent checking procedure in being operated corresponding to the pending step;
    If detecting the processing logic paragraph for belonging to independent checking procedure, the processing logical segment dropcut is segmented into an atom Operation;
    And/or
    Detecting has the processing logic paragraph of data output in being operated corresponding to the pending step;
    If detecting the processing logic paragraph with data output, the processing logical segment dropcut is segmented into an atom behaviour Make;
    And/or
    The processing logic paragraph for meeting preparatory condition in being operated corresponding to the pending step is detected, it is described to meet preparatory condition Processing logic paragraph exceed predetermined threshold value for history error rate, and do not possess the processing re-executed of logical process state Logic paragraph;
    If detecting the processing logic paragraph for meeting preparatory condition, the processing logical segment dropcut is segmented into an atom behaviour Make.
  6. A kind of 6. business flow processing device, it is characterised in that including:
    Target service flow acquisition module, for obtaining pending target service flow, wherein, the target service flow bag More than one pending step is included, the pending step includes more than one atomic operation, and the atomic operation passes through Operation corresponding to the pending step is cut in advance and obtained;
    Step enquiry module, for inquiring about task processing progress table corresponding with the target service flow, obtain the target The currently pending step of operation flow, wherein, the task processing progress table is used to record each of the target service flow The real time processing conditions of individual pending step and each pending step;
    Atomic operation acquisition module, for obtaining atomic operation corresponding with the currently pending step, and the atom is grasped Business datum needed for making;
    Atomic operation execution module, for performing and completing the atomic operation, wherein, if the atomic operation performs failure, The log information that the atomic operation performs failure is then recorded, during in order to perform the target service flow next time, directly Performed since the atomic operation.
  7. 7. business flow processing device according to claim 6, it is characterised in that the business flow processing device also wraps Include:
    First operation executing module, if being run succeeded for the atomic operation, store after the atomic operation performs and export Business datum, and follow-up atomic operation is performed according to the business datum;
    Second operation executing module, if all atomic operations for the currently pending step are performed both by success, judge The currently pending step performs completion.
  8. 8. business flow processing device according to claim 7, it is characterised in that the business flow processing device also wraps Include:
    Step determining module, for determining that the next step of the target service flow is according to the task processing progress table Currently pending step, and trigger the atomic operation acquisition module.
  9. 9. business flow processing device according to claim 6, it is characterised in that the business flow processing device also wraps Include:
    Analysis of causes module, for analyzing the reason for atomic operation performs failure according to the log information, analyzed As a result;
    Business datum correcting module, for being modified according to the analysis result to the business datum of the atomic operation;
    Execution module again is operated, for performing the atomic operation according to revised business datum.
  10. 10. the business flow processing device according to any one of claim 6 to 9, it is characterised in that the atomic operation By being cut to obtain to operation corresponding to the pending step in advance with lower module:
    First detection module, belong to the processing logic of independent checking procedure in operation corresponding to the pending step for detecting Paragraph;
    First cutting module, if belonging to the processing logic paragraph of independent checking procedure for detecting, by the processing logic Paragraph is cut into an atomic operation;
    And/or
    Second detection module, there is the processing logical segment of data output for detecting in operation corresponding to the pending step Fall;
    Second cutting module, if for detecting the processing logic paragraph with data output, by the processing logic paragraph It is cut into an atomic operation;
    And/or
    3rd detection module, meet the processing logical segment of preparatory condition in operation corresponding to the pending step for detecting Fall, the processing logic paragraph for meeting preparatory condition is that history error rate exceedes predetermined threshold value, and does not possess logical process shape The processing logic paragraph re-executed of state;
    3rd cutting module, if meeting the processing logic paragraph of preparatory condition for detecting, by the processing logic paragraph It is cut into an atomic operation.
CN201710083346.6A 2017-02-16 2017-02-16 A kind of business flow processing method and apparatus Pending CN107784479A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710083346.6A CN107784479A (en) 2017-02-16 2017-02-16 A kind of business flow processing method and apparatus
PCT/CN2018/076662 WO2018149396A1 (en) 2017-02-16 2018-02-13 Service flow processing method and apparatus, readable storage medium and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710083346.6A CN107784479A (en) 2017-02-16 2017-02-16 A kind of business flow processing method and apparatus

Publications (1)

Publication Number Publication Date
CN107784479A true CN107784479A (en) 2018-03-09

Family

ID=61438124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710083346.6A Pending CN107784479A (en) 2017-02-16 2017-02-16 A kind of business flow processing method and apparatus

Country Status (2)

Country Link
CN (1) CN107784479A (en)
WO (1) WO2018149396A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109767198A (en) * 2018-10-25 2019-05-17 绍兴大明电力建设有限公司 Operation system intelligent management and device
CN110134573A (en) * 2019-04-12 2019-08-16 平安普惠企业管理有限公司 Make the continuous race control method of number, device, computer equipment and storage medium
CN110647450A (en) * 2019-08-15 2020-01-03 平安普惠企业管理有限公司 Method and device for repairing break point of business process, computer equipment and storage medium
CN110825391A (en) * 2019-10-31 2020-02-21 北京金山云网络技术有限公司 Service management method, device, electronic equipment and storage medium
CN111737055A (en) * 2020-06-23 2020-10-02 北京同邦卓益科技有限公司 Service processing method, device, equipment and computer readable storage medium
CN112580002A (en) * 2020-12-17 2021-03-30 平安普惠企业管理有限公司 Login method and related equipment
CN115063923A (en) * 2022-06-28 2022-09-16 北京字跳网络技术有限公司 Voting processing method, system, device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542047A (en) * 2011-12-28 2012-07-04 奇智软件(北京)有限公司 Task logic library generating method, task logic library generating system, data processing method and data processing system
CN103647834A (en) * 2013-12-16 2014-03-19 上海证券交易所 System and method used for processing multi-phase distributed task scheduling
CN103678368A (en) * 2012-09-14 2014-03-26 华为技术有限公司 Query processing method and device
CN104239148A (en) * 2013-06-06 2014-12-24 腾讯科技(深圳)有限公司 Distributed task scheduling method and device
CN104536770A (en) * 2015-01-28 2015-04-22 浪潮电子信息产业股份有限公司 Job submitting and restoring method supporting breakpoint restoration of parallel jobs
CN106156198A (en) * 2015-04-22 2016-11-23 阿里巴巴集团控股有限公司 Task executing method based on distributed data base and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853182A (en) * 2010-05-05 2010-10-06 中兴通讯股份有限公司 Task execution method and device based on database
CN105487924B (en) * 2015-11-30 2018-12-14 中国建设银行股份有限公司 A kind of batch processing control method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542047A (en) * 2011-12-28 2012-07-04 奇智软件(北京)有限公司 Task logic library generating method, task logic library generating system, data processing method and data processing system
CN103678368A (en) * 2012-09-14 2014-03-26 华为技术有限公司 Query processing method and device
CN104239148A (en) * 2013-06-06 2014-12-24 腾讯科技(深圳)有限公司 Distributed task scheduling method and device
CN103647834A (en) * 2013-12-16 2014-03-19 上海证券交易所 System and method used for processing multi-phase distributed task scheduling
CN104536770A (en) * 2015-01-28 2015-04-22 浪潮电子信息产业股份有限公司 Job submitting and restoring method supporting breakpoint restoration of parallel jobs
CN106156198A (en) * 2015-04-22 2016-11-23 阿里巴巴集团控股有限公司 Task executing method based on distributed data base and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109767198A (en) * 2018-10-25 2019-05-17 绍兴大明电力建设有限公司 Operation system intelligent management and device
CN110134573A (en) * 2019-04-12 2019-08-16 平安普惠企业管理有限公司 Make the continuous race control method of number, device, computer equipment and storage medium
CN110647450A (en) * 2019-08-15 2020-01-03 平安普惠企业管理有限公司 Method and device for repairing break point of business process, computer equipment and storage medium
CN110647450B (en) * 2019-08-15 2023-02-07 平安普惠企业管理有限公司 Method and device for repairing break point of business process, computer equipment and storage medium
CN110825391A (en) * 2019-10-31 2020-02-21 北京金山云网络技术有限公司 Service management method, device, electronic equipment and storage medium
CN110825391B (en) * 2019-10-31 2023-10-13 北京金山云网络技术有限公司 Service management method, device, electronic equipment and storage medium
CN111737055A (en) * 2020-06-23 2020-10-02 北京同邦卓益科技有限公司 Service processing method, device, equipment and computer readable storage medium
CN112580002A (en) * 2020-12-17 2021-03-30 平安普惠企业管理有限公司 Login method and related equipment
CN115063923A (en) * 2022-06-28 2022-09-16 北京字跳网络技术有限公司 Voting processing method, system, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2018149396A1 (en) 2018-08-23

Similar Documents

Publication Publication Date Title
CN107784479A (en) A kind of business flow processing method and apparatus
US6952658B2 (en) System for determining fault causes
US20080263507A1 (en) Action-based in-process software defect prediction software defect prediction techniques based on software development activities
US20050210442A1 (en) Method and system for planning and control/estimation of software size driven by standard representation of software structure
CN107423181A (en) The automated testing method and device of a kind of uniform storage device
CN104346574A (en) Automatic host computer security configuration vulnerability restoration method and system based on configuration specification
US6269457B1 (en) Technology regression and verification acceptance method
CN109101521A (en) The automatic extraction system of data based on big data
CN114546975B (en) Business risk processing method and server combining artificial intelligence
US20210201270A1 (en) Machine learning-based change control systems
CN115981240B (en) Method, device, equipment and medium for determining fault cause of numerical control machine tool
CN113516244A (en) Intelligent operation and maintenance method and device, electronic equipment and storage medium
JPWO2019204616A5 (en)
CN115719283A (en) Intelligent accounting management system
CN109409780B (en) Change processing method, device, computer equipment and storage medium
CN116680196A (en) Test management method and device based on artificial intelligence and electronic equipment
CN112416765A (en) Code review method, device, equipment and medium
CN114386745A (en) PMS power transformation equipment data checking and identifying method and system
CN114202366A (en) Prediction method based on real-time data of marketing system in power industry
CN113610225A (en) Quality evaluation model training method and device, electronic equipment and storage medium
CN105930329A (en) Transaction log analysis method and apparatus
CN112036789B (en) Salary statistical method and device based on warehousing data and computer equipment
CN117807377B (en) Multidimensional logistics data mining and predicting method and system
US20230229866A1 (en) System and method for management of life cycle of contracts
CN118228277A (en) Code release strategy optimization method based on risk assessment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180309

RJ01 Rejection of invention patent application after publication